WebGPU is not enabled! despite dom.webgpu.enabled = true
Categories
(Core :: Graphics, defect, P3)
Tracking
()
People
(Reporter: avatar, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
- set dom.webgpu.enabled = true
- went to https://hello-webgpu-compute.glitch.me/hello-compute-chromium.html
- pressed "Compute"
- brought up web console
Actual results:
Console says "InvalidStateError: WebGPU is not enabled!"
Expected results:
This did work previously, I think this broke after an update. There is no error message and all fields on the form populate when it works.
I had to install vulkan before it worked previously, so maybe something broke there. I'm not sure how to debug this.
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Misha, WebGPU is only enabled in Nightly. It's very experimental and unsafe!
Please feel free to re-open if it doesn't work in Nightly. Note that you generally need to enable both WebGPU and WebRender in order to render things, as described in https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#firefox, and restart the browser for these settings to take effect.
| Reporter | ||
Comment 3•6 years ago
|
||
WebGPU worked for me in a recent released version (not nightly). Would you be able to confirm that this got disabled recently, and is now only available in nightly, but not in any released version? If so, would it be possible to remove the dom.webgpu.enabled setting from non-nightly versions, to avoid the kind of confusion I am having?
Compiling nightly sounds like a task and I'd avoid it if possible.
| Reporter | ||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
bug 1616741 restricted WebGPU to Nightly. You don't need to compile: https://nightly.mozilla.org
| Reporter | ||
Comment 5•6 years ago
|
||
Cool, thanks!
Love this bit in the other bug report:
User impact if declined: Users may mistakenly assume that the browser supports WebGPU but the support is broken.
As demonstrated.
| Reporter | ||
Comment 6•6 years ago
|
||
Actually, wait, I mistakenly assumed the opposite, sort of. I thought it should work cause the switch was there, but it didn't.
Comment 7•6 years ago
•
|
||
Yeah, the WIP implementation has managed to ride into 75, but will not be in any other version until we decide it's ready.
Note that any manual pref switching may negatively impact the browser, technically, and there is a warning about that when you reach "about: config".
I think this can be closed, it works as expected in 76 (i.e. disabled).
Description
•