Cannot open firefox on newly install Ubuntu 22.04 for Linux
Hi, I just downloaded Ubuntu 22.04 on Macbook and would like to dowload firefox. I've tried different installation commands such as "sudo apt install firefox" and "sudo snap install firefox", but I still cannot open firefox and the error message is shown in the picture

Hardware accelerated graphics seem the problem. It's not the solution but a temporary workaround could be to choose a non gl display setting in UTM vm setting. virtio-ramfb appears to work.
hopefully the devs. can pick this up and apply the fix soon.
Cheers!
Thank you so much for the workaround. It seems to affect Cinnamon desktop env rendering as well. But if I switch desktops and devices back to the non-accel drivers, firefox and all windows work again!
I have install Ubuntu on ARM and have deinstall the firefox snap and replace snap-Firefox to a PPA sudo snap remove firefox and install the sudo add-apt-repository ppa:mozillateam/ppa && sudo apt update and sudo apt install firefox-esr firefox-esr-locale-de
Had the same problem with both Firefox and Chromium on Ubuntu 22.04 and 22.10 ARM on an Apple Silicon M1 Macbook Pro. Switching to the virtio-gpu-pci device that doesn't have GPU acceleration fixed the issue for now.
+1
Hardware accelerated graphics seem the problem. It's not the solution but a temporary workaround could be to choose a non gl display setting in UTM vm setting. virtio-ramfb appears to work.
hopefully the devs. can pick this up and apply the fix soon.
Cheers!
Fixed following this steps and changing the display settings to virtio-gpu-pci
It's great that there are these workarounds, but is GPU Acceleration being broken getting fixed?
I'm not trying to be demanding or whatever but just wondering. Because it worked fine on UTM 3.x but it's broken on 4.x. I'd just like for the GPU acceleration to work again.
Cheers
I do have the same problem with firefox or any other software that tries to use VA:
vainfo
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit
walter@ubuntu2204:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
Graphic Card: virtio-ramfb-gl
When I change to a different GPU I get no display output at all. To be honest... it makes UTM unusable for now.
When I change to a different GPU I get no display output at all. To be honest... it makes UTM unusable for now.
I have the same issue.
I solve the problem, with these commands: sudo apt update; sudo apt install snapd apparmor; sudo systemctl enable snapd.apparmor; sudo systemctl start snapd.apparmor; sudo systemctl enable snapd; sudo systemctl start snapd;
That worked! Thank you!