Firefox fails to start

Bug #2017939 reported by Lazaro Morales
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing Firefox from the ppa I tried to run it and nothing happened. I tried to run it from the terminal and that’s when I saw that it hangs after showing this:

ATTENTION: default value for option mesa_glthread overriden by environment.
MESA: error: Failed to query drm service.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver iris

Any ideas?

Revision history for this message
Lazaro Morales (lazarom) wrote :

It worked when I ran it like this:

$ LIBGL_ALWAYS_INDIRECT=1 firefox

and it worked fine afterwards. Not sure what was the cause but I think we can close this ticket

Revision history for this message
Daniel Tang (daniel-z-tg) wrote :

Try `sudo aa-teardown` to disable Apparmor, then relaunch Firefox.

LIBGL_ALWAYS_INDIRECT=1 causes WebGL aquarium to run at 12 FPS and high CPU for me instead of 60 FPS.

Also see my https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2018439

Revision history for this message
Lazaro Morales (lazarom) wrote :

Thanks Daniel, I didn't know it would have that impact. Thanks for letting me know.

Revision history for this message
Amin Bandali (bandali) wrote :

Hello, and sorry for the slow reply here.

Which release of Ubuntu was this on? The mozillateam ppa ships updated AppArmor rules with its firefox packages for Ubuntu 23.10 and later, and should thus be able to access mesa libraries. As such, I'll go ahead and close this bug, but if you can still reproduce it with the packages for the newer Ubuntu releases please feel free to comment and reopen it. Thanks.

Changed in firefox (Ubuntu):
status: New → Fix Released
Revision history for this message
Lazaro Morales (lazarom) wrote :

Thanks Amin, I will give it a try on the next Ubuntu release to see how it goes. Makes sense closing the ticket then.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.