Plasma/Wayland/Nvidia: Difference between revisions
Appearance
manually setting an env var is no longer needed as of Plasma 5.20.2 (released this morning) |
formatting and general cleanup |
||
Line 1: | Line 1: | ||
Here's how to run with the proprietary Nvidia driver on Wayland: | |||
=== | === Prerequisites === | ||
* Ensure that you are using Plasma 5.20.2 or later. | * Ensure that you are using Plasma 5.20.2 or later. | ||
* You need a very up-to-date Qt. Make sure you have >= Qt5.15.0 or [https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=4bd13402f0293e85b8dfdf92254e250ac28094c7 4bd13402f0293e85b8dfdf92254e250ac28094c7] cherry-picked. | * You need a very up-to-date Qt. Make sure you have >= Qt5.15.0 or [https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=4bd13402f0293e85b8dfdf92254e250ac28094c7 4bd13402f0293e85b8dfdf92254e250ac28094c7] cherry-picked. | ||
* Make sure to have the Nvidia egl library installed. For example on Ubuntu and Neon the relevant package is called <code>libnvidia-egl-wayland1</code> | * Make sure to have the Nvidia egl library installed. For example on Ubuntu and Neon the relevant package is called <code>libnvidia-egl-wayland1</code> | ||
=== | === Use the modesetting driver=== | ||
Check our driver is running in modesettings mode: | |||
Check our driver is running in modesettings mode | |||
<code>cat /sys/module/nvidia_drm/parameters/modeset</code> | <code>cat /sys/module/nvidia_drm/parameters/modeset</code> | ||
It should print "Y" | It should print "Y". If not, modify your kernel command line and add the line <code>nvidia-drm.modeset=1</code>. | ||
Search for "kernel parameters" in your distribution; https://wiki.archlinux.org/index.php/Kernel_parameters is a good starting point. | |||
If not, modify your kernel command line and add the line <code>nvidia-drm.modeset=1</code>. | |||
Search for "kernel parameters" in your distribution | |||
https://wiki.archlinux.org/index.php/Kernel_parameters is a good starting point | |||
=== Login === | === Login === | ||
* Select "Plasma (wayland)" from your login manager | * Select "Plasma (wayland)" from your login manager | ||
* Enjoy your beautiful super-fast accelerated wayland desktop! | * Enjoy your beautiful super-fast accelerated wayland desktop! |
Revision as of 12:11, 27 October 2020
Here's how to run with the proprietary Nvidia driver on Wayland:
Prerequisites
- Ensure that you are using Plasma 5.20.2 or later.
- 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
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; https://wiki.archlinux.org/index.php/Kernel_parameters is a good starting point.
Login
- Select "Plasma (wayland)" from your login manager
- Enjoy your beautiful super-fast accelerated wayland desktop!