• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

RetroPie randomly freezing/crashing while browsing through game lists.

Scheduled Pinned Locked Moved Help and Support
retropieemulatistationhelpsupportcrash
52 Posts 5 Posters 21.0k 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.
  • B
    beastmode
    last edited by beastmode 8 May 2017, 01:34 5 Aug 2017, 00:30

    I am experiencing frequent, yet random freezing while browsing through game lists that have more than 100 rom files. Manually pulling the plug on the Raspberry Pi is the only solution as SSH is no longer accessible. I have scraped images, videos, and marquee files for each system with the Sselph Scraper, which display and play perfectly using the omxplayer player. The system does not freeze at all during gameplay or system selection. This issue began shortly after installing the latest version of RetroPie 4.2. Any help solving this issue would be greatly appreciated.

    Device: Raspberry Pi 3, overclocked to 1.35 ghz, running RetroPie 4.2 with more than adequate cooling.
    Controllers: Wired PS4, XBOX 360 controllers.

    T 1 Reply Last reply 5 Aug 2017, 00:57 Reply Quote 0
    • T
      TMNTturtlguy @beastmode
      last edited by 5 Aug 2017, 00:57

      @beastmode what is your vram set at? Are you using the omx player?

      B 1 Reply Last reply 5 Aug 2017, 01:40 Reply Quote 0
      • B
        beastmode @TMNTturtlguy
        last edited by 5 Aug 2017, 01:40

        @tmntturtlguy vram is set to 150 mb at the moment, and omx player is enabled.

        T 1 Reply Last reply 5 Aug 2017, 02:24 Reply Quote 0
        • T
          TMNTturtlguy @beastmode
          last edited by 5 Aug 2017, 02:24

          @beastmode 150 is way to high! Set your vram to 100 and test. If that doesn't work go down to 80.

          B 2 Replies Last reply 5 Aug 2017, 02:32 Reply Quote 0
          • B
            beastmode @TMNTturtlguy
            last edited by 5 Aug 2017, 02:32

            @tmntturtlguy I'll try going down to 80. I had it set to 100 before I raised it to 150. I'll test in the morning and let you know the results.

            1 Reply Last reply Reply Quote 0
            • B
              beastmode @TMNTturtlguy
              last edited by 5 Aug 2017, 15:10

              @tmntturtlguy The crashes persist with vram set to 80 mb.

              1 Reply Last reply Reply Quote 0
              • P
                pjft
                last edited by 5 Aug 2017, 19:32

                OK. I want to dig into this a bit more.

                What's you emulationstation version, what theme are you using, and can you consistently replicate it?

                If I'd send you over an older build (or if you are able to compile things on your own) I'd be keen on having you test it to a certain extent until we can narrow this down to something more concrete (version, feature set, etc).

                I had that happen to me today for the first time in several months of active usage, on my SNES system but alas I couldn't replicate it afterwards.

                Are you using the auto collections? What system(s) does this happen in?

                Appreciate your feedback and assistance here.

                Thanks in advance.

                B 1 Reply Last reply 5 Aug 2017, 20:38 Reply Quote 0
                • B
                  beastmode @pjft
                  last edited by 5 Aug 2017, 20:38

                  @pjft 4.2.14 but the problem started under 4.2.10. I'm using @tmntturtlguy's Comic Book theme. I'm not using auto collections. The problem occurs completely at random, in all system gamelist menus, regardless of theme. I'm unable to replicate the issue for any specific rom or system. The system crashes most frequently when I'm scrolling through the gamelist rom by rom rather than jumping around the menu.

                  I have the following systems installed:

                  Atari 2600 (126 roms), Atari 7800 (40 roms), Final Burn Alpha (398 roms), Game Gear (177 roms), Game Boy (316 roms), Game Boy Advance (309 roms), Game Boy Color (244 roms), Master Syatem (270 roms), Mega Drive (338 roms), Nintendo (372 roms), NeoGeo Pocket Color (44 roms), PC Engine (93 roms), Super Nintendo (278 roms).

                  T 1 Reply Last reply 5 Aug 2017, 22:06 Reply Quote 0
                  • T
                    TMNTturtlguy @beastmode
                    last edited by 5 Aug 2017, 22:06

                    @beastmode what are the file sizes for your scraped videos and images? Along time ago I had similar issues, when I say along time ago I mean way back in retropie 4.1 and emulationstation when the video was very first introduced. By reducing my images, wheelart, and video file sizes it removed the problem. This may not be your situation as Es and retropie have changed so much, but it might be worth trying.

                    B 1 Reply Last reply 5 Aug 2017, 22:41 Reply Quote 0
                    • P
                      pjft
                      last edited by 5 Aug 2017, 22:34

                      Thanks. What EmulationStation version are you in, though? Press start and see.

                      Are you comfortable with ssh?

                      Thanks.

                      B 1 Reply Last reply 5 Aug 2017, 22:45 Reply Quote 0
                      • B
                        beastmode @TMNTturtlguy
                        last edited by 5 Aug 2017, 22:41

                        @tmntturtlguy marquee files range in size from 3 KB to 137 KB, images files from 185 KB to 790 KB, and video viles from 826 KB to 8 KB.

                        T 1 Reply Last reply 5 Aug 2017, 23:05 Reply Quote 0
                        • B
                          beastmode @pjft
                          last edited by 5 Aug 2017, 22:45

                          @pjft I'm pretty comfortable with SSH. I know my way around, more or less. EmulationStation - v2.4.1rp, built Aug 3 2017 - 17:01:17

                          1 Reply Last reply Reply Quote 0
                          • T
                            TMNTturtlguy @beastmode
                            last edited by 5 Aug 2017, 23:05

                            @beastmode the marquee sizes look good, the image sizes in the 700kb might cause some issues in large lists or if using a theme that loads images and videos. I keep my images in the 200kb or lower. I use a png compression program so I don't lose to much quality, but the images are far from HD. I also assume some of your videos are 8mb (your post says 8kb) i don't know a ton about video sizes but I know reduced mine to 320x240 and my file sizes are much smaller.

                            I hope @pjft has some suggestions, but I would make a copy of all your scraped files and the run a batch convert of your videos using handbreak and a batch reduction in png using a program called riot.

                            B 2 Replies Last reply 5 Aug 2017, 23:31 Reply Quote 1
                            • B
                              beastmode @TMNTturtlguy
                              last edited by 5 Aug 2017, 23:31

                              @tmntturtlguy Great advice, dude. I'll give that a try right now.

                              1 Reply Last reply Reply Quote 1
                              • B
                                beastmode @TMNTturtlguy
                                last edited by 6 Aug 2017, 00:19

                                @tmntturtlguy Would you say 2 mb to 4 mb for video files is okay?

                                T 1 Reply Last reply 6 Aug 2017, 00:24 Reply Quote 0
                                • T
                                  TMNTturtlguy @beastmode
                                  last edited by 6 Aug 2017, 00:24

                                  @beastmode yeah, that sounds a lot better to me. The smaller the better as long as you are ok with the quality

                                  B 1 Reply Last reply 6 Aug 2017, 00:26 Reply Quote 0
                                  • B
                                    beastmode @TMNTturtlguy
                                    last edited by 6 Aug 2017, 00:26

                                    @tmntturtlguy The quality looks just fine to me at 320x240. The images I don't care so much about since the videos are front and center in my setup with your theme =). I'll test for a few and let you know if your suggestion solved my problem.

                                    1 Reply Last reply Reply Quote 1
                                    • P
                                      pjft
                                      last edited by 6 Aug 2017, 07:11

                                      Ok all - and adding @BigMan1982 here as he reported the same.

                                      Thanks for bringing this up. If you're keen and open to helping us get to the bottom of this, I'm willing to try my best to figure out what may be happening here.

                                      There are two or three things that I'd ideally want to get to. Bear in mind, though, that consistently getting your Pi to a state where it freezes and you have to pull the plug is not ideal, as you may end up corrupting your SD card, so I'd strongly recommend making a backup of your system and ROMs - regardless of whether you'll be helping test this or not.

                                      Now that I got that out of the way, these are the things I'd be keen on narrowing down:

                                      1. Exact (or semi-reliable) steps to make it get to that state;
                                      2. Features that may be related to the behavior;
                                      3. Version where that might have been introduced - as a proxy to what changes might have brought that up.

                                      Now, for 1, it seems some of you - at least you, @beastmode - seem to have an "easier" time making it happen more frequently.

                                      Would it be possible to ask you to SSH into your Pi, and then run "top", and while it's running attempt to get the Pi into that freezing state? I'd be keen on learning what exactly is happening in the background - if any process starts using up all the memory, if there are any ghost processes dangling, etc. I fact, if you'd want to do it with "htop" instead (you can install it via sudo apt-get install htop) it tends to provide some more details.

                                      Thanks. Also, given that you will have a session connected to the Pi, you may be able to force it to shutdown properly (fingers crossed).

                                      For 2., after this test, I'd probably suggest testing replicating the same behavior in two distinct scenarios: the first, disabling OMX Player (go to Start Menu > Other Settings > Turn "Use OMX Player" to "OFF"). If you don't have OMX Player turned on, then ignore this.

                                      After this - whether you managed to replicate it or not - turn OMX Player back on, and then in the UI settings set it to only display the "Detailed" gamelist. See if you can get it to the same state. This is a very random bug, so don't give up immediately as we may end up disregarding features that may be related, just by pure coincidence of not being able to replicate it.

                                      Once again, always with SSH and htoprunning.

                                      For 3. we'll get to that after we have a bit more data here, if possible. But it'll likely involve me providing older builds to try to track it down further, or asking you to compile some builds on your own if you are comfortable with that. Likely I'll also try to provide a debug build with a lot of logging so that we can hopefully get more data there.

                                      It'd also be helpful from both of you, @beastmode and @BigMan1982 to get a status on:

                                      • VRAM setting
                                      • ES version
                                      • Controller you're using (in particular, bluetooth or wired)
                                      • OMX Player or not

                                      Thank you all in advance. I know this will take some of your precious free time, so I am mindful of that. I appreciate any help you can provide here, so that hopefully we can fix this (as long as it can be fixed) for everyone.

                                      I'll also try to chase this down, but I haven't been able to replicate it since yesterday so I'm hoping one of you has a bit more luck with it.

                                      Have a great Sunday, thank you!

                                      B B 2 Replies Last reply 6 Aug 2017, 16:30 Reply Quote 0
                                      • B
                                        beastmode @pjft
                                        last edited by beastmode 8 Jun 2017, 17:31 6 Aug 2017, 16:30

                                        @pjft I'm only experiencing this problem at the game list menu, never in game or at the system selection screen. Slowly browsing a large game list menu for any system, from top to bottom, pausing for a second or two on each game selection while the scraped video file plays is when my system crashes at random.

                                        OMX Player: enabled
                                        Theme: Comic Book Theme created by @tmntturtlguy
                                        Device Temperature: CPU: 47°C/116°F GPU: 47°C/116°F
                                        VRAM: currently set to 80mb. crashing continued with 100 as well.
                                        ES Version: EmulationStation - v2.4.1rp, built Aug 3 2017 - 17:01:17
                                        Controller: usb connected PS4 controller | usb connected XBOX 360 controller
                                        HTOP: installed. memory usage steadily in the 155mb range while browsing game lists.
                                        Image Artwork: images and marquee .png files, enabled and displaying properly. file size varies from 3kb to 750kb.
                                        Video Artwork: 320x240 .mp4 files, enabled and displaying properly. file size varies from 813kb to 4.5mb.
                                        Overclock: 1.4 ghz. gpu_mem=400, arm_freq=1400, over_voltage=6, sdram_freq=500, core_freq=500, gpu_freq=400, gpu_mem_256=128, gpu_mem_512=256, gpu_mem_1024=256

                                        Steps taken after experiencing the problem, but didn't correct it:

                                        1. lowering the overclock to 1.35 ghz and 1.3 ghz.
                                        2. reducing video and image file sizes
                                        3. updated RetroPie setup and all core packages
                                        4. changed theme to carbon
                                        T 1 Reply Last reply 6 Aug 2017, 17:15 Reply Quote 1
                                        • T
                                          TMNTturtlguy @beastmode
                                          last edited by 6 Aug 2017, 17:15

                                          @beastmode - when you start up, do you see a White or Black ES background before it loads to the system select screen?

                                          @pjft - What version did you implement all of the final updates to ES to make it run better? I am wondering if that is the issue?

                                          @beastmode there was an update a while back that @pjft made a ton of updates to how ES uses memory and loads textures. This allowed not only the ComicBook theme to run better, but also made it possible for so many of the new cool themes we are seeing today. I am wondering if you are still on an a version of ES prior to those updates? Can you try to run the carbon theme and see if the problems still exist? You may have already tried this, so i apologize for asking. I assume the file size reduction has not helped? I still see you listing your images as high as 750kb.

                                          Thanks

                                          B 1 Reply Last reply 6 Aug 2017, 18:27 Reply Quote 1
                                          20 out of 52
                                          • First post
                                            20/52
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received