Change device resolution for beter FPS

Hi there!

i use Lakka for a while now and it works very well, but every time i want to play in need to SSH to the machine and change the resolution manually. xrandr -s works fine but it is not permanently… so i tried using the lakka interface but that doesn’t work. I also i tried to edit the xorg.conf, but i get a per missing denied or Xorg crashes and won’t start any more…

So i tried to edit the xorg.conf while using a LIVE CD but then i can’t find the file…

Is there anyone out there who has the solution for my problem? :’(

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.

  1. 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.)

  1. 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

  1. Save the file and exit nano (by using the CTRL + X key combination and follow the steps in your screen.)

  2. Load the new config in Xorg X -config /storage/.config/xorg.conf

  3. Restart the Xorg service systemctl start xorg.service

  4. reboot the system by typing Reboot

  5. After rebooting you will see a difference. But if you want to be sure:

  6. Log in on the device using SSH (see step 1.)

  7. 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!

Good info. Thanks for reporting back!

Your welcome! i hope my info will help a lot of others with the same problem!