How to install Nvidia graphics drivers in Manjaro Linux
Do you use an Nvidia graphics card on your Manjaro Linux PC? Can’t figure out how to set up the proprietary graphics drivers on your system? We can help! Follow along with this guide as we show you how to install Nvidia graphics drivers in Manjaro Linux!
Installing Nvidia drivers with Manjaro Settings Manager UI
The Manjaro Settings Manager UI is really the best way to get the Nvidia drivers working on Manjaro Linux. The reason? It allows you to determine what drivers you need without requiring that you search through the Linux command-line. The Manjaro Settings Manager can also tell you when you have a device that needs drivers you haven’t installed yet.
Install Manjaro Settings Manager
The Manjaro Settings Manager UI comes pre-installed on 99% of Manjaro Linux installations. However, in the event that you’ve done a command-line only installation of Manjaro, you may need to install it by hand. To install the settings manager, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, use the Pacman package manager to install the settings manager on your system.
sudo pacman -S manjaro-settings-manager
Installing Nvidia drivers
Once the Manjaro Settings Manager is installed on your computer, open it up by searching for it in your app menu. When Manjaro Settings Manager is open, follow the step-by-step instructions outlined below to learn how to install your Nvidia drivers on Manjaro.
Step 1: In Manjaro Settings Manager, locate the “Hardware” section, and click on the app icon that says “Hardware Configuration,” and click on it with the mouse. The “Hardware Configuration” area is where Manjaro users can install device drivers with the UI.
Step 2: In the Hardware Configuration area in the Manjaro Settings Manager, you will see all of the devices on your computer that requires drivers to be installed. Keep in mind that some of these devices may already have drivers set up.
Step 3: Locate the “Display controller” section in the “Hardware Configuration” area in Manjaro Settings Manager. You should see your Nvidia graphics card listed, along with several different Nvidia driver options.
Look through the various Nvidia drivers that are available and make a decision on which you would like to install. For the best results, try to install the latest driver available. So, if version 435, 418, and 440 are available, get 440 as it is the newest.
When you’ve made your decision as to which driver you’d like to install, right-click on the driver you’d like to install on your Manjaro Linux OS install. Then, in the right-click menu, click on the “+ Install” button to download the drivers.
Step 4: Once the “+ Install” button is clicked, Manjaro will install the driver. Sit and be patient. When the process is complete, close the Manjaro Settings Manager window.
Uninstall
If you’ve decided to uninstall the Nvidia proprietary drivers from Manjaro, you’ll be happy to know that the Manjaro Settings Manager makes it incredibly easy to uninstall drivers. It is about as simple to uninstall drivers as it is to install them.
To uninstall Nvidia drivers on your Manjaro system in the Manjaro Settings Manager, follow the step-by-step instructions outlined below.
Step 1: Launch the Manjaro Settings Manager. Once the app is open, click on the “Hardware Configuration” icon to access the “Hardware Configuration” area in the Manjaro Settings Manager.
Step 2: Look for the Nvidia driver you previously installed onto the system earlier in the list of drivers below the “Display controller” section. Click on the installed driver with the mouse to open up the right-click menu.
In the right-click menu, select “- Remove” to uninstall the driver from your Manjaro Linux computer.
Installing Nvidia drivers with terminal
If you’re not a fan of the Manjaro Settings Manager, it is possible to install drivers onto your computer with the terminal. To start the installation, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T. Then, follow the step-by-step instructions below.
Step 1: Run the mhwd -l command to view the available Nvidia drivers that you can install on your Manjaro Linux computer. Combine the mhwd -l command with grep if you want only to see Nvidia drivers, rather than other unrelated drivers for other devices.
mhwd -l
Or, for just Nvidia:
mhwd -l | grep nvidia
tep 2: Look through the list of available Nvidia drivers and decide which one you’d like to install. For best results, we recommend “video-nvidia-440xx,” as it is the newest Nvidia drivers available.
Once you’ve made a decision, use the mhwd -i command to install the driver. Keep in mind that in this guide, we’re going with the Nvidia 440 and the commands reflect that. If you need a different driver, change the command below and replace the version number with the driver version you want to use.
sudo mhwd -i pci video-nvidia-440xx
Allow the driver to install on your Manjaro Linux computer. When the command completes, reboot!
Uninstall
Need to uninstall your Nvidia driver from Manjaro through the terminal? Enter the following command.
sudo mhwd -r pci video-nvidia-440xx
Isn’t `mhwd -l | grep nvidia` somewhat dangerous here? If you have dual graphics (onboard and dedicated in a notebook), you should probably pick a driver that appears in both graphic cards’ driver lists, no? So just use `mhwd -l` and choose accordingly.
Also, even easier would be to just run
“`
sudo pacman -S mhwd-db
sudo mhwd -a pci nonfree 0300
“`
which will choose the driver automatically for you.