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

Please test: Random Game selection/launch via Video Screensaver

Scheduled Pinned Locked Moved Ideas and Development
emulationstatiovideoscreensaverrandom game
220 Posts 17 Posters 94.1k 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.
  • P
    pjft
    last edited by pjft 3 Oct 2017, 15:57 10 Mar 2017, 15:37

    Hm.

    That doesn't look right.

    Can you do this?

    cd /home/pi
    mkdir tmp-es
    cd tmp-es
    wget https://github.com/pjft/EmulationStation/releases/download/v0.2/emulationstation
    openssl md5 emulationstation
    ls -l

    And share the results? I'm completely stumped, but I will make sure to get to the bottom of this, though.

    EDIT: worst case scenario later at home I'll make sure to get the binary from my Raspberry Pi and upload it again. It might be a case of a wrong binary, but the fact that I'm getting a different MD5 and file size on my end, from the downloaded file, makes me suspicious that something else may be afoot.

    If you download the file from https://github.com/pjft/EmulationStation/releases/download/v0.2/emulationstation on your computer, what does it tell you?

    Don't worry about compiling, it's more trouble than it's worth it :)

    Thanks!

    EDIT: ok, I'm a bit more positive about the uploaded binary being correct. I just used a hex editor on the binary, downloaded from GitHub, and I can at least find strings related to random video and the latest additions, so hopefully we should be able to find out what's happening here :)

    1 Reply Last reply Reply Quote 0
    • *
      **Scannigan**
      last edited by 10 Mar 2017, 15:58

      This is everything, sorry I don't know how to do that embed thing :/

      pi@retropie:~ $ cd /home/pi
      pi@retropie:~ $ mkdir tmp-es
      pi@retropie:~ $ cd tmp-es
      pi@retropie:~/tmp-es $ wget https://github.com/pjft/EmulationStation/releases/do wnload/v0.2/emulationstation
      --2017-03-10 15:56:58-- https://github.com/pjft/EmulationStation/releases/downl oad/v0.2/emulationstation
      Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
      Connecting to github.com (github.com)|192.30.253.113|:443... connected.
      HTTP request sent, awaiting response... 302 Found
      Location: https://github-cloud.s3.amazonaws.com/releases/83220450/d63306da-0333- 11e7-8b5b-74bc0582739b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIST NZFOVBIJMK3TQ%2F20170310%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170310T155 658Z&X-Amz-Expires=300&X-Amz-Signature=f0d90a82f4beb97024b1f6918cae7f2b10905fda5 fcb0f63fa8cc9fd7591b58c&X-Amz-SignedHeaders=host&actor_id=0&response-content-dis position=attachment%3B%20filename%3Demulationstation&response-content-type=appli cation%2Foctet-stream [following]
      --2017-03-10 15:56:58-- https://github-cloud.s3.amazonaws.com/releases/83220450 /d63306da-0333-11e7-8b5b-74bc0582739b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Cre dential=AKIAISTNZFOVBIJMK3TQ%2F20170310%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Da te=20170310T155658Z&X-Amz-Expires=300&X-Amz-Signature=f0d90a82f4beb97024b1f6918c ae7f2b10905fda5fcb0f63fa8cc9fd7591b58c&X-Amz-SignedHeaders=host&actor_id=0&respo nse-content-disposition=attachment%3B%20filename%3Demulationstation&response-con tent-type=application%2Foctet-stream
      Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 54.23 1.40.59
      Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|54.2 31.40.59|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 4332016 (4.1M) [application/octet-stream]
      Saving to: ‘emulationstation’

      emulationstation 100%[=====================>] 4.13M 1.36MB/s in 3.0s

      2017-03-10 15:57:02 (1.36 MB/s) - ‘emulationstation’ saved [4332016/4332016]

      pi@retropie:~/tmp-es $ openssl md5 emulationstation
      MD5(emulationstation)= 891b3b4327a130f31dce82962235cabd
      pi@retropie:~/tmp-es $ ls -l

      P 1 Reply Last reply 10 Mar 2017, 16:00 Reply Quote 0
      • P
        pjft @**Scannigan**
        last edited by 10 Mar 2017, 16:00

        @__Scannigan__ ok, perfect!

        So, you see, the MD5 of the file you just downloaded is now matching the one I have, and yet different to the one you have on the ES folder :)

        MD5(emulationstation)= 891b3b4327a130f31dce82962235cabd

        so, now, in that folder, and as long as you have quite ES, do:

        chmod +x emulationstation
        sudo cp emulationstation /opt/retropie/supplementary/emulationstation/

        and hopefully it should all be good now (fingers crossed, knock on wood!).

        1 Reply Last reply Reply Quote 0
        • Z
          Zigurana @pjft
          last edited by Zigurana 3 Oct 2017, 18:38 10 Mar 2017, 18:38

          @pjft said in Please test: Random Game selection/launch via Video Screensaver:

          I agree that the kidmode branch could probably be split in a couple of deliveries:

          1. Metadata additions (favorites and children)
          2. Filtering based on metadata (favorites and children)
          3. Hiding the menus
          4. Random game (because, why not) :P

          Yeah, but I'm not sure what the functional use of #1 without #2 would be. In any case I was expecting that the screensaver stuff would land before anything else, so Random games are delivered along with that.
          I am not sure what @fieldofcows timeline is however.

          I'd love to give some feedback on the PR you sent to @fieldofcows , as there are some considerations I'd like to make on it. I'll probably add them there on that conversation. :)

          By all means! Let me know what you think!

          Anyway, good times ahead for ES.

          Agreed!

          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

          P 1 Reply Last reply 11 Mar 2017, 17:36 Reply Quote 1
          • P
            pjft @Zigurana
            last edited by 11 Mar 2017, 17:36

            @Zigurana Yeah, I mean, I get that #1 without #2 is not as useful as it could be, but really the same case can be done for any other type of metadata like ratings and such. :) It's just a way for someone in passing to know whether the game is appropriate for children, or is one of your favorites. Meaning, I don't see it as a big deal doing #1 before #2, and it might make it easier on the merge process to the main branch.

            @Scannigan - I updated the binary now, to fix a problem in retrying the random video selection, should the video file not exist, and will update the URL in the first post.

            We should now do

            wget https://github.com/pjft/EmulationStation/releases/download/v0.3/emulationstation
            

            Did you get things sorted yesterday?

            I may make a shoddy video with my mobile and upload it here, even if just for people to know what they're getting into should they install this.

            Cheers.

            1 Reply Last reply Reply Quote 0
            • P
              pjft
              last edited by pjft 3 Nov 2017, 21:53 11 Mar 2017, 21:38

              Added a small video to the first post:

              I start the screensaver using select, and then skip a few games using "right" until I launch a random one. It has no sound, as the kids are asleep. On the regular screensaver will rotate every 30 secs.

              The captions disappear after 7-8 seconds.

              1 Reply Last reply Reply Quote 2
              • *
                **Scannigan**
                last edited by 12 Mar 2017, 09:52

                Still not working for me, very strange!

                P 1 Reply Last reply 12 Mar 2017, 10:50 Reply Quote 0
                • P
                  pjft @**Scannigan**
                  last edited by 12 Mar 2017, 10:50

                  @__Scannigan__ Hm. And you still don't have the "Random Video" option in the UI Settings menu?

                  Ok, let's try again, then. You clearly have been able to download the right file. We might as well download the most recent version of it as well.

                  Can you do the following commands in order, and send me the results?

                  Step 1:

                  cd /home/pi/tmp-es
                  wget https://github.com/pjft/EmulationStation/releases/download/v0.3/emulationstation
                  openssl md5 emulationstation
                  ls -l emulationstation

                  You should get the following:
                  MD5 (emulationstation) = d40fae299cc9197285acd4754e7239e6

                  and the file should have 4373592 bytes (give or take filesystem specifics).

                  Get those two values.

                  Step 2:

                  Now, do

                  cd /opt/retropie/supplementary/emulationstation
                  ls -l emulationstation
                  openssl md5 emulationstation

                  and get the values for the length, and the MD5 hash. They will be different to step 1's values.

                  Step 3:

                  sudo cp /home/pi/tmp-es/emulationstation /opt/retropie/supplementary/emulationstation
                  ls -l emulationstation
                  openssl md5 emulationstation

                  Now they should hopefully be the same as Step 2's values, and matching what I pasted:

                  MD5 (emulationstation) = d40fae299cc9197285acd4754e7239e6

                  and the file should have 4373592 bytes (give or take filesystem specifics). It should be the same, at least, as in Step 2.

                  If that's the case, if you start ES by rebooting the Pi, or running it from the command line, in the options menu you should now see the Random Video option as a screensaver, in the UI Settings.

                  You may also want to turn on "Use Experimental Video Player". You may need to scroll down to see some or all of these options there.

                  Let's tackle this today. :)

                  1 Reply Last reply Reply Quote 0
                  • *
                    **Scannigan**
                    last edited by 12 Mar 2017, 11:48

                    Step one:
                    MD5(emulationstation)= 891b3b4327a130f31dce82962235cabd

                    -rw-r--r-- 1 pi pi 4332016 Mar 7 12:44

                    Step Two:
                    -rwxr-xr-x 1 root root 4331160 Mar 12 09:49 emulationstation

                    MD5(emulationstation)= 577ffbc8171d5909992dd842f9538900

                    Step Three: values appear to be the same and I now have the options however WSOD has kicked in with a vengeance

                    P 1 Reply Last reply 12 Mar 2017, 11:55 Reply Quote 0
                    • P
                      pjft @**Scannigan**
                      last edited by pjft 3 Dec 2017, 11:55 12 Mar 2017, 11:55

                      @__Scannigan__ ah, of course. Sorry about that. This does not have the wsod fixes yet, it's a different branch. :/

                      What theme are you using?

                      I am using carbon, with video support.

                      I can look into the wsod fixes from @fieldofcows and see if it's something easy to merge here.

                      Let me get back to you on this, but even if I take it on it might take a handful of days.

                      Do you know how to reinstall your old version with the fixes? Were you on the main branch or were you using one of the development builds?

                      Thanks for trying it out, though.

                      P 1 Reply Last reply 12 Mar 2017, 12:02 Reply Quote 0
                      • P
                        pjft @pjft
                        last edited by 12 Mar 2017, 12:02

                        @Scannigan Actually, it might not be a big deal (famous last words).

                        Let me get back to you with a new binary later today or perhaps tomorrow.

                        It seems most of the changes from the wsod fix are in different files, so fingers crossed it won't be drastically hard to merge. Just need to test it a bit afterwards.

                        I do not have a lot of time, though, but I'll look into this and get back to you.

                        1 Reply Last reply Reply Quote 0
                        • *
                          **Scannigan**
                          last edited by 12 Mar 2017, 12:08

                          That's great, yeah I've reverted back to pixel video for the meantime

                          P 1 Reply Last reply 12 Mar 2017, 13:22 Reply Quote 0
                          • P
                            pjft @**Scannigan**
                            last edited by 12 Mar 2017, 13:22

                            @__Scannigan__ I see. What theme were you using? And does the screensaver and stuff work as expected or is there still something not writing?

                            And just confirming, you're using the development builds from @fieldofcows for the wsod fix, correct? Could you confirm the right thread or link you got it from, just so I make sure to merge the right code?

                            Best.

                            1 Reply Last reply Reply Quote 0
                            • *
                              **Scannigan**
                              last edited by 12 Mar 2017, 13:43

                              Yeah it was fieldofcows thingy

                              P 1 Reply Last reply 12 Mar 2017, 14:02 Reply Quote 0
                              • P
                                pjft @**Scannigan**
                                last edited by pjft 3 Dec 2017, 14:15 12 Mar 2017, 14:02

                                @__Scannigan__

                                Hm. I'm sorry, but can you try setting the theme back to the one you wanted?

                                If I'm reading the GitHub history correctly, the wsod fix should be in it already. I'm puzzled.

                                EDIT: Yes, it should be there. In the "Other Settings" menu you should have a Max VRam option, I believe.

                                Still, I believe the binary might benefit from being recompiled with a specific option for threaded applications on the Pi. Will upload a new binary shortly.

                                * 1 Reply Last reply 12 Mar 2017, 14:28 Reply Quote 0
                                • *
                                  **Scannigan** @pjft
                                  last edited by 12 Mar 2017, 14:28

                                  @pjft VRAM option is definitely not there but your screen saver options are

                                  P 1 Reply Last reply 12 Mar 2017, 14:29 Reply Quote 0
                                  • P
                                    pjft @**Scannigan**
                                    last edited by 12 Mar 2017, 14:29

                                    @__Scannigan__ The VRAM option should be in "Other Settings", not UI settings. Can you double check and get back to me?

                                    It might be the case, but want to confirm.

                                    1 Reply Last reply Reply Quote 0
                                    • *
                                      **Scannigan**
                                      last edited by 12 Mar 2017, 16:18

                                      Definitely not there only save metadata on exit and the option for parsing

                                      P 1 Reply Last reply 12 Mar 2017, 17:20 Reply Quote 0
                                      • P
                                        pjft @**Scannigan**
                                        last edited by 12 Mar 2017, 17:20

                                        @__Scannigan__ Ok. Can you try getting the latest binary I just uploaded, then?

                                        cd /home/pi/tmp-es
                                        wget https://github.com/pjft/EmulationStation/releases/download/v0.3/emulationstation
                                        openssl md5 emulationstation
                                        chmod +x emulationstation
                                        cd /opt/retropie/supplementary/emulationstation
                                        sudo cp /home/pi/tmp-es/emulationstation /opt/retropie/supplementary/emulationstation
                                        openssl md5 emulationstation

                                        MD5 should be, in both instances:

                                        MD5 (emulationstation) = 0779436c961bfcb9f18c0c03a737f129

                                        The option should definitely be there in this build.

                                        1 Reply Last reply Reply Quote 0
                                        • *
                                          **Scannigan**
                                          last edited by 12 Mar 2017, 19:32

                                          Still nothing, have all the options for the screensaver but no options for VRAM so still WSOD, I have noticed that it was saving to a file called emulationstation.3 would that make a difference I've also noticed a number of similar files emulationstation.1, emulationstation.2, emulationstation.3 and emulationstation.4

                                          P 1 Reply Last reply 12 Mar 2017, 20:16 Reply Quote 0
                                          42 out of 220
                                          • First post
                                            42/220
                                            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