Stuck in a boot sequence. Right after LCD driver install!
-
@mitu
https://pastebin.com/G6zP9sXyPlease note that this is it AFTER I can't boot into retropie.
-
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. -
@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?
-
@mitu
update: I switched back to a HDMI mode using this script:cd LCD-show/
sudo ./LCD-hdmiI'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?
-
@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.
-
@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.
-
@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. -
@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)
-
@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.
-
@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!
-
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
-
@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
andconfig-lcd.txt
) and have a simple set of scripts that will simply copy the right config file overconfig.txt
. -
If you wish to switch the output (HDMI/LCD), just create 2 configuration files (
config-hdmi.txt
andconfig-lcd.txt
) and have a simple set of scripts that will simply copy the right config file overconfig.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..) -
@jtkblue hello future troubleshooters!
This: https://github.com/lcdwiki/LCD-show-retropie
script seemed to do the trick. it includes a guide too. -
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 theconfig.txt
) accordingly, make sure it works, then copy theconfig.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.
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.