How to install AMD gpu pro drivers in Linux Mint?

AMD ATI

Hello, what a good day, today I come to share with you the method to install the private drivers what do they offer us for ATI cards as well as for the processors it also has an integrated GPU.

Yo I have a hp notebook with an AMD processor A8 with R5 graphics, so I can install version 15.7 of the AMD drivers, but unfortunately I must have the Xorg version 1.17, which I do not have since I use 1.19.

So I can choose to use the AMDGPU PRO drivers, in order to install them on my system.

To know if our chipset is compatible with these drivers, first we must know our model, for this we must open a terminal Ctrl + T and execute the following command:
lspci | grep VGA

In my case I throw this:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics]

Now the next step is to check compatibilitythey can do it here this link.

Being totally sure that it is compatible, the next step is to verify that we have a kernel version 4.13 or higher installed, given that in the version prior to this, there is a fault that there is no audio when using HDMI output.

To know what version of the kernel we have, we must execute the following command:
uname -r

It gives me the following result:
4.13.0-38-generic

If not, you must install a more current kernel.
Already with these steps, now if we will install the AMDGPU PRO drivers in our system.

Download the AMDGPU PRO driver

To download the driver We must know which version our graph is compatible with, in the previous link it is described, if with the drivers 16.40 or 17.40.

In my case it is compatible with both so I am going to install the most current one, anyway, leave the link for both.

Installing the AMDGPU PRO driver in Linux Mint

Done the download, we must unpack the downloaded file, for this we open a terminal and position ourselves in the folder where the file was downloaded and execute the following command:
tar -Jxvf amdgpu-pro-amdgpu-pro-17.40-492261.tar.xz

Here You must change the command for the version of the driver you downloaded. 

Now this is where we must edit the amdgpu-pro-install file, which is located in the folder after unzipping the file.

Use the editor of your choice, you must find the following line.

And they change ubuntu for linuxmint it looks like this:

Finally, if you downloaded a higher version, you must remove the following from the code:

AMD GPU installation

Now you are all set to install the drivers.

For the installation we only have to type the following:

./amdgpu-install -y

Please note: they should not use sudoWhen required, authorization to elevate privileges is requested.

And we restart, in some cases it is necessary to perform two reboots.

They can use the following arguments depending on the case.

-h|--help                                        Display this help message
--px                                                  PX platform support
--online                                           Force installation from an online repository
--version=VERSION                       Install the specified driver VERSION
--pro                                                Install "pro" support (legacy OpenGL and Vulkan)
--opencl=legacy                             Install legacy OpenCL support
--opencl=rocm                               Install ROCm OpenCL support
--opencl=legacy,rocm                   Install both legacy and ROCm OpenCL support
--headless                                       Headless installation (only OpenCL support)
--compute                                       (DEPRECATED) Equal to --opencl=legacy –headless

In my case I occupy –px since, if I installed some other, it gave me blackscreen error.

Blackscreen solutions

As I mentioned, if a correct installation is not performed, you can get a black screen, but do not panic, it has a solution.

As I mentioned in my case I had to install with the –px argument, so it sIf the installation did not work, they must uninstall and reinstall with another argument, to uninstall, just type.
amdgpu-pro-uninstall

Another solution is editing the grub, the method is editing the following line, for this use the editor of your preference, in my case I use nano:
sudo nano /etc/default/grub

They add amdgpu.vm_fragment_size = 9 in the following line, it looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"

They save the changes and update the grub.

sudo update-grub

If they can't use the next.

Finally, I am very grateful to the people on the Linux Mint forums as they very kindly guided me and also to the staff who shared the method. No more until next time.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

A comment, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   tormund1985 said

    Could you explain how to use the arguments?

    You say when installing? ./amdgpu-install -y –px?

    Thank you.