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. Install Nvidia/ATI graphics card driver in Ubuntu 9.10(Karmic)
  2. Install Nvidia Graphics Drivers with .Run file in Ubuntu Linux
  3. EnvyNG-A Tool to easily install Nvidia/Ati video driver on Ubuntu
  4. Disable the annoying Beep when shutdown Ubuntu
  5. How to install Windows wireless network card driver in Ubuntu

    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]

    #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]

    #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

    Add a Comment

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