rjmusto
Posts: 14
Joined: Tue Jul 07, 2015 2:39 pm

RPi2 HDMI Output failed after power cut

Mon Oct 02, 2017 4:15 pm

Hi all,
I have a RPi2 that has been in use for some time without issue.

Last night we had a mains power failure - the Pi was up and running at the time - and now I have no output on the HDMI. I can see it is booting up ok from the green activity light (and have also tried other SD cards that had a working system on them), but nothing on the HDMI.

I guess it suffered in same way when the power went off - but is this a known weak point or I have I just been unlucky?

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: RPi2 HDMI Output failed after power cut

Mon Oct 02, 2017 9:25 pm

Get a new 8Gb SDCard and a USB reader.

Build a copy of Raspbian on the new card so you've got a bootable Raspberry Pi.
Mount the unbootable SDCard in the USB reader. Mount the USB reader in a socket on your RPi.

Open an LXTerminal window and run the following command

for i in a1 a2 a5 a6; do sudo umount $i;sudo fsck -f -y $i;done

Power off, swap the cards back and boot your normal system.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

rjmusto
Posts: 14
Joined: Tue Jul 07, 2015 2:39 pm

Re: RPi2 HDMI Output failed after power cut

Tue Oct 03, 2017 7:23 pm

Hi,
Thanks for the reply.

The problem I have here is not that the RPi is failing to boot - from what I can see on the green activity LED, it is booting - but there is no video output on the HDMI port.

Just to be sure, I did create a new SD card, which boots up fine on an older Model B I have. But again on this RPi2, the green activity light looks fine, but no video is present on the HDMI. So it does really look like this output has failed.

rjmusto
Posts: 14
Joined: Tue Jul 07, 2015 2:39 pm

Re: RPi2 HDMI Output failed after power cut

Tue Oct 03, 2017 7:44 pm

...after a bit of digging around, I found a video cable that has the correct connector for the analogue output on the Pi and I can see from that it is booting up ok. Just nothing on the HDMI. Sigh.......

rjmusto
Posts: 14
Joined: Tue Jul 07, 2015 2:39 pm

Re: RPi2 HDMI Output failed after power cut

Tue Oct 03, 2017 8:10 pm

..me again.

I tried the 'hold key 2 on boot' to force HDMI safe mode - never knew about this until 5min ago - and it's working again on HDMI :)

How about that? I guess it got stuck in another video mode somehow... although I have made no changes to config.txt before or after.

andrum99
Posts: 1219
Joined: Fri Jul 20, 2012 2:41 pm

Re: RPi2 HDMI Output failed after power cut

Wed Oct 04, 2017 5:52 am

rjmusto wrote:
Mon Oct 02, 2017 4:15 pm
Hi all,
I have a RPi2 that has been in use for some time without issue.

Last night we had a mains power failure - the Pi was up and running at the time - and now I have no output on the HDMI. I can see it is booting up ok from the green activity light (and have also tried other SD cards that had a working system on them), but nothing on the HDMI.

I guess it suffered in same way when the power went off - but is this a known weak point or I have I just been unlucky?
When the Pi starts up it checks the HDMI port to see if there is a display present. If it does not detect a display at that point, it switches to the composite video port instead. In order for a display to be detected by the Pi, you usually need to select whichever port the Pi is connected to e.g. HDMI1, HDMI2, on the display itself.

Note that the Pi will only try to detect the display at the very start of the boot process - when power is applied. If you attach a display later, it will not be detected, and you will have to manually select HDMI output in some other way.

You can force the Pi to output on the HDMI port at boot time by adding the following line to the config.txt file:

Code: Select all

hdmi_force_hotplug=1
This makes the Pi behave as though there is an HDMI display connected. Usually you will want the particular video mode to be selected as well. This can be done using the hdmi_group and hdmi_mode options. See https://www.raspberrypi.org/documentati ... t/video.md for the relevant documentation.

rjmusto
Posts: 14
Joined: Tue Jul 07, 2015 2:39 pm

Re: RPi2 HDMI Output failed after power cut

Wed Oct 04, 2017 12:26 pm

Hi,
Thanks for taking the time to write.

I am familiar with the Pi's behaviour with the HDMI output (but forgotten about the keyboard inputs) and have had it set to default to the HDMI output.

Annoyingly, although I had it working for a while last night, the problem has returned. It is booting up ok, but nothing I do results in any video on the HDMI output. So looks like my original suspicion that there is a hardware fault may be true.

Rats.

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: RPi2 HDMI Output failed after power cut

Wed Oct 04, 2017 12:37 pm

they display may not be the part that is failing
put
hdmi_force_hotplug=1
hdmi_drive=2
into the correct /boot/config.txt
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

rjmusto
Posts: 14
Joined: Tue Jul 07, 2015 2:39 pm

Re: RPi2 HDMI Output failed after power cut

Wed Oct 04, 2017 2:26 pm

Tried that - still nothing. :(

Return to “General discussion”