In 2.4.93, libdrm reworked their sysfs handling. It seems it broke the firefox sandboxing. The main process correctly report webGL capabilities, but sandboxed tabs cannot access the graphic card due to this change, so fallback to software rasterizer (that is so slow that it’s unusable). * Mozilla has issued a fix but it’s scheduled for firefox 63. The reference bug is here: https://bugzilla.mozilla.org/show_bug.cgi?id=1480755 * LibDRM team has issued a fallback to unbreak firefox, but it’s not yet released too. Reference commit with explanations on the situation: https://gitlab.freedesktop.org/mesa/drm/commit/bcb9d976cd91c018aa4eef13563813288984601f There is a patch in firefox that apply correctly on top of firefox 61: https://hg.mozilla.org/releases/mozilla-beta/rev/264fcd3206a6 Just tested to recompile firefox with this patch, it compiles and run fine, and the webGL issue is fixed. It would be very nice to apply this patch in portage tree until mozilla issues the fix officially. Thank’s !
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54b414716ab603d6d8e91f7eb2db57099e20cb2 commit b54b414716ab603d6d8e91f7eb2db57099e20cb2 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-09-06 00:44:01 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-09-06 00:44:15 +0000 www-client/firefox: bump to v62.0 Bug: https://bugs.gentoo.org/665168 Closes: https://bugs.gentoo.org/661274 Package-Manager: Portage-2.3.49, Repoman-2.3.10 www-client/firefox/Manifest | 93 ++++++ www-client/firefox/firefox-62.0.ebuild | 525 +++++++++++++++++++++++++++++++++ 2 files changed, 618 insertions(+)
www-client/firefox-62.0 contains the patch. Thanks for the report!
Mozilla doesn't give this an uplift to 60.3.0 as in #1480755, so the new firefox-60.x-esr does not need this?
I forgot about ESR, currently looking into it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b392cd2a5d4b3ebcd0b6a0c3c3fafcea24b3c83 commit 5b392cd2a5d4b3ebcd0b6a0c3c3fafcea24b3c83 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-09-06 13:58:01 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-09-06 13:58:34 +0000 www-client/firefox: bump to v60.2.0 - Added patch to fix WebGL rendering with current Mesa. [Bug 665168] Bug: https://bugs.gentoo.org/665168 Package-Manager: Portage-2.3.49, Repoman-2.3.10 www-client/firefox/Manifest | 93 ++++++++ www-client/firefox/firefox-60.2.0.ebuild | 379 +++++++++++++++++++++++++++++++ 2 files changed, 472 insertions(+)
Upstream didn't add patch to ESR version so I added it.
Closing as fixed because version is in repository and stabilization was started.