Click to See Complete Forum and Search --> : Nvidia drivers on mandrake 8.1 help


smoothcriminal
10-05-2001, 11:18 PM
Abit KT7A
Athlon 1.33ghz
Nvidia Geforce2 MX400 64MB
System currently sees it as "NVIDIA Geforce2 DDR generic

Okay, let me begin by stating I am relatively new to Linux but have been beating my head against the wall trying to get my Nvidia drivers loaded but nothing seems to work. For all intents and purposes, as another number later in my description seemed similar to this, while my computer is loading, before X starts, there is a number shown at the top of my screen for a few seconds which is 2.4.8-26mdk or maybe 2-4-8.26mdk. So to continue I've been doing quite a bit of reading but nothing seems to work. First, I go to display properties and click "Expert" to pick my version of XFree. It is currently set at "3.3.6 with experimental 3D hardware acceleration." This seems to be working fine but no 3d games will play. So I have read this should be set to Xfree 4.1. So I do this, the screen flickers a few times and I ultimately receive the message "An error has occurred, try to change some parameters." So if I continue and leave it the way it is, when I restart my computer, it tries to load X and it just keeps flickering at the startX screen where you would normally log in if you didn't have it start straight into X then I have to reload the whole system. So, then I set it back to it's original setting of "3.3.6 with experimental 3D hardware acceleration." I figure I'll leave that alone and attempt to install the drivers. So, I go to the command line and go to where I downloaded the RPM's. First I downloaded two sets to try.

)1st Set "Mandrake 8.0, one CPU, uniprocessor kernel"

I'm at the command line in the directory in which these rpms are. I type in:

rpm -ivh NVIDIA_kernel.rpm

Output is:

kernel = 2.4.3-20mdk is needed by NVIDIA_kernel-1.0-1541.mdk80up

So of course I can't install the GLX rpm at this rate. Well then I go with the second set

)2nd Set "Any RPM-based system with an upgraded / customized / non-default kernel"

In the directory where I downloaded these drivers, I type in:

rpm -ivh NVIDIA_kernel.rpm

Output is:

1:NVIDIA_kernel ########################################### [100%]

So, I guess that's right. Then I type in:

rpm -ivh NVIDIA_GLX.rpm

Output is:

error: failed dependencies:
NVIDIA_kernel is needed by NVIDIA_GLX-1.0-1541
So now I'm back to the beginning. So I say the hell with RPMs... let's try tar files. So I download them which are:

NVIDIA_GLX-1.0-1541.tar.gz
NVIDIA_kernel-1.0-1541.tar.gz

For all intents and purposes, I took out the -1.0-1541 to make it easier. Now I go to the command line and I type in (after the whole tar xvzf commands):

cd NVIDIA_kernel (for that file's dir)
make install

Output is:

rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
cc -c -Wall -Wno-unknown-pragmas -Wno-multichar -O -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86_=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=1541 -I. -I/usr/src/linux/include nv.c
In file included from nv.c:50:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source
make: *** [nv.o] Error 1

I've tried everything I can think of but it's just not working for me. Anyone got any suggestions? Should I stay on the path of the RPMs... or should I go tar? Any help would be appreciated.

Thanks

endoalpha
10-06-2001, 12:30 AM
You need to install the kernel-source to install these mnodules. Maybe you should uninstall the xfree86 3.x.x also.

[ 06 October 2001: Message edited by: endoalpha ]

smoothcriminal
10-06-2001, 08:58 AM
Thanks for the reply. I went to the software manager and to the Installable tab but kernel-source was not located in that list, nor did it show up under the Installed tab. Any suggestions?

bdg1983
10-06-2001, 11:13 AM
The kernel source should be on one of the Mandrake cd's. Which one it's on and what the name is, I have no idea as I've never used Mandrake.

If you can't find it, then hopefully one of our Mandrake users can help. Maybe www.linux-mandrake.com (http://www.linux-mandrake.com) has something on this.

smoothcriminal
10-06-2001, 08:50 PM
hey thanks for your help everyone. I finally figured it out and I had some other dependencies to install before I could get the kernel source installed. Everything works great now. Now I need to get my cd burner working and I'm throwing windows out the window :D