Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2016 11:09:10 -0400
From:      Kris Moore <kris@ixsystems.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: Add NVIDIA driver to built-in Xorg configuration?
Message-ID:  <5166ed14-2751-8db9-f2ec-063f6e41765a@ixsystems.com>
In-Reply-To: <1468938758.1929309.670653761.3FF6400F@webmail.messagingengine.com>
References:  <1468938758.1929309.670653761.3FF6400F@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5166ed14-2751-8db9-f2ec-063f6e41765a>