summaryrefslogtreecommitdiffstats
path: root/system/nvidia-open-kernel/10-nvidia.conf
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-open-kernel/10-nvidia.conf')
-rw-r--r--system/nvidia-open-kernel/10-nvidia.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/nvidia-open-kernel/10-nvidia.conf b/system/nvidia-open-kernel/10-nvidia.conf
new file mode 100644
index 0000000000..cc09382e41
--- /dev/null
+++ b/system/nvidia-open-kernel/10-nvidia.conf
@@ -0,0 +1,11 @@
+# This xorg.conf.d configuration snippet configures the X server to
+# automatically load the nvidia X driver when it detects a device driven by the
+# nvidia-drm.ko kernel module. Please note that this only works on Linux kernels
+# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko
+# kernel module is loaded before the X server is started.
+
+Section "OutputClass"
+ Identifier "nvidia"
+ MatchDriver "nvidia-drm"
+ Driver "nvidia"
+EndSection