RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Video preview bug in several themes - freezes after 10 seconds

    Scheduled Pinned Locked Moved Projects and Themes
    videopreviewbugthemes
    33 Posts 4 Posters 7.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.
    • SteffenBraunerS
      SteffenBrauner
      last edited by

      Hi

      Has anyone else experienced a bug in several video supported themes - where the preview video (and description text if the theme also show that) stops after about 10 seconds?

      It happens if I go into MAME (the only emulator on my machine), and then go over a game title. The video preview (and text) starts but freezes after about 10 seconds. I can still hear the sound though.

      Now, if I don't move the joystick to another game and go directly out of MAME and back in, I will be at the same game title again - but this time nothing freezes. It keeps playing and shows scrolling text to the end. Strange, right?

      I have testet it on these themes: Comicbook_4-3, Maximuspie, Hurstyblue and Carbon, and the ONLY one where it doesn't happen is in the Carbon theme.

      I have made a little video showing the problem/bug:

      Anyone else got this bug?

      1 Reply Last reply Reply Quote 0
      • SgtJimmyRustlesS
        SgtJimmyRustles
        last edited by

        I don't think this might be the right spot for this. I think this might be under help. I personally don't use video though, so I can't really be of help.

        Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
        http://www.reddit.com/r/sbcgaming

        Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
        https://discord.gg/JdXc6nx

        Check out our Podcast!

        SteffenBraunerS 1 Reply Last reply Reply Quote 0
        • SteffenBraunerS
          SteffenBrauner @SgtJimmyRustles
          last edited by

          @sgtjimmyrustles Okay thanks, I was a bit uncertain if it belonged here in 'themes' or in 'help and support'.

          I'll try to move it...

          1 Reply Last reply Reply Quote 0
          • SteffenBraunerS
            SteffenBrauner
            last edited by SteffenBrauner

            ...

            1 Reply Last reply Reply Quote 0
            • pjftP
              pjft
              last edited by pjft

              Can you go to the other settings (or is it UI settings) and disable power savings?

              See if it still happens.

              Edit: what EmulationStation version are you in? Can you update ES first?

              SteffenBraunerS 1 Reply Last reply Reply Quote 0
              • SteffenBraunerS
                SteffenBrauner @pjft
                last edited by

                @pjft Disabling power savings did the trick. Thanks!

                I'm on Emaluationstations v2.6.5rp

                Strange though, that it worked if I went out and back into MAME if I was at the same game preview. And that Carbon theme didn't have the problem, don't you think?

                pjftP 1 Reply Last reply Reply Quote 0
                • pjftP
                  pjft @SteffenBrauner
                  last edited by

                  @steffenbrauner I don't think there's any reason for the behavior to change with the theme. I'd recommend testing that out a bit more as I struggle to see that being a factor.

                  I believe that the behavior you're describing shouldn't be happening, as @Hex had addressed that, but if it is it obviously needs to be flagged as it's not intended behavior. I imagine you're using VLC as well for video player, so that narrows things down a bit.

                  Maybe if you can capture a video that can help him track that down? Do you recall if this happens in prior versions of ES?

                  Best.

                  SteffenBraunerS 1 Reply Last reply Reply Quote 0
                  • HexH
                    Hex
                    last edited by

                    By any chance did you change the PowerSaver mode while inside the gamelist? There is a known bug that changing psmode while in gamelist stops after some time depending on the mode and re-entering the gamelist or changing the system selected resolves this.

                    This bug happens as PS activity depends on the type of gamelist currently being shown and PS mode. Since you changed the mode but not the gamelist the PS system does not refresh this info till a new gamelist is selected (same or new).

                    Sent from 20,000 leagues under the sea.

                    Powersaver Emulation station : https://github.com/hex007/EmulationStation
                    ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                    SteffenBraunerS 2 Replies Last reply Reply Quote 0
                    • SteffenBraunerS
                      SteffenBrauner @pjft
                      last edited by

                      @pjft Yes, I can try to test other themes, and make the power saving default again.

                      I don't know about VLC, I just used a video scraper (Stephens or what's it called..)

                      About a video of the issue. You mean a different video than the one I made? What would you like to see me do?

                      I just scraped and enabled video preview a few days ago, so don't know about earlier versions I'm afraid.

                      1 Reply Last reply Reply Quote 0
                      • SteffenBraunerS
                        SteffenBrauner @Hex
                        last edited by

                        @hex I'm a bit unsure if I understand you correctly, but if you are asking if I changed the powersaver mode before the problem happened, then yes, I had changed it to default. I must say I don't remember if I changed the mode while in the gamelist or in the menu. But on exit and reentering MAME, only the previously selected game worked as it should. As soon as I changed the game, the video preview problem was there again until I exited MAME and went back in again. And so on.

                        When the powersaver was at default, only the Carbon theme ran the preview videos without freezing (compared to the three other themes I tested).

                        Would you like me to try setting the powersaver to default again - out in the menu, and not the gamelist - and then see if the problem comes back when I enter the gamelist in different themes?

                        1 Reply Last reply Reply Quote 0
                        • SteffenBraunerS
                          SteffenBrauner @Hex
                          last edited by

                          @hex
                          Hi again

                          I've made another video, where I am certain that I'm not changing Power Saver mode while inside the gamelist.

                          When I set Power Saver to 'default' the freeze-problem shows in the video preview, when I go into MAME and select a new game.

                          If I exit MAME and go straight back into the same game that froze - then it plays normally.

                          As seen in the video, if I go back out in the menu and adjust the Power Saver to 'disabled' then there is no video preview problems going into MAME and picking any random game.

                          1 Reply Last reply Reply Quote 0
                          • SteffenBraunerS
                            SteffenBrauner
                            last edited by SteffenBrauner

                            I tested some more video supported themes (see below), to see which ones freezes at default Power Saver mode, and which doesn't.

                            It seems rather random to me, but maybe you can see a pattern. Important when testing: you need to scroll beyond the first game you preview to provoce the freeze.

                            Tested themes for video preview freeze (after about 10 seconds of preview) when at default Power Saver (running Retropie 4.3.3. and Emulationstation v2.6.5rp) :

                            • Hurstyblue, freezes
                            • Spaceoddity, works
                            • Retrorama, works
                            • Maximuspie, freezes
                            • Carbon, works
                            • Comicbook_4-3, freezes.

                            EDIT: Some more tested:

                            • Bigwood, freezes
                            • Superdisplay, freezes
                            • Showcase, freezes
                            • Steampunk, freezes.

                            EDIT2:

                            • Space, freezes
                            • Tronkyfan, works
                            • Cygnus, freezes.
                            1 Reply Last reply Reply Quote 0
                            • HexH
                              Hex
                              last edited by

                              @SteffenBrauner Can you post your ES settings config file and ES version? That might explain what is going wrong. There has been no update to PS for nearly 2 months so either this is a new bug or there is something wrong with the settings.

                              Sent from 20,000 leagues under the sea.

                              Powersaver Emulation station : https://github.com/hex007/EmulationStation
                              ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                              SteffenBraunerS 1 Reply Last reply Reply Quote 0
                              • SteffenBraunerS
                                SteffenBrauner @Hex
                                last edited by

                                @hex The ES version says 'v2.6.5rp'.

                                I'm not good at finding/changing setting. Is the ES settings config the file located here?:
                                /opt/retropie/configs/all/emulationstation

                                And the file es_setting.cfg, right?

                                If so, then it has this content:

                                <?xml version="1.0"?>
                                <bool name="BackgroundJoystickInput" value="false" />
                                <bool name="CaptionsCompatibility" value="true" />
                                <bool name="DrawFramerate" value="false" />
                                <bool name="EnableSounds" value="true" />
                                <bool name="MoveCarousel" value="true" />
                                <bool name="ParseGamelistOnly" value="false" />
                                <bool name="QuickSystemSelect" value="false" />
                                <bool name="SaveGamelistsOnExit" value="true" />
                                <bool name="ScrapeRatings" value="true" />
                                <bool name="ScreenSaverControls" value="true" />
                                <bool name="ScreenSaverOmxPlayer" value="true" />
                                <bool name="ShowHelpPrompts" value="true" />
                                <bool name="ShowHiddenFiles" value="false" />
                                <bool name="SlideshowScreenSaverCustomImageSource" value="false" />
                                <bool name="SlideshowScreenSaverRecurse" value="false" />
                                <bool name="SlideshowScreenSaverStretch" value="false" />
                                <bool name="SortAllSystems" value="false" />
                                <bool name="StretchVideoOnScreenSaver" value="false" />
                                <bool name="UseCustomCollectionsSystem" value="true" />
                                <bool name="VideoAudio" value="true" />
                                <bool name="VideoOmxPlayer" value="false" />
                                <int name="MaxVRAM" value="80" />
                                <int name="ScraperResizeHeight" value="0" />
                                <int name="ScraperResizeWidth" value="400" />
                                <int name="ScreenSaverSwapImageTimeout" value="10000" />
                                <int name="ScreenSaverSwapVideoTimeout" value="30000" />
                                <int name="ScreenSaverTime" value="180000" />
                                <string name="AudioDevice" value="PCM" />
                                <string name="CollectionSystemsAuto" value="favorites" />
                                <string name="CollectionSystemsCustom" value="" />
                                <string name="GamelistViewStyle" value="video" />
                                <string name="OMXAudioDev" value="both" />
                                <string name="PowerSaverMode" value="default" />
                                <string name="Scraper" value="TheGamesDB" />
                                <string name="ScreenSaverBehavior" value="dim" />
                                <string name="ScreenSaverGameInfo" value="never" />
                                <string name="SlideshowScreenSaverBackgroundAudioFile" value="/home/pi/.emulationstation/slideshow/audio/slideshow_bg.wav" />
                                <string name="SlideshowScreenSaverImageDir" value="/home/pi/.emulationstation/slideshow/image" />
                                <string name="SlideshowScreenSaverImageFilter" value=".png,.jpg" />
                                <string name="ThemeSet" value="carbon" />
                                <string name="TransitionStyle" value="fade" />
                                <string name="UIMode" value="Full" />
                                <string name="UIMode_passkey" value="uuddlrlrba" />

                                1 Reply Last reply Reply Quote 0
                                • HexH
                                  Hex
                                  last edited by

                                  Yes that is the file. Try changing this line and check again with PS:Default

                                  <bool name="VideoOmxPlayer" value="false" />
                                  
                                  to 
                                  
                                  <bool name="VideoOmxPlayer" value="true" />
                                  

                                  I am online now for half an hour. please let me know if this solves it asap.

                                  Sent from 20,000 leagues under the sea.

                                  Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                  ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                  pjftP SteffenBraunerS 2 Replies Last reply Reply Quote 0
                                  • pjftP
                                    pjft @Hex
                                    last edited by

                                    @hex He only set this up recently, so maybe that's why he's only running into this now.

                                    In regards to setting OMXPlayer as true, that will certainly solve that, but ideally it would still work on VLC as other platforms (Linux, etc) use that player instead.

                                    @SteffenBrauner you can change that option in the ES menu > Other Settings > USE OMX PLAYER (HW ACCELERATED).

                                    I'd check if your arcade videos will play then, though, as there's at least one video source that encodes them using a codec that OMX Player doesn't support (4:4:4 predictive). You can re-encode them, though.

                                    1 Reply Last reply Reply Quote 0
                                    • SteffenBraunerS
                                      SteffenBrauner @Hex
                                      last edited by

                                      @hex I disabled the OMXPlayer on purpose, because when it's enabled there are no video previews in MAME at all.

                                      It was a solution I found (maybe in this forum, can't remember) when I Googled the problem.

                                      I have just tried to turn it on/enable again, and sure thing, there are no previews now.

                                      1 Reply Last reply Reply Quote 0
                                      • SteffenBraunerS
                                        SteffenBrauner
                                        last edited by SteffenBrauner

                                        I now see something similar in this thread:
                                        Topic link

                                        Looks like it might be tied to the same problem... but strange if it is also connected to power saving?

                                        pjftP 1 Reply Last reply Reply Quote 0
                                        • pjftP
                                          pjft @SteffenBrauner
                                          last edited by

                                          @steffenbrauner two separate things.

                                          VLC halting is likely related to power savings.

                                          Lack of Mame previews is related to what I mentioned. Re-encoding those videos will help.

                                          SteffenBraunerS 1 Reply Last reply Reply Quote 0
                                          • SteffenBraunerS
                                            SteffenBrauner @pjft
                                            last edited by

                                            @pjft Okay, thanks.

                                            Seems like the easy thing to do, is to just keep the OMX Player off (so I can see video previews in MAME) and disable Power Saver (so the video previews in MAME doesn't freeze). Then everything works in all themes.

                                            Is there a problem of some sort in having the OMX Player off?

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