Closed Bug 1852492 Opened 1 year ago Closed 4 months ago

WebGPU demo (https://yuu6883.github.io////WebGPUDemo/?cloth) doesnt run in Nightly

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

+++ This bug was initially created as a clone of Bug #1852491 +++

enable webgpu
go to https://yuu6883.github.io////WebGPUDemo/?cloth

ER: demo should run.
AR: demo doesnt run. Chrome is able to run the demo
13:46:47.535
GPUSupportedLimits { maxTextureDimension1D: 8192, maxTextureDimension2D: 8192, maxTextureDimension3D: 2048, maxTextureArrayLayers: 256, maxBindGroups: 4, maxBindGroupsPlusVertexBuffers: 12, maxBindingsPerBindGroup: 1000, maxDynamicUniformBuffersPerPipelineLayout: 8, maxDynamicStorageBuffersPerPipelineLayout: 4, maxSampledTexturesPerShaderStage: 16 }
index.js:2:250375
13:46:47.566
Encountered one or more errors while creating shader module
13:46:47.567
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
13:46:47.567 Error matching shader requirements against the pipeline, caused by: Shader module is invalid
13:46:47.567 Bind group layout is invalid
13:46:47.570 Total cloth triangles: 7938 index.js:2:193807
13:46:47.571
GPUSupportedLimits { maxTextureDimension1D: 8192, maxTextureDimension2D: 8192, maxTextureDimension3D: 2048, maxTextureArrayLayers: 256, maxBindGroups: 4, maxBindGroupsPlusVertexBuffers: 12, maxBindingsPerBindGroup: 1000, maxDynamicUniformBuffersPerPipelineLayout: 8, maxDynamicStorageBuffersPerPipelineLayout: 4, maxSampledTexturesPerShaderStage: 16 }
index.js:2:252055
13:46:47.582 In a set_pipeline command, caused by: Compute pipeline (19, 1, Vulkan) is invalid
13:46:47.582 Command encoder is invalid
13:46:47.582 In a set_pipeline command, caused by: Compute pipeline (18, 1, Vulkan) is invalid
13:46:47.582 In a pass parameter, caused by: Command encoder is invalid

No longer depends on: 1852491

We don't yet support passing consts to attributes. Will be fixed by 1822096.

Severity: -- → S3
Depends on: 1822096, webgpu-apps
See Also: → 1872858

The page in question's execution in Firefox appears to have rough parity with Chrome now, minus a long compilation period caused by webgpu-fxc.

No longer blocks: webgpu-triage
Depends on: webgpu-fxc
Priority: -- → P3
Depends on: 1893188
Blocks: webgpu-apps
No longer depends on: webgpu-apps

This now WFM. mayankleoboy01, can you confirm that this issue is resolved for you?

Flags: needinfo?(mayankleoboy1)

I dont get any errors/warnings in the console now.
That said, the demo still doesnt draw anything on the screen (bug 1885217), so I cant say if it "works" for me.
However, if you are able to get the demo to work on a non-windows OS, I am happy to close this bug.

Status: NEW → RESOLVED
Closed: 4 months ago
Flags: needinfo?(mayankleoboy1)
Resolution: --- → WORKSFORME

I'm able to confirm MacOS and Windows working (with enough waiting in the latter case). I think we're good to go here. 👍🏻

This runs a lot slower in FF than Chrome. I filed bug 1913426

You need to log in before you can comment on or make changes to this bug.