On a Js1k demo, showing devtools can make parts of the Browser UI black/blank
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Assigned: gw)
References
(Blocks 1 open bug)
Details
(Keywords: correctness, regression)
Attachments
(3 files)
Create new profile.
Go to https://js1k.com/2019-x/demo/4027
Press and hold the F12 key - this will rapidly open and close the Developer panel
AR: Elements of the browser UI (Menu bar, close buttons) will become blank, and the scrollbar area will become black.
If you cant repro, try changing the width of the dev pane, or try moving the dev pane to the bottom of the screen.
| Reporter | ||
Comment 1•3 years ago
|
||
| Reporter | ||
Comment 2•3 years ago
|
||
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
I guess people from Graphic would have a better view of what could be happening here.
Mayank, could you try https://mozilla.github.io/mozregression/ to get a regression window?
Comment 5•3 years ago
|
||
This bug has been marked as a regression. Setting status flag for Nightly to affected.
Comment 6•3 years ago
|
||
Please re-run mozregression with --pref gfx.webrender.all:true.
bug 1702989 enabled WebRender for this GPU on Windows.
Description: AMD Radeon(TM) Graphics
Vendor ID: 0x1002
Device ID: 0x1638
-
2021-04-06 in regression range: bug 1702989 switched WebRender-on-Windows allowlist from AtiRolloutWebRender to AtiAll
d7f59acda4f9ff703581669bb072fabbb690254c Jeff Muizelaar — Bug 1702989 - Allow all AMD to be qualified for WebRender. r=aosmond
-
2021-09-30: Bug 1733412 added 0x1638 to AtiRolloutWebRender for WebRender on Linux:
https://hg.mozilla.org/mozilla-central/file/4d047cfb39ea7a8d29b076cb7ba57cd40e63888e/widget/GfxDriverInfo.cpp -
2022-10-28: bug 1794722 removed AtiRolloutWebRender.
Comment 7•3 years ago
|
||
I get this regression range with webrender on
On mac it's pretty easy to trigger the bug, don't need to hold F12, just open dev tools and close it. And it screws up the browser UI, not just inside the content window.
Comment 8•3 years ago
|
||
Maybe bug 1694059, bug 1694305, bug 1694284, bug 1690216 from that range?
Comment 9•3 years ago
|
||
And I get the same regression range on Windows.
Comment 10•3 years ago
|
||
Tested with Nightly and ESR 102.5.0 on Debian Testing:
Tab text and window buttons disappear if I zoom out (at 80% or lower). The header is partially corrupted as if there is a stale tile.
It can further corrupt and Firefox becomes "transparent" in that place, I see what's behind Firefox: It might flicker between stale tile(s) of the header bar and of what was on screen at that place (desktop background image, if I minimize and restore the window. Or the color picker if I open and close it).
I made a screencast with OBS of this, but the video doesn't contain what I saw, the affected tiles of the header are just black in the video.
The header's background gradient is missing at some zoom levels.
Comment 11•3 years ago
|
||
Enforcing SW WR and disabling partial present, accelerated canvas, backdrop filter, etc. doesn't help,
everything including "transparent" tile is still reproducible:
mozregression --launch 2022-12-15 -a https://js1k.com/2019-x/demo/4027 --pref gfx.webrender.allow-partial-present-buffer-age:false gfx.webrender.max-partial-present-rects:0 gfx.webrender.pbo-uploads:false gfx.webrender.debug.texture-cache.clear-evicted:false gfx.webrender.enable-item-cache:false gfx.webrender.multithreading:false gfx.webrender.svg-images:false gfx.webrender.use-optimized-shaders:false layout.css.backdrop-filter.enabled:false gfx.canvas.accelerated:false gfx.webrender.software:true
Comment 12•3 years ago
|
||
Hmm, it doesn't seem to be that complicated of a page. I wonder what the reduced testcase would look like. Maybe we just have too many display items and that is tripping some problem? No warnings or errors in a debug build in the console or about:support.
Updated•3 years ago
|
Comment 13•3 years ago
•
|
||
When I set pref gfx.webrender.debug.force-picture-invalidation = true, I could reproduce the similar symptom easily. Then I wonder if it is related to Webrender picture cache. "pref gfx.webrender.debug.force-picture-invalidation" was added by Bug 1678326.
With "pref gfx.webrender.debug.force-picture-invalidation = true", I got the following regression range.
I wonder if Bug 1692250 and Bug 1694305 might be related to the bug.
Comment 14•3 years ago
|
||
:nical, :gw, can you comment to comment 13?
Updated•3 years ago
|
Updated•3 years ago
|
| Reporter | ||
Comment 15•3 years ago
|
||
Standalone testcase that repros part of the bug. On pressing F12, the text on the title bar becomes blank.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 16•3 years ago
|
||
Unfortunately I suspect that the regression range points to https://hg.mozilla.org/mozilla-central/rev/d7f59acda4f9ff703581669bb072fabbb690254c which enabled webrender on AMD GPUs.
Mayank, could you do another regression range with webrender manually enabled (I think that the "gfx.webrender.all" pref would do it)?
| Reporter | ||
Updated•3 years ago
|
Comment 18•3 years ago
|
||
(I got the same regression range on Gnome Wayland/Debian Testing/Intel.)
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 19•2 years ago
|
||
I can repro this (or similar) on current release but not on nightly. Is anyone still able to repro on nightly?
| Reporter | ||
Comment 20•2 years ago
|
||
(In reply to Glenn Watson [:gw] from comment #19)
I can repro this (or similar) on current release but not on nightly. Is anyone still able to repro on nightly?
I cant repro this bug on nightly.
I can still repro bug 1857943 .
I cant repro the testcase from bug 1840988 , but can repro the original STR from its first comment (bug 1840988 comment #0)
| Assignee | ||
Comment 21•2 years ago
|
||
I believe this is the same underlying cause as 1840988 - which is that we create too many render tasks for the shader indexing method to handle. I have a couple of ideas to remove this limitation, I'll prototype them this week and see which is most suitable.
| Reporter | ||
Comment 22•2 years ago
|
||
This is fixed on latest Nightly.
Updated•2 years ago
|
Description
•