User avatar
Annie UK
Posts: 51
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

[Resolved] Black screen after update today

Wed Feb 08, 2023 11:15 pm

I did an apt Update and apt upgrade this evening and after a reboot I just got a black screen

I have to change
dtoverlay=vc4-kms-v3d
to
dtoverlay=vc4-fkms-v3d
in config.txt
I also added:
hdmi_group=1
hdmi_mode=16
To the end of config.txt

Is there a way to fix the screen issue without resulting to the above config.txt changes

I've been running this set up for well over a year with the same setting, is this just a dogy update that'll be fixed in the future?
Last edited by Annie UK on Tue Mar 07, 2023 10:01 am, edited 1 time in total.
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 23.04 aarch64
Full Pi spec (Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark

terribleted
Posts: 1105
Joined: Tue Oct 06, 2020 8:07 pm

Re: Black screen after update today

Wed Feb 08, 2023 11:31 pm

i believe that the issue is that SOME screens do not "properly" respond to the EDID data probe the PI sends to figure out what resolution to set.
i think it only happens with Some displays....
I don't have this issue with any of my monitors (or my TV) so i cant say for sure.
I'd say to try using xrandr in a terminal, (under FKMS) see what that returns as supported resolutions, then try to set it manually, switching back to the KMS driver to see if it works..

I'm not expecting this to be considered a "bug" (by PI staff) as it appears to happen only to Some displays... maybe they send malformed or incomplete EDID data? they might improve the results in KMS, but i would not expect it to get the same priorities as a "bug".
of course, that my (uninformed) opinion. PI staff may see it differently...
i had a Trash-80 model 1 (circa 1980). upgrading from 4k to 16k of RAM, i thought "i'll never use this much RAM".
Now i have a computer with a million times that much memory. And i keep running out of it.
Not the computer....ME.

User avatar
Annie UK
Posts: 51
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

Re: Black screen after update today

Wed Feb 08, 2023 11:39 pm

I've been using the same ASUS VG278 monitor and only the last update has caused the issue

xrandr output:

Code: Select all

Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77  
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 23.04 aarch64
Full Pi spec (Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark

terribleted
Posts: 1105
Joined: Tue Oct 06, 2020 8:07 pm

Re: Black screen after update today

Wed Feb 08, 2023 11:59 pm

here is how to force the new driver to use a specific resolution
(from other posts)

- manually set resolution
Try adding hdmi_ignore_edid=0xa5000080 to config.txt and setting the resolution manually (in cmdline.txt).
in /boot/cmdline.txt (add to the end of the line, NOT a new line)
video=HDMI-A-1:1024x768@60D
(Above sets 1024x768 at 60hz, Digital (hdmi))

i should note that i could never get the PI to ignore my EDID data.... but others have said that the above method works.

also, you can use xrandr to set a resolution:
xrandr -s 1920x1080 (set video mode to 1920x1080)

i have only played with this a little, as all my displays do not exhibit the problem...
i had a Trash-80 model 1 (circa 1980). upgrading from 4k to 16k of RAM, i thought "i'll never use this much RAM".
Now i have a computer with a million times that much memory. And i keep running out of it.
Not the computer....ME.

User avatar
Annie UK
Posts: 51
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

Re: Black screen after update today

Thu Feb 09, 2023 12:33 am

With those changes I still get a blank screen.

I think they have broken dtoverlay=vc4-kms-v3d as the only way I can get my monitor to wake is by using dtoverlay=vc4-fkms-v3d (Fake KMS) :cry:
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 23.04 aarch64
Full Pi spec (Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6721
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Black screen after update today

Thu Feb 09, 2023 1:24 pm

terribleted wrote:
Wed Feb 08, 2023 11:59 pm
Try adding hdmi_ignore_edid=0xa5000080 to config.txt and setting the resolution manually (in cmdline.txt).
in /boot/cmdline.txt (add to the end of the line, NOT a new line)
video=HDMI-A-1:1024x768@60D
(Above sets 1024x768 at 60hz, Digital (hdmi))

i should note that i could never get the PI to ignore my EDID data.... but others have said that the above method works.
In general hdmi settings in config.txt only affect the firmware driver (fkms), not the kernel driver (kms).
cmdline.txt option are for the kernel.

Have a read here for how to force a different edid with kms.

terribleted
Posts: 1105
Joined: Tue Oct 06, 2020 8:07 pm

Re: Black screen after update today

Thu Feb 09, 2023 2:09 pm

Thanks @dom !
now it makes sense.
i had a Trash-80 model 1 (circa 1980). upgrading from 4k to 16k of RAM, i thought "i'll never use this much RAM".
Now i have a computer with a million times that much memory. And i keep running out of it.
Not the computer....ME.

iSancheZ
Posts: 2
Joined: Thu Feb 09, 2023 3:02 pm

Re: Black screen after update today

Thu Feb 09, 2023 3:05 pm

Hi. I have the same problem after update and nothing helps me...

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6721
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Black screen after update today

Thu Feb 09, 2023 3:26 pm

iSancheZ wrote:
Thu Feb 09, 2023 3:05 pm
Hi. I have the same problem after update and nothing helps me...
Are you running Ubuntu on Pi4, and have a blank screen. And switching from kms to fkms driver avoids the blank screen?

iSancheZ
Posts: 2
Joined: Thu Feb 09, 2023 3:02 pm

Re: Black screen after update today

Thu Feb 09, 2023 4:43 pm

dom wrote:
Thu Feb 09, 2023 3:26 pm
Are you running Ubuntu on Pi4, and have a blank screen. And switching from kms to fkms driver avoids the blank screen?
Ubuntu 22.10 with latest updates on Pi400. Yes, only switching from kms to fkms driver resolve problem.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6721
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Black screen after update today

Fri Feb 10, 2023 11:36 am

If you have a spare sdcard, please test latest RpiOS bullseye and report if the same issue happens.
If it does, then run rpi-update and report if it happens.

If either of these work, then it means recent downstream kernel patches (they will be currently in process of being submitted upstream)
are required by Ubuntu, and it's best to let Ubuntu devs know.

User avatar
kerry_s
Posts: 6014
Joined: Thu Jan 30, 2020 7:14 pm

Re: Black screen after update today

Fri Feb 10, 2023 11:44 am

best to stick with ubuntu 22.04lts


User avatar
kerry_s
Posts: 6014
Joined: Thu Jan 30, 2020 7:14 pm

Re: Black screen after update today

Sat Feb 25, 2023 11:19 pm

:lol:
22.10 is still all kinds of buggy.

22.04lts works great though.
Attachments
Screenshot from 2023-02-25 13-18-22.png
Screenshot from 2023-02-25 13-18-22.png (129.46 KiB) Viewed 7927 times

User avatar
Annie UK
Posts: 51
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

Re: Black screen after update today

Mon Feb 27, 2023 12:50 pm

Looks like this is resolved in the next kernel update :D
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 23.04 aarch64
Full Pi spec (Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark

User avatar
Annie UK
Posts: 51
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

Re: Black screen after update today

Mon Mar 06, 2023 7:48 pm

New Kernel just release and I can confirm they have fixed the KMS driver :)
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 23.04 aarch64
Full Pi spec (Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark

Mitya Cohen
Posts: 1
Joined: Fri Apr 21, 2023 3:10 pm

Re: [Resolved] Black screen after update today

Fri Apr 21, 2023 3:21 pm

Just installed the new image of raspbian with the Pi imager. It says it has to be updated. But as soon as I start update it shows me the black screen. Is there any working solution for this so far?

User avatar
Annie UK
Posts: 51
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

Re: [Resolved] Black screen after update today

Fri Apr 21, 2023 5:05 pm

Change the display driver in config.txt
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 23.04 aarch64
Full Pi spec (Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark

Return to “Ubuntu”