Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

This is for ARMv8 based devices

Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby Amphitryon » Fri Apr 30, 2021 7:33 pm

I have installed Arch Linux aarch64 on a new Raspberry Pi 4B 8G. After updating (pacman -Syu) and installing the Raspberry Pi specific kernel (linux-raspberrypi4) to get the USB ports working the next issue is the display.

From turning I can see some text briefly appearing, than a rainbow pattern, then the kernel messages with the four raspberries at the top of the screen. When it gets to the point where I would expect the login prompt, the monitor says there is no video input.

Checking jourbalctl -b I found this:

$this->bbcode_second_pass_code('', 'Apr 16 15:12:03 alarm kernel: fb0: switching to vc4drmfb from simple
Apr 16 15:12:03 alarm kernel: Console: switching to colour dummy device 80x25
Apr 16 15:12:03 alarm kernel: [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
Apr 16 15:12:03 alarm kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Apr 16 15:12:03 alarm kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Sep 18 2020 02:27:58 version 7.45.221 (3a6d3a0 CY) FWID 01-bbd928>
Apr 16 15:12:03 alarm systemd[1]: Starting Load/Save RF Kill Switch Status...
Apr 16 15:12:03 alarm kernel: vc4-drm gpu: [drm] HDMI-A-1: EDID is invalid:
Apr 16 15:12:03 alarm kernel: [00] BAD 00 ff ff ff ff ff ff 00 3c ad 00 37 00 00 00 00
Apr 16 15:12:03 alarm kernel: [00] BAD 0a 12 01 03 80 10 09 78 0a 68 37 a4 54 48 9a 25
Apr 16 15:12:03 alarm kernel: [00] BAD 0c 4a 4c 3f ef 80 d1 00 d1 c0 81 19 90 59 01 01
Apr 16 15:12:03 alarm kernel: [00] BAD 01 01 01 01 01 01 01 1d 80 18 71 1c 16 20 58 2c
Apr 16 15:12:03 alarm kernel: [00] BAD 25 00 10 09 00 00 00 9e 01 1d 00 72 51 d0 1e 20
Apr 16 15:12:03 alarm kernel: [00] BAD 6e 28 55 00 10 09 00 00 00 1e 00 00 00 fc 00 32
Apr 16 15:12:03 alarm kernel: [00] BAD 32 57 5f 4c 43 44 5f 54 56 0a 20 20 00 00 00 fd
Apr 16 15:12:03 alarm kernel: [00] BAD 00 31 3d 0f 2e 08 00 0a 20 20 20 20 20 20 01 2c
Apr 16 15:12:03 alarm systemd-udevd[221]: Using default interface naming scheme 'v247'.
')

I can force it to continue to give a display by editing config.txt and adding:
$this->bbcode_second_pass_code('', 'hdmi_mode:1=31
hdmi_group:1=1
hdmi_mode:0=19
hdmi_group:0=1
')

and then obviously rebooting but when trying to use a graphical display it is definitely fuzzy and there a very large border around the drawn in part of the screen. I have tried disable_overscan=1 but then the display seems to come up at weird resolutions - I have had 1600x1200 and 1384x720

I have done some searching and suspect this has something to do with:

dtoverlay=vc4-kms-v3d

But I haven't found anything that says how to configure this driver. Any ideas how I configure a sensible HDMI mode on this? Can I, for example, use a tool to decide the EDID that the driver doesn't like to at least see what mode I should be aiming at? Or does the vc4-kms-v3d driver have some documentation I have not yet found? Any other ideas?
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby graysky » Fri Apr 30, 2021 9:38 pm

Not sure. You might want to post to the official RPi forums for increased coverage.
graysky
Developer
 
Posts: 1726
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby robg » Fri Apr 30, 2021 10:10 pm

It sounds like this may be related to a problem I am experiencing: viewtopic.php?f=67&t=15298

After the upgrade "linux-raspberrypi4 5.10.27-4 -> linux-raspberrypi4-5.10.31-1", I have a blank screen (saying "no HDMI signal") when launching X.org. This update includes some changes to the vc4 HDMI driver (see the above-linked post) that I suspect are responsible. The issue only occurs on one of my screens, so I'm not sure if this is a regression (i.e., if the no-signal message is in fact expected and it is up to me to apply a custom HDMI mode in boot/config.txt).

I have uploaded the linux-raspberrypi4 5.10.27-4 package here. Could you try downgrading and report whether your screen works with the old kernel?

EDIT: A more wget-friendly download link: http://transfer.sh/get/a0o7M/linux-rasp ... pkg.tar.xz
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby Amphitryon » Sat May 01, 2021 2:08 pm

Rob,

I did wonder if your problem with X and this one are related. Interestingly, after doing the HDMI overide, from within GNOME I can choose a number of screen resolutions from a fairly small list so something later on must be parsing the EDID correctly because this is a much smaller list than the complete set of standard screen modes. Possibly that works beause GNOME uses Wayland, rather than X, by default.

I will download the previous kernel and see what difference that makes.
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby Amphitryon » Sat May 01, 2021 2:21 pm

Yes, the older version of the kernel from your post does work for me without the HDMI overrides and the message about an invalid EDID is gone from the system journal for that boot.
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby robg » Sat May 01, 2021 3:48 pm

Thank you for testing and the confirmation Amphitryon.

I think it is worth to report this* on https://github.com/raspberrypi/linux/issues. I use my RPI as a desktop workstation and won't have time (or, rather, the freedom for experiments) to produce the required logs until later next week. Would you like to go ahead and report it?

*EDIT: The fact that the EDID is considered valid on one kernel and not on the other is very much indicative of a bug.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby graysky » Sat May 01, 2021 4:25 pm

If you believe this to be caused by the kernel package and not the Xorg or others, please report it to RPi upstream.

https://github.com/raspberrypi/linux/issues/new/choose
graysky
Developer
 
Posts: 1726
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby robg » Sat May 01, 2021 6:51 pm

Will report it by the end of next week unless Amphitryon does it before me.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby Amphitryon » Sat May 01, 2021 10:33 pm

I will just try some more tests because I see that as well as the manually installed 5.10.27 I also have both 4.10.32 and 4.10.33 in the pacman cache.
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Re: Raspberry Pi 4B8G, Blank Sceen, Invalid EDID

Postby Amphitryon » Sat May 01, 2021 11:11 pm

Ok, so it turns out this also depends on the monitor the Pi is connected to. Now my HDMI to DVI adapter has turned up I have the Pi set up at my desk and kernel 5.10.33-1-ARCH has no trouble with the EDID from that but doesn't work without overrides on the TV I originally had this connected to. I'll raise the bug.
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Next

Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 3 guests

cron