Broken WebGL in Firefox 87.0 in xorg session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
Firefox 87.0 on Kubuntu 21.04 Beta running on Xorg seems to have broken WebGL.
Tested using https:/
I found the following in the console output:
`[GFX1-]: glxtest: Could not connect to wayland socket`
and this seems to be the cause of the problem - due to failing glxtest, all additional HW acceleration is disabled as seen by `FEATURE_
The binary release downloaded from Mozilla (https:/
```
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04
firefox:
Installed: 87.0+build3-
Candidate: 87.0+build3-
```
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: firefox 87.0+build3-
ProcVersionSign
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelMo
AddonCompatChec
ApportVersion: 2.20.11-0ubuntu61
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
BuildID: 20210318103112
Channel: Unavailable
CurrentDesktop: KDE
Date: Fri Apr 9 01:40:17 2021
DefaultProfileE
DefaultProfileI
DefaultProfileL
DefaultProfileP
DefaultProfileP
DefaultProfileT
ExecutablePath: /usr/lib/
ForcedLayersAccel: False
InstallationDate: Installed on 2021-04-05 (3 days ago)
InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210331.1)
IpRoute:
default via 192.168.184.1 dev wlp0s20f3 proto dhcp metric 600
169.254.0.0/16 dev wlp0s20f3 scope link metric 1000
192.168.184.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.184.198 metric 600
Profile0Extensions: extensions.sqlite corrupt or missing
Profile0Incompa
Profile0Locales: extensions.sqlite corrupt or missing
Profile0PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/
Profile0PrefSou
Profile0Themes: extensions.sqlite corrupt or missing
Profile2Extensions: extensions.sqlite corrupt or missing
Profile2Incompa
Profile2Locales: extensions.sqlite corrupt or missing
Profile2PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/
Profile2PrefSou
Profile2Themes: extensions.sqlite corrupt or missing
Profile3Extensions: extensions.sqlite corrupt or missing
Profile3Incompa
Profile3Locales: extensions.sqlite corrupt or missing
Profile3PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/
Profile3PrefSou
Profile3Themes: extensions.sqlite corrupt or missing
Profiles:
Profile3 - LastVersion=
Profile1 (Default) - LastVersion=
Profile0 - LastVersion=
Profile2 - LastVersion=
RunningIncompat
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/07/2020
dmi.bios.release: 1.15
dmi.bios.vendor: LENOVO
dmi.bios.version: N2WET25W (1.15 )
dmi.board.
dmi.board.name: 20U9CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon Gen 8
dmi.product.name: 20U9CTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
I think I've found it.
https:/ /bugs.launchpad .net/ubuntu/ +source/ firefox/ 87.0+build3- 0ubuntu2 introduced "MOZ_ENABLE_ WAYLAND= 1" in the startup script (/usr/bin/firefox). WAYLAND= 1" fixes the problem.
This was to fix #1916469, but unfortunately this breaks WebGL on Xorg.
Removing "export MOZ_ENABLE_
As an aside, Firefox 88 should behave better in that regard (https:/ /bugzilla. mozilla. org/show_ bug.cgi? id=1695453 improved handling of setting MOZ_ENABLE_WAYLAN)