RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Emulation station freezing

    Scheduled Pinned Locked Moved Help and Support
    4.7.1emultionstationfreeze issues
    88 Posts 7 Posters 17.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mahoneyt944
      last edited by mahoneyt944

      I had retropie 4.6.8 official image (or updated from an official image) installed in my arcade cabinet and everything worked fine. Decided to upgrade to 4.7.1 and now ES randomly freezes. Everything boots up normally, all the emulators work. I play for a while then exit to es and walk away. When I return the screen is frozen, inputs no longer work, f4 does not work on keyboard. However, networking is still fully working. I can access everything over network.

      Assuming an issue with how I updated. I reflashed the sd card with my image from just before the update. Made sure there was no overclock set or any abnormal settings. Then I proceeded to update again, included the underlying kernal. Everything went smooth. Reboot the pi, everything loads fine, emulators play. Then I let it sit in es again. Same thing randomly freezing. I thought maybe it was the screensaver slideshow. So I switched it to just dim, still freezes. I turned off omx player, still freezes. I uninstalled es, and reinstalled it. Still freezing.

      I decided to let it sit in mame playing an attract screen for awhile, and hasn't frozen. So this issue is with es somehow? I use detailed carbon theme with fade. No videos just images. Any tips are appreciated. Thank you.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Run EmulationStation with the --debug parameter, then post the es_log.txt logfile from $HOME/.emulationstation after the freeze.
        Take a look at the dmesg system log and see if any error messages show up during the issue.

        M 1 Reply Last reply Reply Quote 0
        • M
          mahoneyt944 @mitu
          last edited by

          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  
          
          
          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @mahoneyt944
            last edited by

            There's nothing suspicious or erroneous in the log - anything in the system log ? How much memory is allocated (VRAM) in EmulationStation ?

            M 1 Reply Last reply Reply Quote 0
            • M
              mahoneyt944 @mitu
              last edited by

              @mitu where's the system log located? And set to 80

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @mahoneyt944
                last edited by

                @mahoneyt944 Run dmesg and capture the output. Post the result on pastebin.com.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mahoneyt944 @mitu
                  last edited by

                  @mitu is there a parameter to log to file?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @mahoneyt944
                    last edited by

                    You can run

                    dmesg > $HOME/RetroPie/roms/dmesg.txt
                    

                    and then browse to the roms folder and pick up the file.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mahoneyt944 @mitu
                      last edited by

                      @mitu https://pastebin.com/AEnN8xDK

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @mahoneyt944
                        last edited by

                        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.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mahoneyt944 @mitu
                          last edited by

                          @mitu yes I'll try and report back.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mahoneyt944 @mahoneyt944
                            last edited by

                            Updated without updating the kernal. So far I'm not getting any freezes but I'll update this as I get more time running.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mahoneyt944 @mahoneyt944
                              last edited by

                              Well that was short lived. Got another freeze

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                mahoneyt944 @mahoneyt944
                                last edited by mahoneyt944

                                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.

                                1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator
                                  last edited by

                                  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.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mahoneyt944 @mitu
                                    last edited by

                                    @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?

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @mahoneyt944
                                      last edited by

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

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mahoneyt944 @mitu
                                        last edited by

                                        @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?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mahoneyt944 @mahoneyt944
                                          last edited by

                                          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.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mahoneyt944
                                            last edited by mahoneyt944

                                            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.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.