From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 12:37:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 150C616A4D0 for ; Fri, 9 Jul 2004 12:37:11 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 673DA43D31 for ; Fri, 9 Jul 2004 12:37:09 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i69Caqb1032261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jul 2004 13:36:52 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i69Capmk032260; Fri, 9 Jul 2004 13:36:51 +0100 (BST) (envelope-from matthew) Date: Fri, 9 Jul 2004 13:36:51 +0100 From: Matthew Seaman To: Osmany Guirola Cruz Message-ID: <20040709123651.GA32057@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Osmany Guirola Cruz , freebsd-questions@freebsd.org References: <1089277280.236.12.camel@Desolation> <20040708232618.531e6fd7@vixen42.24-119-122-191.cpe.cableone.net> <20040709064558.GA14282@lori.mine.nu> <200407090817.17569.osmany.guirola@cigb.edu.cu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <200407090817.17569.osmany.guirola@cigb.edu.cu> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Fri, 09 Jul 2004 13:36:52 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: nvidia XFree86 or X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 12:37:11 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 09, 2004 at 08:17:17AM -0400, Osmany Guirola Cruz wrote: > I want to know if a change in the X server will affect my video drivers, = i=20 > have a nvidia video card(GeForce2) i download the drivers from the nvidia= =20 > site(I WANT 3D ACCELERATION!!!) for FreeBSD now my question is If y chang= e=20 > from XFree86 to X what happens with the drivers? =20 You can run X.Org X server with the Nvidia driver: % grep NVIDIA /var/log/Xorg.0.log (II) Module glx: vendor=3D"NVIDIA Corporation" (II) Module nvidia: vendor=3D"NVIDIA Corporation" (II) NVIDIA XFree86 Driver 1.0-4365 Wed May 28 09:23:41 PDT 2003 (II) NVIDIA Unified Driver for all NVIDIA GPUs (--) Chipset NVIDIA GPU found .... Here's a patch you can apply to the x11/nvidia-driver Makefile so that it will correctly identify various files that port replaces: --- Makefile.XFree86 Fri Jul 9 13:27:30 2004 +++ Makefile Fri Jul 9 13:30:03 2004 @@ -28,8 +28,8 @@ =20 # XXX Should use ${PKG_INFO} XXX # -XSERVVERSION!=3D /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev= /null | ${GREP} Server- || true -XLIBVERSION!=3D /usr/sbin/pkg_info -O x11/XFree86-4-libraries 2>/dev/null = | ${GREP} libraries- || true +XSERVVERSION!=3D /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null= | ${GREP} server- || true +XLIBVERSION!=3D /usr/sbin/pkg_info -O x11/xorg-libraries 2>/dev/null | ${G= REP} libraries- || true =20 PLIST_SUB=3D XSERVVERSION=3D${XSERVVERSION} XLIBVERSION=3D${XLIBVERSION} \ LINUXBASE=3D${LINUXBASE} NVVERSION=3D${NVVERSION} Note that you don't need to apply this patch -- it just helps should you want to deinstall the nvidia-driver port. When switching from XFree86 to X.Org I also found that it paid to look again at the AGP settings -- whether to use the standard FreeBSD agp(4) driver, or the one that comes with the Nvidia driver. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA7pFjiD657aJF7eIRApCZAJwNxZ81L7IYqdSKEYn6I6jm7sWhpQCfQkm0 PH1H2LqAW8ub79p8rYVZkKM= =kv70 -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--