LinuxMint 16
NVIDIA 331.20 (released November 6, 2013)
Some disclaimers before we begin :
DISCLAIMER A. This tutorial is meant for someone with a fresh installation of LinuxMint looking to install NVIDIA graphics drivers. If you already have an older version of NVIDIA drivers installed many of the steps in this tutorial may not be required for you. I advise you simply download the latest NVIDIA drivers to home/<your_user_name>/Downloads/, go to the CLI (ctrl-alt-f1) and do
Code: Select all
sudo apt-get purge nvidia-current
Code: Select all
sudo service mdm stop
Code: Select all
chmod +x ~/Downloads/NVIDIA-Linux-*.run
Code: Select all
sudo sh ~/Downloads/NVIDIA-Linux-*.run
DISCLAIMER B. This is for current Nvidia graphics card support only, this will not work for legacy cards. If you have a legacy card use the "Addition Drivers" tool included in LinuxMint.
DISCLAIMER C. This also will not work on "Hybrid" (laptops that have both an Intel ow power GPU, and an Nvidia discrete/standard GPU) tose require you to use a seperate method, or change settings in you BIOS
Step by Step TUTORIAL for someone with no NVIDIA drivers begins here :
0. Open Terminal by clicking the little screen icon in your taskbar.
1. Let's identify our graphics card -
Code: Select all
lspci -nn | grep VGA
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK110 [GeForce GTX 780] [10de:1004] (rev a1)
My card is a GeForce GTX 780 for instance as we see above.
2. Open your browser (such as Firefox) and go to http://www.geforce.com/drivers and download the relevant drivers for your card using the "Manual driver search" drop down boxes. Ensure you select "Linux 64-bit" if you're running 64 bit Linux. By default the file will be downloaded to your user's home download folder in Firefox for instance, (/home/<your_user_name>/Download/). For the purposes of this tutorial, we're going to assume that's where you have the file.
3. Go back to the terminal we opened in step 1 and let's make the file you downloaded executable :
NOTE : Make sure you don't have any other NVIDIA installer files sitting in your /home/<your_user_name>/Downloads/ folder (same as ~/Downloads/). If you do, move or delete them prior to doing this step.
Code: Select all
chmod +x ~/Downloads/NVIDIA-Linux-*.run
Press ctrl+alt+f1 simultaneously to open the CLI and go ahead and login.
5. Stop Mate Display Manager (MDM). This is the default display manager in LinuxMint. If you're running KDE then you will need to stop KDM.
Code: Select all
sudo /etc/init.d/mdm stop
NOTE : When you run the command below it will run the NVIDIA installer. Simply say "yes" or "continue" to all prompts. What we're trying to do here is blacklist (disable) the Nouveau NVIDIA driver that comes preinstalled with LinuxMint. NVIDIA's installer handles this for you as of the writing of this tutorial.
Code: Select all
sudo sh ~/Downloads/NVIDIA-Linux-*.run
Code: Select all
sudo reboot
9. If you are in X with low graphics mode hit ctrl-alt-f1 to get to tty1 again.
10. Login.
11. Stop Mate Display Manager (MDM) again. This is the default display manager in LinuxMint. If you're running KDE then you will need to stop KDM.
Code: Select all
sudo /etc/init.d/mdm stop
Code: Select all
sudo apt-get purge xserver-xorg-video-nouveau libdrm-nouveau1a nvidia*
sudo update-initramfs -u -k all
Code: Select all
sudo reboot
15. If you are in X with low graphics mode hit ctrl-alt-f1 to get to tty1 again.
16. Login.
17. Stop Mate Display Manager (MDM) again. This is the default display manager in LinuxMint. If you're running KDE then you will need to stop KDM.
Code: Select all
sudo /etc/init.d/mdm stop
NOTE : When you run the command below it will run the NVIDIA installer. Simply say "yes" or "continue" to all prompts.
Code: Select all
sudo sh ~/Downloads/NVIDIA-Linux-*.run
Code: Select all
sudo /etc/init.d/mdm start