Black Screen after login into KDE Plasma on Wayland with a NVIDIA GPU

GPU: NVIDIA GeForce GTX 1070
Driver Version: 565.57.01
KDE Plasma Version: 6.2.4-1
Display Manager: ly

KDE Plasma on x11 works perfectly fine and so does hyprland so wayland itself is not the problem.

$ cat /etc/environment
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
$ cat /etc/modprobe.d/nvidia.conf
options nvidia_drm modset=1 fbdev=1

My intention is to use KDE on wayland to have HDR if it helps

Yes i checked similar topics none of them helped.

Welcome to the community @qul :wave: :sunglasses: :enos_flag:

Does the black screen also have a flashing cursor in the top left? If so, look here for a fix.

Activating HDR under KDE Plasma when using Nvidia GPU, has in months prior reliably produced the black screen when logging into a Wayland session. I’ve not tried HDR again recently to test if this remains the case, but HDR under Linux is still in its early days.

Yes it helped doing it completely solved my problem. Wayland now works good. Still HDR is not working but at least the toggle appears and the desktop is not crashing when i try to enable it.