Scrolling on myheritage.com is very laggy with WebRender
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: waclaw66, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Steps to reproduce:
- Go to https://www.myheritage.com/site-family-tree-144530322/demo-family-site
- Scroll to the area with many people displayed (e.g. Rose Kennedy *1890 on the right)
- Drag the page and circle with mouse.
Actual results:
Scrolling is very laggy on my AMD Ryzen 5 2600 and Nvidia GTX 1060 3GB. Firefox process consumes about 15% of cpu power and up to 20% of gpu power when WebRender is enabled. When WebRender is off it's much better, cpu takes about 10% and no gpu.
Test config:
Windows 10 1909 18363.592
Firefox 73b9, 71a1
Expected results:
Scrolling should be much better when WebRender is on.
Chrome takes about 1% of cpu power and zero gpu power.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
This seems to run okish on MacOS on Nightly. Václav are you able to check if things are any different on Nightly? Also what screen resolution are you running at?
Reporter | ||
Comment 3•5 years ago
|
||
A have tested it on nightly 74a1 (not 71a1 as I wrote) as well with the same result.
I run at 4k (3840x2160) screen resolution.
Reporter | ||
Comment 4•5 years ago
|
||
I was wrong with the Chrome gpu results, gpu load is also up to 20%, however it's absolutly smooth with 1% cpu. I will try to do some regression tests tomorrow. According observation it's worse when more elements is displayed, e.g. when you zoom in and icons appear next to full birth and death date.
Comment 5•5 years ago
|
||
Can you try turning on gfx.webrender.blob.paint-flashing and report roughly how much of the screen is flashing when it's slow?
Reporter | ||
Comment 6•5 years ago
|
||
I have tested the paint-flashing flag, see results in the youtube video https://youtu.be/X7OP1HdZB40.
Edges of the page are flashing with every move, content in the middle flashes as well, but not so often.
Reporter | ||
Comment 7•5 years ago
|
||
Added another video with more fps... https://youtu.be/sBg6cl907Sc. This demo familly tree is quite small, so the lags do not look so terrible, at familly tree with hunderts of people it's more visible.
Reporter | ||
Comment 8•5 years ago
|
||
I have done mozregression test. The old Direct3D compositor (last from 2018-10-22) has much better results, there are repainted only edges, not the whole content.
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Václav, can you gather a profile using profiler.firefox.com?
Reporter | ||
Comment 10•5 years ago
|
||
There is it... https://perfht.ml/398s784
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Can you add the following "Renderer,RenderBackend,WrWorker" to "Add custom threads by name:" in the profiler settings dialog and get a new profile?
Reporter | ||
Comment 12•5 years ago
|
||
Sure, there you go... https://perfht.ml/3bgjH0y
Comment 13•5 years ago
|
||
That profile was great. Thanks a lot. It looks like there's something very fishy going on. I've filed bug 1613402 to investigate that particular problem.
Reporter | ||
Comment 14•5 years ago
|
||
I have tested build a8e8db10bcc4 which supposed to comprise fixed bug 1613402. It's better now, but still not fluent. I think blobs are repainted too often and unnecessarily.
A new profile here... https://perfht.ml/2H12MRA
Updated•5 years ago
|
Comment 15•5 years ago
|
||
(In reply to Václav Nováček from comment #14)
I have tested build a8e8db10bcc4 which supposed to comprise fixed bug 1613402. It's better now, but still not fluent. I think blobs are repainted too often and unnecessarily.
A new profile here... https://perfht.ml/2H12MRA
That profile doesn't have symbols. Can you try again when that fix makes it into Nightly?
Reporter | ||
Comment 16•5 years ago
|
||
Ahh, right. I'll try to profile it tomorrow again.
Reporter | ||
Comment 17•5 years ago
|
||
Here we go... https://perfht.ml/2OAoos3
Comment 18•5 years ago
|
||
We're doing a lot of texture upload. Don't understand yet why.
Updated•4 years ago
|
Updated•2 years ago
|
Description
•