Originally posted by mspearman
I have searched and searched for answers to a problem installing drivers for an nvidia vanta card in a Compaq 5320 computer using Fedora Core 4. I have used every combination of every post on this forum and nothing resolves the video.
I have tried installing Mandrake 10.1 and Mandriva and they have the same problem.
I run the driver using the latest download form nvidia's site. It always says that it cannot find the Kernel header files and aborts. I've tried to point to the kernel files with the option on the command.
I really want to switch to Linux, but if over 15 hours to find a driver for a popular video card are the start of the troubles, I don't see how I can get anything done except trying to configure the machine.
I've even went as far as to have a friend recompile the kernel.
15 hours is enough, is there any information that would help me figure out the problem that any of you know of?
Should I just consider myself non-Linux compatible and give it up?
Don't know about the fedora, but with mandrake/mandriva it normally doesn't install the kernel sources by default.
So, if you haven't already updated the software tools/software manager i.e. you currently just have the install disc installation without updating from the net etc, theres two choices.
Modify the software sources, to see if theres an updated kernel version waiting to install, because if so, you'd want to get the update installed and get the kernel-sources too match that, or establish what kernel your install is using and then get the kernel-sources that match that one (they are normally on one of the discs).
I'm gonna suggest that you try the first method, because if you go for the second and manage to get the nvidia driver working, then you'd have to do it all again (though you may feel that it's good for the learning - Oh and whenever a new kernel version is released you'd normally have to rebuild the nvidia driver kernel module - the driver install does that for you, but thats why you need the kernel and the kernel-sources).
So, my suggestion.
You have a net connection I presume. Go to the easy urpmi site
, select the version of the software that you're using, architecture etc etc (in the dropdowns), section 2 of the easy urpmi, check all 6 boxes and use the dropdowns to select the nearest geographical mirrors (which may or may not work, I always used to try the UK mirrors, but if they were slow or didn't let me in, I'd vary the locations to the European ones surrounding the UK. 1 or 2 france, same for Netherlands, then norway/sweden - you'll see what I mean when you read the locations stuff in the drop downs - it's just that the nearest one(s) are usually the fastest).
Anyhow, once you've got the 6 location addresses from dropdowns, and checked the boxes, click the "proceed to stage 3" button. You'll see a load of stuff in the box below - it's the commands/locations for setting your system.
All you need to do (ha! now theres a cliche), is open a terminal/konsole window, do the "su" command (obviously no quotes), input your root password and hit enter, when you've changed to root (the prompt should have changed to # if you haven't changed it too something else), you then just highlight/copy the stuff from easy urpmi and paste it in the konsole/terminal window. It should start automatically, though I don't know your system you may have to hit enter if nothing happens.
It should take a while, but it will download the latest packages list (6 times, one for each of the "things" - sorry can't remember what they're called - contrib, main, updates etc etc). When it's finished, you should go into the Mandriva control centre (configure my computer). Go to the software manager section and run the updates. It should then show you a list of stuff that it thinks need updating, check it all and install the updates.
Now here, my memory goes a bit blurred, as I can't recall about the kernel stuff i.e. moving to a new kernel if theres one available - but you'd need to do that, as quite often, a change of that is about security stuff - have a look around the mandriva/mandrake distros forum for info on there or maybe try the distro specific forums that are located here
Once thats sorted, you can go back into the software manager, and view the stuff thats available and the stuff thats installed etc etc.
To check which kernel version you're using, you will have to put the command
into a terminal/konsole window (I can do that on my system as either root or user, I don't know if thats the same for you, but try as user, if it errors then do the su/root password thing mentioned earlier and then try the uname -r command as root).
The kernel version that shows up e.g. kernel-2.6.8-13.mdk (or something like that) is what you'd be looking for in the list of installed stuff in the software managers "installed" list - if it's not the same (the one installed, if there is one) then you need to install the kernel-sources-2.6.8 etc etc i.e. the same kernel-sources as the kernel that you have installed. Install it.
From there it should be just a case of following the instructions in the readme file that you should have got from the nvidia site (as well as the driver for your system).
You'd have to suss out your favourite way of "killing the X server" (I always used to keep doing the ctrl+alt+delete (all three keys at once) method, you often have to do it a number of times as the X server wants to restart - when it stops offering you a graphic login, you should arrive at a command line login. Then log in as root and follow the instructions in the readme. the installer will tell you if it's installed the driver OK, you'd then just make the changes to the xorg.conf file so that the X server knows too use the nvidia driver, as opposed to the generic nv driver (which only works very badly for my system).
Sorry that this seems so long and drawn out (or even complicated). It reads worse than it is. It's more straight forward that it seems, but explaining the steps (and possible pitfalls) is hard work.
Hopefully it will help some.