(picture-caching) Low fps on WebGL jellyfish
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: sotaro, Unassigned)
References
Details
Attachments
(3 files)
When I visited http://arodic.github.io/p/jellyfish/, fps was very low like 10fps on my laptop(P50 Win10).
Without picture caching, fps was 60fps.
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
I tested this on my machine, and it's around 10-20% slower with picture caching. This is currently expected since WR is caching tiles that are constantly changing, so it's redundant work. I'm planning to work on a patch today that skips caching if the tiles are constantly changing.
However, it sounds like the slowdown you are seeing is much worse than what I am seeing, which is concerning. Could you provide a screenshot of the WR profiler overlay while running with/without picture caching on this page?
Comment 2•6 years ago
|
||
Potential fix / workaround is https://github.com/servo/webrender/pull/3487 - although I'd still like to see some WR profile graphs of this case, since the difference is very significant and I can't repro here.
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Reporter | ||
Comment 5•6 years ago
|
||
(In reply to Glenn Watson [:gw] from comment #1)
However, it sounds like the slowdown you are seeing is much worse than what I am seeing, which is concerning. Could you provide a screenshot of the WR profiler overlay while running with/without picture caching on this page?
I posted the screenshots. Are they what you expected?
Comment 6•6 years ago
|
||
Thanks for the screenshots!
Those results are what I hoped to not see, but suspected might be the case. The bright green bars are GPU time to create the cache tiles - on my machines, those are typically 10-20% of the frame time, worst case. On your setup, they are taking a massive amount of time :( I wonder if they are hitting some kind of slow path in ANGLE / D3D on your device. Could you post the output of your about:support so I can try to repro on a similar GPU?
Reporter | ||
Comment 7•6 years ago
|
||
Reporter | ||
Comment 8•6 years ago
|
||
P50 was mozilla's standard windows laptop for development. Then it might exist in Toronto office.
Comment 9•6 years ago
|
||
Thanks - I have one here with the same or similar Intel GPU (which is what is active in the about:support). I'll do some profiling to see if that blit path is particularly slow on that GPU, thanks.
Comment 10•6 years ago
|
||
Sotaro, is this resolved for you in the current build?
Reporter | ||
Comment 11•6 years ago
|
||
On P50, fps was improved from 10fps to 51 fps! It is a bit lower than disabling picture cache, but from Comment 1, it seems to be expected regression.
Reporter | ||
Updated•6 years ago
|
Description
•