I have been researching for 2 days how to get my fresh install of KDE Neon going with wayland + Nvidia. After a fresh installation of KDE Neon with the freshest iso I could find as of 12/3/2024, a fresh install works fine on the initial boot while it is still running on the Nouveau driver and that is with the wayland option chosen. Once I load the nvidia 560 drivers from the graphics PPA, when I get to the login screen it flashes a couple times and then goes to a black screen with only the mouse cursor and sometimes some graphics glitches that show as lines on the screen.
In researching I have found recommendations to edit grub which I have done…
GRUB_CMDLINE_LINUX_DEFAULT=‘quiet cryptdevice=UUID=1608e811-afe4-49ab-b44b-afa3b1ebd397:luks-1608e811-afe4-49a
b-b44b-afa3b1ebd397 root=/dev/mapper/luks-1608e811-afe4-49ab-b44b-afa3b1ebd397 splash nvidia-drm.modeset=1 nvidia-drm.fbdev=1’
I know you only need to do one or the other but when it failed editing grub, I also created the following file for /etc/modprobe.d/nvidia.conf with the contents of:
options nvidia_drm modeset=1
options nvidia_drm fbdev=1
All had no effect. I still can’t get kde running on wayland with nvidia. It runs fine when I either use nouveau drivers with either xorg or wayland or use nvidia with xorg.
And I know you mentioned it’s a fresh install, but just on the off-chance - if you create a new user now that the OS is setup, and then try to log in to a Wayland session with that new user, are you able to do so?
And, have you tried installing the Nvidia drivers using the official ubuntu-drivers tool instead?
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.8.0-49-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Wayland.
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.8.0-49-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
I’m currently running the proprietary 560.35.03 drivers installed via the Launchpad Nvidia driver PPA and I can open a Wayland session just fine. Furthermore, I haven’t had to add options nvidia_drm modeset=1 and options nvidia_drm fbdev=1 to /etc/modprobe.d/nvidia.conf at all.
What global theme are you using? Have you tried the default Breeze theme?
I found the issue with mine after about 9 different reinstall attempts. I finally found that my problem was the fact I was attempting to use the xanmod kernel (for gaming). For the first many tries, I added the ppa and installed xanmod first and then did the nvidia drivers, which made it appear as if the nvidia drivers were the cause of it. On a whim on the final attempt that worked, I installed the nvidia drivers first and it worked with not a single other change needed. Not even either version the kernel modules (kernel options and nvidia.conf in modprobe.d. Once I left out xanmod, it just worked.