View Full Version : FreeBSD NVidia driver installation
maxrussell
06-26-2008, 09:43 PM
I've just downloaded the latest (stable) NVidia blob - 173.14.09.
I've been trying to work out if that is going to fit onto my system (7.0). It makes mention of 6.0 in their documentation, but can anyone give me some shortcut information please (sorry, I know that is not the BSD way.. :p
Anyway - what are the steps for installing this that I should be aware of, apart from what they document there.
While I'm about it - has anyone registered on NVForums? Is the support good?
Carpetsmoker
06-26-2008, 10:24 PM
The nvidia drivers works on FreeBSD 7, installation instructions, configuration etc. is all the same on FreeBSD 6 and 7.
The easiest way to install the nvidia driver is through ports:
cd /usr/ports/x11/nvidia-driver && make clean install clean
maxrussell
07-01-2008, 06:57 PM
That goes awry in the compilation stage:
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 /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.12/src.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.12.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
admittedly I didn't select the agp option. I've got a PCI-E card.
jb_daefo
07-01-2008, 09:51 PM
to compile nvidia-driver AFAIK you need the same source code present
upon which your kernel was compiled (not any earlier or later usually)
might be the problem there.
Carpetsmoker
07-01-2008, 10:03 PM
You are compiling an old version..?
cd /ports/x11/nvidia-driver && make -V PORTVERSION
173.14.09
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 /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.12/src.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169.12.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
maxrussell
07-02-2008, 09:26 AM
GAH! good point. I'll try the later version. :p
maxrussell
07-03-2008, 09:14 PM
okay, seems I didn't include AGP support or something, how can I sort this out?
max@/usr/ports/x11/nvidia-driver-71xx: sudo make clean install clean
Password:
===> Cleaning for nvidia-driver-71.86.04_1
===> WARNING: Vulnerability database out of date, checking anyway
===> Found saved configuration for nvidia-driver-169.12
=> NVIDIA-FreeBSD-x86-71.86.04.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://jp.download.nvidia.com/freebsd/71.86.04/.
NVIDIA-FreeBSD-x86-71.86.04.tar.gz 100% of 7833 kB 120 kBps 00m00s
===> Extracting for nvidia-driver-71.86.04_1
=> MD5 Checksum OK for NVIDIA-FreeBSD-x86-71.86.04.tar.gz.
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-71.86.04.tar.gz.
===> Patching for nvidia-driver-71.86.04_1
===> Applying FreeBSD patches for nvidia-driver-71.86.04_1
===> nvidia-driver-71.86.04_1 depends on shared library: X11.6 - found
===> nvidia-driver-71.86.04_1 depends on shared library: m.3 - found
===> nvidia-driver-71.86.04_1 depends on shared library: GL.1 - found
===> Configuring for nvidia-driver-71.86.04_1
===> Building for nvidia-driver-71.86.04_1
===> src (all)
@ -> /usr/src/sys
machine -> /usr/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=\"71.86.04\" -DNVCPU_X86 -DNV_BSD -DNV_INT64_OK -DNV_UNIX -D__KERNEL__ -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 -fstack-protector -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:74:24: error: pci/agpvar.h: No such file or directory
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver-71xx/work/NVIDIA-FreeBSD-x86-71.86.04/src.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver-71xx/work/NVIDIA-FreeBSD-x86-71.86.04.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver-71xx.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver-71xx.
Carpetsmoker
07-04-2008, 12:17 AM
Why are you using x11/nvidia-driver-71xx and not x11/nvidia-driver?
davidgurvich
07-04-2008, 01:26 AM
Is the compat6x package still needed for the nvidia-driver?
Carpetsmoker
07-04-2008, 02:15 AM
AFAIK it was never needed for nvidia-driver...
maxrussell
07-04-2008, 09:34 AM
Why are you using x11/nvidia-driver-71xx and not x11/nvidia-driver?
thought that the 7 series was the latest, sorry :o
I'll try the other tonight.
Dank u
adamk
07-04-2008, 12:01 PM
Make sure you have the kernel source installed.
Adam
maxrussell
07-06-2008, 03:14 PM
I have the kernel source, however I get this:
max@/usr/ports/x11/nvidia-driver: sudo make clean install clean
Password:
===> Cleaning for nvidia-driver-173.14.09
===> WARNING: Vulnerability database out of date, checking anyway
===> Found saved configuration for nvidia-driver-169.12
===> Extracting for nvidia-driver-173.14.09
=> MD5 Checksum OK for NVIDIA-FreeBSD-x86-173.14.09.tar.gz.
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-173.14.09.tar.gz.
===> Patching for nvidia-driver-173.14.09
===> Applying FreeBSD patches for nvidia-driver-173.14.09
===> nvidia-driver-173.14.09 depends on shared library: X11.6 - found
===> nvidia-driver-173.14.09 depends on shared library: m.3 - found
===> nvidia-driver-173.14.09 depends on shared library: GL.1 - found
===> Configuring for nvidia-driver-173.14.09
===> Building for nvidia-driver-173.14.09
===> src (all)
@ -> /usr/src/sys
machine -> /usr/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=\"173.14.09\" -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 -fstack-protector -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:80:24: error: pci/agpvar.h: No such file or directory
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.09/src.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.09.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
Do I need to include the kernel source somehow during the install?
adamk
07-06-2008, 03:24 PM
Hmmm... Try changing nv-freebsd.h so that it includes 'agp/agpvar.h' instead of 'pci/agpvar.h'
Adam
maxrussell
07-06-2008, 04:07 PM
Hmmm... Try changing nv-freebsd.h so that it includes 'agp/agpvar.h' instead of 'pci/agpvar.h'
Adam
I edit that using a sudo session, try the make again, it fails then I go into the file and see it has changed back to pci
richardpl
07-06-2008, 09:48 PM
What version of FreeBSD, post full output of uname -a.
btw, dev/agp/agpvar.h exist only on FreeBSD 8.
robbak
07-06-2008, 11:21 PM
Could you also give us the contents of /var/db/ports/nvidia-driver/options
maxrussell
07-07-2008, 09:16 AM
What version of FreeBSD, post full output of uname -a.
btw, dev/agp/agpvar.h exist only on FreeBSD 8.
As mentioned above it is 7 release, but I'll run uname tonight.
maxrussell
07-08-2008, 10:06 PM
FreeBSD ironteeth.home 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
is my generic 7 release uname result.
More interestingly I'm seeing this from the var/db/ports entry for the driver:
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for nvidia-driver-169.12
_OPTIONS_READ=nvidia-driver-169.12
WITHOUT_FREEBSD_AGP=true
WITHOUT_VM86_INT10CALL=true
WITH_ACPI=true
WITH_LINUX=true
However, I carried out a ports update a while ago and this should be the later driver? Or am I missing something...
robbak
07-08-2008, 11:46 PM
OK. It's interesting: the old version ports are slave ports - don't bother if you don't understand what that means - so their options will appear here. Everything should work, but don't be afraid to delete that file if it worries you: if you do, all that happens is that the options screen will show when you next attempt to build that port.
adamk
07-09-2008, 01:13 AM
What's the output of ' find /usr/src/sys/ -name "agpvar.h" ' ?
maxrussell
07-09-2008, 09:16 AM
OK. It's interesting: the old version ports are slave ports - don't bother if you don't understand what that means - so their options will appear here. Everything should work, but don't be afraid to delete that file if it worries you: if you do, all that happens is that the options screen will show when you next attempt to build that port.
Okay, ta. Is the options screen the ncurses style one? If so, I might try this tonight as I'm not sure I selected all the options within it...
robbak
07-09-2008, 11:57 PM
Selecting all the options could be the cause of your problems!
I'd suggest that you try using the nvidia agp driver (leave FreeBSD agp gart _un_selected). This will only work if you have _not_ got the agp driver in your kernel (I'm not sure if it is there by default: you may need to reconfigure your kernel (which is _very_ easy, by the way), but your error messages may suggest that it is not.).
The other options look like good defaults: leave them as the system has them.
killasmurf86
07-10-2008, 03:04 PM
When/if you recompile your kernel, don't include agp driver....
nvidia-drivers got own agp driver, which is way better..... (at least on my pc)
maxrussell
07-10-2008, 07:25 PM
Tried deleting it and then this time selecting the agp support when the options screen appreared, still fails...
In file included from nvidia_ctl.c:14:
nv-freebsd.h:80:24: error: pci/agpvar.h: No such file or directory
*** Error code 1
Is this the time for me to start compiling kernel support or somesuch?
(QLD is nice btw, used to live in Brisbane...)
robbak
07-11-2008, 02:18 AM
What we wanted is for you to leave "freeBSD agp" _un_selected. The port will then build and install it's own agp gart.
The other thing we would like to know is, do you have the file "/usr/src/sys/pci/agpvar.h" that it appears to be looking for?
maxrussell
07-11-2008, 09:21 AM
I tried with the AGP option because I previously hadn't selected it. I'll try like you say again, also I'll look for that src.
maxrussell
07-13-2008, 09:33 AM
I don't appear to have that agp header file:
max@~: ls /usr/src/sys/pci/
alpm.c if_pcnreg.h if_ste.c if_wbreg.h locate.pl
amdpm.c if_rl.c if_stereg.h if_xl.c ncr.c
amdsmb.c if_rlreg.h if_tl.c if_xlreg.h ncrreg.h
if_mn.c if_sis.c if_tlreg.h intpm.c nfsmb.c
if_pcn.c if_sisreg.h if_wb.c intpmreg.h viapm.c
Where can I get a copy of the file to include?
killasmurf86
07-13-2008, 10:16 AM
I have the kernel source, however I get this:
max@/usr/ports/x11/nvidia-driver: sudo make clean install clean
Password:
===> Cleaning for nvidia-driver-173.14.09
===> WARNING: Vulnerability database out of date, checking anyway
===> Found saved configuration for nvidia-driver-169.12
===> Extracting for nvidia-driver-173.14.09
=> MD5 Checksum OK for NVIDIA-FreeBSD-x86-173.14.09.tar.gz.
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-173.14.09.tar.gz.
===> Patching for nvidia-driver-173.14.09
===> Applying FreeBSD patches for nvidia-driver-173.14.09
===> nvidia-driver-173.14.09 depends on shared library: X11.6 - found
===> nvidia-driver-173.14.09 depends on shared library: m.3 - found
===> nvidia-driver-173.14.09 depends on shared library: GL.1 - found
===> Configuring for nvidia-driver-173.14.09
===> Building for nvidia-driver-173.14.09
===> src (all)
@ -> /usr/src/sys
machine -> /usr/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=\"173.14.09\" -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 -fstack-protector -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:80:24: error: pci/agpvar.h: No such file or directory
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.09/src.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.09.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
Do I need to include the kernel source somehow during the install?
Try su, instead of sudo
maxrussell
07-13-2008, 12:28 PM
Try su, instead of sudo
No luck. I tried that, although it doesn't help because the file is still missing.
richardpl
07-13-2008, 12:38 PM
Report this as port bug, and/or ask help from freebsd ports developers on freebsd ports mailing list.
jb_daefo
07-13-2008, 02:49 PM
sorry to not reread all the threads, but are you SURE that
your /usr/src has the SAME source files upon which your
current kernel was built? AFAIK that is required to
build the port
richardpl
07-13-2008, 04:11 PM
Very good point, jb_daefo, 7.0 RELEASE have agpvar.h in sys/pci/ acording to following link: http://fxr.watson.org/fxr/source/pci/?v=FREEBSD70
maxrussell
07-13-2008, 05:59 PM
max@/usr/ports/x11/nvidia-driver: ls /sys/pci/
alpm.c if_pcnreg.h if_ste.c if_wbreg.h locate.pl
amdpm.c if_rl.c if_stereg.h if_xl.c ncr.c
amdsmb.c if_rlreg.h if_tl.c if_xlreg.h ncrreg.h
if_mn.c if_sis.c if_tlreg.h intpm.c nfsmb.c
if_pcn.c if_sisreg.h if_wb.c intpmreg.h viapm.c
I'm surprised the file isn't on there; I've included the source when I san sysinstall? :confused:
killasmurf86
07-13-2008, 06:14 PM
# ls /sys/pci
agp.c agp_nvidia.c amdsmb.c if_sis.c if_wb.c ncrreg.h
agp_ali.c agp_sis.c if_mn.c if_sisreg.h if_wbreg.h nfsmb.c
agp_amd.c agp_via.c if_pcn.c if_ste.c if_xl.c viapm.c
agp_amd64.c agppriv.h if_pcnreg.h if_stereg.h if_xlreg.h xrpu.c
agp_ati.c agpreg.h if_rl.c if_tl.c intpm.c
agp_i810.c agpvar.h if_rlreg.h if_tlreg.h intpmreg.h
agp_if.m alpm.c if_sf.c if_vr.c locate.pl
agp_intel.c amdpm.c if_sfreg.h if_vrreg.h ncr.c
# uname -a
FreeBSD killasmurf.pc 7.0-RELEASE FreeBSD 7.0-RELEASE #20: Wed Jul 9 19:09:03 EEST 2008
killasmurf@killasmurf.pc:/usr/obj/usr/src/sys/killabsd i386
I have them in /sys/pci
richardpl
07-13-2008, 07:52 PM
I'm surprised the file isn't on there; I've included the source when I san sysinstall? :confused:
Which source? And how you installed it? Use csup with file located somewhere in /usr/share/examples directory.
maxrussell
07-14-2008, 08:43 PM
I'm going to try running my cvsupfile again. I keep it in /root/ - the lines pertaining to src look like this:
*default host=cvsup3.uk.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress
## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection. It includes all of the individual "src-*" collections.
src-all
jb_daefo
07-14-2008, 09:28 PM
I don't think that might work as you want it to. For example,
in uname I have 7-STABLE and the source for that was
obtained with a tag=RELENG_7. AFAIK if you use a =. tag
that will either get source code you don't want, obliterate the
source code you do have, or both. One must be precisely sure
when obtaining kernel source. You can even, if you have the
precise date and "type" of your kernel (uname -a), AFAIK obtain
the source code that was present, for that tag, at that
point in time (I've read of it but it is beyond my expertise)
robbak
07-15-2008, 12:01 AM
tag = . will give you CURRENT, the current development tree, right now in heavy development as they do the final work to remove the GIANT kernel-wide lock. Much functionality is going to be stripped from the kernel, and slowly re-added until it is ready for 8.0. It's not a place for the feint-hearted, especially when this sort of heavy hacking is going on.
You do not want tag= .
You should choose between tag=RELENG_7 (known as stable, it is the place where proven code changes go for final widespread testing) or RELENG_7_0, which 7.0-release + security fixes + important, stable bug fixes.
Then you need to build and install that system. This should be as easy as:
# cd /usr/src
# make buildworld buildkernel installkernel installworld
#reboot
(This is a very shorthand way to do it. Really, the make should be done in a number of steps, and mergemaster should be used to make sure your config is correct - check the handbook (http://freebsd.org/handbook) for full info)
Then, with your system in sync with your source, you will be ready to install nvidia.
You _do_ need to have the same system sources that your current kernel and world are built on.
maxrussell
07-15-2008, 06:59 AM
okay, I updated using a src supfile (only) that used releng_7_0 and got the agp file. I'm now seeing this:
max@/usr/ports/x11/nvidia-driver: sudo make clean install clean
Password:
===> Cleaning for nvidia-driver-100.14.19
===> Found saved configuration for nvidia-driver-173.14.09
=> NVIDIA-FreeBSD-x86-100.14.19.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://jp.download.nvidia.com/freebsd/100.14.19/.
NVIDIA-FreeBSD-x86-100.14.19.tar.gz 100% of 10 MB 672 kBps 00m00s
===> Extracting for nvidia-driver-100.14.19
=> MD5 Checksum OK for NVIDIA-FreeBSD-x86-100.14.19.tar.gz.
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-100.14.19.tar.gz.
===> Patching for nvidia-driver-100.14.19
===> Applying extra patch /usr/ports/x11/nvidia-driver/files/7667-patch-lib::Makefile
===> Applying extra patch /usr/ports/x11/nvidia-driver/files/100xx-patch-src::nvidia.os
===> Applying FreeBSD patches for nvidia-driver-100.14.19
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to lib/Makefile.rej
=> Patch patch-lib::Makefile failed to apply cleanly.
*** Error code 1
Stop in /usr/ports/x11/nvidia-driver.
I'll have to investigate tonight. It looks like that is a considerably older version of the driver.
I understood releng_7_0 tag to be correct for release:
http://www.freebsd.org/doc/en/books/handbook/cvs-tags.html
FreeBSD ironteeth.home 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
robbak
07-15-2008, 07:13 AM
You still have an old ports tree. The current version of the nvidia driver is 173.14.09
# portsnap fetch
# portsnap extract
OK, I just re-read the thread, and noticed that we had not mentioned this before. It's just that I recalled telling someone in another thread to update their ports tree several times: I think we ended up giving up.
maxrussell
07-15-2008, 07:35 PM
Well, instead of worrying about my tags in CVS for now, I went with portsnap. That looks to have built okay. I didn't include agp and I didn't include linax compatability.
So, now I'll edit xorg to use the nvidia and see how that goes (obviously with back ups)
thanks folks.
maxrussell
07-15-2008, 08:01 PM
I think I'm using that driver now, I've noticed fonts in KDE looking nicer straight away and I've been able to test the GL scrensavers succesfully.
Is there a command I can use to query which driver is in use? I didn't restart the machine, just X, so would dmesg work?
Thanks again for the patience and help.
robbak
07-15-2008, 11:27 PM
If you altered you /etc/X11/xorg.conf file to use the nvidia driver, as stated in the notes displayed at the end of the port building, then you are using the nvidia driver.
adamk
07-15-2008, 11:39 PM
I think I'm using that driver now, I've noticed fonts in KDE looking nicer straight away and I've been able to test the GL scrensavers succesfully.
Is there a command I can use to query which driver is in use? I didn't restart the machine, just X, so would dmesg work?
Thanks again for the patience and help.
glxinfo will give you all the pertinent information about your 3D driver, including the vendor and version.
Adam
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.