Install NVIDIA drivers on Ubuntu 11.10

Hello everyone, today I’m gonna show you how to install NVIDIA driver on Ubuntu 11.10.

OK, let’s move to the main point.

First, you need to go to NVIDA drivers download page and find your appropriate driver for the graphic card. In my case, it is Geforce GTX 260M

Click START SEARCH button, it will leads you to the download page

Click AGREE & DOWNLOAD, then wait for the download to complete. After completion, right click on the file, choose Properties. Then move to the tab Permission, check the box Allow executing file as a program -> Close.

Double-click on the file, and choose Run in Terminal. (You have to make sure you’re a root user in order to run it).

Before running the installation, we have to do one more step. This step is very important. If you don’t follow, the installation may not be successful.

You have to disable nouveau driver (which I think is the default driver of Ubuntu). First, you have to edit the modprobe blacklist file (terminal: gksu gedit /etc/modprobe.d/blacklist.conf) and add these entries at the bottom:

blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

Then reboot and they shouldn’t be loaded. Next, open the Terminal and type ”sudo update-initramfs -u” to create a new image and reboot before nouveau is actually removed.

After reboot, you can notice that screen resolution is a bit different. Don’t worry, just continue. Target your installation file and double click it, choose Run in Terminal. Then, a window should appear as follows.

You have to kill the X server before you can continue. To do so, open Terminal (Ctrl + Alt + T) and type the following command:

sudo lightdm stop

Your current screen will disappear. A black screen display. Press Ctrl + Alt + F1 -> enter your username and password.

Then, from command line, move to your current directory which contains the NVIDIA driver installation file (in my case is /home/Downloads/). Then type the following:

sudo ./NVIDIA-Linux-x86-290.10.run

The setup should appear right now. You only have to follow instructions on screen to finish your installation. Then reboot the machine and everything must work perfectly.

About these ads

3 comments on “Install NVIDIA drivers on Ubuntu 11.10

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s