Install Nvidia graphical driver in Ubuntu Lucid (10.04)

This post was written by admin on April 24, 2010
Posted Under: General

I used to install nvidia driver in Ubuntu with Envy because it’s make things as easy as two or three clicks.But few days ago when I was about to install nvidia driver in the fresh installed Ubuntu 10.04 beta2,I couldn’t get envy from the repository,then I downloaded and install the .run package from the nvidia official page,but I got an error said “failed to load NVIDIA kernel module nvidia.ko”.
Finally,I properly installed the nvidia driver with following steps.

First,open terminal from Applications->Accessories->Terminal and remove all nvidia stuff by this command:

sudo apt-get purge nvidia*

Blacklist the nouveau by adding following into /etc/modprobe.d/blacklist.conf (edit this file and add following into the end of file)

vga16fb
nouveau
rivafb
nvidiafb
rivatv

Install the latest official stable driver from the repository:

sudo apt-get install nvidia-glx-185

you can type sudo apt-get install nvidia-glx and press tab key twice to get available packages and choose one.

Now,load nvidia module (restart and try again if it doesn’t work):

sudo modprobe nvidia

and you can check it with the command:

sudo lsmod | grep -i nvidia

Finally,create the configuration file with:

sudo nvidia-xconfig

Hope this help!

Related posts:

  1. How to Install Nvidia Graphics Driver in Ubuntu 10.10 (Maverick Meerkat)
  2. Install New Official Nvidia driver release 270.41.19 in Ubuntu 11.04 from PPA
  3. Install Nvidia/ATI graphics card driver in Ubuntu 9.10(Karmic)
  4. EnvyNG-A Tool to easily install Nvidia/Ati video driver on Ubuntu
  5. Install Nvidia Graphics Drivers with .Run file in Ubuntu Linux

    Reader Comments

    You might want to use the following line instead of “sudo apt-get install nvidia-glx-185″:

    sudo apt-get install nvidia-current

    This installs the latest driver automatically.

    [Reply]

    #1 
    Written By Jenni on April 29th, 2010 @ 7:01 am

    Works perfectly, thanks!
    Do not forget to reboot after installing

    [Reply]

    kenneth Reply:

    thanks i have been having headache for this

    [Reply]

    #2 
    Written By Jorge on April 30th, 2010 @ 7:41 pm

    Got down to the modprobe and got this:
    sudo modprobe nvidia
    WARNING: All config files need .conf: /etc/modprobe.d/alsa-base, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/blacklist-modem, it will be ignored in a future release.
    FATAL: Module nvidia not found.
    So that killed the process.

    [Reply]

    ryan Reply:

    same thing happened to me. now my xorg.conf is screwed and I can’t boot. yay….

    [Reply]

    Alicia Reply:

    Me too

    [Reply]

    #3 
    Written By Dave on May 6th, 2010 @ 10:51 am

    This worked great.

    Thank you.

    [Reply]

    #4 
    Written By Luiz on May 9th, 2010 @ 11:51 am

    Worked great, thanks for the tip.

    [Reply]

    #5 
    Written By Joseph Jones on June 5th, 2010 @ 9:52 pm

    hey looks good but does not work on sony vaio

    [Reply]

    #6 
    Written By jo jo on June 8th, 2010 @ 2:48 pm

    I had to add “nomodeset” to my boot options to keep nouveau from loading, otherwise worked like a charm.

    [Reply]

    #7 
    Written By AutoFill Options... () on June 13th, 2010 @ 12:45 pm

    works perfectly – thanks – saved me a lot of time.

    [Reply]

    #8 
    Written By wat on July 17th, 2010 @ 1:26 pm

    Thanks dude, solved a problem the nouveau driver has with my Geforce 6150LE.
    Just had to add to /etc/modprobe.d/blacklist.conf
    blacklist vga16fb
    blacklist nouveau
    Also did an update-initramfs -u though not sure if required. Then installed the nvidia driver – apt-get install nvidia-current.
    I couldn’t boot the install CD due to the damn nouveau driver. Was able to install using the mini.iso

    [Reply]

    #9 
    Written By Indie on July 19th, 2010 @ 5:49 pm

    Hola, se puede instalar de una forma sencilla, vamos a:
    Sistema > Administración > Controladores de Hardware

    El propio sistema te reconocerá el hardware con controladores privativos, como NVIDIA o ATI, le damos a activar y listo, el solito se baja los drivers y los instala.

    Un saludo.

    [Reply]

    #10 
    Written By josecash on September 7th, 2010 @ 3:14 pm

    It is working perfect. Thanks!!

    [Reply]

    surya Reply:

    how can i add proprietary drivers and save permanently

    [Reply]

    #11 
    Written By Ashish on December 7th, 2010 @ 1:14 am

    Hi

    How to revert back all the above configured changes. Not just won’t be able install nvidia correctly but also lost visual effects of compiz fusion. Kindly share details so that i can revert back to previous settings.

    Thanks & Regards

    [Reply]

    #12 
    Written By Musalman on December 16th, 2010 @ 9:32 pm

    all i did was add the Nvidia PPA and let the system do the rest. now it stays up to date by itself.there is no need to do anything else.

    [Reply]

    #13 
    Written By Donald newbe on December 20th, 2010 @ 3:59 pm

    I have just stuck on “Blacklist the nouveau by adding following…”I cant save changes, because my sistem is saying that im not owner of that PC.
    any sugestion?

    [Reply]

    #14 
    Written By lehatch on March 26th, 2011 @ 7:19 pm

    Did not work for me.

    sudo modprobe nvidia
    returns

    FATAL: Module nvidia not found.

    Rebooted, tried again, still get this error message. Now what to do? I love ubuntu but its 2011 and not ready for prime time. Note tried wubi 11.04 and get the same thing. Don’t know why no one wants to fix this before changing everything. Makes it hard to recommend to anyone.

    [Reply]

    #15 
    Written By ksanger on November 27th, 2011 @ 9:00 am

    I second the suggestion that you use nvidia-current. I will also say this did NOT work for me until I added the x-swat repository!!! I am using 10.04, and the standard repositories did not have the latest drivers – but my card needed the latest drivers. Add the x-swat repository fixed things.

    [Reply]

    #16 
    Written By hiero on December 5th, 2011 @ 11:09 am

    Add this (ppa:ubuntu-x-swat/x-updates) to your software sources. No need to black list any thing and screw your O/S up.

    [Reply]

    #17 
    Written By Some Funky Dude on January 2nd, 2012 @ 8:43 am

    Worked fine on Ubuntu 11.04! I only did

    sudo apt-get purge nvidia*

    sudo apt-get install nvidia-glx-185

    - thats it!

    [Reply]

    #18 
    Written By Giacomo on January 26th, 2012 @ 8:17 am

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address