Comment 3 for bug 1923116

Revision history for this message
Paweł Drewniak (woody) wrote : Re: Broken WebGL in Firefox 87.0 on Kubuntu 21.04 Beta (Xorg)

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).
This was to fix #1916469, but unfortunately this breaks WebGL on Xorg.
Removing "export MOZ_ENABLE_WAYLAND=1" fixes the problem.

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)