Canvas animations stutter on iMac Retina 5K with Radeon R9 M390 |
|||||
Issue description+cc people from issues 613272 and 614468 because about:gpu references them. Chrome Version: 61.0.3163.91 OS version: 10.12.6 1. open test.html 2. click and press left and right to move the box 3. expect smooth movement The box stutters on my iMac. It's a 27-inch 5K Retina with a Radeon R9 M390. Same problem in Canary (63.0.3227.0). The animation is smooth in Safari and Firefox on the same machine. Also tried on an old Macbook Pro with a Intel Iris Pro 1536 MB and it's smooth in every browser there, including Chrome. The salient differences in about:gpu are "CheckerImaging: Disabled" and "Rasterization: Software only, hardware acceleration unavailable" in the iMac. Force-enabling "GPU rasterization" in about:flags doesn't make a difference. FWIW the FPS meter from the devtools shows consistent 60 FPS and there's nothing fishy in the performance inspector either. But the stuttering is quite noticeable and very jarring. I'm available to try patches on this machine and run performance/stability tests, if needed.
,
Sep 29 2017
What kind of trace did you mean? I've attached a Javascript+Rendering trace from about:tracing. Do you need another one? Enabling or disabling "Color correct rendering" didn't make a difference. The stuttering is definitely noticeable but I don't know if it's a regression. The box seems to jump ahead a bit more than it should about 5-10% of the frames. Looking more carefully, it does seem like frames are rendering out of order. There is a "tail" ghost behind the box whenever it jumps, which may be caused by the ooo frame. I can try the patch but it will take a while to prepare a build :-) OTOH, the Canary at 63.0.3227.0 has the same problem (and already includes that patch.) FWIW the Canary doesn't have the "Color correct rendering" flag.
,
Sep 30 2017
As expected, the build from head has the same problems and already includes [1]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/579690
,
Oct 2 2017
,
Oct 2 2017
> FWIW the Canary doesn't have the "Color correct rendering" flag. I know that's why I asked to try it on M61. Okay, so this is not a regression AFAICT. I can confirm that I am able to repro on iMac 27" Retina 5K/ AMD Radeon R9 M390. There is nothing fishy with the trace. The one I was able to generate locally look pretty much the same as the one in #2. I tried running with --disable-2d-canvas-image-chromium (hardware overlay mode) and there was still stuttering. After observing the problem closely: I am pretty sure we are not dealing with frames being out of order (that type of artifact is easy to recognize because the animation janks backwards when it happens). What we have is more likely a case of dropped/doubled frames. This should not be happening when the system is under such light load. This looks like a problem with vsync alignment IMHO Re-triaging as a GPU scheduling issue.
,
Oct 2
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
,
Oct 2
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by junov@chromium.org
, Sep 29 2017Owner: junov@chromium.org
Status: Assigned (was: Untriaged)