ZeroCopyRasterBuffer::Playback taking ~45ms per frame |
|||||
Issue descriptionURL: https://arstechnica.com/gaming/2016/09/mansions-of-madness-review-let-an-app-be-your-dungeon-master/ Trace: https://drive.google.com/open?id=0B5eS4VhPbSBzeGcxSV9aMF9pZGpTclIxUGtpbG9MTjFEY3RF (Google-only) Chrome 56, running on Mac. We were trying to figure out why the fans were going, since we weren't scrolling or anything. I see there's quite a lot of activity in the GPU process, and it seemed to be causing everything else to be descheduled. vmiura/ccameron, is this unexpected?
,
Jan 26 2017
Ooops, actually, ZeroCopyRasterBuffer means it's doing CPU raster. So the GPU probably still doesn't matter because it's drawing what it rasterized.
,
Jan 26 2017
And, to make things even more strange, the GPU process is spending lots of time doing TexImage2D (which is characteristic of one-copy, not zero-copy).
,
Jan 26 2017
For the TexImage2Ds mentioned in #3, it looks like all these requests are coming from the Offscreen-MainThread context, which is used for Canvas and Video. I wasn't able to repro this pattern locally (although I did get overall slow raster), but my guess is that there was an ad on screen which was really hammering Canvas2D (on the order of 228 texture uploads a frame). Other than throttling the Canvas for content we think is less important, not sure there's too much we can do about this issue. I'll continue looking into the long raster times, which may be unrelated.
,
Jan 26 2017
Something on the page is vetoing us out of using Ganesh, and the software raster time for whatever was invalidating was high, plus as ericrk@ mentioned there was some heavy 2D Canvas work happening in an Ad.
,
Jan 27 2017
senorblanco@, Ganesh is vetoed on this page. I'd be curious what is causing the veto.
,
Apr 19 2017
I don't see the Ganesh veto happening here on Mac or Windows -- GPU raster is on for me. Perhaps the page content changed? Or a particular ad had some complex path content? At any rate, if the uploads are caused by canvas and video, Ganesh may not make a huge difference.
,
Apr 20 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 20 2018
Since so much has changed since this was filed (e.g. the path veto no longer vetoes to software raster), I'm going to close this. If you can still repro, feel free to re-open. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ccameron@chromium.org
, Jan 26 2017