Open Bug 1922884 Opened 1 month ago Updated 13 days ago

webgpu demo doesnt run on Nightly, runs on Chrome

Categories

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

defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr128 --- unaffected
firefox131 --- unaffected
firefox132 --- disabled
firefox133 --- disabled

People

(Reporter: mayankleoboy1, Assigned: ErichDonGubler)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

Go to https://wgpu-game-of-life.fornwall.net/#rule=1&size=64&seed=0&density=29&gps=30

Demo doesnt run

Error:

panicked at src/web.rs:174:6:
called Result::unwrap() on an Err value: "request_device failed: JsValue(OperationError: requestDevice: Limit 'maxInterStageShaderComponents' not recognized.\n469/O/e.wbg.__wbg_requestDevice_54ad28aad4c2485d@https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1:12557\n@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[697]:0x49a6e\n@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[336]:0xf09a\n@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[436]:0x377e3\n@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[1122]:0x5932f\n@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[1170]:0x597ee\nv@https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1:2753\nc@https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1:2284\n)"

Stack:

469/O/e.wbg.__wbg_new_abda76e883ba8a5f@https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1:5273
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[1361]:0x5bca7
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[535]:0x402be
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[960]:0x56873
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[735]:0x4fbe9
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[336]:0x10d2a
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[436]:0x377e3
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[1122]:0x5932f
@https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:wasm-function[1170]:0x597ee
v@https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1:2753
c@https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1:2284

bundle-home-c73bbc546bf9990c3d69.js:1:5501
__wbg_error_f851667af71bcfc6 https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:376201
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:262846
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:354419
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:326633
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:68906
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:227299
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:365359
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:366574
v https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1
c https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1
12:53:26.942
Uncaught RuntimeError: unreachable executed
v https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1
c https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1
asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:262884:1
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:262884
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:354419
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:326633
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:68906
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:227299
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:365359
<anonymous> https://wgpu-game-of-life.fornwall.net/asset-wgpu_game_of_life_bg-42683632c772392e924e.wasm:366574
v https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1
c https://wgpu-game-of-life.fornwall.net/bundle-home-c73bbc546bf9990c3d69.js:1

This is a regression.
Bisection was not accurate as the site doesnt load sometimes. But possibly the regressor is bug 1919404
Demo runs on Chrome release.

Attached file about:support
Keywords: regression
Regressed by: 1919404

Set release status flags based on info from the regressing bug 1919404

:ErichDonGubler, since you are the author of the regressor, bug 1919404, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Severity: -- → S3
Flags: needinfo?(egubler)

Discussion upstream: https://github.com/gfx-rs/wgpu/issues/6290#issuecomment-2395263426

TL;DR: This is me forcing Firefox to adhere to a new spec. revision early. It doesn't break in Chrome, but it will eventually. We need to fix web-sys as a downstream of the WebGPU IDL, which hasn't caught up yet, and then update WGPU. As a stopgap, we can backport just the deletion of maxInterStageComponents to WGPU's WebGPU backend.

Assignee: nobody → egubler
Status: NEW → ASSIGNED
Priority: -- → P2

Just filed a PR upstream to fix it, which I've verified as working locally: fornwall/wgpu-game-of-life#1

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

Attachment

General

Creator:
Created:
Updated:
Size: