Pi Will not boot with power strip
-
I have my Pi, monitor and LED light strip all connected to a power strip with a power button that toggles all the outlets on/off. It works fine to power off, but when I use the button to power everything on from an off state the pi will not boot. It looks like it boots, I get both lights flashing a little bit, but then it just sits there with a solid power light on and no disk activity. If I un-plug the pi and plug back in while the strip is already on, it boots up fine. Any help is very much appreciated.
-
@ayekaye It may be that the pi is booting up before the monitor is turning on. Try adding:
hdmi_force_hotplug=1
to /boot/config.txt
-
@quicksilver thank you that did work. But now the picture doesn’t look as good as it did before. It’s lower resolution. Can you force it to go 1080?
-
@ayekaye if you looked in that same config file you would have found this:
# uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720
now change this:
#framebuffer_width=1280 #framebuffer_height=720
to this:
framebuffer_width=1920 framebuffer_height=1080
notice i removed the #'s
-
@edmaul69 no luck after that change. Same as before.
-
@ayekaye something must be wrong because what i posted forces 1080p output
-
@ayekaye Is the TV connected to the same power strip? If so it may well be a case of the Pi booting before the TV has initialised and then missing the CEC / EDID "handshake".
If this is indeed the case you should follow these instructions to create and use anedid.dat
file and then the "handshake" doesn't have to happen. It will already have the info from the file. Bear in mind this will of course cause issues if you move the Pi to a different TV / Monitor.
These instructions are for Kodi but it is relevant in this case too. https://forum.kodi.tv/showthread.php?tid=186318 -
@edmaul69 Whilst what you provided will set the framebuffer size the way to force the resolution is using:
hdmi_group=1 hdmi_mode=16
Which in this case means a HDMI TV (group 1) and 1920x1080p @60Hz (mode 16)
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md -
@jonnykesh @quicksilver @edmaul69 thanks for all of your help. The tv is definitely booting after the pi. This is because the TV I’m using does not power up automatically and I have to power on the strip then power the tv up with another button. The hot plug setting solved my hdmi issue on boot up. I was able to go into the retropie Raspi-config settings and go to advanced settings and set to option 16 to force 1920x1080 60hz which solved my resolution issue as well. Everything is working now, thanks again!
-
@jonnykesh you are right. I am an idiot. And i set that every time i set up a pi so i should have remembered that.
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.