"Terminate GPU process" on many canvas2d type demos completely freezes the browser for a long time (30s-1m) and then fallback to sw-wr
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox123 | --- | unaffected |
| firefox124 | --- | wontfix |
| firefox125 | --- | wontfix |
| firefox126 | --- | verified |
People
(Reporter: mayankleoboy1, Assigned: lsalzman, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(5 files)
- Go to https://devnook.github.io/OffscreenCanvasDemo/use-with-lib.html
- Open about:support in a new tab and drag it out to create a new Window.
- Place the demo window and about:support side-by-side so tthat both are visible
- In the about:support tab, click on "terminate the gpu process"
AR: The whole browser goes white and freezes.
ER: Not so?
Full disclosure that the STR are quite deliberate to stress-test firefox.
Regressed by:
Bug 1877010 - Track forwarder transaction ids for RemoteTextureMap with WebGL and WebGPU. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D199876
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
|
||
| Reporter | ||
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Set release status flags based on info from the regressing bug 1877010
| Assignee | ||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
:lsalzman, since you are the author of the regressor, bug 1877010, could you take a look?
For more information, please visit BugBot documentation.
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Comment 5•1 year ago
|
||
Crash from using the firefox crash utility: https://crash-stats.mozilla.org/report/index/999a9d5b-7643-42f6-98fb-71c4c0240311#tab-details
| Reporter | ||
Comment 6•1 year ago
|
||
This still repros with the fix from bug 1887729
Updated•1 year ago
|
| Assignee | ||
Comment 7•1 year ago
|
||
It seems like Canvas2D and WebGPU already avoid sending over invalid owner ids in GetFrontBuffer.
WebGL, however, can still blindly send an invalid texture owner id when the actor is being destroyed,
but the WebGL context is still alive.
Updated•1 year ago
|
| Assignee | ||
Comment 9•1 year ago
|
||
Comment 10•1 year ago
|
||
| bugherder | ||
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
| bugherder | ||
| Reporter | ||
Comment 13•1 year ago
|
||
This is fixed for me on the latest Nightly.
Updated•1 year ago
|
Reproduced the issue using Firefox 125.0a1 (2024-02-23) on Windows 10x64. After clicking Terminate the GPU process on about:support page the browser goes white and freezes.
Firefox no longer freezes and the compositing remains to Webrender with Firefox 126.0a1(20240403093409) from comment 12 (Terminate GPU process is not available in 126.0 RC1) on Windows 10x64. However, sometimes the white window remains for some time, especially on the one with the test page loaded. Also, the test page does not fully reload (the canvas frames are empty) after the windows are painted. Is this expected? I have also attached a screen recording. Thank you!
| Assignee | ||
Comment 15•1 year ago
|
||
If you tear down the GPU process, that it might take a few moments for the canvases to recognize that the GPU is gone and they need to restart.
(In reply to Lee Salzman [:lsalzman] from comment #15)
If you tear down the GPU process, that it might take a few moments for the canvases to recognize that the GPU is gone and they need to restart.
Thank you! Closing this as verified per comments 14 and 15.
Description
•