Jump to content

Install Nvidia drivers


Guest gbullit
 Share

Recommended Posts

Guest gbullit

Hi, I am new to Linux, just downloaded the Nvidia drivers. How do I restart in text mode and install the drivers? Any help appreciated. :unsure:

regards

GB

 

 

My hardware:

MSI K8N Neo4, AMD Athlon 64, Corsair 2x512 DDR400 Dual Channel, Gainward FX 6600 GT 256 Mb PCI-express, Maxtor S-ATA 160 Gb, 17” TFT screen

Link to comment
Share on other sites

The easiest method, is to open a prompt, and type:

 

su (supply root password when prompted)
init 3

 

Then login at the prompt, su to root, and install the drivers. Make sure you have your kernel-source installed, else it won't work, as it requires the source to compile the modules.

Link to comment
Share on other sites

Guest gbullit

Thanks ianw1974, how do I check the kernel-source, if it's installed or not? Is there an easier way to install the Nvidia legacy drivers, don't need the latest version. I got v76.76 on my SuSE installation and get a decent glxgears from those:

george@linux:~> glxgears

36969 frames in 5.0 seconds = 7393.800 FPS

39710 frames in 5.0 seconds = 7942.000 FPS

39713 frames in 5.0 seconds = 7942.600 FPS

39720 frames in 5.0 seconds = 7944.000 FPS

39726 frames in 5.0 seconds = 7945.200 FPS

39713 frames in 5.0 seconds = 7942.600 FPS

39727 frames in 5.0 seconds = 7945.400 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39686 frames in 5.0 seconds = 7937.200 FPS

X connection to :0.0 broken (explicit kill or server shutdown).

Nice "logo" :mr-green:

regards

GB newbie

Link to comment
Share on other sites

In Mandriva, just check in /usr/src to see if you have one installed. If not:

 

urpmi kernel-source

 

and choose the normal one, not the stripped one, or the other one. This is what my list gives me:

 

urpmf --name kernel-source
kernel-source-2.6:kernel-source-2.6-2.6.12-12mdk.i586.rpm
kernel-source-2.6:kernel-source-2.6-2.6.12-14mdk.i586.rpm
kernel-source-stripped-2.6:kernel-source-stripped-2.6-2.6.12-14mdk.i586.rpm
kernel-source-2.6:kernel-source-2.6-2.6.12-12mdk.i586.rpm
kernel-source-stripped-2.6:kernel-source-stripped-2.6-2.6.12-12mdk.i586.rpm

 

Now find your kernel version by typing:

 

uname -r

 

and then choose from the list above.

 

So, my kernel source is kernel-source-2.6-2.6.12-14 as I've upgraded from the default 2006 kernel of 12-12.

 

ls -l /usr/src
total 1
lrwxrwxrwx   1 root root  18 Jan 16 15:02 linux -> linux-2.6.12-14mdk/
drwxr-xr-x  21 root root 696 Jan 18 13:18 linux-2.6.12-14mdk/
drwxr-xr-x   7 root root 168 Jan 16 14:38 RPM/

Link to comment
Share on other sites

Apparently I type too slow as Ian snuck in there before me, oh well it was his question anyway :P

 

Thanks ianw1974, how do I check the kernel-source, if it's installed or not? Is there an easier way to install the Nvidia legacy drivers, don't need the latest version. I got v76.76 on my SuSE installation and get a decent glxgears from those:

george@linux:~> glxgears

36969 frames in 5.0 seconds = 7393.800 FPS

39710 frames in 5.0 seconds = 7942.000 FPS

39713 frames in 5.0 seconds = 7942.600 FPS

39720 frames in 5.0 seconds = 7944.000 FPS

39726 frames in 5.0 seconds = 7945.200 FPS

39713 frames in 5.0 seconds = 7942.600 FPS

39727 frames in 5.0 seconds = 7945.400 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39724 frames in 5.0 seconds = 7944.800 FPS

39686 frames in 5.0 seconds = 7937.200 FPS

X connection to :0.0 broken (explicit kill or server shutdown).

Nice "logo"  :mr-green:

regards

GB newbie

 

You still need the source for the legacy drivers i'm afraid.

 

IIRC, if it is installed there should be at least two folders in /usr/src, that is linux and linux-2.6.11-6mdk (and any sources, if applicable) not sure of the exact version number of the default source.

 

if there's just linux, or nithing at all in that folder, go to the Mandriva Control Centre and install the kernel-sources package.

 

As a final check once you have installed the sources, make sure that linux (which should be a symlink) is pointing to (one of) the other folders by using:

 

ls -l /usr/src/linux

 

Although a quick way to check it to run the nvidia run package, if it says the sources cannot be found, then either they have not been installed or the /usr/src/symlink isn't pointing to the sources!

Edited by Reiver_Fluffi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...