On Wed, 2021-04-28 at 08:10 +0800, Ed Greshko wrote:
On 28/04/2021 06:36, Patrick O'Callaghan wrote:
On Tue, 2021-04-27 at 23:28 +0100, Patrick O'Callaghan wrote:
IOW, apparently Nvidia GPUs do not currently work with Wayland, but don't work with Xorg either. Is there something I'm misunderstanding here?
(Replying to myself).
On logging in with KDE/X11, nvidia-settings now works so at least the GPU is accessible. Steam with Vulkan still doesn't but that may just be a matter of waiting for a package update.
It's still true that Nvidia+Wayland is not working.
While I am running F33 at the moment I did a bit of testing of Plasma on Wayland with nVidia drivers. Specifically, the 465.24.02 driver. And it works for me with the limited amount of testing. I don't use nvidia-settings.
I get
DESKTOP_SESSION=/usr/share/wayland-sessions/plasmawayland XDG_SESSION_TYPE=wayland WAYLAND_DISPLAY=wayland-0
So, can you expound on "not working"?
On Plasma/Wayland I get those same settings, however the display is running on the internal Intel GPU, not on the Nvidia. Even though the Nvidia kernel modules are loaded, there appears to be no way to access the GPU. Thus:
$ nvidia-settings
ERROR: Unable to find display on any available system
$ switcherooctl Device: 0 Name: Intel® HD Graphics 4000 Default: yes Environment: DRI_PRIME=pci-0000_00_02_0
Device: 1 Name: NVIDIA Corporation GP107 [GeForce GTX 1050] Default: no Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1
$ switcherooctl -g 1 nvidia-settings
ERROR: Unable to find display on any available system
If I run Plasma/X11, all of the above works correctly (as it did on F33 of course). IOW, with Wayland the Nvidia GPU is currently useless.
poc