From owner-freebsd-x11@freebsd.org Tue Jul 19 14:32:40 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 BF334B9E2AD for ; Tue, 19 Jul 2016 14:32:40 +0000 (UTC) (envelope-from t@tobik.me) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A4C74133A for ; Tue, 19 Jul 2016 14:32:40 +0000 (UTC) (envelope-from t@tobik.me) Received: by mailman.ysv.freebsd.org (Postfix) id 9E19EB9E2AA; Tue, 19 Jul 2016 14:32:40 +0000 (UTC) Delivered-To: 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 978A6B9E2A9; Tue, 19 Jul 2016 14:32:40 +0000 (UTC) (envelope-from t@tobik.me) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F15E1339; Tue, 19 Jul 2016 14:32:39 +0000 (UTC) (envelope-from t@tobik.me) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C8B1C20541; Tue, 19 Jul 2016 10:32:38 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute3.internal (MEProxy); Tue, 19 Jul 2016 10:32:38 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tobik.me; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=16q ncrvuY8z4rzRvRt/hkPUuKG8=; b=czCpnYxXrQjAGha27NuZkubiDsIgakZeAni mpfhDks+H9QjeaNBkvLPkkYSW0GuWL+xgW+dU+vRKyb/LJ3CyXyp3Ta532TUsai6 OvVhovA5kTrp72TiJyEozzTE7h9BXjvAuON1soNRZCfmp/i6sHT/ZWk3oYuvOFK6 jqzH2uRE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=16qncrvuY8z4rzRvRt/hkPUuKG8=; b=lsfsv RbCTDmFHEVJ7KazQxPZKLWT1eFbmi2WNCElL3JlWTUhQUv+TWb5I/WupVJYAh8wP RxnZ4Kyq5PGrHJvzRNAo1aL359Gi+yezTre85M1ZkjbfdsazruoMDVdvgQahoidw WllDC7ZRCg4Ie57rYTYbnDOARBsFdNlLz3aSno= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 9503A1E381; Tue, 19 Jul 2016 10:32:38 -0400 (EDT) Message-Id: <1468938758.1929309.670653761.3FF6400F@webmail.messagingengine.com> X-Sasl-Enc: H5NNnxDHan3pvXw/ibtJX3tRcp6wK5J2DKOLqps7weL1 1468938758 From: Tobias Kortkamp To: freebsd-ports@freebsd.org, x11@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-6fae4dd4 Subject: Add NVIDIA driver to built-in Xorg configuration? Date: Tue, 19 Jul 2016 16:32:38 +0200 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 14:32:40 -0000 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; + }