[meta] Ensure that official WebGPU samples work (except for `rgba16float` canvas formats)
Categories
(Core :: Graphics: WebGPU, task, P3)
Tracking
()
People
(Reporter: nical, Unassigned)
References
(Depends on 3 open bugs, Blocks 1 open bug, )
Details
(Keywords: meta)
Meta bug to track outstanding spec compliance and stability issues preventing us from running WebGPU demos (picking Austing Eng's because I think they are to date withe the spec https://austin-eng.com/webgpu-samples)
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Comment hidden (obsolete) |
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Comment hidden (obsolete) |
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
We're not going to worry about video import for now.
Updated•3 years ago
|
Updated•3 years ago
|
| Comment hidden (obsolete) |
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Updated•1 year ago
|
Comment 8•1 year ago
•
|
||
One of Mozilla's partners has indicated that videoUploading (note, no WebCodecs) is critical to them. Let's be sure to include that in our goals.
That is: https://webgpu.github.io/webgpu-samples/?sample=videoUploading
Updated•1 year ago
|
| Comment hidden (obsolete) |
Comment 10•1 year ago
•
|
||
Diff since last update:
-
metaballs,bundleCulling, andmarchingCubesare now resolved. -
On Windows,
animometerandrenderBundlesreports an OOM issue that invalidates the device (bug 1962806)Uncaught Error: uncaught exception, please report a bug! https://github.com/webgpu/webgpu-samples/issues/new Error: Uncaptured error: Not enough memory left.I cannot reproduce this issue on macOS, on which these demos work fine now.
-
On Windows,
bitonicSortnow causes a crash in theCanvasRendererthread, reporting device loss withWebGPUChild destroyed; filed bug 1962807.On macOS, this crash does not happen, though the demo does go significantly more slowly than in Chrome Beta on Windows.
Running list of observed problems (mostly tested on Windows 11):
animometerandrenderBundleshave crashes on Windows (see above).- Bug 1953930: These continue to report
Pipeline constant error in ShaderStages(FRAGMENT) shader: …:samplerParameters:MissingValue("kTextureBaseSize")cornell:MissingValue("AccumulationToLightmapWorkgroupSizeX")
bitonicSortnow runs on macOS, though there's a new crashing issue on Windows (see above).particlesfails and reportsOperationError: GPUCanvasContext.getCurrentTexture: Canvas not configuredin the console (bug 1967329).a-buffer's alpha blending is wrong, but otherwise runs. This seems like a similar root cause to bug 1911502.resizeObserverHDDPIcontinues to display artifacts on resize (bug 1960101).marchingCubescontinues to struggle to do more than a few frames per second (bug 1937100, which need not keep this bug open).
Updated•1 year ago
|
| Comment hidden (obsolete) |
Comment 12•1 year ago
•
|
||
Bug 1834395 tracks the cause of the current failure in the particles demo, GPUCanvasContext.getCurrentTexture: Canvas not configured. This error appears concurrently with the errors due to bug 1960112 in affected builds. In my triage on April 11, I must have either missed this issue, or assumed it was a consequence of the other problem.
| Comment hidden (obsolete) |
Updated•1 year ago
|
Comment 14•1 year ago
|
||
Since Firefox won't support rgba16float presentation in 2025H1, the particles demo is now out of scope for this bug.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 15•1 year ago
|
||
I tested all samples on macOS, almost all work, 3 run into known issues:
- https://webgpu.github.io/webgpu-samples/?sample=particles (Bug 1834395, platform agnostic)
- https://webgpu.github.io/webgpu-samples/?sample=resizeObserverHDDPI (Bug 1960101, platform agnostic)
- (new sample) https://webgpu.github.io/webgpu-samples/?sample=primitivePicking (Bug 1989116, platform agnostic)
Updated•1 year ago
|
Description
•