Open Bug 1888749 Opened 6 months ago Updated 27 days ago

[WebGPU] Demos on linebender (https://linebender.org/velato/) do not finish loading

Categories

(Core :: Graphics: WebGPU, defect, P3)

defect

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

Go to one of the linebender demos : https://linebender.org/velato/ OR https://linebender.org/vello/

AR: Nightly doesnt finish loading. I gave up after ~3minutes.

https://share.firefox.dev/3TD74n8

This may end up blocking bug 1885217

Severity: -- → S3
Priority: -- → P3

I'd recommend opening the web console when you get unexpected page output like this. Looking at it myself yields an immediate lead for resolving this:

Uncaught TypeError: getObject(...).dispatchWorkgroupsIndirect is not a function
    __wbg_dispatchWorkgroupsIndirect_cfc6272439398a21 https://linebender.org/velato/with_winit_bin.js:838
    __wbg_adapter_66 https://linebender.org/velato/with_winit_bin.js:248
    real https://linebender.org/velato/with_winit_bin.js:209
    __wbg_queueMicrotask_481971b0d87f3dd4 https://linebender.org/velato/with_winit_bin.js:925
    __wbg_adapter_66 https://linebender.org/velato/with_winit_bin.js:248
    real https://linebender.org/velato/with_winit_bin.js:209
    promise callback*__wbg_get_imports/imports.wbg.__wbg_then_a73caa9a87991566 https://linebender.org/velato/with_winit_bin.js:1424
    __wbg_adapter_66 https://linebender.org/velato/with_winit_bin.js:248
    real https://linebender.org/velato/with_winit_bin.js:209
    __wbg_queueMicrotask_481971b0d87f3dd4 https://linebender.org/velato/with_winit_bin.js:925
    __wbg_adapter_66 https://linebender.org/velato/with_winit_bin.js:248
    real https://linebender.org/velato/with_winit_bin.js:209
    promise callback*__wbg_get_imports/imports.wbg.__wbg_then_a73caa9a87991566 https://linebender.org/velato/with_winit_bin.js:1424
    __wbg_adapter_66 https://linebender.org/velato/with_winit_bin.js:248
    real https://linebender.org/velato/with_winit_bin.js:209
    __wbg_queueMicrotask_481971b0d87f3dd4 https://linebender.org/velato/with_winit_bin.js:925
    __wbg_finalize_init https://linebender.org/velato/with_winit_bin.js:1552
    __wbg_init https://linebender.org/velato/with_winit_bin.js:1588
    async* https://linebender.org/velato/:5
with_winit_bin.js:838:25

Indirect dispatch is blocked on at least bug 1786566. You can experiment with our current (definitely not safe) implementation in a sandbox with dom.webgpu.indirect-dispatch.enabled set to true in about:config in the meantime. This will expose the GPUComputePassEncoder.dispatchWorkgroupsIndirect method and at least let JS execution move on from where it's currently getting blocked.

Blocks: webgpu-v1
No longer blocks: webgpu-phase-2
You need to log in before you can comment on or make changes to this bug.