summaryrefslogtreecommitdiff
path: root/nvidia-gtk2/10-nvidia-drm-outputclass.conf
blob: ec56317bcfa0b7e409ce6d6da9602751ff32e786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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"
    ModulePath     "/usr/lib/nvidia/xorg"
    ModulePath     "/usr/lib/xorg/modules"
EndSection