mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 16:20:06 +01:00
Allow OutputClass config snippets to modify the module-path.
Note that any specified ModulePaths will be pre-pended to the normal
ModulePath. The idea behind this is that any output hardware specific
modules should have preference over the normal modules.
One use-case for this is the nvidia binary driver, this allows a
config snippet like this:
Section "OutputClass"
MatchDriver "nvidia"
Modulepath "/usr/lib64/nvidia/modules"
EndSection
To get the nvidia glx specific glx module loaded, but only when the
nvidia kernel driver is loaded.
Together with the glvnd work done recently, this allows the nouveau
+ mesa and nvidia-binary userspace stacks to co-exist on the same
system without any ldconfig / xorg.conf tweaking and the xserver will
automatically do the right thing depending on which kernel driver
(nouveau or nvidia) is loaded.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
||
|---|---|---|
| .. | ||
| Configint.h | ||
| configProcs.h | ||
| Device.c | ||
| DRI.c | ||
| Extensions.c | ||
| Files.c | ||
| Flags.c | ||
| Input.c | ||
| InputClass.c | ||
| Layout.c | ||
| Makefile.am | ||
| Module.c | ||
| Monitor.c | ||
| OutputClass.c | ||
| Pointer.c | ||
| read.c | ||
| scan.c | ||
| Screen.c | ||
| Vendor.c | ||
| Video.c | ||
| write.c | ||
| xf86Optrec.h | ||
| xf86Parser.h | ||
| xf86tokens.h | ||