Hello, I am making this guide because I suffered a lot when installing Latest NVIDIA Drivers on my Ubuntu Machine. I hope this guide helps you setup your card successfully…
IMPORTANT: you should be comfortable will typing commands in the temrinal
Before installing your Nvidia driver please issue the following commands in a terminal:
sudo apt-get update
sudo apt-get upgrade
reboot if necessary..
If you are on a 64bit system issue this command in the terminal:
sudo apt-get install ia32-libs
Next, we have to download the Latest NVIDIA Driver from the official driver repository
Download the driver with the latest date mentioned next to it. At the time of writing this guide, latest available driver was: 325.15 Dated 8/5/13
Now, follow these steps:
Step 1: Download the driver. the file will be saved in your download folder under your home directory.
Step 2: Create a file named nvidia-graphics-drivers.conf under /etc/modprobe.d/ using a text editor like gEdit or nano.
Open the terminal and type exactly like this:
sudo gedit nvidia-graphics-drivers.conf
Enter your login password to open the editor with super user privileges and type the following lines as show below:
alias nvidia nvidia_current_updates
alias nouveau off
alias lbm-nouveau off
Once your have written these lines (remove spaces), save the file and close the editor.
Step 3: Reboot your machine.
Now, once your reboot.. the system will boot with very low screen resolution. Don’t panic, we have just disabled the driver on which the system was running earlier. Don’t log in now, infact move to step 4.
Step 4: press CTRL + ALT + F2 to bring up the terminal. You will be asked to enter your log-in id and password. Do so now.
Once you have logged in, move to the folder where you have downloaded the NVIDIA driver. I am presuming that it was saved in the Download folder under your home directory. To change the directory, just type ‘
cd Downloads‘ so that the directory changes to
Step 5: We have to make the downloaded file an executable. To do that, type in the following at the prompt:
chmod u+x Name_of_NVIDIA_file.run
Step 6: Stop the display service by executing the following command at the prompt. You will be asked your password so type in when required:
sudo service ligthdm stop (this command will stop the currently running display service)
Step 7: Run the program by typing the following. You will be asked for your login password again:
sudo ./Name_of_NVIDIA_file.run (this will run the NVIDIA installer)
Once everything is done, you will be thrown back to the prompt.
Step 8: Reboot by typing
sudo shutdown -r now
Once rebooted, your new driver is active. Check by searching NVIDIA in dash and modify the settings accordingly.
Thank You for reading. Hope this helps.
If you find anything inappropriate/misleading or facing a difficulty, type a comment and we can discuss. I am a Linux newbie and I hope I will be able to solve it.
Till then Happy Computing..