sidney108
Posts: 1
Joined: Sat May 02, 2020 10:33 am

Ubuntu 20.04 HDMI display driver problem

Sat May 02, 2020 11:00 am

Hi,
I have first time installed Ubuntu 20.04 an my new Pi 4B, 4GB and it runs, but the display settings is only showing 1824x974 (9:5) option.
I have been using Ubuntu for more then a decade, but here I am missing the "additional drivers" section in settings. I have almost new Samsung 4k monitor, but there is just one fixed resolution available.
Any idea?
Thanks a lot...
P.S.: I can't install any other desktop - have tried lubuntu and kubuntu, but both have failed few times. It just hangs with an empty screen towards the end and only cursor (underscore) on it. Needs hard reset. Have tried re-create the install medium - always the same. synaptic has fixed some dependences, but no apparent broken packages. sudo dpkg --configure -a also without any effect... :(

salmay
Posts: 1
Joined: Sat May 02, 2020 12:51 pm

Re: Ubuntu 20.04 HDMI display driver problem

Sat May 02, 2020 12:55 pm

same problem, attached a pi4 to a philips 499P9 configurable as a dual 2560x1440. But is doesn't recognize the displays and only shows that resolution of 1824 x 984

blendfish
Posts: 3
Joined: Sat May 02, 2020 5:58 pm

Re: Ubuntu 20.04 HDMI display driver problem

Sat May 02, 2020 6:06 pm

Just installed this on the kids pi 4 and I'm also getting the display issue. I don't think it's just a resolution issue as I've noticed the screen occasionally glitches / goes black / mouse restores background as I move over the screen.

Resolution is wrong as with the OP.

I'm no expert in this but I think it might be something to do with llvmpipe being used as a software gfx driver instead of the proper hardware ones.

I wouldn't consider this usable on the pi at the moment (you also need a wired connection to install as working internet seems to be required to install the WiFi internet drivers. Genius.

User avatar
waveform80
Posts: 396
Joined: Mon Sep 23, 2013 1:28 pm
Location: Manchester, UK

Re: Ubuntu 20.04 HDMI display driver problem

Sat May 02, 2020 6:23 pm

If you haven't already, try adding the following to /boot/firmware/syscfg.txt (or usercfg.txt):

Code: Select all

dtoverlay=vc4-fkms-v3d
That loads the "fake" KMS framebuffer which is considerably better for desktop usage. There's a few more bits in this post in case they're useful.

Dave.
Author of / contributor to a few pi related things (picamera, Sense HAT emulator, gpiozero, piwheels, etc.), and currently a software engineer at Canonical responsible for Ubuntu on the Raspberry Pi.

ichi
Posts: 4
Joined: Tue Aug 20, 2019 11:45 pm

Re: Ubuntu 20.04 HDMI display driver problem

Mon May 04, 2020 4:28 am

Hi,

thank you very much! The hint with the dtoverlay=vc4-fkms-v3d solved my problem! I was searching a lot before I found this and already wanted to give up.
Thank you!

Gyula

Al C
Posts: 2
Joined: Mon Sep 14, 2020 11:23 pm

Re: Ubuntu 20.04 HDMI display driver problem

Mon Sep 14, 2020 11:44 pm

I tried all the randr stuff to no avail.

Dave's solution dtoverlay=vc4-fkms-v3d in sysconfig.txt worked for me.

a few added notes.
you have to have root permission to save file.
I started my Geany my chosen editor via alt-F2 and typed
sudo geany
and pressed enter. Just put your editor name in place of Geany
then when you make Dave's change above it will allow you to save the change.

Then I rebooted.
When it started up again, I was in the correct mode!
Thank you Dave. Love to know how you knew that though.

jonas_graae
Posts: 1
Joined: Wed Sep 16, 2020 10:19 am

Re: Ubuntu 20.04 HDMI display driver problem

Wed Sep 16, 2020 10:30 am

Thanks for the solution to this problem, it saved my day. :D

I have a friend that seems to be having exactly the same problem, (but not on a rasperry pi).
Do you know a way to change similar file as usercfg.txt, but on ubuntu versions for other hardware?

we tried to check for the firmware folder, and this does not seem to exist on his installation.

me.nkr
Posts: 3
Joined: Sat Oct 10, 2020 7:24 am

Re: Ubuntu 20.04 HDMI display driver problem

Sun Oct 11, 2020 7:45 am

blendfish wrote:
Sat May 02, 2020 6:06 pm
Just installed this on the kids pi 4 and I'm also getting the display issue. I don't think it's just a resolution issue as I've noticed the screen occasionally glitches / goes black / mouse restores background as I move over the screen.
I had the same issue just installed Ubuntu desktop on Ubuntu server 20.4 and I thought it's either pi 4 or monitor complaint.
Any idea on how to fix the issue ?

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

Re: Ubuntu 20.04 HDMI display driver problem

Sun Oct 11, 2020 8:01 am

me.nkr wrote:
Sun Oct 11, 2020 7:45 am
blendfish wrote:
Sat May 02, 2020 6:06 pm
Just installed this on the kids pi 4 and I'm also getting the display issue. I don't think it's just a resolution issue as I've noticed the screen occasionally glitches / goes black / mouse restores background as I move over the screen.
I had the same issue just installed Ubuntu desktop on Ubuntu server 20.4 and I thought it's either pi 4 or monitor complaint.
Any idea on how to fix the issue ?
forget it, just go straight for there secret build.
http://cdimage.ubuntu.com/daily-preinstalled/current/

yes, it can usb boot, i'm running on ssd.
Attachments
Screenshot from 2020-10-10 22-00-48.png
Screenshot from 2020-10-10 22-00-48.png (131.84 KiB) Viewed 14540 times

me.nkr
Posts: 3
Joined: Sat Oct 10, 2020 7:24 am

Re: Ubuntu 20.04 HDMI display driver problem

Sun Oct 11, 2020 8:22 am

waveform80 wrote:
Sat May 02, 2020 6:23 pm
If you haven't already, try adding the following to /boot/firmware/syscfg.txt (or usercfg.txt):

Code: Select all

dtoverlay=vc4-fkms-v3d
That loads the "fake" KMS framebuffer which is considerably better for desktop usage. There's a few more bits in this post in case they're useful.

Dave.
added this to /boot/firmware/usercnf.txt
I tried this and it reduced the area of the display (monitor) that was used by ubuntu (now there's an about 1 inch beael on my bezelless monitor) :shock:

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

Re: Ubuntu 20.04 HDMI display driver problem

Sun Oct 11, 2020 8:29 am

me.nkr wrote:
Sun Oct 11, 2020 8:22 am
waveform80 wrote:
Sat May 02, 2020 6:23 pm
If you haven't already, try adding the following to /boot/firmware/syscfg.txt (or usercfg.txt):

Code: Select all

dtoverlay=vc4-fkms-v3d
That loads the "fake" KMS framebuffer which is considerably better for desktop usage. There's a few more bits in this post in case they're useful.

Dave.
added this to /boot/firmware/usercnf.txt
I tried this and it reduced the area of the display (monitor) that was used by ubuntu (now there's an about 1 inch beael on my bezelless monitor) :shock:
20.04 does not have any accelerated drivers, not even fkms.
all of that stuff is fixed in 20.10, both xorg & wayland both work. i just switched back to xorg(x11)
Attachments
Screenshot from 2020-10-10 22-27-52.png
Screenshot from 2020-10-10 22-27-52.png (129.53 KiB) Viewed 14514 times
Screenshot from 2020-10-10 22-28-00.png
Screenshot from 2020-10-10 22-28-00.png (114.98 KiB) Viewed 14514 times

Return to “Ubuntu”