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 
> have a nvidia video card(GeForce2) i download the drivers from the nvidia 
> site(I WANT 3D ACCELERATION!!!) for FreeBSD now my question is If y change 
> from XFree86 to X what happens with the drivers?  

You can run X.Org X server with the Nvidia driver:

    % grep NVIDIA /var/log/Xorg.0.log
    (II) Module glx: vendor="NVIDIA Corporation"
    (II) Module nvidia: vendor="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 @@
 # XXX Should use ${PKG_INFO} XXX
-XSERVVERSION!= /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | 
${GREP} Server- || true
-XLIBVERSION!=  /usr/sbin/pkg_info -O x11/XFree86-4-libraries 2>/dev/null | ${GREP} 
libraries- || true
+XSERVVERSION!= /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | ${GREP} 
server- || true
+XLIBVERSION!=  /usr/sbin/pkg_info -O x11/xorg-libraries 2>/dev/null | ${GREP} 
libraries- || true

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.



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

Attachment: pgpFW0zhHtCzO.pgp
Description: PGP signature

Reply via email to