Changing resolution for retropie + emulationstation - typical stuff not working
-
Hello,
I'm running RetroPie 4.7 on a R-PI 4b, connected to a Sony Bravia X900H 4K TV.
Currently, everything boots into 4K, which makes emulation slow. If I reduce emulator-specific resolution (i.e, for N64), it ends up using only a small portion of the screen.
Trying to change resolution using raspi-config doesn't work. When I try, it never shows resolution selections, and dumps me back into the menu.
I can change boot resolution via boot/config.txt successfully using hdmi_group + hdmi_mode. BUT, that doesn't change the resolution that emulationstation boots into - it'll still boot into 4K menus even if my screen is now 1280x720.
I know I can use --resolution 1280 720 with emulationstation invocation to change resolution, and that works - but for the life of me I can't figure out how to have that automatically happen. I've looked at scripts in /usr/bin/emulationstation and /opt/retropie/supplementary/emulationstation - and added the --resolution flags where I see invocations of emulationstation, with no luck.
Is there a better way to do this? Most of my googling has turned up using raspi-config, but that's just not working.
Thanks much for any help.
-
You can try to filter out the 4k video modes by adding to the
/boot/config.txt
hdmi_max_pixel_freq:0=200000000 hdmi_max_pixel_freq:1=200000000
For the EmulationStation resolution approach, the start command is in
/opt/retropie/configs/all/autostart.sh
- you can modify it and add the--resolution
parameter there. -
@mitu Ahh thank you! I was trying to find where the autostart command was - but was looking in /home/pi in .bashrc, etc... I'll try one of those two solutions. Thanks again!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.