Add NVIDIA driver to built-in Xorg configuration?
Kris Moore
kris at ixsystems.com
Tue Jul 19 15:09:14 UTC 2016
On 07/19/2016 10:32, Tobias Kortkamp wrote:
> Hi,
>
> would it be possible to include the following patch in
> x11-servers/xorg-server? It adds the NVIDIA driver to the built-in X
> configuration. It would remove the need to have an xorg.conf on systems
> with an NVIDIA GPU which have to use x11/nvidia-driver. I think it's a
> source of unnecessary friction that doesn't really need to be there. It
> was deceptively simple to add, so I'm sure I'm missing something. ;-)
>
> Thanks,
> Tobias
>
> https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/common/xf86pciBus.c?id=xorg-server-1.17.4#n1187
> ===================================================================
> --- files/patch-hw_xfree86_common_xf86pciBus.c (nonexistent)
> +++ files/patch-hw_xfree86_common_xf86pciBus.c (working copy)
> @@ -0,0 +1,10 @@
> +--- hw/xfree86/common/xf86pciBus.c.orig 2016-07-19
> 15:37:53.698794484 +0200
> ++++ hw/xfree86/common/xf86pciBus.c 2016-07-19 15:37:26.000000000
> +0200
> +@@ -1192,6 +1192,7 @@
> + #ifdef __linux__
> + driverList[idx++] = "nouveau";
> + #endif
> ++ driverList[idx++] = "nvidia";
> + driverList[idx++] = "nv";
> + break;
> + }
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
Ohh, we've been bit by that a bunch. I'm going to include this in PC-BSD
also. Thanks!
--
Kris Moore
iXsystems
Enterprise Storage & Servers Driven By Open Source
More information about the freebsd-x11
mailing list