Closed Bug 810789 Opened 13 years ago Closed 2 years ago

Google slide deck hangs Firefox indefinitely with high GPU usage because of gradient painting

Categories

(Core :: Graphics, defect)

18 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kael, Unassigned)

References

()

Details

Opening the URL attached to this bug (A google slide deck) hangs Firefox indefinitely with extremely high GPU usage. I've reproduced this in Firefox Aurora (18.0a2 (2012-11-09)) and Firefox Nightly (19.0a1 (2012-11-08)) with a clean profile. My video card is a GeForce GTX 670, running driver 306.02 on Windows 7 x64.
My guess is we're painting the gradients too much...
Summary: Google slide deck hangs Firefox indefinitely with high GPU usage → Google slide deck hangs Firefox indefinitely with high GPU usage because of gradient painting
There seems to be a few issues here. One is an invalidation bug, which is fixed by the patches from bug 810470. The other is that the site is using -webkit-transform: transfrom3d() to force permanently active layers, and haven't added an equivalent hack for firefox (transform: translateZ(1px) would work). We then spend a lot of time transitioning between active/inactive layers for each slide which involves repainting the majority of the screen. One possible solution involves measuring the time taken to render transformed content and adjusting the inactivity timeout based on that.
Severity: normal → S3

Unable to reproduce in current versions.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.