mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-12-27 23:20:05 +01:00
Nvidia: update DRM kernel mode setting section (#974)
* nvidia: DRM KMS is now enabled by default on newer drivers * nvidia: add command to check for DRM KMS Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
parent
bf4f4d6288
commit
7dc705a8ec
1 changed files with 7 additions and 3 deletions
|
|
@ -54,9 +54,11 @@ Install the following packages:
|
|||
|
||||
## DRM kernel mode setting
|
||||
|
||||
Since NVIDIA does not load kernel mode setting by default, enabling it is
|
||||
required to make Wayland compositors function properly. To enable it, the NVIDIA
|
||||
driver modules need to be added to the initramfs.
|
||||
On driver version 560.35.03-5 or earlier NVIDIA does not load kernel mode
|
||||
setting by default. Enabling it is required to make Wayland compositors
|
||||
function properly.
|
||||
|
||||
To enable it, the NVIDIA driver modules need to be added to the initramfs.
|
||||
|
||||
Edit `/etc/mkinitcpio.conf`. In the `MODULES` array, add the following module names:
|
||||
|
||||
|
|
@ -72,6 +74,8 @@ options nvidia_drm modeset=1 fbdev=1
|
|||
|
||||
Lastly, rebuild the initramfs with `sudo mkinitcpio -P`, and reboot.
|
||||
|
||||
To verify that DRM is actually enabled, run `cat /sys/module/nvidia_drm/parameters/modeset` which should return `Y`.
|
||||
|
||||
More information is available [here](https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting).
|
||||
|
||||
## Environment variables
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue