Emulation station freezing
-
Here's a log. I navigated through the start menu when it froze
Nov 24 09:33:50 lvl2: EmulationStation - v2.9.6rp, built Nov 4 2020 - 15:08:50 Nov 24 09:33:50 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"... Nov 24 09:33:50 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"... Nov 24 09:33:50 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"... Nov 24 09:33:50 lvl2: Creating window... Nov 24 09:33:50 lvl2: Created window successfully. Nov 24 09:33:50 lvl2: GL vendor: Broadcom Nov 24 09:33:50 lvl2: GL renderer: VideoCore IV HW Nov 24 09:33:50 lvl2: GL version: OpenGL ES-CM 1.1 Nov 24 09:33:50 lvl2: Checking available OpenGL extensions... Nov 24 09:33:50 lvl2: ARB_texture_non_power_of_two: MISSING Nov 24 09:33:50 lvl2: Loading system config file /etc/emulationstation/es_systems.cfg... Nov 24 09:33:50 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/amstradcpc/theme.xml" (from included file "/etc/emulationstation/themes/carbon/amstradcpc/../carbon.xml") could not find file "" Nov 24 09:33:50 lvl1: System "amstradcpc" has no games! Ignoring it. Nov 24 09:33:50 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/arcade/gamelist.xml"... Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/arcade/theme.xml" (from included file "/etc/emulationstation/themes/carbon/arcade/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/atari2600/gamelist.xml"... Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atari2600/theme.xml" (from included file "/etc/emulationstation/themes/carbon/atari2600/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atari5200/theme.xml" (from included file "/etc/emulationstation/themes/carbon/atari5200/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "atari5200" has no games! Ignoring it. Nov 24 09:33:51 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/atari7800/gamelist.xml"... Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atari7800/theme.xml" (from included file "/etc/emulationstation/themes/carbon/atari7800/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atari800/theme.xml" (from included file "/etc/emulationstation/themes/carbon/atari800/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "atari800" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atarilynx/theme.xml" (from included file "/etc/emulationstation/themes/carbon/atarilynx/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "atarilynx" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Error - folder with path "/home/pi/RetroPie/roms/coleco" is not a directory! Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/colecovision/theme.xml" (from included file "/etc/emulationstation/themes/carbon/colecovision/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "coleco" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/fba/theme.xml" (from included file "/etc/emulationstation/themes/carbon/fba/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "fba" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/fds/theme.xml" (from included file "/etc/emulationstation/themes/carbon/fds/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "fds" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gamegear/theme.xml" (from included file "/etc/emulationstation/themes/carbon/gamegear/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "gamegear" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gb/theme.xml" (from included file "/etc/emulationstation/themes/carbon/gb/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "gb" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gba/theme.xml" (from included file "/etc/emulationstation/themes/carbon/gba/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "gba" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gbc/theme.xml" (from included file "/etc/emulationstation/themes/carbon/gbc/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "gbc" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/mame/theme.xml" (from included file "/etc/emulationstation/themes/carbon/mame/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "mame-libretro" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/mastersystem/theme.xml" (from included file "/etc/emulationstation/themes/carbon/mastersystem/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "mastersystem" has no games! Ignoring it. Nov 24 09:33:51 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/megadrive/gamelist.xml"... Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/genesis/theme.xml" (from included file "/etc/emulationstation/themes/carbon/genesis/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: Error - folder with path "/home/pi/RetroPie/roms/msx" is not a directory! Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/msx/theme.xml" (from included file "/etc/emulationstation/themes/carbon/msx/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "msx" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/n64/theme.xml" (from included file "/etc/emulationstation/themes/carbon/n64/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "n64" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/neogeo/theme.xml" (from included file "/etc/emulationstation/themes/carbon/neogeo/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "neogeo" has no games! Ignoring it. Nov 24 09:33:51 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/nes/gamelist.xml"... Nov 24 09:33:51 lvl1: File "/home/pi/RetroPie/roms/nes/Super Mario Bros..zip" does not exist! Ignoring. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/nes/theme.xml" (from included file "/etc/emulationstation/themes/carbon/nes/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "nes" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/ngp/theme.xml" (from included file "/etc/emulationstation/themes/carbon/ngp/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "ngp" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/ngpc/theme.xml" (from included file "/etc/emulationstation/themes/carbon/ngpc/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "ngpc" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/pcengine/theme.xml" (from included file "/etc/emulationstation/themes/carbon/pcengine/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "pcengine" has no games! Ignoring it. Nov 24 09:33:51 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/psx/gamelist.xml"... Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/psx/theme.xml" (from included file "/etc/emulationstation/themes/carbon/psx/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/retropie/gamelist.xml"... Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/retropie/theme.xml" (from included file "/etc/emulationstation/themes/carbon/retropie/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/sega32x/theme.xml" (from included file "/etc/emulationstation/themes/carbon/sega32x/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "sega32x" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/segacd/theme.xml" (from included file "/etc/emulationstation/themes/carbon/segacd/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "segacd" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/sg-1000/theme.xml" (from included file "/etc/emulationstation/themes/carbon/sg-1000/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "sg-1000" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/snes/theme.xml" (from included file "/etc/emulationstation/themes/carbon/snes/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "snes" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/vectrex/theme.xml" (from included file "/etc/emulationstation/themes/carbon/vectrex/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "vectrex" has no games! Ignoring it. Nov 24 09:33:51 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/zxspectrum/theme.xml" (from included file "/etc/emulationstation/themes/carbon/zxspectrum/../carbon.xml") could not find file "" Nov 24 09:33:51 lvl1: System "zxspectrum" has no games! Ignoring it. Nov 24 09:33:52 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-allgames/theme.xml" (from included file "/etc/emulationstation/themes/carbon/auto-allgames/../carbon.xml") could not find file "" Nov 24 09:33:52 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-favorites/theme.xml" (from included file "/etc/emulationstation/themes/carbon/auto-favorites/../carbon.xml") could not find file "" Nov 24 09:33:52 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-lastplayed/theme.xml" (from included file "/etc/emulationstation/themes/carbon/auto-lastplayed/../carbon.xml") could not find file "" Nov 24 09:33:52 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/custom-collections/theme.xml" (from included file "/etc/emulationstation/themes/carbon/custom-collections/../carbon.xml") could not find file "" Nov 24 09:33:53 lvl3: SystemView::getViewElements() Nov 24 09:34:03 lvl3: UIModeController::logInput( Keyboard ):Key 1, isMappedTo= start, , value=0 Nov 24 09:34:10 lvl3: Settings::saveFile() : Saving Settings to file. Nov 24 09:34:10 lvl3: fireEvent: config-changed Nov 24 09:34:10 lvl3: fireEvent: settings-changed Nov 24 09:34:10 lvl3: Settings::saveFile() : Saving Settings to file. Nov 24 09:34:10 lvl3: fireEvent: config-changed Nov 24 09:34:10 lvl3: fireEvent: settings-changed Nov 24 09:34:11 lvl3: UIModeController::logInput( Keyboard ):Key Z, isMappedTo= b, , value=0 Nov 24 09:34:12 lvl3: UIModeController::logInput( Keyboard ):Key Down, isMappedTo= down, , value=1 Nov 24 09:34:12 lvl3: UIModeController::logInput( Keyboard ):Key Down, isMappedTo= down, , value=0 Nov 24 09:34:12 lvl3: UIModeController::logInput( Keyboard ):Key Down, isMappedTo= down, , value=1 Nov 24 09:34:12 lvl3: UIModeController::logInput( Keyboard ):Key Down, isMappedTo= down, , value=0 Nov 24 09:34:12 lvl3: UIModeController::logInput( Keyboard ):Key Down, isMappedTo= down, , value=1 Nov 24 09:34:13 lvl3: UIModeController::logInput( Keyboard ):Key Down, isMappedTo= down, , value=0 Nov 24 09:34:21 lvl3: Settings::saveFile() : Saving Settings to file. Nov 24 09:34:21 lvl3: fireEvent: config-changed Nov 24 09:34:21 lvl3: fireEvent: settings-changed Nov 24 09:34:49 lvl3: Settings::saveFile() : Saving Settings to file. Nov 24 09:34:49 lvl3: fireEvent: config-changed Nov 24 09:34:49 lvl3: fireEvent: settings-changed
-
There's nothing suspicious or erroneous in the log - anything in the system log ? How much memory is allocated (VRAM) in EmulationStation ?
-
@mitu where's the system log located? And set to 80
-
@mahoneyt944 Run
dmesg
and capture the output. Post the result on pastebin.com. -
@mitu is there a parameter to log to file?
-
You can run
dmesg > $HOME/RetroPie/roms/dmesg.txt
and then browse to the
roms
folder and pick up the file. -
-
There's no errors in the system log, the freeze is not logging any GPU/driver issue. Can you try to upgrade (from your working image), but omitting the kernel update ? It might be something related to the new 5.4.x kernel/firmware that's causing this.
-
@mitu yes I'll try and report back.
-
Updated without updating the kernal. So far I'm not getting any freezes but I'll update this as I get more time running.
-
Well that was short lived. Got another freeze
-
I'm going to revert the update all together and see if I get any freezes. If so, I'll update to a new image, reload everything and test again. Updates to come.
Edit: reverted to 4.6, been running for 8+ hours. No freezes yet.
-
If it's something in EmulationStation, could be one of these changes, but I can't say there's one that affects the Pi platform so much. The GLES2 renderer is not used at the moment and I don't see other radical changes that would cause this kind of freeze.
Assuming it's EmulationStation that's the culprit, you could try bisecting with
git
to find the faulty commit. -
@mitu I'd imagine the commits from 4.6 to 4.7.1 are probably a decent amount to sort. Im not sure what the best approach would be. From what I've tested though, it seems to be within ES or at least occuring while ES is running. I was able to leave the rpi3 running in mame2003-plus overnight without a freeze but leaving it in ES freezes after about 10 minutes. Maybe we can see if anyone can replicate the freeze?
-
@mahoneyt944 said in Emulation station freezing:
I'd imagine the commits from 4.6 to 4.7.1 are probably a decent amount to sort.
It the issue is in ES, the diff is not that large - I actually posted the list of commits in the previous post.
We can wait to see if someone else reports a problem.
-
@mitu well.....I use a slideshow screensaver, kiosk mode, carbon theme - detailed - fade. I'm guessing it's ES because the pi is still fully accessable over network after a freeze and it doesn't freeze during emulation. I am currently using the exact rom, bios, config and splashscreen directories in my 4.6 build successfully without freezes so I don't think it's a setting issue. Unless there's a setting that no longer works in the new build? I don't customize es in anyway significant.
If anyone has 4.7.1 setup let your pi sit idle in es for a few hours and see if it freezes?
-
Not much to update here, but to say I've been running this build on retropie 4.6 for over 3 days continuously without any freeze issues. So reverting to an earlier build fixed the issue.
-
Revisiting this issue, while updating from 4.6.8 to the latest 4.7.11 now available I experience random freezing in emulationstation like before. I have a backup of 4.6.8 that does not freeze. I have this installed in my arcade cabinet that's always on. Sometimes it freezes while navigating the es menu and other times during the screen saver (slideshow). I use the default theme.
This feels like a setting or maybe theme issue? I've been experimenting with other options. Haven't found anything yet.
-
Can you try and build from source (with debugging info enabled) and run EmulationStation through
gdb
to see where it freezes ?# create a sources folder mkdir src && cd src # get the stable branch git clone --depth 1 --branch stable --recursive https://github.com/retropie/emulationstation # generate build files cd emulationstation && mkdir build CXXFLAGS="-g" cmake -B build -DRPI=On -DUSE_GLES1=On -DCMAKE_BUILD_TYPE=Debug . # build it make -C build -j2 # run through gdb gdb -q ./emulationstation # at the gdb prompt, start emulationstation with debug (gdb) run --debug
When it freezes, see if
gdb
has any messages shown (perhaps ES crashed or encountered an exception). If nothing is shown, pressCtrl + C
and typewhere
.gdb
should show the location - in the source - whereemulationstation
is running.You can run the above from a SSH session. If you don't want to keep a session open until EmulationStation freezes, you can use
screen
to run the commands and detach from the running session without stoppinggdb
.Can you also post your
es_settings.cfg
(from$HOME/.emulationstation
) to pastebin.com ? I may try to run it with these settings and see if something happens. -
@mitu ok I ran gdb and it just froze. How do I check what gdb has? I'm sitting on a emulationstation "arcade" screen frozen right now.
Keyboard not responsive, networking still working over filezilla from another computer
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.