[GPU-canvas] Rapid memory increase on a Playcanvas demo with deliberate injection of simple error
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
|
39.98 KB,
text/plain
|
Details |
Use default canvas on Win11 (this should be gpu-canvas as of today)
Go to https://pixijs.com/8.x/playground?exampleId=graphics.fillGradient
Let the page load/compile till the two ring-type things appear on the demo-pane
Scroll down the code area
Where it says tick += 0.025;
Change it to tick += 0.02--5;
Let the error message appear on the demo-pane
AR: The memory increases rapidly to about 17MB/second
ER: Not so
Note that the page has 2 memory leaks:
- The rapid 17mb/s memory leak occurring only with Firefox+gpu-canvas
- slower 2mb/s leak that sometimes occur with Firefox and sometimes with Chrome
Bisection for the first case:
Bug 1829026 - Handle KERN_ABORTED from semaphore_wait. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D195952
| Reporter | ||
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
Set release status flags based on info from the regressing bug 1829026
:lsalzman, since you are the author of the regressor, bug 1829026, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 3•1 year ago
|
||
Kelsey, it seems like this is rendering directly with WebGL via PixiJS without going through Canvas2D. Any idea where the memory usage is coming from in WebGL here?
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Set release status flags based on info from the regressing bug 1829026
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 5•1 year ago
•
|
||
(In reply to Mayank Bansal from comment #0)
Where it says
tick += 0.025;
Change it totick += 0.02--5;
Let the error message appear on the demo-pane
I don't see any code that looks like that in there, the closest similar code is container.rotation -= 0.01 * time.deltaTime;, perhaps this example changed since the bug was opened?
I tried adding --5 to that line but it didn't affect memory usage (either CPU or GPU side).
| Reporter | ||
Comment 6•1 year ago
|
||
i cant repro too.
Updated•1 year ago
|
Description
•