Hovering or scrolling over past editions on https://www.miragefestival.com WebRender is laggy with Webrender software enabled
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: tbabos, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
Attachments
(2 files)
89.0a1(2020-02-24)
[Affected platforms]:
Platforms: Windows 7/8/8.1
Graphics Cards:
Nvidia Geforce 730
Intel 530, 4600
AMD Radeon HD 6670
[Preconditions]:
Reach about:config and set both gfx.webrender.enabled, gfx.webrender.software - true
[Steps to reproduce]:
- Launch the Firefox browser.
- Reach https://www.miragefestival.com/
- Scroll down to the bottom of the page and hover over fast the oast editions or scroll
Expected Result:
The past animation should be smooth and the hover effect should be instant.
Actual Results:
Hovering fast over them is laggy, always behind 1 step.
Notes:
Not reproducible with Webrender Software disabled nor Webrender disabled.
Webrender Software profiler (repro): https://share.firefox.dev/3rf6U4X
Webrender simple profiler (not repro): https://share.firefox.dev/3sjQmdp
Comment 1•4 years ago
|
||
This bug is also reproducible on Ubuntu 18 , Intel(R) HD Graphics 630.
Comment 2•4 years ago
|
||
It looks like the profiles weren't done with the "Firefox Graphics" preset. Here's one that has that:
https://share.firefox.dev/3w5EKgG
It looks like a lot of time is being spent in brush_blend
Comment 3•4 years ago
|
||
Here's a profile with basic: https://share.firefox.dev/3cgMep6. Has lots of time in filters but doesn't seem like things have gone as bad.
Comment 4•4 years ago
|
||
Disabling the svg filter on ".single-archive" improves things quite a bit.
Here's the filter:
<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>
Comment 5•4 years ago
|
||
Disabling that filter enables a "filter: grayscale(1)" that runs considerably faster but still isn't amazing: https://share.firefox.dev/3ricrIa. I'd guess that the svg filter is so much slower because we're doing multiple passes (for sRGB -> linear conversion and then back)
Comment 6•4 years ago
|
||
It's probably reasonable to add the ability to do sRGB conversion in addition to a filter so that we can take the 3 passes and drop it down to 1
Comment 7•4 years ago
|
||
Updated•4 years ago
|
Updated•8 months ago
|
Description
•