GPU not available in snap

Bug #2051298 reported by Pavel Rojtberg
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
New
Unknown
nvidia-graphics-drivers-545 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

with 545 the GPU is no longer available to snaps. Try e.g. launching firefox and look at about:support.

Revision history for this message
In , Rojtberg-o (rojtberg-o) wrote :

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

use firefox snap on:
- Ubuntu 22.04
- 6.5.0-15-generic #15~22.04.1-Ubuntu
- NVIDIA-SMI 545.29.06

Actual results:

apparmor="DENIED" operation="symlink" class="file" profile="snap.firefox.firefox" name="/dev/char/195:255" pid=9680 comm="glxtest" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

leads to firefox running on software rendering in about:support:

GPU1: llvmpipe (LLVM 15.0.7, 256 bits)

Expected results:

firefox running on the GPU:

GPU1: NVIDIA GeForce GTX 1080/PCIe/SSE2

output of the firefox-122.0.tar.bz2 version.

Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Revision history for this message
In , Rojtberg-o (rojtberg-o) wrote :

ok, this seems to be rather a snap bug as none of my installed snaps get GPU access right now

Revision history for this message
In , Rojtberg-o (rojtberg-o) wrote :

the issue is NVIDIA 545. Downgrading to 535 fixes this

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-545 (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Lissyx+mozillians (lissyx+mozillians) wrote :

Do you have multiple GPUs ? Can you share `about:support` ?

(In reply to rojtberg from comment #2)
> ok, this seems to be rather a snap bug as none of my installed snaps get GPU access right now

Can you elaborate what are those Snaps? Firefox versions or other software ?

Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit [BugBot documentation](https://wiki.mozilla.org/BugBot#prod_comp_changed_with_priority.py).

Revision history for this message
In , Rojtberg-o (rojtberg-o) wrote :

> Do you have multiple GPUs ?

no, only a single GPU. Its a desktop machine. I have downgraded the driver so I dont think about:support would create anything but noise.

> Can you elaborate what are those Snaps?

Anything really. e.g. https://snapcraft.io/ogre crashed with some EGL init error.

Changed in firefox:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.