From owner-freebsd-x11@freebsd.org Tue Jul 19 15:09:14 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 869E6B9ED5C for ; Tue, 19 Jul 2016 15:09:14 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: from barracuda.ixsystems.com (barracuda.ixsystems.com [12.229.62.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 555B01AD3 for ; Tue, 19 Jul 2016 15:09:13 +0000 (UTC) (envelope-from kris@ixsystems.com) X-ASG-Debug-ID: 1468940952-08ca0410fd141ae0001-0Qlll1 Received: from zimbra.ixsystems.com ([10.246.0.20]) by barracuda.ixsystems.com with ESMTP id ESJgJXha1QYVNr6L (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 19 Jul 2016 08:09:12 -0700 (PDT) X-Barracuda-Envelope-From: kris@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.246.0.20 X-ASG-Whitelist: Client Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id C708EE080F9 for ; Tue, 19 Jul 2016 08:09:12 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cZ33NVIJ0nIr for ; Tue, 19 Jul 2016 08:09:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 592F8E080F7 for ; Tue, 19 Jul 2016 08:09:12 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id haC-s-BJAL9T for ; Tue, 19 Jul 2016 08:09:12 -0700 (PDT) Received: from [172.20.0.22] (vpn.ixsystems.com [10.249.0.2]) by zimbra.ixsystems.com (Postfix) with ESMTPSA id 1AC2CE0808C for ; Tue, 19 Jul 2016 08:09:11 -0700 (PDT) Subject: Re: Add NVIDIA driver to built-in Xorg configuration? To: freebsd-x11@freebsd.org X-ASG-Orig-Subj: Re: Add NVIDIA driver to built-in Xorg configuration? References: <1468938758.1929309.670653761.3FF6400F@webmail.messagingengine.com> From: Kris Moore Message-ID: <5166ed14-2751-8db9-f2ec-063f6e41765a@ixsystems.com> Date: Tue, 19 Jul 2016 11:09:10 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <1468938758.1929309.670653761.3FF6400F@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: UNKNOWN[10.246.0.20] X-Barracuda-Start-Time: 1468940952 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://10.246.0.26:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2016 15:09:14 -0000 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