dfports nvidia-driver doesn't compile/install

Joe Love joe at getsomewhere.net
Thu Sep 2 23:43:40 PDT 2004


Unfortunately for me, that does break all the wonderful linux-based 
games that I'd like to play.. course, it's not like they run right now 
anyway, as some of them complain about not being able to find libX11.so.6.

Maybe I'll give that a try just to say that *something* is working. :)

-Joe

Andrew Atrens wrote:
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 at atrens-boistault (/dev/ttypa) /usr/home/atrens
1 -> pciconf -lv
...
nvidia0 at 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


More information about the Bugs mailing list