Running Firefox via Ubuntu Snap shows no WebGPU Adapters
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: jkratzer, Assigned: seb128)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
Running Firefox installed via the Ubuntu snap on trunk shows available WebGPU adapters in about:support.
Version: 120.0a1
Build ID: 20231013034657
Comment 1•2 years ago
|
||
I can reproduce this as well on Fedora. When I run a local Firefox build, about:support shows two WebGPU adapters, but when I do sudo snap install firefox --edge and then snap run firefox, about:support shows two null WebGPU adapters.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Mike, who can we talk to about this?
Comment 4•2 years ago
|
||
out of curiosity, snap connections firefox ? does WebGPU depends on mesa at some level ?
Comment 5•2 years ago
|
||
:gerard-majax: Mesa 22.2.5 is what we currently test on Wayland's soft-rendering CI, AIUI. We need it for a Vulkan adapter.
Updated•2 years ago
|
Confirmed, does anyone has some pointers on how firefox is querying for the GPUs available?
Comment 7•2 years ago
|
||
Looks like we just lack vulkan support within the Snap. Isn't GLES supposed to work ? If so, what is required for it ?
Trying to stage libvulkan and the vulkan drivers in the snap and tweaking the icd path isn't enough to get a gpu listed but it also displays that apparmor error
audit: type=1400 audit(1698087364.021:1473): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/igfx_user_feature.txt" pid=64382 comm="vaapitest" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
unsure if that's enough to make vulkan not working properly though
Comment 9•2 years ago
|
||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Upstream has a fix that adds Vulkan to the Snap package. Locally I can confirm on my AMD GPU that it now exposes in about:support, so you should likely re-test when it ships (next nightly ?)
Updated•2 years ago
|
| Reporter | ||
Comment 11•2 years ago
|
||
(In reply to :gerard-majax from comment #10)
Upstream has a fix that adds Vulkan to the Snap package. Locally I can confirm on my AMD GPU that it now exposes in
about:support, so you should likely re-test when it ships (next nightly ?)
I just verified this on the latest snap and the WebGPU adapters are visible.
Updated•1 year ago
|
Description
•