wayland + nvidia: driver not used when running in a wayland session
Bug #2037544 reported by
Ken VanDine
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
We've discovered that the nvidia driver isn't being utilized when running in a wayland session for snaps. Confirmed with both firefox and steam. Both work fine on nvidia in an X session.
Originally reported on the forum at:
https:/
From steam when run on wayland:
lspci:
01:00.0: NVIDIA Corporation TU117GLM [Quadro T2000 Mobile / Max-Q] (rev a1)
glxinfo:
gpu: llvmpipe (LLVM 15.0.7, 256 bits)
gpu_version: 4.5 (Core Profile) Mesa 23.1.8 - kisak-mesa PPA
Note: in an X session the gpu is properly reflected and we do get accelerated graphics in both firefox and steam.
To post a comment you must log in.
I'm not sure if this is a real fix or just a workaround, but was able to fix this issue for firefox by staging libnvidia- egl-wayland1 in gnome-42-2204 and set __EGL_EXTERNAL_ PLATFORM_ CONFIG_ DIRS in the desktop-launch script
For reference:
https:/ /github. com/ubuntu/ gnome-sdk/ pull/178 /github. com/snapcore/ snapcraft- desktop- integration/ pull/18/ files
https:/
This hasn't fixed steam, we're still investigating that.