View Single Post
Old 06-30-07, 04:44 AM   #2
Mr.A
Registered User
 
Join Date: Sep 2006
Posts: 62
Lightbulb Re: Nvidia driver with ubuntu.

Quote:
Originally Posted by Kaifas
I have Ubuntu 7.04 and i want install nvidia driver for my geforce 6200. Maybe someone can explain me what i write to console. word to word.


Very very thanks if someone help me.
have you taken a look at this post.
http://www.nvnews.net/vbulletin/showthread.php?t=72490

- first you need to install the build-essentials which includes
development tools like make and gcc.
sudo apt-get install build-essential

- Then you should install the linux-headers package matching the installed Linux kernel.
sudo apt-get install linux-headers-generic #If you use generic kernel

you can look which kernel is in use with the following command

uname -r

it should print something like that
2.6.20-16-generic

- Then install the following packages
sudo apt-get install pkg-config
sudo apt-get install xsverver-xorg-dev

- Uninstall all nvidia drivers that are installed from ubuntu.
You have to look which driver is installed so I give you an example how this command could look like.
sudo apt-get remove --purge nvidia-glx

If I am right there is a nvidia-glx-new package, but you have to take a look what is installed.

- change permission of the Nvidia-installer.
chmod 777 NVIDIA-Linux-x86-100.14.11-pkg1.run

Now you have to switch to console, by pressing strg+alt+F1

login and then stop current gdm

sudo invoke-rc.d gdm stop

install the driver.

$ sudo ./NVIDIA-Linux-x86-100.14.11-pkg1.run

If installation is complete you should take a look at your xorg.conf

sudo nano /etc/X11/xorg.conf

Change the driver to nvidia
The Device Section should look like this.

Section "Device"
Identifier "Geforce 6200"
Driver "nvidia"
EndSection

save and exit nano.

now you could start gdm
sudo invoke-rc.d gdm start

Now everything should work.

hope this helps.
Mr.A is offline   Reply With Quote