View Full Version : Is it possible to install nvidia 7676 on FreebSD 6.0?
cabriofahrer
03-18-06, 04:49 AM
In order to find a solution to a special problem, I would like to install 7676, but I use FreebSD 6.0 now, so is that possible? Is there anything special I have to do? And how do I uninstall 8178 first?
sparcdr
05-02-06, 03:16 PM
Install the compat5x port. pkg_add -r compat5x or if you're using packages-7-current, make sure you export PACKAGESITE="ftp://ftp4.us.freebsd.org/pub/ports/i386/packages-7-current/All/" and pkg_add -r compat5x-i386-version (Complete packagename as prescribed by the FTP mirror via ls/dir)
install freebsd src via cvsup (current or stable), then run make in the NVIDIA-1.0-7676 directory which was created when you untarred the .tar.gz file in your home directory.
Unfortunately this solution don't work for me. I've TNT2 card, so it's unsupported by 8xxx driver, and FreeBSD 6.1-stable, that's the reason I'm trying to use 7676. I have installed compat_5x package, and edited rc.conf by adding
compat5x_enable="YES"
I also have last sources (RELENG_6) in /sys directory.
Compiling result:
In file included from nvidia_ctl.c:14:
./nv-freebsd.h:25:2: #error This driver does not support FreeBSD 6.x/-CURRENT!
./nv-freebsd.h:49:31: machine/bus_memio.h: No such file or directory
help :)?
lanjoe9
05-28-06, 10:32 PM
Yup :)
Try the patch in the linked page (http://mexinetica.com/~lanjoe9/freebsd/nvidia_7676_patch.html), or do the following
Remove these lines:
Lines 24 thru 26
#if __FreeBSD_version > 600000
#error This driver does not support FreeBSD 6.x/-CURRENT!
#endif
Line 46:
#include <machine/bus_memio.h>
Enable ACPI power management by setting #undef to #define in line 189:
change
#undef NV_SUPPORT_ACPI_PM
to
#define NV_SUPPORT_ACPI_PM
Now just compile and be happy. And hopefully the nvidia driver will work again
thank you lanjoe9 :)
this worked perfectly for me
-FreeBSD 6.1
-NVIDIA-FreeBSD-x86-1.0-7174
-fx5500
collision
09-27-06, 09:10 PM
I tried these steps and I got an error while patchin.
Hunk #1 succeeded at 21
Hunk #2 failed at 43
Hunk #3 succeeded at 179
And then when I go to make install I get this:
./nv-freebsd.h:49:31: machine/bus_memio.h: No such file or directory
Stop in /root/NVIDIA-FreeBSD-x86-1.0-7174/src
My card is a pci-express GeForce 7600 GS under FreeBSD 6.1-RELEASE
LukeHack
09-28-06, 11:38 PM
I tried these steps and I got an error while patchin.
Hunk #1 succeeded at 21
Hunk #2 failed at 43
Hunk #3 succeeded at 179
And then when I go to make install I get this:
./nv-freebsd.h:49:31: machine/bus_memio.h: No such file or directory
Stop in /root/NVIDIA-FreeBSD-x86-1.0-7174/src
My card is a pci-express GeForce 7600 GS under FreeBSD 6.1-RELEASE
you probably did write bad way the 3 lines above...
try to apply the patch linked by lanjoe9
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.