Running Nvidia Wayland


  • You need a very up-to-date Qt. Make sure you have >= Qt5.15.0 or 4bd13402f0293e85b8dfdf92254e250ac28094c7 cherry-picked.
  • Make sure to have the Nvidia egl library installed. For example on Ubuntu and Neon the relevant package is called libnvidia-egl-wayland1

Mode setting

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 is a good starting point

Tell kwin to run with EGLStreams.

You should set the environment variable "KWIN_DRM_USE_EGL_STREAMS=1"

The easiest place is to add a file /etc/profile.d/ with the line export KWIN_DRM_USE_EGL_STREAMS=1

Verify this is working with the command line tool env after rebooting.


  • Select "Plasma (wayland)" from your login manager
  • Enjoy your beautiful super-fast accelerated wayland desktop!

This page was last edited on 15 September 2020, at 07:24. Content is available under Creative Commons License SA 4.0 unless otherwise noted.