navigator.gpu.requestAdapter() throws error: "Uncaught DOMException: No matching adapter found!"
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: levimwill, Assigned: kvark)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Steps to reproduce:
The following JavaScript was executed in Firefox nightly running on NixOS:
if(navigator.gpu)
const adapter = await navigator.gpu.requestAdapater()
Actual results:
The following error was displayed in the console:
"Uncaught DOMException: No matching adapter found!"
The following error was displayed in the terminal Firefox Nightly was launched from:
"Validation error without device target: no suitable adapter found"
Expected results:
The returned adapter from navigator.gpu.requestAdapter()
should either be an GPU adapter object or null.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:kvark, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Updated•1 years ago
|
Description
•