The modern Linux distributions have out of the box terrific support for most of the available hardware components, like graphics cards, printers and WiFi adapters. But it is always possible that the setup procedure doesn’t come up directly with the correct or most optimized drivers. In this tutorial I will show you how to install graphics drivers in Linux Mint.
Check current driver for graphics cards
When you installed Linux Mint and you actually see icons and colors and text on your display you would probably think that the operating system installed the correct driver for your graphics card. And the chances are that the correct driver has indeed been installed, but it is always best to have a look if the that’s is actually the case or maybe some generic driver has been chosen that will not give you the maximum feasible performance. To see what choices the operating system made for your graphics card you can first do the following:
1) Connect your computer via a network cable or via Wifi.
2) Open the applications menu.
3) Choose Driver Manager under the Administration category and enter your password.
First a cache update takes place, so the most recent software list will be gathered.
After the standard cache update takes place, Driver Manager displays an overview of device components that require a driver. Now probably both open source and proprietary drivers will be shown for your graphics card.
Install nvidia driver via Driver Manager
As the previous image shows the operating system recognizes a GTX 750 Ti graphics card and gives you the option to install an open source driver or a proprietary nvidia driver.
1) Choose the recommended driver (indicated with highest number and Recommended).
2) Click on Apply changes.
Install latest nvidia driver via PPA
When you have a very new graphics card it is possible that the Driver Manager will not give you the most recent driver. A sign for that is if the Driver Manager only shows an open source option for your graphics card. But also in the before mentioned example of the GFX 750 Ti, which is already a couple of years old, there are newer drivers available. You can check if there is a newer version on the nvidia drivers page.
1) Go to the nvidia driver page.
2) Fill in your product type, product series, product and operating system.
3) Click on search.
Here we see that there is a newer driver (410), as the driver that was available in the previous example was version 390.
The most convenient way to get access to the newer driver is not by installing the driver from the nvidia website, but by using the PPA (Personal Package Archive) “ppa:graphics-drivers”. Although I said in earlier tutorials that I want to stay away as much as possible from the command line, now we actually need it.
To add the PPA do the following:
1) Open a terminal via Ctrl + Alt + T or by search for terminal in the applications menu search bar.
2) type the following command in the terminal and hit enter:
sudo add-apt-repository ppa:graphics-drivers/ppa
3) You will get the message “Press Enter to continue or Ctrl+C to cancel”. Hit enter to continue.
4) When the command has been finished type in the terminal the following command and hit enter:
sudo apt-get update
When the command has been finished you can set the correct driver.
5) Open the applications menu.
6) Choose Driver Manager under the Administration category and enter your password.
Now you will see that there are more driver alternatives available, including the newest nvidia-driver-410.
7) Select the newest driver, in this case 410, and click Apply Changes.
8) When changes have been applied click on Restart…
After your computer has been restarted the newest driver should be active.
Install driver for AMD graphics cards via Driver Manager
If you have an AMD graphics card and you did the steps in the first paragraph “Check current driver for graphics cards” then your graphics card probably has been recognized and gives you the option to install an open source driver or a proprietary AMD driver, indicated with fglrx.
1) Choose the recommended driver (indicated with highest number and Recommended indicator).
2) Click on Apply changes.
Install latest AMD driver via PPA
Although your AMD graphics card will probably work fine out of the box in Linux Mint, there could be different reasons to install a more recent driver. It is possible to install AMD proprietary drivers that can be downloaded from the AMD drivers page, but in Linux it is a bit of a tricky process. Much easier is to add the available PPA to your operating system.
To add the PPA do the following:
1) Open a terminal via Ctrl + Alt + T or by search for terminal in the applications menu search bar.
2) type the following command in the terminal and hit enter:
sudo add-apt-repository ppa:oibaf/graphics-drivers
You will get the message “Press Enter to continue or Ctrl+C to cancel”.
3) Hit enter to continue.
4) When the command has been finished type in the terminal the following command and hit enter:
sudo apt-get update
When the command has been finished you can set the correct driver.
5) Open the applications menu.
6) Choose Driver Manager under the Administration category and enter your password.
Now you will see that there are more driver alternatives available.
7) Select the newest driver and click Apply Changes.
8) When changes have been applied click on Restart…
After your computer has been restarted the newest graphics driver should be active.
Updating your kernel
Another option to have better driver support is probably not the first thing you’ve thought about, namely upgrading to a newer kernel. If you are already on a recent release of your distribution, you probably already have very up to date drivers, but if you are using for example Linux Mint 17, which was released in May 2014, it is based on an old kernel. When you use an old Linux Mint distribution you can upgrade to the most recent version. If you are already on the most recent version you can still upgrade the kernel, as new kernels are released frequently and often contains driver updates. Upgrading a kernel deserves a completely separate tutorial, so I mention it here for information only.
Final words
Although people have the tendency to always want the newest and greatest, with everything it is advisable to think first about why you actually want to update to the latest drivers or the most recent Linux distribution or the most recent application. If it is not broken don’t fix it, is a frequently recurring saying. If your current distribution recognizes your graphics card out of the box and everything works fine, just be happy. But only if it doesn’t work properly or if you have specific performance related or feature related requirements for your graphics card, of course than you should try to setup the latest drivers. Or as I wrote in the previous paragraph, it maybe is safer to upgrade the Linux kernel, as there are newer graphics driver already available.