Change the resolution of your LAKKA machine for better FPS
I found out that when I set my device resolution lower I get a better FPS in the menu and in games (around 60.1 FPS average).
So after a long night of trail an error I found the solution for my question above.
- Connect to your device using SSH (shh [email protected] or replace LAKKA.local with the device IP)
2.Stop the Xorg service with systemctl stop xorg.service ( don’t use killall -9 Xorg, because that doesn’t work.)
- create or edit the xorg.conf in /storage/.config
nano /storage/.config/xorg.conf
Here you see my config file if there isn’t any. Replace the bold parts with theresolution you want and the underlined parts with your videocard manufacture:
Section “ServerLayout”
Identifier “aticonfig Layout”
#Screen 0 “screen” 0 0
Screen 0 “screen” 848 480
EndSection
Section “Device”
Identifier “Radeon”
Driver “Radeon”
Option “SWcursor” “off”
Option “AccelMethod” “EXA”
Option “EnablePageFlip” “on”
EndSection
Section “DRI”
Mode 0666
EndSection
Section “Screen”
Identifier “screen”
Device “aticonfig Layout”
DefaultDepth 24
Option “ColorRange” “Full”
Option “ColorRange” “Limited”
Option “ColorSpace” “RGB”
SubSection "Display"
Depth 24
Modes "[B]848x480[/B]" "[B]848x480_60[/B]" "[B]848x480@60[/B]"
EndSubSection
EndSection
Section “Extensions”
Option “Composite” “false”
EndSection
-
Save the file and exit nano (by using the CTRL + X key combination and follow the steps in your screen.)
-
Load the new config in Xorg
X -config /storage/.config/xorg.conf
-
Restart the Xorg service
systemctl start xorg.service
-
reboot the system by typing Reboot
-
After rebooting you will see a difference.
But if you want to be sure:
-
Log in on the device using SSH (see step 1.)
-
Type xrandr. You will see a over view of all resolutions and you will see which resolution is active. If it is correct the by you chosen resolution would be active.
Good luck!