KDE Wayland + Nvidia not working (black screen on login)

Hey, so I decided to try out using wayland again and after installing wayland + checking that I have egl-wayland package and rebooting I was greeted with a black screen and the only option is to reboot (that I found).

Also check that I have the kernel parameter set, which as it seems like is done out of the box already. Also to check that it’s working I did: cat /sys/module/nvidia_drm/parameters/modeset and the output was Y.

Last time I used wayland was also on endeavour, but I have reinstalled since then + newer kde version now.

  • What card?
  • What boot system?

At work with no access to my machine, can’t find the link that helped me, but you need to add something “drm_modeset” ish to grub (if you use grub, or the systemd config file, if systemd boot).

Back home around 6pm UK time, will check back then!!

1 Like

Yeah, that’s set by default or at least I already had it. That’s what the cat /sys/module/nvidia_drm/parameters/modeset checks. OR at least as I understood.


What says pacman -Q | grep -e wayland ?

Thought it should say 1 - will have a look later.

Your right, my memory isn’t :rofl:

Plasma/Wayland/Nvidia - KDE Community Wiki

1 Like

I have a PC that is already several years old, with a old NVIDIA card.
With NVIDIA drivers it does not work.
Without NVIDIA drivers it works perfectly.

Okay, at home.


yay wayland | grep -i installed | grep -i  plasma

16 extra/plasma-wayland-session (6.6 KiB 3.4 KiB) (Installed)
15 extra/plasma-wayland-protocols 1.10.0-1 (34.9 KiB 175.6 KiB) (Installed)
9 extra/kwayland-integration 5.27.4-1 (30.6 KiB 106.3 KiB) [plasma] (Installed)
6 extra/layer-shell-qt 5.27.4-1 (21.6 KiB 77.2 KiB) [plasma] (Installed)

yay wayland | grep -i installed | grep -i egl   
7 extra/egl-wayland 2:1.1.11-4 (31.0 KiB 89.3 KiB) (Installed)


GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 nohpet quiet resume=UUID=9d4e515c-9542-43fb-8175-1b1f8f27b762 loglevel=3 nowatchdog nvme_load=YES"

This is a fairly old install, so not systemd boot, but I did convert to dracut and found I needed:

cat /etc/dracut.conf.d/nvidia.conf             
# Omit the nvidia driver from the ramdisk, to avoid needing to regenerate
# the ramdisk on updates.
omit_drivers+=" nvidia nvidia-drm nvidia-modeset nvidia-uvm "

But it was because everything was choppy and not due to black screen.


  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
    v: 530.41.03
  Device-2: Bison Integrated Camera type: USB driver: uvcvideo
  Display: wayland server: X.Org v: 23.1.1 with: Xwayland v: 23.1.1
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~144Hz
  API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce RTX 3070
    Laptop GPU/PCIe/SSE2

Edit: I do still get minor artifacts, but it runs OK.

1 Like

Sorry for the late reply:
egl-wayland 2:1.1.11-4
kwayland 5.105.0-1
kwayland-integration 5.27.4-1
lib32-wayland 1.22.0-1
qt5-wayland 5.15.9+kde+r55-1
wayland 1.22.0-1
wayland-protocols 1.31-1
wayland-utils 1.1.0-1
xorg-xwayland 23.1.1-1

1 Like

Is the only one that stands out as missing…

Yeah, I installed it after posting that but it still didn’t work

No clue at this point.

Yeh, I don’t yet use systemd boot, so have not even paid minimal attention to it, I have grub and refind installed and use grub to boot plasma wayland, never got it to work with refind :frowning:

So, no further ideas.

No worries, thanks for trying to help out either way!

I will probably just reinstall tomorrow and that will probably just fix it.

Create a new user and check if Wayland is running through the new user. I had a similar experience.

If this is the case, you will need to make a backup copy of the ~/.config folder and delete it (it will be created again with standard KDE files), then paste into the created directory ~/.config without replacement.

1 Like

Try this before you reinstall the system.

Unfortunately that didn’t fix it either… Thanks anyway.

I don’t mind reinstalling don’t really have any big games etc on here so won’t be too bad

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.