On Wed, 2021-04-28 at 18:49 +0800, Ed Greshko wrote:
On 28/04/2021 18:05, Patrick O'Callaghan wrote:
On Wed, 2021-04-28 at 08:10 +0800, Ed Greshko wrote:
[...]
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.
I see.
Would it be fair to qualify the last statement by adding "in this use case"?
Only if someone can report an Nvidia GPU being used under Wayland. Note that this is not a KDE/Plasma issue. I get the same results under Gnome. Note that I'm using SDDM in all cases. I don't know if that makes a difference though I don't see why it should.
Is is possible to test this with the nvidia device being Default?
I think that would mean blacklisting the IGP on boot, if that's even possible. I don't know another way of selecting the default.
Is it possible to test with nouveau instead of nvidia drivers?
Probably. I'll look into it.
poc