Hi everybody,

I successfully install freebsd i386 on my AMD but I'm not able to install the nvidia driver.

I fetch all the sources (using csup) and got the last ports tree.

So here is my try:

[20:08:25] [EMAIL PROTECTED]:/usr/ports/x11/nvidia-driver
# make install
===>  Found saved configuration for nvidia-driver-169.12
===>  Extracting for nvidia-driver-169.12
=> MD5 Checksum OK for NVIDIA-FreeBSD-x86-169.12.tar.gz.
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-169.12.tar.gz.
===>  Patching for nvidia-driver-169.12
===>  Applying FreeBSD patches for nvidia-driver-169.12
===>   nvidia-driver-169.12 depends on shared library: X11.6 - found
===>   nvidia-driver-169.12 depends on shared library: m.3 - found
===>   nvidia-driver-169.12 depends on shared library: GL.1 - found
===>  Configuring for nvidia-driver-169.12
===>  Building for nvidia-driver-169.12
===> src (all)
@ -> /mnt/programs/src/sys
machine -> /mnt/programs/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"169.12\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_ctl.c
In file included from nvidia_ctl.c:14:
nv-freebsd.h:76:24: error: pci/agpvar.h: No such file or directory
*** Error code 1

Stop in 
/mnt/programs/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.12/src.
*** Error code 1

Stop in /mnt/programs/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.12.
*** Error code 1

Stop in /mnt/programs/ports/x11/nvidia-driver.
*** Error code 1

Stop in /mnt/programs/ports/x11/nvidia-driver.




So a file is missing. I try this:
# cd work/NVIDIA-FreeBSD-x86-169.12/src/ && mkdir pci && cd pci && ln -s /usr/src/sys/dev/agp/agpvar.h && cd ../../../../ && make install

The module compile and everything goes ok. But it doesn't work:
kldload: can't load nvidia: No such file or directory

If i put nvidia_load=ŸES" in loader.conf, it doesn't change anything.

Why the installation is not working without this manual trick?

Here is what I get about my video card with pciconf -lv:
# pciconf -lv | grep vga -A 4
[EMAIL PROTECTED]:1:0:0:        class=0x030000 card=0x81f31043 chip=0x01df10de 
rev=0xa1 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'GeForce 7300 GS'
    class      = display
    subclass   = VGA


Sébastien


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to