essaie un fps_show= "true" dans le fichier de conf de retroarch j'ai vu ça ici http://libretro.com/forums/showthread.php?t=3664
Je viens de réessayer et maintenant ça fonctionne... c'est à n'y rien comprendre
Donc jeux verticaux en fps 60 sur écran positionné en vertical : oui !!!
Par contre l'affichage des fps de retroarch est bien buggé. il affiche des fois 10 fps pendant quelques secondes alors que le compteur de frame tourne à fond... (ça le fait aussi en écran horizontal d'ailleurs)
Pour ceux que ça intéresse voici un script python "screenRotate.py" que j'ai écrit pour effectuer les manipulations "automatiquement" sous
RecalBox 4.0.0 (pas testé sur versions antérieures) - testé sur écran vga et télé hdmi :
#!/usr/bin/env python
# screenRotate.py
# Import
import os
import sys
# bypass write protection
os.system("mount /boot -o remount,rw")
# Var init
rotationExists = False
currentRotationValue=0
newRotationValue=0
aspectRatio=0
# command line option to define screen rotation
# possible values 0,1,2,3 (0,90,180,270)
# usage example : screenRotate.py 0
if len(sys.argv)>1:
if sys.argv[1] in ["0","1","2","3"]:
newRotationValue=int(sys.argv[1])
# Get the current rotation
with open("/boot/config.txt","r") as f:
lines = f.readlines()
for line in lines:
if line.startswith("display_rotate"):
currentRotationValue = int(line.split("=")[1])
rotationExists = True
print "Current rotation found in /boot/config.txt :", currentRotationValue
break
# if line not exists in /boot/config.txt
# write the default value line at eof
if not rotationExists:
with open("/boot/config.txt","a") as f:
f.write("display_rotate=0")
print "Add display_rotate=0 to /boot/config.txt eof", currentRotationValue
# define retroarch aspect ratio : horizontal : 0 (4/3) / vertical : 7 (3/4)
aspectRatio=7*(newRotationValue%2)
print "New aspect ratio ", aspectRatio
# Compare current and new rotation value
# change /boot/config.txt if values are different
if currentRotationValue != newRotationValue:
rotationString = "display_rotate="+str(newRotationValue)+"\n"
# the display_rotate parameter is already in /boot/config.txt
with open("/boot/config.txt","r") as f:
lines = f.readlines()
with open("/boot/config.txt","w") as f:
for line in lines:
if line.startswith("display_rotate"):
line = rotationString
f.write(line)
print "Rotation changed to ", newRotationValue
# change retroarch config
with open("/recalbox/share/system/configs/retroarch/retroarchcustom.cfg","r") as f:
lines = f.readlines()
with open("/recalbox/share/system/configs/retroarch/retroarchcustom.cfg","w") as f:
for line in lines:
if line.startswith("aspect_ratio_index") or line.startswith("#aspect_ratio_index"):
line = "aspect_ratio_index = "+str(aspectRatio)+"\n"
if line.startswith("video_aspect_ratio_auto"):
line = "video_aspect_ratio_auto = false\n"
f.write(line)
print "Aspect ratio changed to ", aspectRatio
# reboot system
print "System must reboot"
os.system("shutdown -r now")
else:
# reactive write protection
os.system("mount /boot -o remount,ro")
print "No rotation change needed"
- copiez le code précédent dans un éditeur genre Notepad++ (pas Notepad standard !!!) -->
https://notepad-plus-plus.org/fr/download/v6.9.html- enregistrez sous
screenRotate.py (Python file)
- copiez ce fichier à la racine du partage smb de votre recalbox
- connectez vous en root (root:recalboxroot) en ssh (genre putty) sur l'ip de votre recalbox
- puis "cd .."
- puis "python screenRotate.py 0" (pour écran sans rotation)
ou "python screenRotate.py 1" (pour écran rotation 90°)
ou "python screenRotate.py 2" (pour écran rotation 180°)
ou "python screenRotate.py 3" (pour écran rotation 270°)
et cela devrait fonctionner
ATTENTION : vous utilisez ce script à vos risques et périls, il marche parfaitement chez moi mais peut éventuellement foutre le bin's dans retroarchcustom.cfg si vous l'avez modifié précédemment...
En gros je ne suis responsable de rien en aucune façon