Black screen with rpi3 when connected to TV via HDMI

Can anyone remind me how to dump the EDID from a Pi?

tvservice ā€“d <filename.dat>

2 Likes

We feel your pain.

Can you post the output of the command @ooZee posted? Not sure if this is a binary file (my Pi is having a hissy fit, now). If itā€™s binary you will have to upload it somewhere.

Thx a lot @grahamh

Once again, the logs:

https://paste.osmc.tv/negabahimo

Regarding the edid.dat file, Iā€™ve created and parse it in another computer. The output is this one:
Checksum Correct

Section ā€œMonitorā€
Identifier ā€œPanasonic-TVā€
ModelName ā€œPanasonic-TVā€
VendorName ā€œMEIā€
# Monitor Manufactured week 0 of 2009
# EDID version 1.3
# Digital Display
# Display Physical Size not given. Normal for projectors.
Gamma 2.20
Option ā€œDPMSā€ ā€œfalseā€
Horizsync 15-68
VertRefresh 23-61
# Maximum pixel clock is 150MHz

    #Extension block found. Parsing...
    Modeline        "Mode 18" +hsync +vsync interlace
    Modeline        "Mode 0" +hsync +vsync 
    Modeline        "Mode 1" +hsync +vsync 
    Modeline        "Mode 2" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline        "Mode 3" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline        "Mode 4" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
    Modeline        "Mode 5" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
    Modeline        "Mode 6" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    Modeline        "Mode 7" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    Modeline        "Mode 8" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
    Modeline        "Mode 9" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline        "Mode 10" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline        "Mode 11" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline        "Mode 12" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline        "Mode 13" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
    Modeline        "Mode 14" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
    Modeline        "Mode 15" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
    Modeline        "Mode 16" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
    Modeline        "Mode 17" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
    Modeline        "Mode 19" +hsync +vsync interlace
    Modeline        "Mode 20" +hsync +vsync 
    Modeline        "Mode 21" +hsync +vsync 
    Option "PreferredMode" "Mode 18"

EndSection

Thanks, but Iā€™m out of ideas. Do you have another display available to test it on?

I have a pc monitor, where itā€™s working fine out-of-the-box. I didnā€™t have to change anything.
Itā€™s when I connected it to the TV where there is no output.

I guess that Iā€™ll stick to Raspberry OS for the time being, because I donā€™t understand why itā€™s not working.

Can you send me that raw edid file somehow? The parser you used doesnā€™t tell me the whole story.

Sorry for the late reply. Sure, you can grab it from here:

Hope youā€™ll find something else to test.

can you try:

  • turning on TV
  • switching input to the one connected to kodi
  • restarting kodi ?

For me this works (if Kodi is started when TV is off - output does not work. If I turn on Kodi if TV is on -> everything is ok)

It shouldnā€™t affect things, but the EDID is sending conflicting information about deep colour capability. (Pis donā€™t use deep colour AFAIK).

Try putting this file in /boot and renaming it to edid.dat
https://collab.osmc.tv/s/B0rYnFymXfRIEJd

Take out all the lines in your config.txt that start with hdmi or sdtv and put just hdmi_edid_file=1 instead.

Reboot and cross fingers.

Yes, thatā€™s what I always do after seen the same issue in other comments.
Anyway, thanks for the suggestion :wink:

Hi @grahamh. Iā€™ve renamed it to ā€œedid.datā€ and placed it under /boot:

The config.txt looks like this now:

gpu_mem_1024=256
#hdmi_ignore_cec_init=1
disable_overscan=1
start_x=1
disable_splash=1
gpu_mem_256=112
gpu_mem_512=144
#sdtv_aspect=1
hdmi_edid_file=1

But still, after rebooting, black screen :frowning:

what does tvservice -m CEA say now?

Ummm, something is wrong. I canā€™t reach it via ssh.
Iā€™m reflashing the image now.

Just checking: youā€™re getting nothing at all on the screen? Not even the blue OSMC splash screen and not even any console messages?

Nothing at all. I canā€™t even connect via ssh.
Finishing the reflashing and trying again.

@grahamh Still black screen, but now at least I have ssh access:
osmc@osmc:~$ tvservice -m CEA
Group CEA has 16 modes:
mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced
mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
(native) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
mode 17: 720x576 @ 50Hz 4:3, clock:27MHz progressive
mode 18: 720x576 @ 50Hz 16:9, clock:27MHz progressive
mode 19: 1280x720 @ 50Hz 16:9, clock:74MHz progressive
mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced
mode 21: 720x576 @ 50Hz 4:3, clock:27MHz x2 interlaced
mode 22: 720x576 @ 50Hz 16:9, clock:27MHz x2 interlaced
(prefer) mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive
mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive

Did you check that other devices work on that screen/HDMI input and at what resolutions/modes?

Or I guess youā€™re saying it works with Pi on RPiOS on that HDMI input?

Yes, I have another Pi, the version 2, which has RPiOs installed it works using same HDMI cable, same input.
Resolution of that RPi is 1920x1080.
The RPI v2 with RPiOS:
pi@raspberrypi:~ $ tvservice -m CEA
Group CEA has 16 modes:
mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced
mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
(native) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
mode 17: 720x576 @ 50Hz 4:3, clock:27MHz progressive
mode 18: 720x576 @ 50Hz 16:9, clock:27MHz progressive
mode 19: 1280x720 @ 50Hz 16:9, clock:74MHz progressive
mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced
mode 21: 720x576 @ 50Hz 4:3, clock:27MHz x2 interlaced
mode 22: 720x576 @ 50Hz 16:9, clock:27MHz x2 interlaced
(prefer) mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive
mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive

Even more, on this RPi, I don 't even have to wait for the TV to switch on. I switch it on at the same time as the TV and it works.

Could it be that you have a power supply issue? Because even if the HDMI output is messed up it should be reachable by SSH within 1 minute of booting

Donā€™t know what happened. After reflashing the image, I could connect. So I guess that PSU is ok.
Anyway, thx for the suggestion.