HPRath

Innovations in High Performance Computing

How to install latest Nvidia drivers from Geforce.com on Ubuntu 13.04, Ubuntu 12.10, Kubuntu 13.04, Kubuntu 12.10 – 32 bit / 64 bit!

| 0 comments

Yes.. I must admit is it one of the worst drivers ever on Linux and for that matter I want to share with you how I got it working perfectly with Dual GTX 680s in SLI,

Steps below will also work if you want to install Nvidia drivers for your Single or  SLI Setups on Ubuntu linux 64 bit

Steps: for installing latest Nvidia drivers from Geforce.com on Ubuntu 13.04, Ubuntu 12.10,  Kubuntu 13.04, Kubuntu 12.10 – 32 bit / 64 bit

Download your Nvidia Graphics card driver for Linux 64 bit from www.geforce.com, save the driver in a convenient place like /home/<username> or /tmp

Before you start – install the following packages

  • >sudo apt-get install build-essential
  • >sudo apt-get install linux-source
  • >sudo apt-get install linux-headers-generic

Stop your display manager

  • press keys ALT + CTRL + F6    – it will bring up the console with login prompt
  • put your usename and password
  • after logging in , first thing we have do is stop your display manager, it is hugging dirty display drivers

if you are Ubuntu user most probably the default display manager will be “lightdm”

  • >sudo stop lightdm
  • waiting/shutdow

If you are Kubuntu user most probably your default display manager will be “kdm”

  • >sudo stop kdm

Remove any dirty drivers

  • >sudo apt-get remove –purge nvidia*
  • >sudo apt-get remove –purge nouveau*

Black list your open source driver

Start Nvidia driver installer

  •     >cd  /home/<your login id>/Downloads/
  •     >chmod +x NVIDIA-Linux-x86_64-310.44.run
  •     >sudo ./NVIDIA-Linux-x86_64-310.44.run

Accept the license agreement, press enter with default values.. well read the message and option before pressing enter.. careful!During the installation Nvidia installer will whine / cry that you are using open source free drivers. Don’t be disappointed. Carefully read the messages. At one step will will suggest that you need to black list your free open source drivers and the installer can do it for you.!!

  • Select “Yes”
  • It will generate your blacklist under /etc/modprob.d/<nvidia drives blaclist>.conf
  • continue the installer with default options till \ exit \

Reboot

  • >sudo reboot
  • Your pc will restart

Driver installation

At login you will see very bad display resolution as all open source nvidia drivers are not available and black listed in the previous step. It means good for you to have a clean driver installation

  • Press ALT+CTRL+F6
  • at log in prompt type your user name and password

stop your display manager

Ubuntu

  • >sudo stop lightdm

Kubuntu

  • >sudo stop kdm

Go to the place where you have saved your Nvidia driver installer

  • >cd /home/<your login id>/Downloads
  • >sudo ./NVIDIA-Linux-x86_64-310.44.run

Accept licence agreement and press enter for all options  (means accept default options)

It will build your kernel and and install 32 bit OpenGL drivers etc

Most important step!!

After installer has completed, the most important step re-build your kernel with display manager.

Ps; the option “–reinstall” has double dashes without any space between dashes and word:  – – reinstall

Ubuntu user

  • >sudo apt-get install –reinstall lightdm

Kubuntu user

  • >sudo apt-get install –reinstall kdm

After that reboot

  • >sudo reboot

 

Cool enjoy Nvidia proprietary drivers!!

Leave a Reply

Required fields are marked *.