Skip to content

Commit

Permalink
Nvidia: update DRM kernel mode setting section (#974)
Browse files Browse the repository at this point in the history
* nvidia: DRM KMS is now enabled by default on newer drivers

* nvidia: add command to check for DRM KMS

Co-authored-by: Mihai Fufezan <[email protected]>
  • Loading branch information
Dashyyy and fufexan authored Feb 14, 2025
1 parent bf4f4d6 commit 7dc705a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pages/Nvidia/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit 7dc705a

Please sign in to comment.