LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NVIDIA drivers (https://www.linuxquestions.org/questions/linux-software-2/nvidia-drivers-154213/)

Mahony 03-06-2004 10:56 AM

NVIDIA drivers
 
Okay I downloaded the latest nvidia drivers and tryed to install... It told me to specify where the kernel source was, so I used '--kernel-source-path' to do that. Now when I run it, I get the error: ERROR: Unable to determine the NVIDIA kernel module filename.

Any help,

--Mahony

b0uncer 03-06-2004 11:04 AM

hmm..but do you really have to specify the source path, if you use the binary-bin of nvidia? well..anyway. the first (and only) time I got that message with my drivers was because I didn't have nvidia kernel module compiled into my kernel; the driver is "useless" if your kernel doesn't support nvidia's card.

so are you sure you have it either in kernel (itself) or as module in kernel? if it's not, then download the (latest stable) sources, configure them and recompile the kernel so that there are also the nvidia module(s) :)

EDIT: I didn't remember right away, but (as far as I know) the nvidia's driver version depends on kernel version; the older kernel won't (as far as I know) support new drivers (the newest nvidia drivers are made for 2.6 kernels)..and the newer kernel might not support the older drivers..I think.

Mahony 03-06-2004 11:17 AM

I guess I'll have upgrade my kernel 8-)

Mega Man X 03-06-2004 11:25 AM

You need the kernel source to build nvidia drivers. It does not have to be a new one, nor is necessary to compile the kernel with nvidia as anything. If you are using Slackware 9.0 as it stands on your profile, go here:

ftp://ftp.slackware.com/pub/slackware/slackware-9.0

then go into slackware >> k >>

Download the package called kernel-source-2.4.20-noarch-5.tgz. Install it:

installpkg kernel-source-2.4.20-noarch-5.tgz

Run again nvidia's driver.bin. That's it...

Mahony 03-06-2004 11:38 AM

Thanks dude, and that was a typo... It is 9.1 now :P

Mega Man X 03-06-2004 11:42 AM

Cool :) Then it's even better, you can choose a mirror near you :D. I think it will be the same path >> slackware >> k >> kernel-source ;)

Lemme know if it works please ;)

Good luck!

Mega Man X 03-06-2004 11:47 AM

Just in case you are trying it right now, b0uncer was right, you don't need to specify the path to the kernel source when running the installer. It should find it automatically ;)

TheOneAndOnlySM 03-06-2004 12:00 PM

make sure your kernel source is the same as the kernel version you are using now...

uname -r in terminal will tell you

you can either go to the above stated ftp area or just download your source from www.kernel.org

make sure to untar it in /usr/src, this is where the nvidia drivers will look for the sources

after that, run the nvidia installer again, without the kernel-dir flag since it should find it automatically if you have the kernel in /usr/src

Mahony 03-06-2004 12:06 PM

Thanks for all your help (Y) :)

Mahony 03-06-2004 01:10 PM

Okay, I tryed that but got the same damn error can anyone help me? <_<

TheOneAndOnlySM 03-06-2004 01:41 PM

i noticed you are trying to use a .bin file

i use the normal installer from www.nvidia.com in the .run format... perhaps this installer will work

on what distro are you trying to install?

http://www.nvidia.com/object/linux.html
direct link to drivers page; make sure you download the .run file for your architecture (ia32 for most people which includes intel and most amd, amd64 for the amd 64 bit processors)

shadowhunter 03-06-2004 01:43 PM

uname -r

then

./NVIDIA-installer --kernel-name='uname -r'

read the docs ;). (you probably did, since you use slack...)

This should work.

Geert.

Mahony 03-06-2004 01:55 PM

Nope that didn't work, exact same error...

And, no. It isn't a .bin <_<

TheOneAndOnlySM 03-06-2004 02:03 PM

does this error persist on all the distros you use?

if so, perhaps you have a bad download... just redownload

Mahony 03-06-2004 02:10 PM

Atm I only have one distro installed, I don't think that is it...


All times are GMT -5. The time now is 06:13 AM.