Wayland Plasma NVIDIA
Before you start
Gaming (Steam) stopped working for me under Wayland. From what I've read (Jan 2023) it seems that gaming on wayland using NVDIA is a no go. Updates to the contrary would be welcomed.
Summary
Use the modesetting driver
Check our driver is running in modesettings mode:
cat /sys/module/nvidia_drm/parameters/modeset
It should print "Y". If not, modify your kernel command line and add the line nvidia-drm.modeset=1. Search for "kernel parameters" in your distribution; kernel parameters is a good starting point.
Install
As time moves on, there have been less and less additional packages which need to be installed post install. With the last full release in 2022 all I needed to install was a single package and modify the kernel parameters in the boot loader.
- plasma-wayland-session
Easy way
Use Garuda Boot Options
to add the kernel parameter indicated in the docs.
Technical Way
You can really mess things up if you're not comfortable with modifying your boot loader. You've been warned!
Modify GRUB
Use you favorite editor to modify the grub file: /etc/default/grub
Edit the line GRUB_CMDLINE_LINUX_DEFAULT
and add nvidia-drm.modeset=1
to the end.
sudo vi /etc/default/grub
Update GRUB
sudo update-grub