very laggy input with certain pages loaded, but not on screen
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: bhearsum, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
37.97 KB,
text/plain
|
Details |
When I open a non-logged in github.com tab (which at the time of writing is using a <canvas> animation), and I put that window offscreen (ie: a different virtual desktop), I end up with very bad input delay in other windows - more than 1 second - rendering Firefox unusable.
I'm using an X1 Carbon and Wayland (sway).
Comment 1•3 years ago
|
||
Ben, is this a regression? Are you able to find a regression range?
Reporter | ||
Comment 2•3 years ago
|
||
(In reply to Marco Castelluccio [:marco] from comment #1)
Ben, is this a regression? Are you able to find a regression range?
I don't know, it's just something I noticed while verifying that https://bugzilla.mozilla.org/show_bug.cgi?id=1705478 wasn't an issue anymore. I'll some older versions a bit later if I have time.
Reporter | ||
Comment 3•3 years ago
|
||
(In reply to bhearsum@mozilla.com (:bhearsum) from comment #2)
(In reply to Marco Castelluccio [:marco] from comment #1)
Ben, is this a regression? Are you able to find a regression range?
I don't know, it's just something I noticed while verifying that https://bugzilla.mozilla.org/show_bug.cgi?id=1705478 wasn't an issue anymore. I'll some older versions a bit later if I have time.
I went as far back as April 1, 2021, and could still repro. I'll try to bisect more next week.
The parent process and compositor threads are both waiting on something like pcond_wait while the renderer thread is waiting on a libc_poll
called from mozilla::gl::GLContextGLX::GetBufferAge
all for about 2 seconds. It seems like a graphics issue so let's see if the graphics team has any insight.
Comment 5•3 years ago
|
||
Could you attach your about:support please?
You could also try setting gfx.webrender.allow-partial-present-buffer-age
to false. That will prevent the call to GetBufferAge()
, although my hunch is that a subsequent call in the driver will probably stall instead. (If that does indeed happen, another profile would be great!)
You could also try running Firefox with the environment variable MOZ_X11_EGL=1
set.
Comment 6•3 years ago
|
||
This is most likely a dup of bug 1635186 - workarounds are turning off hardware acceleration (should be off by default, have you enabled it?) or using the native Wayland backend (MOZ_ENABLE_WAYLAND=1
)
Reporter | ||
Comment 7•3 years ago
|
||
(In reply to Jamie Nicol [:jnicol] from comment #5) > Could you attach your about:support please? > > You could also try setting `gfx.webrender.allow-partial-present-buffer-age` to false. That will prevent the call to `GetBufferAge()`, although my hunch is that a subsequent call in the driver will probably stall instead. (If that does indeed happen, another profile would be great!) > > You could also try running Firefox with the environment variable `MOZ_X11_EGL=1` set.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 8•3 years ago
|
||
(In reply to Jamie Nicol [:jnicol] from comment #5)
Could you attach your about:support please?
You could also try setting
gfx.webrender.allow-partial-present-buffer-age
to false. That will prevent the call toGetBufferAge()
, although my hunch is that a subsequent call in the driver will probably stall instead. (If that does indeed happen, another profile would be great!)
This pref didn't make a difference.
You could also try running Firefox with the environment variable
MOZ_X11_EGL=1
set.
This seems to have fixed it!
(In reply to Robert Mader [:rmader] from comment #6)
This is most likely a dup of bug 1635186 - workarounds are turning off hardware acceleration (should be off by default, have you enabled it?) or using the native Wayland backend (
MOZ_ENABLE_WAYLAND=1
)
The hardware acceleration settings don't appear to make any difference.
MOZ_ENABLE_WAYLAND=1
appears to fix the issue though.
Comment 9•3 years ago
|
||
Thanks!
Robert, given than X11 EGL or WAYLAND both fix this, do we have any action to take here?
Are you confident this is a dup? Is there an explanation for the hardware acceleration settings?
Comment 10•3 years ago
|
||
(In reply to Jamie Nicol [:jnicol] from comment #9)
Thanks!
Robert, given than X11 EGL or WAYLAND both fix this, do we have any action to take here?
Are you confident this is a dup? Is there an explanation for the hardware acceleration settings?
Yep, I'm confident - the explanation is that it's nightly or early beta. Maybe we should also disable HW-WR in nightly on Xwayland, so people actually test what we'll ship later on.
Comment 11•3 years ago
|
||
Makes sense. Thanks
Description
•