No HDMI Signal on first boot. Reboot required!!!

Post Reply
wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

For a short time now. About two kernel upgrades ago my N2 began requiring two boots before I get a HDMI signal.

On the first boot my monitor shows a connection warning "Invalid signal detected. Check output device."

If I ssh in and reboot or power cycle everything is then fine.

Any ideas?
Walter Zambotti
N2 - Ubuntu Mate Desktop

User avatar
rooted
Posts: 7909
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 233 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by rooted »

Even from a cold boot? Like after removing the power plug.

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

rooted wrote:
Mon Aug 12, 2019 11:47 pm
Even from a cold boot? Like after removing the power plug.
Yes.

It's strange because I have to unplug the N2 on the first and second boot but the HDMI is not working on the first boot.

I only have a HD monitor could it be confused and be outputing to a 4K monitor???
Walter Zambotti
N2 - Ubuntu Mate Desktop

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by odroid »

What is the native resolution of your monitor?

If your monitor has an EDID auto-detection issue in the first booting process, disable the auto mode and set the resolution manually by editing /media/boot/boot.ini file.
https://github.com/mdrjr/n2_bootini/blo ... oot.ini#L7

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

odroid wrote:
Wed Aug 14, 2019 9:24 am
What is the native resolution of your monitor?

If your monitor has an EDID auto-detection issue in the first booting process, disable the auto mode and set the resolution manually by editing /media/boot/boot.ini file.
https://github.com/mdrjr/n2_bootini/blo ... oot.ini#L7
HD (1920x1080) I already mentioned!

I'll have a play with the boot.ini and see what happens. Strange that it auto detects on the second boot!
Walter Zambotti
N2 - Ubuntu Mate Desktop

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by odroid »

Sorry. I thought HD is 1280x720 and Full-HD is 1920x1080.

Anyway, is it a native HDMI input or DVI/VGA input?
Which kernel version do you run?

Code: Select all

root@odroid:~# uname -a                                                         
Linux odroid 4.9.187-53 #1 SMP PREEMPT Fri Aug 9 06:12:18

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

odroid wrote:
Wed Aug 14, 2019 10:59 am
Sorry. I thought HD is 1280x720 and Full-HD is 1920x1080.

Anyway, is it a native HDMI input or DVI/VGA input?
Which kernel version do you run?

Code: Select all

root@odroid:~# uname -a                                                         
Linux odroid 4.9.187-53 #1 SMP PREEMPT Fri Aug 9 06:12:18
Connection is via the HDMI port.

I keep the kernel updated to the latest so it should be at the latest (I'm not in front of the N2 at the moment so can't check but i remember a couple of kernel updates coming through during the last week).

I've also noticed I can no longer turn on my N2 via HDMI-CEC (which it used to do)!
Walter Zambotti
N2 - Ubuntu Mate Desktop

elatllat
Posts: 1779
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 47 times
Been thanked: 114 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by elatllat »

HD is one of those terms marketing got ahold of and should consequently never be used again. 1080p,60Hz,4:4:4,10bit,1m:1 contrast,90% P3 Gamut,etc gets a bit long though.
These users thanked the author elatllat for the post:
superpowter77 (Wed Sep 25, 2019 12:22 pm)

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

My issue has gotten worse.

It appears to have nothing to do with booting and I think my system has developed the random back screen of death.

The HDMI signal will die after a random time. It could be while booting or it could be a few hours after I boot or a few minutes.

Currently I am rebooting about every ten minutes. Not sure if the HDMI is dying of if this is software related.

I can ssh to the device.

Does anyone know how I can reset the HDMI hardware from the command line. That is something I would like try!

(Unfortunately not sent from my N2)
Walter Zambotti
N2 - Ubuntu Mate Desktop

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

wallyz21 wrote:
Sun Sep 22, 2019 4:15 pm
My issue has gotten worse.

It appears to have nothing to do with booting and I think my system has developed the random back screen of death.

The HDMI signal will die after a random time. It could be while booting or it could be a few hours after I boot or a few minutes.

Currently I am rebooting about every ten minutes. Not sure if the HDMI is dying of if this is software related.

I can ssh to the device.

Does anyone know how I can reset the HDMI hardware from the command line. That is something I would like try!

I found a reference to something called modeline. Not sure what it does!

(Unfortunately not sent from my N2)
Walter Zambotti
N2 - Ubuntu Mate Desktop

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by phaseshifter »

while the N-2 is running and the hdmi is lost...power your screen off and back on.again.....does this have any effect.

also a fresh flash with good media may be required..not shore if this has been asked..especially the media quality...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

phaseshifter wrote:
Sun Sep 22, 2019 8:04 pm
while the N-2 is running and the hdmi is lost...power your screen off and back on.again.....does this have any effect.

also a fresh flash with good media may be required..not shore if this has been asked..especially the media quality...


Thanks.

My media is emmc.

And a few other basics like replacing the HDMI cable and trying a different monitor. I have made a small change to the boot.ini and I am testing this at the moment.

I will keep you posted.
Walter Zambotti
N2 - Ubuntu Mate Desktop

joy
Posts: 1336
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 147 times
Been thanked: 163 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by joy »

wallyz21 wrote:
Sun Sep 22, 2019 4:15 pm
My issue has gotten worse.

It appears to have nothing to do with booting and I think my system has developed the random back screen of death.

The HDMI signal will die after a random time. It could be while booting or it could be a few hours after I boot or a few minutes.

Currently I am rebooting about every ten minutes. Not sure if the HDMI is dying of if this is software related.

I can ssh to the device.

Does anyone know how I can reset the HDMI hardware from the command line. That is something I would like try!

(Unfortunately not sent from my N2)
Hi wallyz21,
Could you try the followings to fix your issue?

[ 1 ]
Have you tried display manual mode of 1920x1080?
( As I read the previous posts, maybe no... )
Could you try that first?

You can set it by modifying boot.ini as following.
- boot.ini in vfat filesystem of your emmc card

1. set display_autodetect as false
https://github.com/mdrjr/n2_bootini/blo ... oot.ini#L7

Code: Select all

# Auto Detection of Monitor settings based on your Screen information
setenv display_autodetect "false"
2. set hdmimode as "1080p60hz"

Code: Select all

setenv hdmimode "1080p60hz"
[ 2 ]
What is the product name of your monitor?
If you know it, please share the information.
And also you can find these debug files in vfat filesystem of your card.
- edid.bin
- display.bin
Please share them here to check.

[ 3 ]
Do you have usb-uart module kit?
If not so, you can access your N2 using ssh without display console.

Please try this when you lost display and hdmi connection.
Or even when you have hdmi signal, this command will turn off display and hdmi signal, too. ;)
- Disable HDMI TMDS phy

Code: Select all

# echo 0 > /sys/class/amhdmitx/amhdmitx0/phy
Then enter the next one.
It turns on hdmi signal again.
- Re-Enable HDMI TMDS phy

Code: Select all

# echo 1 > /sys/class/amhdmitx/amhdmitx0/phy
Can you try this and share the result for us?

[ 4 ]
(UPDATED)
Please find an attachment, "set_hdmi_reset.sh.zip".
We need to check if this issue is related to abnormal hdmi IP initialization on your first booting.
You can do sw reset HDMI IP, all sub-blocks of the IP using this script.
Let's check it.

Please download this script to your N2 and unzip it.

Code: Select all

$ unzip set_hdmi_reset.sh.zip
Please install this package after having root permission.

Code: Select all

$ su
# apt install devmem2
Do "reset" first, then do "release".

Code: Select all

# ./set_hdmi_reset.sh  reset

(you will have this result)
/dev/mem opened.
Memory mapped at address 0x7fadc0e000.
Value at address 0xFF608000 (0x7fadc0e000): 0x0
Written 0x3FF; readback 0x3FF

Code: Select all

# ./set_hdmi_reset.sh  release
Attachments
set_hdmi_reset.sh.zip
(376 Bytes) Downloaded 25 times

joy
Posts: 1336
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 147 times
Been thanked: 163 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by joy »

wallyz21 wrote:
Mon Sep 23, 2019 8:57 pm
And a few other basics like replacing the HDMI cable and trying a different monitor. I have made a small change to the boot.ini and I am testing this at the moment.
That's a good idea.
Please check different monitors and try another hdmi cable.

If your N2 works normally with another monitor, we'd better look into the hdmi timing of your 1st monitor that has the issue.
Or if not so, we need to check N2 HDMI HW side.

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

I have changed the display auto detect to false.

setenv display_autodetect "false"

And so far it seems stable. But I will keep testing for a few more days as the frequency of the black screening can be as little as a few minutes or as long as several hours.

My monitor is a Sony Bravia KDL-46EX710 (Basically a 46 inch Full HD TV).

@joy Thanks for all the information.
Walter Zambotti
N2 - Ubuntu Mate Desktop

joy
Posts: 1336
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 147 times
Been thanked: 163 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by joy »

wallyz21 wrote:
Tue Sep 24, 2019 11:12 pm
I have changed the display auto detect to false.

setenv display_autodetect "false"

And so far it seems stable. But I will keep testing for a few more days as the frequency of the black screening can be as little as a few minutes or as long as several hours.

My monitor is a Sony Bravia KDL-46EX710 (Basically a 46 inch Full HD TV).
Hi wallyz21,
Thank you for sharing your status and the information. :)
Please keep checking the stability
and if you have any update, please share it with us.

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by phaseshifter »

check that the cpu is properly mated with the heat sink..???

there are command line codes that can tell the cpu temp..you can open a prompt ..

sozz atm i cannot remember the code but others can post it...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: No HDMI Signal on first boot. Reboot required!!!

Post by wallyz21 »

Well so far so good.

With the display auto detect set to false I have had no further blackouts!

This kind of means that after booting and auto detecting the correct resolution something is causing the kernel/driver/some_other_app to recheck/re_auto_detect for some reason and then choose the wrong resolution.

I could change the auto detect back to auto and see if the problem starts again!
Walter Zambotti
N2 - Ubuntu Mate Desktop

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest