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

    Stuck in a boot sequence. Right after LCD driver install!

    Scheduled Pinned Locked Moved Help and Support
    boot sequencedriverlcd displayboot
    20 Posts 2 Posters 3.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.
    • mituM
      mitu Global Moderator @jtkblue
      last edited by

      @jtkblue said in Stuck in a boot sequence. Right after LCD driver install!:

      Can I access it some other way?

      • read the sdcard on your PC, the file should be at the root of the boot partition.
      • enable SSH and connect to your Pi using Putty/WinSCP.
      jtkblueJ 1 Reply Last reply Reply Quote 1
      • jtkblueJ
        jtkblue @mitu
        last edited by jtkblue

        @mitu
        https://pastebin.com/G6zP9sXy

        Please note that this is it AFTER I can't boot into retropie.

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

          Well, it looks like suspected, the install script disabled the GPU overlay:

          ...
          #dtoverlay=vc4-fkms-v3d
          ...
          

          Remve the # and your video output should work.

          My advice would be to remove/forget the LCD-show scripts and use https://github.com/swkim01/waveshare-dtoverlays to configure your display, it has more up-to-date drivers and it's just 1-2 lines to add to your config.txt instead of running a faulty install script.

          jtkblueJ 2 Replies Last reply Reply Quote 1
          • jtkblueJ
            jtkblue @mitu
            last edited by

            @mitu ah ok. would this (https://retropie.org.uk/forum/topic/4157/guide-retropie-3-5-inch-rpi-lcd-v3-0-no-brand) guide work?

            mituM 1 Reply Last reply Reply Quote 0
            • jtkblueJ
              jtkblue @mitu
              last edited by

              @mitu
              update: I switched back to a HDMI mode using this script:

              cd LCD-show/
              sudo ./LCD-hdmi

              I'm getting an error about "creating SDL window, could not initialize EGL, renderer failed to initialize, window failed to initailize.

              any idea on what for me to do next?

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

                @jtkblue That topic is similar, but has some extra steps that are not needed anymore. Similar instructions are on the https://github.com/swkim01/waveshare-dtoverlays site, steps 2-4 should be all you need.

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

                  @jtkblue said in Stuck in a boot sequence. Right after LCD driver install!:

                  any idea on what for me to do next?

                  The script probably removed/commented again the line I mentioned before. Remove the comment and boot again.

                  jtkblueJ 1 Reply Last reply Reply Quote 0
                  • jtkblueJ
                    jtkblue @mitu
                    last edited by

                    @mitu ok, doing it now, will update once done.

                    on a side note, the reason i use these scripts is so i can switch from LCD to my HDMI TV freely.
                    I'm making a switch sorta build, so having it able to switch from display by desktop shortcut is needed.

                    1 Reply Last reply Reply Quote 0
                    • jtkblueJ
                      jtkblue
                      last edited by jtkblue

                      @mitu you're right again. it added the "#".
                      Any clue on how to make the script stop adding it?

                      (Linux newbie here, just started 6 days ago, sorry if I'm irritating you :p)

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

                        @jtkblue said in Stuck in a boot sequence. Right after LCD driver install!:

                        Any clue on how to make the script stop adding it?

                        Don't run the script anymore ? As I said, they're faulty and are not really designed to work on a Pi4.

                        jtkblueJ 2 Replies Last reply Reply Quote 0
                        • jtkblueJ
                          jtkblue @mitu
                          last edited by

                          @mitu alright then, i'll try to install the new script you reccomended.

                          ill bug you again if it doesn't work, probably.

                          Thanks for your help, I really needed it!

                          1 Reply Last reply Reply Quote 0
                          • jtkblueJ
                            jtkblue @mitu
                            last edited by jtkblue

                            @mitu

                            Don't run the script anymore ? As I said, they're faulty and are not really designed to work on a Pi4.

                            by this i mean is there a way to stop that specific thing from being edited by the script? if not, I'll format and install the script you talked about. this is basically a last shot before i format my pi again

                            doubt it, but worth asking

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

                              @jtkblue said in Stuck in a boot sequence. Right after LCD driver install!:

                              by this i mean is there a way to stop that specific thing from being edited by the script?

                              Probably, by editing the script, but since the script will install the wrong drivers anyway, it's not worth it. If you wish to switch the output (HDMI/LCD), just create 2 configuration files (config-hdmi.txt and config-lcd.txt) and have a simple set of scripts that will simply copy the right config file over config.txt.

                              jtkblueJ 1 Reply Last reply Reply Quote 0
                              • jtkblueJ
                                jtkblue @mitu
                                last edited by jtkblue

                                @mitu

                                If you wish to switch the output (HDMI/LCD), just create 2 configuration files (config-hdmi.txt and config-lcd.txt) and have a simple set of scripts that will simply copy the right config file over config.txt.

                                can you elaborate?
                                I don't fully understand what you mean here. I'm going to start exploring the other script guide so is this advice for the current broken/weird script or the new one I'm going to install?

                                and if it's for the new one, how can I make those scripts?
                                (using https://github.com/swkim01/waveshare-dtoverlays)
                                (pardon my linux knowledge gap..)

                                jtkblueJ 1 Reply Last reply Reply Quote 0
                                • jtkblueJ
                                  jtkblue @jtkblue
                                  last edited by

                                  @jtkblue hello future troubleshooters!

                                  This: https://github.com/lcdwiki/LCD-show-retropie
                                  script seemed to do the trick. it includes a guide too.

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

                                    The project at https://github.com/swkim01/waveshare-dtoverlays offers only the new driver setup for the display, it doesn't provide any scripts.

                                    can you elaborate?

                                    Sure. You want to handle 2 video configurations - output to HDMI (which is default) and via the LCD. Save the default config.txt in /boot/ as /boot/config-hdmi.txt. Install and configure the LCD drivers (modify the config.txt) accordingly, make sure it works, then copy the config.txt to /boot/config-waveshare.txt.

                                    Create 2 scripts in /home/pi/RetroPie/retropiemenu

                                    • hdmi.sh, containing
                                    #!/usr/bin/env bash
                                    cp -f /boot/config-hdmi.txt /boot/config.txt
                                    
                                    • lcd.sh, containing
                                    #!/usr/bin/env bash
                                    cp -f /boot/config-waveshare.txt /boot/config.txt
                                    
                                    • make the scripts executable by running
                                    chmod +x /home/pi/RetroPie/retropiemenu/hdmi.sh
                                    chmod +x /home/pi/RetroPie/retropiemenu/lcd.sh
                                    

                                    Now, when starting EmulationStation, you'll have 2 new entries in the RetroPie system - HDMI and LCD, executing one of them will switch the video output configuration. After running one of the entries, you'll have to reboot to activate the new configuration.

                                    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.