Closed Bug 1878316 Opened 1 year ago Closed 1 year ago

WebGPU demo (https://react-webgpu-samples.vercel.app/) flashed the background (and rapid memory increase) when fiddling with the parameters and

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: mayankleoboy1, Assigned: sotaro)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Go to https://react-webgpu-samples.vercel.app/
Rapidly fiddle the first slider

AR:

  1. The black background flashes
  2. If you continue to rapidly fiddle with the slider, the memory will increase very rapidly.

ER: Not so

Attached file about:support
See Also: → 1877010

I did not see the problem with pref dom.webgpu.swap-chain.external-texture-dx12 = true on Windows. From it, remote texture seemed unregistered during readback.

The problem happens when using a raw buffer, and the swap chain is destroyed before the Readback callback is completed. In this case the present is aborted causing the flash. The webgpu canvas code needs to delay destruction till all readbacks are completed.

Severity: -- → S3
Assignee: nobody → sotaro.ikeda.g
Assignee: sotaro.ikeda.g → nobody
Blocks: webgpu-apps
Assignee: nobody → sotaro.ikeda.g
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/86120bd613f9 Defer SwapChain drop until readback complete r=lsalzman
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
QA Whiteboard: [qa-124b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: