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

    Help testing: Random Video Screensaver on Main Branch

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatiovideo screensavscreensavervideotesting
    146 Posts 5 Posters 49.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.
    • TMNTturtlguyT
      TMNTturtlguy @pjft
      last edited by

      @pjft I updated your build and I am not sure that I am getting the most up to date version? I made sure to do a clean install. I am not seeing any of the revised menu options on the pi 3? I believe above you mentioned a VLC option for the PI, as well as moving audio options under sound, and 3 different subtitle options. I am currently running on Pi3 4:3 monitor. Thanks

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

        @TMNTturtlguy hm. It should but I'll check as I'm putting the boys to bed at the moment. What version does it claim to be? It should be 2.2.1 I think. If not, maybe it's the wrong branch, or maybe I messed something up - certainly possible.

        TMNTturtlguyT 1 Reply Last reply Reply Quote 0
        • TMNTturtlguyT
          TMNTturtlguy @pjft
          last edited by

          @pjft It's 2.2.0RP - I am using the same branch that the PR was created with:
          RetroPie-ScreenSaver-Merge

          I have it saved in @meleu script. The first time i ran it, I had it ignore make clean to speed it up, I didn't see the updates, so I reran it and installed it clean, same results.

          Thanks

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

            @TMNTturtlguy sounds good, I'll check. I must have messed something up then.

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

              @TMNTturtlguy hm.

              The code seems to be there though:

              https://github.com/pjft/EmulationStation/blob/RetroPie-ScreenSaver-Merge/es-app/src/EmulationStation.h

              It's 2.2.1 that you should be seeing.

              Could you open that file locally on the Pi and check whether the content is the same?

              TMNTturtlguyT 1 Reply Last reply Reply Quote 0
              • TMNTturtlguyT
                TMNTturtlguy @pjft
                last edited by

                @pjft dumb question - but i am not sure where to find that! Your branch is currently in /opt/retropie/supplementary/es_pjft_retropie-screensaver-merge/ on the pi. I don't have a file named EmulationStation.h there.

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

                  Not a dumb question at all. I suppose @meleu would know where the code is compiled to. That's where you'd want to look into.

                  I've just done a final push to the PR, updating a few things that had gone missing. All seems to be good to go on my end, but more testing is always encouraged and appreciated.

                  @Hex : the Alsa test works fine, and actually when you change it and exit the options menu the video player is restarted immediately with the new audio option, so no worries about that. Do test it, but it seems to work well.

                  I do get an error on my end - I believe when set to alsa:hw:1,0 for "ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card".

                  Unsure if it's because it's not a valid option or if it's because I don't have an external card, but thought you'd like to know.

                  @TMNTturtlguy one thing you may want to do is to just do it old school style.

                  https://retropie.org.uk/forum/post/82820

                  I didn't test those instructions but they should work.

                  TMNTturtlguyT HexH 2 Replies Last reply Reply Quote 0
                  • TMNTturtlguyT
                    TMNTturtlguy @pjft
                    last edited by TMNTturtlguy

                    @pjft said in Help testing: Random Video Screensaver on Main Branch:

                    @TMNTturtlguy one thing you may want to do is to just do it old school style.
                    https://retropie.org.uk/forum/post/82820

                    Yeah, i have to run for a few hours, but i am going to install the main branch es and then install yours, if that doesn't work, i will install it the old way! Thanks

                    Edit, i am going to try the remove/remove source files from @meleu script and then try to reinstall.

                    meleuM 1 Reply Last reply Reply Quote 1
                    • meleuM
                      meleu @TMNTturtlguy
                      last edited by meleu

                      @TMNTturtlguy the script saves sources at ~/src.

                      Edit: typo

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      1 Reply Last reply Reply Quote 0
                      • HexH
                        Hex @pjft
                        last edited by

                        @pjft said in Help testing: Random Video Screensaver on Main Branch:

                        Not a dumb question at all. I suppose @meleu would know where the code is compiled to. That's where you'd want to look into.

                        I've just done a final push to the PR, updating a few things that had gone missing. All seems to be good to go on my end, but more testing is always encouraged and appreciated.

                        @Hex : the Alsa test works fine, and actually when you change it and exit the options menu the video player is restarted immediately with the new audio option, so no worries about that. Do test it, but it seems to work well.

                        I do get an error on my end - I believe when set to alsa:hw:1,0 for "ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card".

                        Unsure if it's because it's not a valid option or if it's because I don't have an external card, but thought you'd like to know.

                        @TMNTturtlguy one thing you may want to do is to just do it old school style.

                        https://retropie.org.uk/forum/post/82820

                        I didn't test those instructions but they should work.

                        @pjft Yes if you dont have a second USB cad then it errors out. Its not harmful.

                        For those who are testing you can manually test it with a keyboard. you dont need the script or anything else

                        $ git clone URL DIR_NAME
                        $ cd DIR_NAME
                        $ mkdir build && cd build
                        $ cmake ..
                        $ make -j 2

                        "-j 2" if using Pi 2/3, omit if pi 1/zero
                        For pi 1/Zero you have less RAM than necessary to compile, so you need the script.

                        To run the executable
                        $ ../emulationstation
                        This allows you to test without installing and disturbing stock ES

                        To update build :
                        $ cd DIR_NAME/build
                        // Make sure you are on the correct branch
                        git branch
                        // Get updates
                        git pull
                        // Make same as above
                        make -j 2

                        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

                        TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                        • TMNTturtlguyT
                          TMNTturtlguy @Hex
                          last edited by

                          @Hex Thanks for the info - @meleu script is so fun though!
                          @pjft after uninstalling and reinstalling i have your current build. Works well, thoughts below.
                          @meleu I think something broke in the script after the last update? It was working before updating the builds, now you must uninstall the build and reinstall it to get the newest updates.

                          @pjft - thoughts on the build

                          • The screen saver works really well, as expected
                          • I like the text options, work well.
                          • sounds settings, OMX Player Audio Device - there are a ton of options, most users wont have any idea what all those mean the way they are presented. I think a lot of people will mess with them and the forum will be flooded with complaints and questions.
                          • Video Options - on the 4:3 menu both OMX player options are identical because they get cut of now. I don't know which one i am changing. They both say: USE OMX VIDEO PLAYER (FAST) FOR...
                            I think we need to shorten them, OMX VIDEO (FAST) PREVIEW and OMX VIDEO (FAST) SCRNSVR
                          pjftP meleuM 2 Replies Last reply Reply Quote 0
                          • HexH
                            Hex
                            last edited by

                            @pjft I think Video settings should be shifted to Other Settings. Video player for previews and screensaver can be same always so a single setting should work.

                            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 1 Reply Last reply Reply Quote 0
                            • pjftP
                              pjft @TMNTturtlguy
                              last edited by

                              @TMNTturtlguy thanks, good catch on the option length on 4:3! Could you update and check again? I removed "use" and "video". Let's see if it helps!

                              As for the audio options, they're already on the main branch, @Hex put them together as he has an external sound card so he needed a few options there.

                              Are you referring to the OMX ones in particular? I think it's a good question and good feedback in general. Instead of having them be literally the option text that's passed to OMX Player it could be something more user friendly, like

                              HDMI -> HDMI
                              Alsa:hw:0,0 -> External sound card 1
                              Alsa:hw:1,0 -> External sound card 2
                              Local -> headphone jack
                              Both -> Default

                              Is something like this (assuming that I have them all correct) helpful? We could then do the option to parameters conversion via code.

                              Thoughts?

                              TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                              • TMNTturtlguyT
                                TMNTturtlguy @pjft
                                last edited by

                                @pjft I have the girls now for a few hours until they go to bed! Will test in a few hours and let you know, you will probably be getting rest by then!

                                Yes i was talking about the OMX audio options in particular. I think @hex were fine additions. I think your new suggestion is much better! External Sound Card means something to me! Alsa:hw:0,0 means nothing! I think your list is good if it reads like I think your intentions are, i would order them like this if it was my setup:

                                Default
                                HDMI Only
                                Headphone Only
                                External Sound Card 1
                                External Sound Card 2

                                Does this make sense?

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

                                  @Hex The entire video settings options going into the other settings menu?

                                  On the meeting the two video options, I'd rather not. VLC doesn't perform well on the Pi, but there's unfortunately a use case for having it in the gamelist view, which is if you're using a theme with overlays on top of the video. OMX Player doesn't support that. However, it ends up overheating the system after a while, so having it as a screensaver player is far from ideal, unless you have a fan.

                                  If you confirm that the screensaver is running on your pi and the HDMI signal isn't failing, I'll remove the VLC screensaver option altogether. I had just added it as in the previous posts we were considering the possibility that OMX Player would in some configurations not be a valid option because of that, so leaving VLC as a fail safe option was my attempt at that.

                                  I'd love to remove it, though, so if you confirm that things are running for you on the Pi without the game info being displayed, that's good enough for me to remove it! Thanks.

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

                                    @TMNTturtlguy I think so, if they are accurate representations of what they mean - I was mostly making informed guesses :)

                                    @Hex - over to you.

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

                                      @pjft So I compiled on pi3 and hdmi fails if subtitles are enabled with omxplayer . screensaver with vlc is damn slow.

                                      """The entire video settings options going into the other settings menu?"""
                                      In my opinion it would be helpful

                                      Regarding the audio options it might be possible to rename them that way but i am directly extracting the preference and sending it to omxplayer so if you rename it omxplayer will receive it as

                                      omxplayer -o "External Sound Card 1"

                                      which will not work at all. I will need to add a lot of code to translate option to parameter. I would rather have it the current way. I agree it is a bit vague but when you go looking for "Splash screen no sound usb" you will become familiar with these parameters. Else you would just need the default one , both.

                                      I can change it if you guys think so. It will not take much time.

                                      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

                                      TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                                      • TMNTturtlguyT
                                        TMNTturtlguy @Hex
                                        last edited by

                                        @Hex can you expand on hdmi fails with omx player with titles on? Does the audio, the video or both fail? I am running on pi3 with hdmi to 4:3 monitor and 3.5 jack and it is working. I had 1 instance where I got a black screensaver, after changing options in the menu but then could not reproduce it, it ran correctly every time after that. As for audio settings, as a non computer non coder background the asla or whatever naming means nothing to me. The options are very confusing. Also having these options in this menu and then audio options in the retropie menu will be very confusing as neither place tells me what the setting is doing. We will have users forcing audio in the boot configs and users forcing hdmi or 3.5m in the retropie menu and now we are adding even more options forcing audio from this menu. What happens when i go to retropie and force 3.5 and then go to the start menu and force hdmi?

                                        Not trying to be difficult here, I am just approaching this from the common user trying to build a simple system with no knowledge of the underpinnings.

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

                                          @TMNTturtlguy you are right, I will set it up as something simpler later. Since the binary 2.2 is already out there is not much hurry to fix it. I shall submit a PR soon with fixes

                                          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

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

                                            @TMNTturtlguy Regarding the HDMI I have overscan enabled so I am not the right person to work this with. In my opinion asking users to disable overscan and have black stripes just for video screensavers is not done. Disabling the subtitles sounds as a reasonable request to enable this feature

                                            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

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