hissingshark / retrOSMCmk2

RetroPie installer for OSMC on the RPi, Vero4k/4K+ and the VeroV
GNU General Public License v2.0
34 stars 7 forks source link

EmulationStation extremely slow - 2fps #18

Closed CategoryQ closed 2 years ago

CategoryQ commented 2 years ago

I have installed RetroPie on my Pi4 Model B, and as per the subject emulation station lags a ridiculous amount, making the menu practically unusable.

From my es-log.txt, there are no obvious errors

Mar 26 12:25:19 lvl2:   EmulationStation - v2.10.2rp, built Mar 19 2022 - 00:20:14
Mar 26 12:25:19 lvl2:   Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
Mar 26 12:25:19 lvl2:   Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
Mar 26 12:25:19 lvl2:   Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
Mar 26 12:25:19 lvl2:   Creating window...
Mar 26 12:25:21 lvl2:   Created window successfully.
Mar 26 12:25:21 lvl2:   GL vendor:   VMware, Inc.
Mar 26 12:25:21 lvl2:   GL renderer: llvmpipe (LLVM 7.0, 128 bits)
Mar 26 12:25:21 lvl2:   GL version:  3.1 Mesa 18.3.6
Mar 26 12:25:21 lvl2:   Checking available OpenGL extensions...
Mar 26 12:25:21 lvl2:    ARB_texture_non_power_of_two: ok
Mar 26 12:25:21 lvl2:   Added unconfigured joystick MOCUTE-050X_M09-AUTO (GUID: 050000004d4f435554452d3035305800, instance ID: 0, device index: 0).
Mar 26 12:25:23 lvl2:   Loading system config file /etc/emulationstation/es_systems.cfg...
Mar 26 12:25:23 lvl1:   System "amstradcpc" has no games! Ignoring it.
Mar 26 12:25:24 lvl1:   System "arcade" has no games! Ignoring it.
Mar 26 12:25:25 lvl1:   System "atari2600" has no games! Ignoring it.
Mar 26 12:25:25 lvl1:   System "atari5200" has no games! Ignoring it.
Mar 26 12:25:26 lvl1:   System "atari7800" has no games! Ignoring it.
Mar 26 12:25:26 lvl1:   System "atari800" has no games! Ignoring it.
Mar 26 12:25:27 lvl1:   System "atarilynx" has no games! Ignoring it.
Mar 26 12:25:28 lvl1:   System "channelf" has no games! Ignoring it.
Mar 26 12:25:28 lvl1:   System "coleco" has no games! Ignoring it.
Mar 26 12:25:29 lvl1:   System "fba" has no games! Ignoring it.
Mar 26 12:25:29 lvl1:   System "fds" has no games! Ignoring it.
Mar 26 12:25:30 lvl1:   System "gamegear" has no games! Ignoring it.
Mar 26 12:25:31 lvl1:   System "gb" has no games! Ignoring it.
Mar 26 12:25:31 lvl1:   System "gba" has no games! Ignoring it.
Mar 26 12:25:32 lvl1:   System "gbc" has no games! Ignoring it.
Mar 26 12:25:32 lvl1:   System "mame-libretro" has no games! Ignoring it.
Mar 26 12:25:33 lvl1:   System "mastersystem" has no games! Ignoring it.
Mar 26 12:25:34 lvl1:   System "megadrive" has no games! Ignoring it.
Mar 26 12:25:34 lvl1:   System "msx" has no games! Ignoring it.
Mar 26 12:25:35 lvl1:   System "n64" has no games! Ignoring it.
Mar 26 12:25:35 lvl1:   System "neogeo" has no games! Ignoring it.
Mar 26 12:25:36 lvl1:   System "nes" has no games! Ignoring it.
Mar 26 12:25:37 lvl1:   System "ngp" has no games! Ignoring it.
Mar 26 12:25:37 lvl1:   System "ngpc" has no games! Ignoring it.
Mar 26 12:25:38 lvl1:   System "pcengine" has no games! Ignoring it.
Mar 26 12:25:38 lvl1:   System "psx" has no games! Ignoring it.
Mar 26 12:25:39 lvl2:   Parsing XML file "/home/osmc/.emulationstation/gamelists/retropie/gamelist.xml"...
Mar 26 12:25:40 lvl1:   System "sega32x" has no games! Ignoring it.
Mar 26 12:25:40 lvl1:   System "segacd" has no games! Ignoring it.
Mar 26 12:25:41 lvl1:   System "sg-1000" has no games! Ignoring it.
Mar 26 12:25:42 lvl1:   System "snes" has no games! Ignoring it.
Mar 26 12:25:42 lvl1:   System "vectrex" has no games! Ignoring it.
Mar 26 12:25:43 lvl1:   System "zxspectrum" has no games! Ignoring it.
Mar 26 12:25:45 lvl2:   Added unconfigured joystick MOCUTE-050X_M09-AUTO (GUID: 050000004d4f435554452d3035305800, instance ID: 0, device index: 0).
Mar 26 12:26:38 lvl2:   Configuring device 0 (MOCUTE-050X_M09-AUTO).
Mar 26 12:26:57 lvl2:     Mapping [Hat 0 up] -> Up
Mar 26 12:26:57 lvl2:     Mapping [Hat 0 down] -> Down
Mar 26 12:26:58 lvl2:     Mapping [Hat 0 left] -> Left
Mar 26 12:26:58 lvl2:     Mapping [Hat 0 right] -> Right
Mar 26 12:27:39 lvl2:     Mapping [Button 1] -> A
Mar 26 12:27:39 lvl2:     Mapping [Button 0] -> B
Mar 26 12:27:48 lvl2:   EmulationStation cleanly shutting down.

I quit halfway through setting up the controller, as it just wasn't reflecting on screen what was happening.

I have since then used the RetroPie script to install from source, but it made no difference. I fought to get the controller setup, and the lag is shown by the FPS from this photo. 20220326_130448

Frustratingly, installing RetroPie on a separate SD card and it runs flawlessly, but I'd much prefer it to be launched from OSMC.

Any ideas? Happy to provide more logs, let me know what would help.

hissingshark commented 2 years ago

I'm sorry I've not got an RPi4 to test/support. But I strongly suspect it is because OSMC now use the GL drivers. Those are considered experimental by RetroPie and are not as yet used in their official images.