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

    Boot Script ordering for USB Mount and SplashScreen

    Scheduled Pinned Locked Moved Help and Support
    splash screensplashscreenusb-stickusb rom service
    14 Posts 4 Posters 2.8k 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.
    • Capt_MorganCreekC
      Capt_MorganCreek
      last edited by

      I had the same problem with video splashscreens and it took about 10 reboots until the video showed up. Really curious to know what happens, but from the short status messages I figured the connected usb device was not yet ready and initialized.

      RetroPie64 - My Nintendo 64 conversion: https://retropie.org.uk/forum/post/55927

      1 Reply Last reply Reply Quote 0
      • hooperreH
        hooperre
        last edited by hooperre

        Sorry to res, but is this something that has been addressed? My splashcreens defaulted to my USB, however the USB isn't mounted until after the splash screen is called, IIRC. I tried posting this on reddit, but haven't got a response. Is there a solution to this?

        4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

        jonnykeshJ 1 Reply Last reply Reply Quote 0
        • jonnykeshJ
          jonnykesh @hooperre
          last edited by

          @hooperre Put your splash on your SD card. Seems like the most simple, obvious solution.

          hooperreH 1 Reply Last reply Reply Quote 0
          • hooperreH
            hooperre @jonnykesh
            last edited by

            @jonnykesh Simple, yes. Not the most practical as accessing the USB through windows is preferred to having to use Filezilla every time I want to add and remove splash screens.

            4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

            jonnykeshJ 1 Reply Last reply Reply Quote 0
            • jonnykeshJ
              jonnykesh @hooperre
              last edited by

              @hooperre You could delay launching ES until the USB is mounted. Add a sleep x variable to the launch script. Obviously this will delay the whole boot process.

              hooperreH 1 Reply Last reply Reply Quote 0
              • hooperreH
                hooperre @jonnykesh
                last edited by hooperre

                @jonnykesh said in Boot Script ordering for USB Mount and SplashScreen:

                @hooperre You could delay launching ES until the USB is mounted. Add a sleep x variable to the launch script. Obviously this will delay the whole boot process.

                Thanks! Is that boot/config.txt?

                4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                jonnykeshJ 1 Reply Last reply Reply Quote 0
                • jonnykeshJ
                  jonnykesh @hooperre
                  last edited by jonnykesh

                  @hooperre No, the autostart.sh script is in /opt/retropie/configs/all/
                  They changing the line to sleep 10; emulationstation #auto
                  You may need to adjust this value

                  hooperreH 2 Replies Last reply Reply Quote 0
                  • hooperreH
                    hooperre @jonnykesh
                    last edited by

                    @jonnykesh Thank you for your help!

                    4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                    1 Reply Last reply Reply Quote 0
                    • hooperreH
                      hooperre @jonnykesh
                      last edited by

                      @jonnykesh said in Boot Script ordering for USB Mount and SplashScreen:

                      @hooperre No, the autostart.sh script is in /opt/retropie/configs/all/
                      They changing the line to sleep 10; emulationstation #auto
                      You may need to adjust this value

                      This does in fact delay the launch the ES2 launch, but does not change splashscreen and usb mount orders, sadly.

                      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                      jonnykeshJ 1 Reply Last reply Reply Quote 0
                      • jonnykeshJ
                        jonnykesh @hooperre
                        last edited by

                        @hooperre Well, It won't change the mount order of the USB. This is determined by the kernel, I believe and whenever the daemon runs.
                        If you are calling the the splash from a USB then, you of course need to wait until the USB is mounted, otherwise it won't be called.
                        Have you tried increasing the sleep value? I'm not sure how far into the boot process the USB mount happens but it is one of the last processes to happen as everything else needs to be in place before it occurs.

                        hooperreH 1 Reply Last reply Reply Quote 0
                        • hooperreH
                          hooperre @jonnykesh
                          last edited by hooperre

                          @jonnykesh said in Boot Script ordering for USB Mount and SplashScreen:

                          @hooperre Well, It won't change the mount order of the USB. This is determined by the kernel, I believe and whenever the daemon runs.
                          If you are calling the the splash from a USB then, you of course need to wait until the USB is mounted, otherwise it won't be called.
                          Have you tried increasing the sleep value? I'm not sure how far into the boot process the USB mount happens but it is one of the last processes to happen as everything else needs to be in place before it occurs.

                          I follow. The problem, I think, is that the splashscreen launches independent of when ES2 launches. So I'll see my boot script, I'll get the error saying the splashscreen isn't found, and then it waits an inordinate amount of time and then starts up ES2. In summation, I don't think ES2 launching has any bearing on the splashscreen process.

                          Thanks for sticking with me thus far. I've put it off because I know a simpler solution exists... but this is why I love am addicted to my Pi haha.

                          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                          jonnykeshJ 1 Reply Last reply Reply Quote 0
                          • jonnykeshJ
                            jonnykesh @hooperre
                            last edited by

                            @hooperre Have you considered turning the custom splash screen into a static video file? say 5 or ten seconds, whatever you feel is best.
                            You say videos on the USB work fine so just turn the static image into a video file.

                            hooperreH 1 Reply Last reply Reply Quote 0
                            • hooperreH
                              hooperre @jonnykesh
                              last edited by hooperre

                              @jonnykesh said in Boot Script ordering for USB Mount and SplashScreen:

                              @hooperre Have you considered turning the custom splash screen into a static video file? say 5 or ten seconds, whatever you feel is best.
                              You say videos on the USB work fine so just turn the static image into a video file.

                              Truth. Good shout. I'll probably just put them on the SD card unless I can dig into the splashscreen stuff and find out how to have it start later? Not sure. I know using Filezilla if I attempt to change permissions it doesn't work and I can't add them, but I know I can do it with Putty (chmod) it works. That's the only reason I preferred to stay on the USB.

                              4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                              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.