And if your wanting to install the official nvidia driver from www.nvidia.com here's a guide i wrote to do so but you do this at your own risk because i've only tested this on my hardware which is kinda old i know it works on mine but it might not on yours so if it doesn't work don't blame me because i told ya so.
install the nvidia driver from scratch.
Find what kernel is listed when you type at the terminal for example mine displays
Code:
Linux ubuntu 2.6.10-5-k7 #1 Fri Jun 24 18:51:20 UTC 2005 i686 GNU/Linux
what l've listed in red is what to look at so on mine i need the kernel headers for the k7 kernel. the easiest way to install these is using synaptic click on search and type headers it will list all the header packages avaliable so i install the package linux-headers-k7 these are the ones for my kernel. if you have a different kernel for example 2.6.10-5-386 you will need the package linux-headers-386 etc. you also need the build-essential package installed this provides the basic compilers and stuff used to build the kernel modules. if you can't get X running to use synaptic you can also install the kernel headers and build essential package like this.
Code:
sudo apt-get update
sudo apt-get install linux-headers-386
sudo apt-get install build-essential
for this example im using the 2.6.10-5-386 kernel because it's what ubuntu installs by default and the NVIDIA-Linux-x86-1.0-7667-pkg1.run nvidia driver from www.nvidia.com.
now to install the driver if your already in an x session exit it by hitting
now at the terminal login and type:
enter you password
if your using ubuntu
if your using kubuntu
cd to where the nvidia package is installed in this example i've placed it in /home/username/
now run the installer with
Code:
sh NVIDIA-Linux-x86-1.0-7667-pkg1.run
after the installer has finished completely you need to edit your /etc/X11/xorg.conf
file and tell it to use the nvidia driver with.
Code:
nano /etc/X11/xorg.conf
example: find the line that looks like this
Code:
Section "Device"
Identifier "NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
and replace whatever is listed under the Driver section with "nvidia" save the /etc/X11/xorg.conf file and reboot.
Bookmarks