mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-15 05:23:40 +00:00
Some checks failed
Build X servers / xserver-build-ubuntu (push) Has been cancelled
Build X servers / drivers-build-ubuntu (push) Has been cancelled
Build X servers / xserver-build-mingw32-ubuntu (push) Has been cancelled
Build X servers / xserver-build-macos (push) Has been cancelled
Build X servers / xserver-build-freebsd (push) Has been cancelled
Build X servers / xserver-build-dragonflybsd (push) Has been cancelled
Build X servers / xserver-build-netbsd (push) Has been cancelled
Build X servers / xserver-build-cygwin (push) Has been cancelled
Build X servers / Release pushed tag (push) Has been cancelled
XLibre 10-nvidia.conf is extended w.r.t. XOrg version and can be overwritten by NVidia installers or packages, hence it is safer to split it into 10-nvidia.conf (a common part) and 10-nvidia-modules.conf (an extra part). This patch also provides /etc/X11/xorg.conf.d/10-nvidia.conf.debian and /etc/X11/xorg.conf.d/10-nvidia-modules.conf.debian files that, when .debian suffix is removed, shadow the respective files in /usr/share/X11/xorg.conf.d and set Debian specific search directories for drivers and modules. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
16 lines
764 B
Text
16 lines
764 B
Text
# This xorg.conf.d configuration snippet for Debian configures the X server to
|
|
# automatically load the nvidia X driver when it detects a device
|
|
# driven by the nvidia-drm kernel driver.
|
|
# Please note that this works on Linux kernels version 6.12 or higher
|
|
# with CONFIG_DRM enabled, and only if the nvidia-drm.ko kernel module
|
|
# for the versions 390 and later of the nvidia driver or the nvidia.ko
|
|
# kernel module for the version 340 is loaded before the X server is started.
|
|
|
|
Section "OutputClass"
|
|
Identifier "NVidia"
|
|
MatchDriver "nvidia-drm"
|
|
Driver "nvidia"
|
|
Option "AllowEmptyInitialConfiguration"
|
|
# Debian specific directories
|
|
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/nvidia/nvidia"
|
|
EndSection
|