DragonFly BSD
DragonFly bugs List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dfports nvidia-driver doesn't compile/install


From: Andrew Atrens <atrens@xxxxxxxxxxxxxxxxxx>
Date: Thu, 02 Sep 2004 09:30:34 -0400

Joe Love wrote:
> make: don't know how to make vnode_if.h. Stop
> *** Error code 2
> 
> Stop in /usr/dfports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-6113.
> *** Error code 1
> 
> Stop in /usr/dfports/x11/nvidia-driver.
> #
> 
> If anyone knows how to get through this, the help would be appreciated.

Try disabling linux support (a #define in nv-dragonflybsd.h) ... I'm not
100% sure that this will fix the newer version 6 of the driver, but it did
allow me to compile version 4 of the driver.

Btw, if you have an nvidia motherboard, you might also want to tweak the
probe code in nvidia_pci.c to only try attaching _your_ video card - in
my experience the driver is too aggressive in attempting to attach nvidia
pci devices other than graphics card.

You'll want to do something like -

=== root@atrens-boistault (/dev/ttypa) /usr/home/atrens
1 -> pciconf -lv
. ..
nvidia0@pci3:0:0:       class=0x030000 card=0x87021462 chip=0x025310de
rev=0xa3 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'GeForce4 Ti 4200 [NV25.4]'
    class    = display
    subclass = VGA




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]