]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Add a note on udev usage with NVidia cards
authorJulian Grinblat <julian@dotcore.co.il>
Mon, 22 Jun 2020 22:13:15 +0000 (07:13 +0900)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Fri, 26 Jun 2020 08:19:10 +0000 (10:19 +0200)
README.md

index b1cc76de5f0fd23a170879ac2139438c60cbe00a..7708aa486d1b8357b89a08e579ee71a33284c21d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -212,6 +212,16 @@ asterisk to enable wildcard matching: Such EDIDs are matched against connected
 monitors using the usual file name globbing rules. This can be used to create
 profiles matching multiple (or any) monitors.
 
 monitors using the usual file name globbing rules. This can be used to create
 profiles matching multiple (or any) monitors.
 
+### udev triggers with NVidia cards
+
+In order for `udev` to detect `drm` events from the native NVidia driver, the
+kernel parameter `nvidia-drm.modeset` must be set to 1. For example, add a file
+`/etc/modprobe.d/nvidia-drm-modeset.conf`:
+
+```
+options nvidia_drm modeset=1
+```
+
 ## Changelog
 
 **autorandr 1.10.1**
 ## Changelog
 
 **autorandr 1.10.1**