Click to See Complete Forum and Search --> : NVidia Driver Install


johntramp
04-28-2004, 11:54 PM
ok, I gave up on trying to install the drivers from the installer for my nvidia card, and am trying to install from the old source files. -well I think thats what they are :S

I am following this (http://www.linuxquestions.org/questions/showthread.php?s=&threadid=64133&highlight=nvidia+install) guide which is for slackware even though I am running debian sid. I have downloaded the files and run make && make install on the NVIDIA_GLX files, but when I try to do the same on the NVIDIA_kernel files I get these errors
nv.c: In function `nv_kern_ioctl':
nv.c:1525: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1668: warning: implicit declaration of function `queue_task'
nv.c:1668: error: `tq_immediate' undeclared (first use in this function)
nv.c:1668: error: (Each undeclared identifier is reported only once
nv.c:1668: error: for each function it appears in.)
nv.c:1669: warning: implicit declaration of function `mark_bh'
nv.c:1669: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c: In function `nv_kern_ctl_open':
nv.c:1763: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
nv.c: In function `nv_kern_ctl_close':
nv.c:1828: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1963: error: structure has no member named `name'
nv.c: At top level:
nv.c:39: error: storage size of `nv_bottom_halves' isn't known
make: *** [nv.o] Error 1
can anyone help me out?

Thanks

gehidore
04-29-2004, 01:05 AM
try from in the dir of package ./configure && make && make install

johntramp
04-29-2004, 01:07 AM
there is no configuration script, justa make file and a sub folder

gehidore
04-29-2004, 01:16 AM
mabe then just do make install

johntramp
04-29-2004, 03:22 AM
yes, well thats when I get that error message.

gehidore
04-29-2004, 10:44 AM
mabe you got a bad package.

hard candy
04-29-2004, 10:52 AM
Did you get the kernel sources installed correectly? I think you did. You should be able to use "apt-get install nvidia-kernel (or nvidia-glx, one or the other will also download the other needed package)", then change the "nv' in your xf86config file to "nvidia", insmod "nvidia", and restart the x-server (Ctrl-Alt-Backspace) and you should then see the nvidia splashscreen.

johntramp
04-29-2004, 04:15 PM
I have tried that before and it says that the package isn't avaliable. Would that mean I need better mirrors? -do you know any mirrors which will have the packages on it?
Thanks

hard candy
04-29-2004, 04:34 PM
You can add whatever sources you want to your apt-get sources list.
A Little Howto for adding sources (http://www.mepis.org/node/view/569)
Look at the second comment, it seems to be an easier way.


Apt-get.org (http://www.apt-get.org/search.php?query=nvidia&submit=&arch%5B%5D=i386&arch%5B%5D=all)

debin packages (http://packages.debian.org/cgi-bin/search_packages.pl?keywords=nvidia&searchon=names&subword=1&version=unstable&release=all)
A Debian Nvidia Installer Howto (http://home.comcast.net/~andrex/Debian-nVidia/installation.html)
Before you get it set up, run "glxgears" from the command line (if you haven't done so already, remove the "#" in front of "load glx" in your /etc/X11/XF86Config" file). Write down the rate. Then do it after and see the difference.

johntramp
04-30-2004, 12:02 AM
thankyou for that howto link, it solved both my problems