Closed Bug 1887909 Opened 2 years ago Closed 2 years ago

Update WGPU to upstream (week of 2024-03-26)

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: ErichDonGubler, Assigned: ErichDonGubler)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.

I'll take on this one, since :teoxoy is out.

Blocks: 1883481
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5bdc4db1e756 Update WGPU to b34219ca214caea2af86dbb64a2a2b613ea5198c (`trunk` as of 2024-03-26) r=webgpu-reviewers,supply-chain-reviewers,nical https://hg.mozilla.org/integration/autoland/rev/18a3f41af0ed test(webgpu): update lone subtest `TIMEOUT` or `NOTRUN` `expectations` to be `[TIMEOUT, NOTRUN]` r=webgpu-reviewers,nical,teoxoy
Regressions: 1888705

Investigating posthaste!

Flags: needinfo?(egubler)

In the logs, dom/webgpu/mochitest/test_command_buffer_creation.html times out. This is because the mochitest that ran immediately before it, dom/webgpu/mochitest/test_buffer_mapping_invalid_device.html, has hung the GPU process trying to clean up device resources.

Specifically, wgpu_core::device::Device::maintain takes a &SnatchGuard argument, meaning that its caller must have a read guard on the device's snatch lock. However, mantain calls Device::release_gpu_resources, which calls Buffer::destroy, which tries to acquire a write guard on the snatch lock. Probably a similar problem would occur with Texture::destroy.

See Also: → 1888705
See Also: 1888705
Attachment #9393300 - Attachment description: Bug 1887909 - Update WGPU to b34219ca214caea2af86dbb64a2a2b613ea5198c (`trunk` as of 2024-03-26) r=#webgpu-reviewers! → Bug 1887909 - update WGPU to 0c5bebca514eb06d9387f87666c1c658f3f673b4 (`trunk` as of 2024-04-02) r=#webgpu-reviewers!
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3ae3d83aae40 test(webgpu): update lone subtest `TIMEOUT` or `NOTRUN` `expectations` to be `[TIMEOUT, NOTRUN]` r=webgpu-reviewers,nical,teoxoy https://hg.mozilla.org/integration/autoland/rev/f6e62f23a6dc test(webgpu): update current expected outcomes for CTS tests r=webgpu-reviewers,nical https://hg.mozilla.org/integration/autoland/rev/4fbd7bf93c96 update WGPU to 0c5bebca514eb06d9387f87666c1c658f3f673b4 (`trunk` as of 2024-04-02) r=webgpu-reviewers,supply-chain-reviewers,nical
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: