Closed Bug 1637972 Opened 5 years ago Closed 4 years ago

The browser crashes when viewing a page using the WebGPU

Categories

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

78 Branch
defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: y-shimano, Assigned: kvark)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36

Steps to reproduce:

I enabled WebGPU in Firefox Nightly and tried to access the following site.
I have enabled dom.webgpu.enabled and gfx.webrender.all as Firefox Nightly settings.

https://playground.babylonjs.com/indexWebGPU.html

Actual results:

browser has crashed.

Expected results:

I was hoping that the page would show up without crashing.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Graphics
Product: Firefox → Core
Severity: -- → S4
Component: Graphics → Graphics: WebGPU
Priority: -- → P3

Something funky going on here. The swapchain is created at a small size, but then by the time our buffer reaches presentation, it's larger size. So likely that it got resized, and our code doesn't properly check for this.

Blocks: 1602129

we recreate the swapchain on the size change

Assignee: nobody → dmalyshau
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: