When we first got to Linux one of the most frequent topics that they tend to frequent is the installation of the drivers video on the system. Since in addition to this, also for those who have desktop computers have the possibility of being able to add or change the video card.
And that is when the need arises to be able to install the video drivers of our card, in this case we are going to focus on the installation of the AMD video drivers.
To perform a correct installation of the video drivers in our Linux distribution It is necessary to first know the model and chipset of our card.
Table of Contents
How to know the model of our video card?
For this We must open a terminal and execute this command in it:
lspci | grep VGA
When executing this command the data of our video card will be printed on the screen, in my case I get the following:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] [Radeon R5 (PCIE)]
As I have an AMD processor with integrated GPU this has the Radeon R5 model. With this information in hand we proceed to download the appropriate driver for our system.
Video Driver Download
We must go to the official AMD page to download the driver. The link is this.
Here I put a little note for Ubuntu and derivative users (Linux Mint, Kubuntu, Xubuntu, Lubuntu, etc) as well as for Arch Linux users and its derivatives.
In the case of these distributions we can perform an alternate installation without having to resort to using this general method, these methods will be described below.
Installation of the AMDGPU Pro drivers
With the downloaded file, we proceed to decompress it with:
tar -xJvf amdgpu-pro _ *. tar.xz
Now we must access the newly created directory, where the XX are replaced by the version corresponding to your download:
Here in this part, both users of Debian, Ubuntu and derivatives of these it is necessary that we enable the 32-bit architecture in the system, we enable this with:
sudo dpkg --add-architecture i386 sudo apt update
We proceed with the installation by executing the script that is inside the folder we do this by typing:
Although some of the recommended ones may be:
Or they can also use:
After the installation, we just have to restart our computer for the changes to start at system startup.
How to install AMD GPU PRO drivers in Ubuntu and derivatives?
For those who are Ubuntu users or a system derived from it, We can facilitate the installation of the drivers, by using a third-party repository.
This repository is maintained by a team of users who constantly update it and offers us an easier method to obtain the drivers.
Just add it to the system with:
sudo add-apt-repository ppa:oibaf/graphics-drivers sudo apt-get update
And we proceed to install with:
sudo apt install xserver-xorg-video-amdgpu
And if you want to install support for Vulkan:
sudo apt install mesa-vulkan-drivers
How to install AMD GPU PRO drivers on Arch Linux and derivatives?
In the case of Arch Linux, Manajaro, Antergos or any derivative users installing these drivers can be both simple and a bit complicated and this is because It depends a lot on the configuration of your pacman.conf file as well as the software on your system.
I explain to you, since AMD video drivers are not always compatible with the latest version of Xorg and the linux kernel, plus it requires you to have the multilib repository enabled on it.
Here to install the drivers in the simplest way is by using a pacman graphic manager, as is Octopi, so you must have the AUR repository enabled and have an assistant.
You install this with:
aurman -S octopi octopi-notifier
Done this you can look for the package amdgpu-pro in Octopi and install it with the help of it.
Because this Arch Linux driver installation topic is a bit more open, I'll share its installation in a dedicated post for it.