summarylogtreecommitdiffstats
path: root/nvidia-drm-outputclass.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nvidia-drm-outputclass.conf')
-rw-r--r--nvidia-drm-outputclass.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/nvidia-drm-outputclass.conf b/nvidia-drm-outputclass.conf
new file mode 100644
index 00000000000..dd2936cb5eb
--- /dev/null
+++ b/nvidia-drm-outputclass.conf
@@ -0,0 +1,15 @@
+Section "OutputClass"
+ Identifier "intel"
+ MatchDriver "i915"
+ Driver "modesetting"
+EndSection
+
+Section "OutputClass"
+ Identifier "nvidia"
+ MatchDriver "nvidia-drm"
+ Driver "nvidia"
+ Option "AllowEmptyInitialConfiguration"
+ Option "PrimaryGPU" "yes"
+ ModulePath "/usr/lib/nvidia/xorg"
+ ModulePath "/usr/lib/xorg/modules"
+EndSection