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

    Video Splash Screen problems

    Scheduled Pinned Locked Moved Help and Support
    video splashsplash screenhdmi problem
    33 Posts 20 Posters 19.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.
    • herb_fargusH
      herb_fargus administrators @gopherguts420
      last edited by

      @gopherguts420 probably the framebuffer depth. Omxplayer has a flag to define the depth (currently 10000 on the splash screen module) if you modify that number or remove it entirely it may resolve it.

      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

      G 1 Reply Last reply Reply Quote 1
      • G
        gopherguts420 @herb_fargus
        last edited by

        @herb_fargus I tried removing that bit of code yesterday, it actually made it worse. The ES splash would show up before the video was even done playing. I didn't try to adjust the value though. What would be a good direction to go in adjusting it?

        herb_fargusH 1 Reply Last reply Reply Quote 0
        • herb_fargusH
          herb_fargus administrators @gopherguts420
          last edited by

          @gopherguts420 I really couldn't say. There are also some modifications with the latest video support with ES that may have affected depth as well so best bet would be to try different depth values and/or try re-encoding the video to dif codecs - mp4 h264 etc

          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

          G 1 Reply Last reply Reply Quote 1
          • G
            gopherguts420 @herb_fargus
            last edited by

            @herb_fargus I'll try those out. Thanks

            1 Reply Last reply Reply Quote 0
            • P
              petechik
              last edited by

              Disabling overscan seems to correct the problem.
              sudo nano /boot/config.txt
              disable_overscan=1

              Note* I was having the same problem, but only on certain TV's. Also booting into kodi would solve the issue. So I am assuming it has something to do with emulationstation loading and the signal it is sending out to the tv. Since disabling overscan fixes the issue, it must have something to do with how TV's utilize overscan. I am a noob when it comes to programming and technical stuff, so I don't know the technical cause of the issue, but maybe this info might help someone more familiar with Pi.

              M 1 Reply Last reply Reply Quote 0
              • M
                MonkeyKng @petechik
                last edited by

                @petechik That worked perfectly to fix the HDMI cut out issues on the splashscreen video. However now the image spills over the TV size. If I enable the overscan limits (e.g. overscan_left, etc.) the issue returns. Is there a way to boot up with disable_overscan then after the video splashscreen ends and emulation station boots enable the overscan limits?

                1 Reply Last reply Reply Quote 0
                • G
                  gopherguts420
                  last edited by

                  So initially what solved my problem was disabling Plymouth by adding plymouth.enable=0 to the first line in boot/cmdline.txt but yesterday was setting up Kodi and the overscan borders were bugging me bad so I manually adjusted them until I was satisfied. I just removed what I added to cmdline.txt and the splash is still working perfectly fine.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    petechik @gopherguts420
                    last edited by

                    Disabling Plymouth didn't fix the splash screen for me. I've tried all the solutions that I could find on the forums but nothing worked except disabling overscan. But that comes at the cost of not having overscan. I like Monkeykng's idea of disabling overscan until the splash screen is done. But I don't know how to go about doing that.

                    1 Reply Last reply Reply Quote 0
                    • thekobkT
                      thekobk
                      last edited by

                      could be the speed of the sd card. I have 2 pi's and the one in the main room has a pi drive, the pi drive can not keep up and has similar issues. using the same file on the other pi's i have no issues.

                      I 1 Reply Last reply Reply Quote 0
                      • R
                        rommager
                        last edited by

                        Hi, I have the same issue. I have an interesting observation to add - I have used all the video splash screens successfully on a PC monitor with an HDMI to DVI-D cable, and I don't get any video or audio dropout (using composite audio, since it's a monitor). But when I connect to my Samsung TV (not a Smart TV), I get drop out particularly on longer videos. On my buddy's Sharp Aquos TV, the video drops out and the audio "fuzzes" out about half way through. I also want to say when I preview the videos in the splash screen setup, they all play fine on the TV.

                        So, it appears the following are the case:

                        1. The problem varies from TV to TV
                        2. The problem does not appear to be related to the HDMI cable (preview plays without issue)
                        3. It's not the SD card (preview plays without issue)
                        4. Longer videos appear to be flakier than shorter videos
                        5. Does not appear to be power related

                        Setup: Using a Pi 3 (CanaKit), and RetroPie 4.2.

                        1 Reply Last reply Reply Quote 1
                        • I
                          IRgEEK
                          last edited by IRgEEK

                          @rommager @gopherguts420

                          Hey guys, didn't know if you solved your issues so thought I'd share this.

                          In my case, my startup videos would break all up the last few seconds, and sometimes the display would just go black.

                          The way I solved it was to edit /opt/retropie/configs/all/autostart.sh script so that emulationstation wouldn't launch until the video player finished playing the startup video.

                          Not perfect, but now all startup vids play fine without me having to disable overscan etc.

                          *** Added wait below to autostart.sh before emulationstation line ***
                          while pgrep omxplayer & > /dev/null;
                          do sleep 1;
                          done

                          emulationstation #auto

                          Hopefully helps somebody. thx!

                          R Y 3 Replies Last reply Reply Quote 0
                          • I
                            IRgEEK @thekobk
                            last edited by IRgEEK

                            @thekobk I thought was my SD card as well at first, but even with the fastest SD I could find, I was having same issues on longer startup videos. It seems my pi just couldn't handle playing videos and launching emulationstation at same time so I added a delay. See my other reply. Maybe not perfect but works :-)

                            1 Reply Last reply Reply Quote 0
                            • R
                              rommager @IRgEEK
                              last edited by

                              @IRgEEK

                              Yeah, it actually makes sense, somewhat. I am guessing the pi gets pretty busy doing IO when loading emulationstation, and struggles to keep up with everything needed to keep a stable HDMI signal while booting? Maybe? But still, when I am connected to my monitor with a HDMI to DVI cable and analog audio, I get no issues at all...

                              I can see how this tweak will work, but the main beef I have is that the video splash is intended to give you something to watch while ES loads. Still, it is still a perfectly viable option because ES only takes a few seconds to load.

                              Still, two other possibilities come to mind. I wonder if they will work better?

                              1. Start omxplayer with a higher priority or niceness?
                              2. Start omxplayer on a different CPU core when available for the Pi2/3? This may not be an option for the pi zeroes, as I don't think the zeroes have multi core CPUs.

                              Either one of these might do the trick, but I also am not a Linux expert, so I don't know if these are viable options or not.

                              1 Reply Last reply Reply Quote 0
                              • R
                                rommager
                                last edited by

                                I tried the niceness idea by modifying the script /etc/init.d/asplashscreen

                                I tried adding the following into the omxplayer line in the asplashscreen script:
                                sudo nice --1 omxplayer...
                                sudo nice --10 omxplayer...
                                sudo nice --20 omxplayer ...
                                sudo ionice -c 2 omxplayer ...
                                sudo ionice -c 1 omxplayer ...

                                None of these modifications seemed to correct the issue. As stated by other users, I did try disabling overscan, and the videos do play though without completely dropping out, but there is a point in all videos where the sound drops for about half a second during boot. It's an improvement, but now the video goes off the edge of the TV screen.

                                Curiously, when I re-enabled overscan, the video splash screens continued to play the same way. Maybe I just need to cold boot the pi to make the problem resurface.

                                At any rate, I now know playing with the niceness doesn't seem to fix things. I do now have another theory on the issue. I have noticed that EmulationStation still starts in the background, and accepts input while the splash is playing. I am wondering if EmulationStation starting is corrupting the HDMI playback of the video. My thought is that EmulationStation initializes video modes and brings up its graphical screen when it launches, and those changes in video modes might be what is corrupting the HDMI signal while the video is playing. That behavior would explain why delaying the EmulationStation launch until after omxplayer terminates corrects the issue. That would also seem to explain why setting niceness doesn't fix the issue.

                                It may be that the best fix may be IRgEEK's fix to delay EmulationStation until after the video.

                                At this point, I think it does not seem to be an SD card, CPU, or an IO issue. I am suspecting it has more to do with EmulationStation changing the video mode in the background while the video is playing. I am not sure why it seems to work flawlessly on a monitor versus a TV though.

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  yodajjh @IRgEEK
                                  last edited by

                                  I added the fokowing to autostart.ch, and I can't get emulationstation to auto load. I get a "line 6: syntax error: unexpected end of file". I edited the file with notepad. The contents of the file are as follows:

                                  while pgrep omxplayer &>/dev/null;
                                  do sleep 1;
                                  done

                                  emulationstation #auto

                                  Those fixed my video issue w/ the splash screen, but I've been unable to get emulation station to auto load. Would any of you have any suggestions to fix?

                                  Thanks!

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yodajjh @IRgEEK
                                    last edited by

                                    I added the following to autostart.ch, and I can't get emulationstation to auto load. I get a "line 6: syntax error: unexpected end of file". I edited the file with notepad. The contents of the file are as follows:

                                    while pgrep omxplayer &>/dev/null;
                                    do sleep 1;
                                    done

                                    emulationstation #auto

                                    Those fixed my video issue w/ the splash screen, but I've been unable to get emulation station to auto load. Would any of you have any suggestions to fix?

                                    Thanks!

                                    BuZzB 1 Reply Last reply Reply Quote 0
                                    • BuZzB
                                      BuZz administrators @yodajjh
                                      last edited by BuZz

                                      @yodajjh Don't use notepad - file probably has the wrong line endings - get notepad++ and make sure line endings are unix (LF). If posting configs/files put them in a code block so it's easier to see issues/mistakes and characters are not interpreted as styling.

                                      http://commonmark.org/help/

                                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                      Y 1 Reply Last reply Reply Quote 0
                                      • Y
                                        yodajjh @BuZz
                                        last edited by

                                        @BuZz ,

                                        That cleared it up. Thanks so much for your help!!!

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          josete2k
                                          last edited by

                                          You can also disable the "wait for network on boot" and uncomment those lines in the config.txt file:

                                          hdmi_drive=2

                                          config_hdmi_boost=4

                                          1 Reply Last reply Reply Quote 0
                                          • DD-IndeedD
                                            DD-Indeed
                                            last edited by

                                            Sorry to bump up yet another topic today, but I've been trying to get custom splashscreens to work, but no luck so far, the splashscreen starts to jerk and cuts off before it gets to the end. I used this around 25 sec long PS1 boot video and added those sleep disabling lines to the autostart config, but it still does it. Has this issue been properly solved yet ?

                                            My soul rests, when I hear the PS1 boot music

                                            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.