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

    Screensaver shows hidden games and freezes emulationstation

    Scheduled Pinned Locked Moved Help and Support
    videoscreensaveremulationstatioblack screen
    16 Posts 4 Posters 1.3k 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.
    • robertvb83R
      robertvb83
      last edited by robertvb83

      Pi Model 3B+
      RetroPie Version 4.4
      Emulationstation: updated via source 2019-FEB-15 (how can i Show the Version number) EDIT: V2.8.1RP

      since i updated emulationstation i notice a very different behaviour with the Video screensaver

      1. now even Videos of hidden games are shown even though i am in Kiosk mode and the respective games are not visible (adult Content)

      2. Startup of the Screensaver is very slow and switching to next Video is also very slow with About 30 seconds black screen between Videos with freezed Emulationstation.

      before the update the Video Screensaver worked fine. this is not an issue with the yuv Version. all my Videos are in yuv 420. i had them converted and in theme view the Videos are playing fine.

      i have the Feeling that the Screensaver is working diffenrently and it is now Looking into the gamelist.xml files instead of acutally Chose a game in in emulationstation.

      i have to say that i have full scraped gamelist.xml for a given System. that means my gamelists contain ALL roms of a System and not only the ones that are currently installed. i want to do it like that because that way i am able to just add a Rom without scraping again because the Rom is already included in the gamelist.

      if an easy fix is not possible i wish i could go back to the emulationstation Version that originally came with the clean Retropie 4.4 Image that i downloaded here. Could someone please explain to me what i would have to do to go back to this Version?

      EDIT: i did some testing: i modified the mame-libretro gamelist with meleus script after this i renamed all romfolders with a leading underscore "_" so that only that 1 System is active in emulationstation. with the full gamelist the Problems occur as described above but with the clean gamelist the Screensaver works just fine and responds quickly… :-(

      My full size arcade cabinet Robotron vs. Octolyzer

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

        @robertvb83 said in Screensaver shows hidden games and freezes emulationstation:

        Emulationstation: updated via source 2019-FEB-15 (how can i Show the Version number)

        Press Start to open up the ES menu and the version is at the bottom of the screen.

        i have to say that i have full scraped gamelist.xml for a given System. that means my gamelists contain ALL roms of a System and not only the ones that are currently installed. i want to do it like that because that way i am able to just add a Rom without scraping again because the Rom is already included in the gamelist.

        That's a very peculiar way of keeping game lists. Do you also keep the artwork (video/images) without ROMs ?

        Can you attach your es_settings.cfg file ?

        EDIT: How many ROMs (approx.) would you think you have recorded in all your gamelists ?

        robertvb83R 1 Reply Last reply Reply Quote 0
        • robertvb83R
          robertvb83 @mitu
          last edited by

          Emulationstation Version is V2.8.1RP

          @mitu said in Screensaver shows hidden games and freezes emulationstation:

          That's a very peculiar way of keeping game lists. Do you also keep the artwork (video/images) without ROMs ?

          yes, that way i can always add or exchange roms without bothering about scraping. i have all media stored on my PC so i dont put all the Videos on the retropie sd. but they are ready available

          Can you attach your es_settings.cfg file ?

          sure this is my es_settings.cfg

          <?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="ForceDisableFilters" value="false" />
          <bool name="LocalArt" value="false" />
          <bool name="MoveCarousel" value="true" />
          <bool name="ParseGamelistOnly" value="false" />
          <bool name="QuickSystemSelect" value="true" />
          <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="true" />
          <bool name="hideQuitMenuOnKidUI" value="false" />
          <int name="MaxVRAM" value="100" />
          <int name="ScraperResizeHeight" value="0" />
          <int name="ScraperResizeWidth" value="400" />
          <int name="ScreenSaverSwapImageTimeout" value="10000" />
          <int name="ScreenSaverSwapVideoTimeout" value="20000" />
          <int name="ScreenSaverTime" value="180000" />
          <string name="AudioCard" value="default" />
          <string name="AudioDevice" value="Speaker" />
          <string name="CollectionSystemsAuto" value="all,favorites,recent" />
          <string name="CollectionSystemsCustom" value="" />
          <string name="ExePath" value="/opt/retropie/supplementary/emulationstation/emulationstation" />
          <string name="GamelistViewStyle" value="video" />
          <string name="OMXAudioDev" value="alsa:hw:0,0" />
          <string name="PowerSaverMode" value="disabled" />
          <string name="Scraper" value="TheGamesDB" />
          <string name="ScreenSaverBehavior" value="random video" />
          <string name="ScreenSaverGameInfo" value="start &amp; end" />
          <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="StartupSystem" value="" />
          <string name="ThemeSet" value="rob_ComicBook_4-3" />
          <string name="TransitionStyle" value="instant" />
          <string name="UIMode" value="Full" />
          <string name="UIMode_passkey" value="uuddlrlrba" />
          
          

          EDIT: How many ROMs (approx.) would you think you have recorded in all your gamelists ?

          it sums up to round about 25.000 roms all with Image, Video and Wheel. in fact i have even scraped multiple mixed art images for each Rom. if someone suggest a certain game i like to test, i just need to put the rom on my system and i am done. no scraping required

          My full size arcade cabinet Robotron vs. Octolyzer

          mituM 1 Reply Last reply Reply Quote 0
          • S
            scocasso
            last edited by scocasso

            @robertvb83

            i have the Feeling that the Screensaver is working differently and it is now Looking into the gamelist.xml files

            Oh, very interesting, because I just updated my pi and my screensaver stopped working, just goes to a black screen. I have only one video in a hidden xml gamelist (hidden because there is no game link, only a video link). Does not play it.
            [https://retropie.org.uk/forum/topic/21258/just-updated-retropie-now-screensaver-doesn-t-work](link url)

            I tried putting it into an actual gamelist listing, still won't play it, just a black screen.

            So, the way the screensaver works is certainly different now, but it's not searching the gamelist.xml files, or it would find mine. I tried all kinds of different ways, to no avail.

            If I am on a console screen, one can push SELECT to activate the screensaver. If I do that, it takes about 14 seconds while all controls are frozen to finally go to the blackscreen.

            I wonder why yours are playing and mine are not.
            Do they play in the game info preview box?

            ES V2.8.1RP
            Raspberry Pi 3B
            Linux 4.14.71-v7+ armv71 #1145 SMP
            Retropie 4.4.8

            robertvb83R 1 Reply Last reply Reply Quote 0
            • S
              scocasso
              last edited by

              @robertvb83

              but with the clean gamelist the Screensaver works just fine and responds quickly…

              What do you mean, "clean gamelist"?

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

                @robertvb83 OK, so you have complete gamelists - but not all the media.

                I've taken a look over the screensaver code and it indeed uses the gamelist to find the video/pictures, however this part has always been like that - even in the previous version. There must be something else that changed in the 2.8.x version that affects the performance of the screensaver video selection.

                You can compile an older version of ES if you'd like, but I think would be easier to make a backup of your install, put the 4.4 image, save the /opt/retropie/supplementary/emulationstation folder from that older version and then restore it on your current image.

                robertvb83R 1 Reply Last reply Reply Quote 1
                • robertvb83R
                  robertvb83 @mitu
                  last edited by

                  @mitu said in Screensaver shows hidden games and freezes emulationstation:

                  @robertvb83 OK, so you have complete gamelists - but not all the media.

                  But i have at least all media for the installed roms plus a few additional videos without roms

                  I've taken a look over the screensaver code and it indeed uses the gamelist to find the video/pictures, however this part has always been like that - even in the previous version. There must be something else that changed in the 2.8.x version that affects the performance of the screensaver video selection.

                  You can compile an older version of ES if you'd like, but I think would be easier to make a backup of your install, put the 4.4 image, save the /opt/retropie/supplementary/emulationstation folder from that older version and then restore it on your current image.

                  For me compiling would be more conveniant i think switching sd and images will be time consuming

                  My full size arcade cabinet Robotron vs. Octolyzer

                  mituM 1 Reply Last reply Reply Quote 0
                  • robertvb83R
                    robertvb83 @scocasso
                    last edited by

                    @scocasso said in Screensaver shows hidden games and freezes emulationstation:

                    If I am on a console screen, one can push SELECT to activate the screensaver. If I do that, it takes about 14 seconds while all controls are frozen to finally go to the blackscreen.

                    This is the same for me

                    I wonder why yours are playing and mine are not.
                    Do they play in the game info preview box?

                    I have many entries in the gamelist of roms that are not installed. E.g. for fba all roms of the romset are included in the gamelist but i have only 150 installed on my system

                    Once i put a clean gamelist that only contains entries of games that are actually installed, the screensaver seems to work just fine.

                    However it still shows videos of roms that have a hidden tag set when i am in kiosk mode. This should not be like that

                    My full size arcade cabinet Robotron vs. Octolyzer

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

                      @robertvb83 said in Screensaver shows hidden games and freezes emulationstation:

                      But i have at least all media for the installed roms plus a few additional videos without roms

                      Yes, that's what I meant.

                      For me compiling would be more conveniant i think switching sd and images will be time consuming

                      OK, if you're comfortable enough with the command line (I recommend you do this over a SSH session), try these commands (ignore the lines with #, they're just comments and exit Emulationstation before executing them).

                      # Grab the full source tree from github
                      git clone --recursive https://github.com/retropie/emulationstation
                      cd emulationstation
                      # Switch to the previous stable build
                      git checkout 920db2b6204
                      
                      # Compile
                      cmake .
                      make 
                      

                      After the compilation is finished, you should have a emulationstation file in the folder where the sources have been download (emulationstation), which you can copy to /opt/retropie/supplementary/emulationstation/.

                      Then either restart or run emulationstation to start ES again.

                      EDIT: if you make it work and you're running the previous stable version, remember that the scraper doesn't work.
                      I would also be interested to know if the hidden games issue re-surfaces - during my quick look over the screensaver code I didn't notice anything regarding that, so I'm wondering if this wasn't already there before, but you didn't notice it.

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

                        Ah, I remember now - the kid/hidden thing might not actually be a bug, the old stable version was actually hiding games in Kid mode, when it was supposed to hide them only in Kiosk mode.
                        See https://retropie.org.uk/forum/topic/20867/game-not-shown-in-kids-mode-while-hidden-kidgame-tags-are-on. It was fixed in the new version.

                        robertvb83R 1 Reply Last reply Reply Quote 0
                        • robertvb83R
                          robertvb83 @mitu
                          last edited by

                          @mitu thank you for investigating this.

                          I think I can figure it out now. And it seems that it is not an issue with Emulationstation update, but with my change in philosophy for the gamelists.

                          before making these new full scraped gamelists, I also had overloaded gamelists with all games e.g. for mame/fba (I scraped the complete romset and made my gamelist) but with this I also put ALL videos on the sd card.

                          What I changed now with full-gamelists also for other systems, due to space limitation I only put videos on the sd card for roms that are installed. And this is what makes the screensaver laggy and not working correctly. I assume it just does not find videos for the randomly chosen games.

                          I yesterday cleaned my gamelists and deleted all non-installed game entries. Now every rom in the gamelist is installed and also has a video snap. Screensaver is working like it should! I think installing an older version of Emulationstation is now off the table for me. I'll have to go with the clean gamelists.

                          The other issue with the hidden games video: As I had a full gamelist for arcade, I just copied this for fba and mame-libretro and also for the hidden adult folder. So the full arcade gamelists also contain all the adult games and I suppose those where just randomly chosen in the gamelist no matter if the actual roms are present or not. So with the clean gamelists both problems are solved

                          My full size arcade cabinet Robotron vs. Octolyzer

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

                            @robertvb83 I actually have a fix for this problem - also discussed from @scocasso's topic - for the screensaver to ignore the entries that have and empty video/image tag. The screensaver's picking of videos/images whena Kiosk/Kid mode is one is also something that maybe should be implemented.

                            robertvb83R 1 Reply Last reply Reply Quote 0
                            • robertvb83R
                              robertvb83 @mitu
                              last edited by

                              @mitu the thing is, ALL my entries of the full-gamelist have a video tag in advance, in case I add a rom + a video, I don't need to scrape

                              but still I am interested about that fix...

                              My full size arcade cabinet Robotron vs. Octolyzer

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

                                @robertvb83 said in Screensaver shows hidden games and freezes emulationstation:

                                but still I am interested about that fix...

                                That fix would apply only to @scocasso's case (where he had empty video tags), in your case the behavior would be the same - the screensaver would read the video path, check the video existance, not find it, then go to the next - a few tens/hundred times until it will give up or actually find a valid video file.

                                V 1 Reply Last reply Reply Quote 0
                                • V
                                  vinz2k @mitu
                                  last edited by

                                  @mitu hello
                                  I’m in version 2.8.3RP and the screensaver of emulationstation is showing some black screen. I suspect that it’s the game without video preview.
                                  Do you think your fix should resolve this issue ?
                                  Thanks

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

                                    @vinz2k It depends - do you hear the audio from the video ? Do your gamelist also have empty video tags ? I think the fix should be in the 2.8.3rp version, so maybe you're experiencing another problem.

                                    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.