• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows 11
    • Linux
    • Mac & Apple
You are here: Home / System Admin / Linux / How to Install Nvidia Drivers on Linux Mint [Beginner’s Guide]

How to Install Nvidia Drivers on Linux Mint [Beginner’s Guide]

March 25, 2021 by bartez64

Linux Mint is a fantastic Ubuntu-based Linux distribution that aims to make it easy for newbies to experience Linux by minimizing the learning curve.

Not just limited to being one of the best beginner-friendly Linux distros, it also does a few things better than Ubuntu. Of course, if you’re using Linux Mint like I do, you’re probably already aware of it.

We have many beginner-focused Mint tutorials on It’s FOSS. Recently some readers requested help with Nvidia drivers with Linux Mint and hence I came up with this article.

I have tried to mention different methods with a bit of explaining what’s going on and what you are doing in these steps.

But before that, you should know this:

  • Nvidia has two categories of drivers. Open source drivers called Nouveau and proprietary drivers from Nvidia itself.
  • Most of the time, Linux distributions install the open source Nouveau driver and you can manually enable the proprietary drivers.
  • Graphics drivers are tricky things. For some systems, Nouveau works pretty well while for some it could create issues like blank screen or poor display. You may switch to proprietary drivers in such cases.
  • The proprietary driver from Nvidia has different version numbers like 390, 450, 460. The higher the number, the more recent is the driver. I’ll show you how to change between them in this tutorial.
  • If you are opting for proprietary drivers, you should go with the latest one unless you encounter some graphics issue. In those cases, opt for an older version of the driver and see if that works fine for you.

Now that you have some familiarity with the terms, let’s see how to go about installing Nvidia drivers on Linux Mint.

How to Install Nvidia Drivers on Linux Mint: The Easy Way (Recommended)

Linux Mint comes baked in with a Driver Manager which easily lets you choose/install a driver that you need for your hardware using the GUI.

By default, you should see the open-source xserver-xorg-video-nouveau driver for Nvidia cards installed, and it works pretty well until you start playing a high-res video or want to play a game on Linux.

So, to get the best possible experience, proprietary drivers should be preferred.

You should get different proprietary driver versions when you launch the Driver Manager as shown in the image below:

linux mint nvidia drivers

Basically, the higher the number, the latest driver it is. At the time of writing this article, driver version 460 was the latest recommendation for my Graphics Card. You just need to select the driver version and hit “Apply Changes“.

Once done, all you need to do is just reboot your system and if the driver works, you should automatically get the best resolution image and the refresh rate depending on your monitor for the display.

For instance, here’s how it looks for me (while it does not detect the correct size of the monitor):

linux mint display settings

Troubleshooting tips

Depending on your card, the list would appear to be different. So, what driver version should you choose? Here are some pointers for you:

  • The latest drivers should ensure compatibility with the latest games and should technically offer better performance overall. Hence, it is the recommended solution.
  • If the latest driver causes issues or fails to work, choose the next best offering. For instance, version 460 didn’t work, so I tried applying driver version 450, and it worked!

Initially, in my case (Linux Mint 20.1 with Linux Kernel 5.4), the latest driver 460 version did not work. Technically, it was successfully installed but did not load up every time I booted.

What to do if drivers fail to load at boot

How do you know when it does not work? You will boot up with a low-resolution screen, and you will be unable to tweak the resolution or the refresh rate of the monitor.

It will also inform you about the same in the form of an error:

linux mint no driver

Fortunately, a solution from Linux Mint’s forum solved it for me. Here’s what you need to do:

1. Access the modules file using the command:

xed admin:///etc/modules

2. You’ll be prompted to authenticate the access with your account password. Once done, you just need to add the following lines at the bottom:

nvidia 
nvidia-drm
nvidia-modeset

Here’s what it looks like:

etc modules nvidia

If that doesn’t work, you can launch the Driver Manager and opt for another version of Nvidia driver. It’s more of a hit and try.

Install Nvidia Driver Using the Terminal (Special Use-Cases)

For some reasons, if you are not getting the latest drivers for your Graphics Card using the Driver Manager, opting for the terminal method could help.

It may not be the safest way to do it, but I did not have any issues installing the latest Nvidia driver 460 version.

I’ll always recommend sticking to the Driver Manager app unless you have your reasons.

To get started, first you have to check the available drivers for your GPU. Type in the following command to get the list:

ubuntu-drivers devices

Here’s how it looks in my case:

linux mint device drivers list

non-free refers to the proprietary drivers and free points at the open-source nouveau Nvidia drivers.

As mentioned above, usually, it is preferred to try installing the recommended driver. In order to do that, you just type in:

sudo ubuntu-drivers autoinstall

If you want something specific, type in:

sudo apt install nvidia-driver-450

You just have to replace “450” with the driver version that you want and it will install the driver in the same way that you install an application via the terminal.

Once installed, you just need to restart the system or type it in the terminal:

reboot

To check the Nvidia driver version and verify the installation, you can type the following command in the terminal:

nvidia-smi

Here’s how it may look like:

nvidia smi

To remove the driver and its associated dependencies, simply mention the exact version of the driver:

sudo apt remove nvidia-driver-450
sudo apt autoremove

And, simply reboot. It should fallback to use the open-source nouveau driver.

install the open-source driver using the following command and then reboot to revert to the default open-source driver:

sudo apt install xserver-xorg-video-nouveau

Installing Nvidia Drivers using the .run file from Official Website (Time Consuming/Not Recommended)

Unless you want the latest version of the driver from the official website or just want to experiment the process, you can opt to download the file (.run) and install it.

To proceed, you need to first disable the X server and then install the Nvidia driver which could turn out to be troublesome and risky.

You can follow the official documentation if you want to explore this method, but you may not need it at all.

Wrapping Up

While it’s easy to install Nvidia drivers in Linux Mint, occasionally, you might find something that does not work for your hardware.

If one driver version does not work, I’d suggest you to try other available versions for your Graphics Card and stick to the one that works. Unless you’re gaming and want the latest software/hardware compatibility, you don’t really need the latest Nvidia drivers installed.

Feel free to share your experiences with installing Nvidia drivers on Linux Mint in the comments down below.

Original Article

Related posts:

  1. New GeForce drivers optimized for Call of Duty: WWII
  2. How to Install Linux Mint 20 [The Simplest Way Possible]
  3. Fix: Nvidia High Definition Audio no sound / not working
  4. 12 Things to do After Installing Linux Mint 19
  5. Latest AMD hotfix improves performance in Earthfall
  6. Comparing Linux Mint and Fedora: Which One Should You Use?
  7. How to Upgrade to Linux Mint 19 [Step by Step Tutorial]
  8. The ultimate guide to fixing problems with the May 2020 Update
  9. Fixing Ubuntu Freezing at Boot Time
  10. MSI GeForce RTX 3090 SUPRIM X & RTX 3080 SUPRIM X Graphics Cards Review – Premium Design & Everything Else!

Filed Under: Linux Tagged With: drivers, guide, install, linux, mint, Nvidia

Primary Sidebar

Popular Posts

  • What Is Shader Compilation and Why Does It Make PC Games Stutter? 2.1k views
  • 3 Ways to Disable GetApps on Xiaomi, Redmi, and Poco Phones Running MIUI 500 views
  • Enable or Disable Adjust for Daylight Saving Time in Windows 10 400 views
  • How To Restore Last Session On Google Chrome 300 views
  • How to Highlight Duplicates in Google Sheets 300 views
  • Exclamation Mark on Network Signal, Mobile Data Not Working? 8 Ways to Fix 300 views
  • How do I enable or disable Alt Gr key on Windows 10 keyboard 300 views
  • How to Block TLS 1.0 and TLS 1.1 in Microsoft Edge and Google Chrome 200 views
  • How to delete Downloaded, Failed & Pending Windows Updates 200 views
  • Dual Booting Ubuntu With Windows 10 Pro With BitLocker Encryption 200 views
  • What is "Workspace Trust" in Visual Studio Code? 200 views
  • How to change Outlook Navigation Pane position 200 views
  • Fix Explorer.exe Application error on Windows 10 200 views
  • LiVES Video Editor 2.8.5 Adds Experimental Wayland Support 200 views
  • Microsoft Store Error 0x80D03805 on Windows 10 200 views
  • Is Outbyte PC Repair Safe? 200 views
  • Will PS5 Play PS4 and PS3 Games? 200 views

Footer

Tags

Amazon android Apple Asus available download: edge feature features first free from galaxy Game games gaming gets google install Intel iPhone launches linux Microsoft more OnePlus phone release released review: samsung series support this Ubuntu update using video watch what will windows with xbox your

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org