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 freezes in UI with video preview

    Scheduled Pinned Locked Moved Help and Support
    video freezees themespreview videos
    25 Posts 6 Posters 6.4k 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.
    • F
      funimation
      last edited by

      This does not happen while i am viewing every video preview. But after about 2 minutes of looking through them it typically freezes on a video preview of some type.

      I have my vram in other settings set to 120, and I have my memory split 512.

      Anyone have an idea on some settings that help video previews run smoother?

      mituM ClydeC 2 Replies Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @funimation
        last edited by

        @funimation Enable OMXPlayer for playing videos, from the Emulationstation menus, and lower the VRAM setting to 80.

        F 1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde @funimation
          last edited by

          @funimation Does it freeze with random videos after some time or with specific ones? In the latter case, these videos could be encoded in a incompatible format.

          F 1 Reply Last reply Reply Quote 0
          • F
            funimation @mitu
            last edited by

            @mitu I have enabled OMXPlayer Mitu. But I raised the VRAM. I assumed that would help. I will try and lower it! Thanks!

            1 Reply Last reply Reply Quote 0
            • F
              funimation @Clyde
              last edited by

              @clyde It seems to just be random videos each time. I will do a little more experimenting after work. You may be right about the format. I have heard some people say that lowering the framerate of the videos may help. I will check to see if they are 60FPS. Maybe I can drop them down to 30 somehow. It would take a while to do that for 1000s of videos though. :( Hopefully there is an easier process but we will see.

              1 Reply Last reply Reply Quote 0
              • LoggaheadL
                Loggahead
                last edited by

                I am having this issue as well. I just started playing with video previews this weekend and found that my system randomly freezes when I have video previews enabled. I used the Sselph scraper and pulled the videos for arcade only from the screenscraper source. I have the OMX player enabled and my VRAM setting was already set to 80mb.

                It doesn't seem to a particular video but I am not 100% sure of that yet. I am using the Tronkyfran theme and have the screensaver set to random video. I let the screensaver videos run and it froze but was just as a black screen when I found it so I wasn't able to see what video it crashed on. It seems that most of my videos are in H.264 codec. Is there a suggested codec / settings for video previews? I know how to use handbrake and could try re-encoding all of my videos to those settings easy enough...

                My 1982 Robotron Restoration / Conversion Project running on retropie !!!

                mituM ClydeC 2 Replies Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Loggahead
                  last edited by

                  @loggahead See the discussion at https://retropie.org.uk/forum/topic/12590/how-to-properly-convert-video-snaps-for-emulationstation/17 for converting using Handbrake.

                  LoggaheadL 1 Reply Last reply Reply Quote 0
                  • ClydeC
                    Clyde @Loggahead
                    last edited by

                    @loggahead said in RetroPie freezes in UI with video preview:

                    Is there a suggested codec / settings for video previews?

                    One common problem is the encoding in YUV 444, which omx player can't play, it needs YUV 420. If that's your problem, you can use one of these scripts for easy conversion:

                    • https://retropie.org.uk/forum/topic/15362/script-batch-convert-yuv-4-4-4-videos-to-yuv-4-2-0-in-retropie-linux (no options, but simple)
                    • https://retropie.org.uk/forum/topic/15764/script-retropie-convert-videos (not as simple, but with options)
                    1 Reply Last reply Reply Quote 1
                    • LoggaheadL
                      Loggahead @mitu
                      last edited by

                      @mitu , @Clyde - Thank to you both. I will research the issue more tonight and see if I can find what's causing the crashes. If I find some of the videos are YUV 444, I'll convert them to 420 and see if it fixes it. If not, I'll just batch re-encode them using the settings mitu linked me too.

                      I take it, you have video previews running on your system without it causing random system freezes?

                      My 1982 Robotron Restoration / Conversion Project running on retropie !!!

                      ClydeC 1 Reply Last reply Reply Quote 0
                      • ClydeC
                        Clyde @Loggahead
                        last edited by

                        @loggahead Yes, I only had problems with said YUV 444 videos, and they didn't cause freezes. They only showed up as empty, black pictures in OMXPlayer.

                        1 Reply Last reply Reply Quote 0
                        • LoggaheadL
                          Loggahead
                          last edited by

                          I got it to freeze again last night and it ended up freezing in attract mode on a game called silent dragon. However, I couldn't get it to freeze on that same video after I rebooted.

                          I have ben using tronkyfran as my theme and know that carbon is the default so as a test I switched to carbon. I let it run for hours last night on carbon with no freezing. Could it have possibly been something in the code of that theme that could cause this? I'm letting it run all day today while at work and will consider this solved if it doesn't freeze.

                          My 1982 Robotron Restoration / Conversion Project running on retropie !!!

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

                            @loggahead Is your power supply good enough ? Do you get the yellow bolt while playing ?

                            LoggaheadL 1 Reply Last reply Reply Quote 0
                            • LoggaheadL
                              Loggahead @mitu
                              last edited by

                              @mitu Never have gotten a yellow bolt whole playing or using my pi. I've had this particular pi3 for over a year now and it never has given me any issues so I am going to assume that my ps is ok?

                              My 1982 Robotron Restoration / Conversion Project running on retropie !!!

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

                                @loggahead Sure, if you didn't have problems so far, I'd say the power source is solid.

                                LoggaheadL 1 Reply Last reply Reply Quote 0
                                • LoggaheadL
                                  Loggahead @mitu
                                  last edited by Loggahead

                                  @mitu I think I just found the issue. My cab froze again while in attract mode and I noticed the temp icon in the upper right! It's overheating!

                                  I went back an looked another picture i took on my phone when it froze and saw that same icon! I'm now thinking using the hardware accelerated OMX player is what is causing this.

                                  So my next question is this. I have my PI in an arcade cabinet mounted behind an lcd screen. the PI is not in a case and has heatsinks on the chips. It's also not overclocked. What is my best option to keep it running cool?

                                  My 1982 Robotron Restoration / Conversion Project running on retropie !!!

                                  DougAD ClydeC 2 Replies Last reply Reply Quote 0
                                  • LoggaheadL
                                    Loggahead
                                    last edited by

                                    NVM, looking up some other threads on cooling but if you have any recommendations that would cut down some reading, feel free to share? And thanks so much!

                                    My 1982 Robotron Restoration / Conversion Project running on retropie !!!

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

                                      @loggahead Can't say I have any cooling recommendations, but do you have installed a shutdown/reset script ? - maybe you have buttons connected via GPIO and you run the script to trigger reset/shutdown. I've seen a few scripts that monitor the pins continuously and because of the way they are programmed, they consume a CPU (100%) adding to the load of the system.
                                      You can check what programs consume the CPU by running top - preferably from a SSH session so you can monitor the system while ES and screensavers are running - and then sort by CPU consumption (press P).

                                      LoggaheadL 1 Reply Last reply Reply Quote 0
                                      • DougAD
                                        DougA @Loggahead
                                        last edited by

                                        @loggahead How much ventilation do you have in your cabinet? It could get fairly warm in there, and if you don't have any ventilation holes, there isn't going to be much air flow.

                                        1 Reply Last reply Reply Quote 0
                                        • LoggaheadL
                                          Loggahead @mitu
                                          last edited by

                                          @mitu I don't have a shutdown script and haven't programmed any buttons for something like this. It's something I'm looking at doing in the future though so I'll keep an eye on that.

                                          @DougA It has some large ventilation holes at the top and bottom of the cabinet but NO active cooling whatsoever. I know this has to be my issue. I've checked the cabinet several times and the ambient temp isn't that warm at all. The lcd I'm using isn't putting off much. So I'm thinking the best bet for me to try first is some active cooling on the pi itself? I'm only running heat sinks so having a fan should resolve this issue I'm thinking?

                                          My 1982 Robotron Restoration / Conversion Project running on retropie !!!

                                          1 Reply Last reply Reply Quote 0
                                          • LoggaheadL
                                            Loggahead
                                            last edited by Loggahead

                                            Ordered one of these: https://www.amazon.com/Raspberry-iUniker-Heatsink-Model-Single/dp/B01LXSMY1N/ref=sr_1_6?s=electronics&ie=UTF8&qid=1525878832&sr=1-6&keywords=raspberry+pi+3+fan

                                            Will see how well it works and go from there. I like the open case design to allow air to flow which should work well being inside the arcade cab. If not, I'll send it back.

                                            My 1982 Robotron Restoration / Conversion Project running on retropie !!!

                                            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.