No nvidia gpu detected on snap
Categories
(Firefox Build System :: Third Party Packaging, defect, P4)
Tracking
(Not tracked)
People
(Reporter: mar.kolya, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
Installed fresh Ubuntu 11:10 with nvidia binary drivers
installed firefox snap (edge, tried beta - same result)
Actual results:
Firefox doesn't detect nvidia GPU and runs with software rendering
Expected results:
Nvidia GPU should have been detected.
Using 'direct' (non snap) version correctly detects and uses nvidia GPU on the same host.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 2•2 years ago
|
||
FWIW: it looks more like snap packaging issue rather than actual firefox issues.
Also correction: I used ubuntu 22:10
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
(In reply to Nikolay Martynov from comment #0)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
Installed fresh Ubuntu 11:10 with nvidia binary drivers
installed firefox snap (edge, tried beta - same result)Actual results:
Firefox doesn't detect nvidia GPU and runs with software rendering
Expected results:
Nvidia GPU should have been detected.
Using 'direct' (non snap) version correctly detects and uses nvidia GPU on the same host.
Ubuntu 11.10 ? I suspect you meant 22.10. Please share about:support
Updated•2 years ago
|
Reporter | ||
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
Can you share snap connections firefox
?
Reporter | ||
Comment 6•2 years ago
|
||
Reporter | ||
Comment 7•2 years ago
|
||
Interface Plug Slot Notes
audio-playback firefox:audio-playback :audio-playback -
audio-record firefox:audio-record :audio-record -
avahi-observe firefox:avahi-observe :avahi-observe -
browser-support firefox:browser-sandbox :browser-support -
camera firefox:camera :camera -
content[gnome-3-38-2004] firefox:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004 -
content[gtk-3-themes] firefox:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[hunspell-dictionaries] firefox:hunspell-dictionaries hunspell-dictionaries-1-7-2004:hunspell-dictionaries -
content[icon-themes] firefox:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] firefox:sound-themes gtk-common-themes:sound-themes -
cups-control firefox:cups-control :cups-control -
dbus - firefox:dbus-daemon -
desktop firefox:desktop :desktop -
desktop-legacy firefox:desktop-legacy :desktop-legacy -
gsettings firefox:gsettings :gsettings -
hardware-observe firefox:hardware-observe :hardware-observe -
home firefox:home :home -
joystick firefox:joystick :joystick -
mount-control firefox:host-hunspell :mount-control -
mpris - firefox:mpris -
network firefox:network :network -
network-bind firefox:network-bind :network-bind -
network-observe firefox:network-observe - -
opengl firefox:opengl :opengl -
personal-files firefox:dot-mozilla-firefox :personal-files -
removable-media firefox:removable-media :removable-media -
screen-inhibit-control firefox:screen-inhibit-control :screen-inhibit-control -
system-files firefox:etc-firefox :system-files -
system-packages-doc firefox:system-packages-doc :system-packages-doc -
u2f-devices firefox:u2f-devices :u2f-devices -
unity7 firefox:unity7 :unity7 -
upower-observe firefox:upower-observe :upower-observe -
wayland firefox:wayland :wayland -
x11 firefox:x11 :x11 -
Reporter | ||
Comment 8•2 years ago
|
||
Not sure if this is related, but I also get this in STDOUT of snap firefox:
$ firefox
Gtk-Message: 09:35:16.484: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Gtk-Message: 09:35:19.299: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[ERROR glean_core] Error setting metrics feature config: Json(Error("EOF while parsing a value", line: 1, column: 0))
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
[fluent] Missing message in locale en-CA: webgpu-default-adapter
[fluent] Missing message in locale en-CA: webgpu-fallback-adapter
[fluent] Missing message in locale en-CA: webgpu-default-adapter
[fluent] Missing message in locale en-CA: webgpu-fallback-adapter
I wonder if libEGL warning: DRI2: failed to create dri screen
is related.
Comment 10•2 years ago
|
||
Hi folks,
I'm told that using the core22 version of the desktop-launcher might help with this. We have a WIP core22-based version of the Firefox snap on a candidate channel, if you'd like to give it a try and see if it helps: sudo snap refresh --channel=candidate/core22 firefox
Comment 11•2 years ago
|
||
(In reply to Amin Bandali [:bandali] from comment #10)
Hi folks,
I'm told that using the core22 version of the desktop-launcher might help with this. We have a WIP core22-based version of the Firefox snap on a candidate channel, if you'd like to give it a try and see if it helps:
sudo snap refresh --channel=candidate/core22 firefox
Hi Amin, it looks like same the same using that candidate on the AMD end:
kain@kain-G5-5505:~$ snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
bitwarden 2023.2.0 83 latest/stable bitwarden✓ -
code ee2b180d 122 latest/stable vscode✓ classic
core 16-2.58.3 14946 latest/stable canonical✓ core
core18 20230308 2714 latest/stable canonical✓ base
core20 20230308 1852 latest/stable canonical✓ base
core22 20230304 547 latest/stable canonical✓ base
dbeaver-ce 23.0.0.202303040621 221 latest/stable dbeaver-corp -
discord 0.0.25 150 latest/stable snapcrafters -
firefox 111.0-2 2453 latest/candidate/… mozilla✓ -
gaming-graphics-core22 23.0.0~kisak1~j 41 kisak-fresh/stable canonical✓ -
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 161 latest/stable canonical✓ -
gnome-3-38-2004 0+git.6f39565 119 latest/stable/… canonical✓ -
gnome-42-2204 0+git.09673a5 65 latest/stable/… canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
snap-store 41.3-76-g2e8f3b0 935 latest/stable/… canonical✓ -
snapd 2.58.3 18596 latest/stable canonical✓ snapd
snapd-desktop-integration 0.1 71 latest/stable/… canonical✓ -
steam 1.0.0.75 124 latest/candidate canonical✓ -
kain@kain-G5-5505:~$ firefox
ATTENTION: default value of option mesa_glthread overridden by environment.
/usr/share/libdrm/amdgpu.ids: No such file or directory
ATTENTION: default value of option mesa_glthread overridden by environment.
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
ATTENTION: default value of option mesa_glthread overridden by environment.
Reporter | ||
Comment 12•2 years ago
|
||
(In reply to Amin Bandali [:bandali] from comment #10)
Hi folks,
I'm told that using the core22 version of the desktop-launcher might help with this. We have a WIP core22-based version of the Firefox snap on a candidate channel, if you'd like to give it a try and see if it helps:
sudo snap refresh --channel=candidate/core22 firefox
sudo snap refresh --channel=candidate/core22 firefox
- seems to help, at least I see in about:support
that nvidia card was detected.
Thanks!
Is there a version of this with 'nightly'?
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
Comment 15•2 years ago
|
||
The severity field is not set for this bug.
:gerard-majax, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 16•2 years ago
|
||
Issue resolved for AMD on snap latest/edge 113.0a1
i dont know if this alert is problematic or not for devices with 2 GPUs but posting it bellow just in case:
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
Comment 17•2 years ago
|
||
(In reply to Nikolay Martynov from comment #12)
(In reply to Amin Bandali [:bandali] from comment #10)
Hi folks,
I'm told that using the core22 version of the desktop-launcher might help with this. We have a WIP core22-based version of the Firefox snap on a candidate channel, if you'd like to give it a try and see if it helps:
sudo snap refresh --channel=candidate/core22 firefox
sudo snap refresh --channel=candidate/core22 firefox
- seems to help, at least I see inabout:support
that nvidia card was detected.
Thanks!
Glad to hear!
Is there a version of this with 'nightly'?
Unfortunately not at the moment, the core22 branch/channel is currently primarily built for stable.
Comment 18•2 years ago
|
||
(In reply to Kain from comment #16)
Issue resolved for AMD on snap latest/edge 113.0a1
i dont know if this alert is problematic or not for devices with 2 GPUs but posting it bellow just in case:
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description. If they do, bad things may happen!
Thanks for confirming, Kain! As for that amdgpu warning, I'm not sure, but it might be mesa-related, perhaps?
Any thoughts, Ken?
Comment 19•2 years ago
|
||
Sorry, looks like I mistakenly removed the previously-added needinfo for Alexandre. Restoring it.
Updated•2 years ago
|
Comment 20•2 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:gerard-majax, since the bug has high severity, could you have a look please?
For more information, please visit BugBot documentation.
Comment 21•2 years ago
|
||
This was related to core22 which now has shipped.
Reporter | ||
Comment 22•1 years ago
|
||
Currently this still doesn't work on edge snap with clean default profile on current ubuntu with nvidia 545 or 550 driver.
Comment 23•1 years ago
|
||
(In reply to Nikolay Martynov from comment #22)
Currently this still doesn't work on edge snap with clean default profile on current ubuntu with nvidia 545 or 550 driver.
likely due to bug 1876614 but no activity on ubuntu bug https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-545/+bug/2051298
Description
•