Open Bug 1946934 Opened 17 days ago Updated 6 days ago

`requestDevice` fails on latest nightly on adapters that support SM6.7

Categories

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

Firefox 137
Desktop
Windows
defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- disabled
firefox137 --- affected

People

(Reporter: Tom25519, Assigned: teoxoy)

References

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

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

Go to WebGPU demo https://demo.servo.org/experiments/webgpu-game-of-life/.

Actual results:

It couldn't run on latest nightly 137.0a1.

Expected results:

This bug shouldn't appear.

I'm not running into this issue on my M1 MacBook Pro. What platform are you using?

Blocks: webgpu-apps
Severity: -- → S3
Flags: needinfo?(Tom25519)

(In reply to Erich Gubler [:ErichDonGubler] from comment #1)

I'm not running into this issue on my M1 MacBook Pro. What platform are you using?

Windows 11 x64.

Flags: needinfo?(Tom25519)
OS: Unspecified → Windows
Hardware: Unspecified → Desktop

A few requests:

  1. Can you please attach the report from about:support as an attachment to this bug, using the text from Copy raw data to clipboard? You can paste directly into comment entry here, and Bugzilla will ask you if you want to create an attachment.
  2. Can you please paste the console log output of the page? You can do this by using the shortcut documented at Opening the Web Console, right-clicking on the message area, and clicking the Save all Messages to File menu item. Again, you can paste directly into comment entry here, and if it's too big, Bugzilla will ask you if you want to create an attachment.
Flags: needinfo?(Tom25519)
Attached file about:support

GET
https://demo.servo.org/favicon.ico
[HTTP/3 404 0ms]

TLA Err: InvalidStateError: Unable to fulfill requested features and limits webgpu-game-of-life:344:21

Flags: needinfo?(Tom25519)

Ahh, I suspect that this is because we enabled DXC for usage with DirectX12 on Windows, and it appears to have caused some regressions with devices getting initialized.

CC :teoxoy, who is also experiencing these symptoms.

Keywords: regression
Regressed by: 1940700

:nical, since you are the author of the regressor, bug 1940700, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(nical.bugzilla)

wgpu is assuming that SM6.7 is supported by the DXC dll but the current DXC dll we ship in nightly (version 1.6.2112.16 e8295973c) only supports up to SM6.6.

The fix landed upstream https://github.com/gfx-rs/wgpu/pull/7167 - we just need to use the new max_shader_model field when we do the next update.

Depends on: webgpu-update-wgpu
Summary: WebGPU demo https://demo.servo.org/experiments/webgpu-game-of-life/ couldn't run on latest nightly → `requestDevice` fails on latest nightly on adapters that support SM6.7
Assignee: nobody → ttanasoaia
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1

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

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

Attachment

General

Creator:
Created:
Updated:
Size: