[X11][EGL] Firefox 94 freezes seemingly randomly on Linux with EGL enabled (Rust crate bug on Debian and OpenSUSE)
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(firefox94 affected)
Tracking | Status | |
---|---|---|
firefox94 | --- | affected |
People
(Reporter: rca, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: hang)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Steps to reproduce:
Started Firefox, opened 10 tabs from some heavier sites (AliExpress, Wikipedia, YouTube).
This is on Debian sid, kernel 5.14.0, Mesa 21.2.5, KDE/Plasma 5.23.2 with compositing on and OpenGL as compositor, Xorg 7.7.
Actual results:
After about 2-5 minutes, Firefox freezes. Tabs can't be switched anymore and any new tabs that were freshly opened just display a dark gray area (using dark theme).
Strace of the Firefox processes at that point show nothing too interesting except for:
ioctl(39, DRM_IOCTL_AMDGPU_CTX or DRM_IOCTL_ETNAVIV_GEM_NEW or DRM_IOCTL_LIMA_GEM_INFO or DRM_IOCTL_MSM_GEM_NEW or DRM_IOCTL_V3D_CREATE_BO or DRM_IOCTL_VC4_WAIT_BO <unfinished ...>
Disabling EGL via gfx.x11-egl.force-disabled fixes the problem.
Expected results:
Firefox should continue being responsive and render tabs.
Reporter | ||
Comment 1•3 years ago
|
||
I've also noticed that:
- Videos playing while other pages are rendering may have choppy audio before things freeze completely
- The console Firefox was launched from will say:
ATTENTION: default value of option mesa_glthread overridden by environment.
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
With EGL off, this does not happen.
Comment 2•3 years ago
|
||
Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.
Reporter | ||
Comment 3•3 years ago
|
||
Reporter | ||
Comment 4•3 years ago
|
||
The fact that disabling EGL works around the issue may be a coincidence. The symptoms are the same as for these bugs reported for Debian and openSUSE. The crackling audio problem is the same as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998108
https://bugzilla.opensuse.org/show_bug.cgi?id=1192067
This seems to be related to the toolchains used to build Firefox, Mesa and the use of LLVM version 2 vs. 3.
Reporter | ||
Comment 5•3 years ago
|
||
I meant LLVM 12 vs. 13 of course.
I've also now tested extensively with EGL enabled but using Mozilla's own build of Firefox. The problem never appeared, it only appears with the Firefoxes built by Debian or SuSE.
Should this be resolved as invalid or should it remain open until the distro maintainers find out what exactly triggers the issue?
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•