I installed plasma and when I run it on wayland, the first few seconds it runs fine then starts a loop, like unplugging and re plugging the screen again and again, or like changing screen input.
Added nvidia_drm.modeset=1 to the systemd bootloader option, also added MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) to mkinitcpio.conf and ran mkinitcpio -P
Graphics card nvidia 3080, driver 565.77
Drivers installed:
lib32-nvidia-utils
lib32-opencl-nvidia
nvidia-open-dkms
nvidia-settings
nvidia-utils
opencl-nvidia
Thanks for your help