Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 13:36:51 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Osmany Guirola Cruz <osmany.guirola@cigb.edu.cu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nvidia XFree86 or X
Message-ID:  <20040709123651.GA32057@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <200407090817.17569.osmany.guirola@cigb.edu.cu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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