Open Bug 721229 Opened 13 years ago Updated 2 years ago

Canvas causes spiking VRAM usage leading to usability issues

Categories

(Core :: Graphics: Canvas2D, defect)

x86
Windows 7
defect

Tracking

()

REOPENED

People

(Reporter: bas.schouten, Unassigned)

References

(Blocks 1 open bug, )

Details

There's a canvas demo at http://realcctv.blogspot.com/p/html5-sparkle.html which leads to a spike in VRAM/RAM usage and slows Firefox to a crawl, before causing severe system usability issues.
There's a lot of radial-gradient creation in there....  Could that be part of the problem?
(In reply to Boris Zbarsky (:bz) from comment #1)
> There's a lot of radial-gradient creation in there....  Could that be part
> of the problem?

It could be, we allocate textures in memory in order to draw radial gradients so it could be related, particularly if they don't get freed/garbagecollected in time.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Duped the wrong bug.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Firefox with E10S enabled is using a huge amount of VRAM (assuming that HWA is enabled)this is a huge problem (battery related) for notebooks with less than 1GB of video memory
Blocks: 1071058
Can not reproduce on Firefox 56 (with or without advanced layers)

looks resolved to me.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.