Rectangles with parts of previous web page appearing on page (Intel HD Graphics 630)
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | --- | ? |
firefox79 | --- | disabled |
People
(Reporter: yoasif, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
Been seeing some random graphical issues recently where pieces of other web pages flash inside a web page. They are most often rectangles with two sides on the viewport edge.
They seem to go away as soon as I switch away from the window, so it has been hard to get a screen capture.
I captured one today on my phone.
See video.
The page I was on was about:config
, and the flashing page is https://support.mozilla.org/en-US/kb/enable-drm?as=u&utm_source=inproduct
This doesn't always flash, but it did this time. Also attaching a wr-capture.
wr-capture: https://drive.google.com/file/d/1lsGmZRg-aXbNUGiXA8IGCvS08DrK3fbI/view?usp=sharing
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Did this seems to just start happening in 79? Or do you remember seeing it before?
Reporter | ||
Comment 3•4 years ago
|
||
Jessie, this is fairly recent - I'm pretty sure it is new in 79.
Comment 4•4 years ago
|
||
Asif - if we can determine a to reproduce it reliably, we could perhaps try out mozregression to see if that uncovers anything interesting
GW - just NI-ing you to take a peak if anything looks interesting if the capture here: https://bugzilla.mozilla.org/show_bug.cgi?id=1646202#c0
Comment 5•4 years ago
|
||
gfx.webrender.max-partial-present-rects: -1
Is this caused by partial present on Wayland? Does it still occur if you disable it?
Reporter | ||
Comment 6•4 years ago
|
||
Is this caused by partial present on Wayland? Does it still occur if you disable it?
I would suspect probably, but not sure. Disabling it now to see if I continue seeing it afterwards.
Comment 7•4 years ago
|
||
Partial present does seem mostly likely to be related here.
If it is the case, it would be very helpful to know if it occurs only on Wayland, or also on X11.
I vaguely recall seeing something written recently that partial present is only a hint on wayland, and that the rest of the texture needs to remain valid. I might be misremembering, but that might be relevant here (although, the textures should remain valid in all cases I can think of, but maybe they don't).
Comment 8•4 years ago
|
||
X11 doesn't have EGL and partial present yet. (bug 1640048 awaits review.)
Reporter | ||
Comment 9•4 years ago
|
||
X11 doesn't have EGL and partial present yet. (bug 1640048 awaits review.)
So I can log out of my X11 session (and go back to Wayland) and disable partial present again?
Comment 10•4 years ago
|
||
(In reply to Glenn Watson [:gw] from comment #7)
Partial present does seem mostly likely to be related here.
If it is the case, it would be very helpful to know if it occurs only on Wayland, or also on X11.
Partial present only works with EGL, thus this is blocked by bug 1640048
I vaguely recall seeing something written recently that partial present is only a hint on wayland, and that the rest of the texture needs to remain valid. I might be misremembering, but that might be relevant here (although, the textures should remain valid in all cases I can think of, but maybe they don't).
This is indeed the case - Wayland compositors do not take a copy but require the clients to always provide a completely valid buffer. But the same is true for X11 (talking about EGL_KHR_swap_buffers_with_damage
). The author of the patch from bug 1620076 was aware of that though.
Greg, do have an idea?
Comment 11•4 years ago
|
||
Yes, try Wayland, but with partial present disabled (default) to verify that it doesn't come back then.
Comment 12•4 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Comment 13•4 years ago
|
||
Yeah, that's why partial is not enabled by default yet. Artifacts still can happen, in some places because WebRender is not reporting damage properly, but there could be EGL specific reasons too. I haven't seen any artifacts lately on my Radeon system, but I haven't really tried on Intel yet; iris is a new driver that can still be buggy sometimes.
gfx.webrender.debug.slow-frame-indicator: true
webrender profiler has been broken with partial, I wonder if other WR debug overlays could cause issues too.
Comment 14•4 years ago
|
||
I've been browsing for a day (even with slow-frame-indicator
sometimes), couldn't get any artifacts. that's on iris (kaby lake) with recent mesa git and wayfire.
Comment 15•4 years ago
•
|
||
There was a similar looking bug on Win7 (bug 1637497 comment 8) when partial present was enabled without having DwmComposition (=using a non-Aero theme). Edit: But that one occured when switching windows.
Reporter | ||
Comment 16•4 years ago
•
|
||
I have been browsing for a day without partial present and I haven't seen the issue yet.
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 17•4 years ago
|
||
Oops, I wasn't running WR at all today after my nightly update:
(#0) Error window is null
(#1) Error Failed to create EGLSurface
(#2) Error We don't have EGLSurface to draw into. Called too early?
(#3) Error We don't have EGLSurface to draw into. Called too early?
(#4) Error Compositors might be mixed (5,2)
Comment 18•4 years ago
|
||
Does that happen right on startup or only after opening an addon panel (bug 1645677) or activating autoscroll (bug 1638084)?
Reporter | ||
Comment 19•4 years ago
|
||
I never use autoscroll - I suppose it might happen on opening an add-on panel, but I didn't notice it happening. I'll keep my eye out.
Comment 20•4 years ago
|
||
heh, I can get artifacts now: on YouTube's little playlist side panel under a video (when in theater mode).
Comment 21•4 years ago
|
||
Gnome Wayland, Debian Testing, Macbook Pro, Intel Iris Graphics 6100 (BDW GT3), Mesa 20.1.1
Apart from bug 1640617 I haven't seen a single problem with Wayland partial present. But if I get a fallback to the old OpenGL compositor due to autoscroll or addon panels, I see intermittent artifacts on Bugzilla and extreme checkerboarding.
If anyone sees an artifact, please open about:support, check that Compositing is still WebRender and leave a comment.
Reporter | ||
Comment 22•4 years ago
|
||
FYI, I had disabled partial present with WR enabled for over a week and have not seen this issue. I'm going to go ahead and re-enable it now. Would a WR capture after the issue appears (if it appears) help?
Updated•4 years ago
|
Comment 23•4 years ago
|
||
(In reply to Asif Youssuff from comment #22)
With bug 1640858 fixed (Nightly >= 20200930214529), please reenable partial present: gfx.webrender.max-partial-present-rects=1
If you still see this bug, bug 1668472 might be related.
Comment 24•4 years ago
|
||
Please reopen this bug if you see it again. Thanks!
Description
•