Open
Bug 1826291
Opened 2 years ago
Updated 2 months ago
[X11] Firefox is not suppressed if main window is not visible
Categories
(Core :: Widget: Gtk, defect, P2)
Core
Widget: Gtk
Tracking
()
NEW
People
(Reporter: stransky, Assigned: stransky, NeedInfo)
References
Details
Attachments
(2 files)
Firefox is not suppressed if main window is not visible under X11.
- Open a OpenGL testcase (https://webglsamples.org/aquarium/aquarium.html)
- maximize it
- switch to different window
- CPU is still utilized and Firefox eats 150% CPU
It affects only Firefox under X11. Firefox/Wayland works as expected.
Other browsers (Chrome/Chromium under X11) can suppress rendering in that case.
Assignee | ||
Updated•2 years ago
|
Priority: -- → P2
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(stransky)
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(stransky)
Assignee | ||
Comment 3•2 years ago
|
||
Looks like we lost this ability in Bug 1723134 where X11/EGL was switched to swap interval 0 so we don't throttle rendering on X11 when window is hidden.
Comment 4•2 years ago
|
||
EGL swap interval has been 0 even before that bug and seems to be required for Xwayland (bug 1635186 comment 49), EGL/Nvidia and GLX/Nvidia (it's still 1 for GLX: wontfix = bug 1716049 = WR/Nvidia has been switched to EGL or SW WR), otherwise one hidden window blocks rendering in all others.
You need to log in
before you can comment on or make changes to this bug.
Description
•