On https://lab.hakim.se/linjer/#diagonal , zooming-out to 30% quickly increases the memory to 4GB+ and Firefox may crash
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
enable gpu-canvas
Go to https://lab.hakim.se/linjer/#diagonal
Using the zoom button in the hanmurger menu, quickly zoom-out to 30%
AR: Memory quickly reaches 4GB+, and Firefox may crash.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Normal Canvas : https://share.firefox.dev/3O3QBEh
Accelerated Canvas : https://share.firefox.dev/3mZX0EN
FWIW, the profile with gpu-canvas appears to be busier in the content-process compared to the unaccelerated-canvas profile
Reporter | ||
Comment 2•2 years ago
|
||
Or you can just go to https://lab.hakim.se/ticktock/ and click on the page a few times
Reporter | ||
Comment 3•2 years ago
|
||
Reporter | ||
Comment 4•2 years ago
|
||
These pages are quite weird.. Sometimes they will OOM just by opening them in a tab. Other times, I need to zoom-out by 30% before they start to OOM.
This random behavior persists across new profiles and browser restarts
Edit: A nightly from January (with gpu-canvas enabled manually) also reproduces this behavior. This is strange because I am pretty sure i have tested this demo earlier and the bug didn't repro.
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
Fixed by bug 1793769
Bug 1793769 - Avoid recreating the main DrawTargetWebgl SharedContext. r=aosmond
For canvas users that rapidly create and destroy canvases, we may end up creating
a new SharedContext (and hence ClientWebGLContext) if there are no more canvases
left between destruction and creation. To work around this, just keep alive the
SharedContext for the main thread (other threads are unfortunately a bit tricky
to support) so that canvas creation remains fast in this instance.
Differential Revision: https://phabricator.services.mozilla.com/D158904
2022-10-24T15:48:00.312000: DEBUG : Did not find a branch, checking all integration branches
2022-10-24T15:48:00.320000: INFO : The bisection is done.
2022-10-24T15:48:00.322000: INFO : Stopped
Description
•