NVIDIA Confirms Sway Wayland Compositor Works Fine With Their New GBM Driver Support - Phoronix.
Can I use Wayland with Nvidia?
So theoretically Wayland is now supported on Nvidia with the 470 and above drivers.
How do I enable Wayland on Nvidia?
You just have to:
- Enable Wayland support on the Nvidia kernel driver by adding this to your command line: nvidia-drm.modeset=1. which is done in /etc/default/grub .
- Run: sudo update-grub.
- Verify in /etc/gdm3/custom.conf that you don't still have Wayland disabled.
- Reboot.