How does runcommand change the resolution?
-
Hi ladies and gentlemen,
I ask myself how runcommand changes the resolution for an emulator. The problem I have is that my on Raspbian installed Hatari runs pretty slow. I assume it’s because of the used resolution 1920x1080. The Retropie version is much faster. Is it a simple “fbset -xres 640 -yres 480” for example?
Thanks in advance 😊 -
Runcommand
also changes the monitor's resolution withtvservice
. So it's something like# Switch to DMT 640x480 tvservice -e "DMT 4" fbset --geometry 640 480 640 480 32
However, this may not be the only reason why your Hatari is slow, maybe it's using software rendering for the video output instead of an accelerated GL codepath.
-
@mitu
when I install it from the Raspbian repo shouldn’t it be running hardware accelerated out of the box? Is there a manual around for compiling parameters, I guess it has to use SDL2. -
@McCarthy RetroPie installs a slightly patched version of SDL2, which activates the RPI video driver by default, I think the Raspbian version uses X11 by default - which might not have hardware acceleration by default.
-
@mitu
Thanks for clarifying :)
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.