Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2016 16:32:38 +0200
From:      Tobias Kortkamp <t@tobik.me>
To:        freebsd-ports@freebsd.org, x11@freebsd.org
Subject:   Add NVIDIA driver to built-in Xorg configuration?
Message-ID:  <1468938758.1929309.670653761.3FF6400F@webmail.messagingengine.com>

next in thread | raw e-mail | index | archive | help
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;
+     }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1468938758.1929309.670653761.3FF6400F>