How do I install AMDGPU-Pro on Mint 19?

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
User avatar
simonsaysthis
Level 2
Level 2
Posts: 50
Joined: Sun Jun 11, 2017 1:39 pm
Location: Johannesburg

Re: How do I install AMDGPU-Pro on Mint 19?

Post by simonsaysthis »

roblm wrote:
Mon Sep 17, 2018 7:55 pm

A good site that is updated regularly with info on testing Linux graphics and hardware performance is Phoronix.

https://www.phoronix.com/scan.php?page= ... AMDGPU-PRO
Thank you. That's great advice. Right now everything works so I won't go down the non-free firmware path unless I have to. Definitely no video or image editing, just casual gaming on my side.

LinuxMTnewUser
Level 1
Level 1
Posts: 6
Joined: Sun Dec 23, 2018 7:15 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by LinuxMTnewUser »

Installed amdgpu-pro-18.50-708488-ubuntu-18.04 today on my radeon R7 250 using your method on Mint 19.1 and worked like a chime. FPS increased. Thank you very much. I gave up when Ubuntu 16 came out trying to install AMD GPU drivers. Now I'm a happy Mint 19.1 user thanks to you!

red59
Level 1
Level 1
Posts: 2
Joined: Mon Jul 29, 2019 8:39 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by red59 »

First of all, THANK YOU roblm for your very clear explanations and all the updates you've made! This is very useful, please continue. :D

I've got a quick question: I have followed all your instructions and everything is working very well with my VEGA 64, I need OpenCL for Blender. I've been in troubles when I have tried to update the kernel : black screen when rebooting. To make it work, I think you have to uninstall the drivers (which can be tricky if I have understood correctly), then update the kernel and then reinstall the new drivers? Am I right or Am I missing something?
To avoid this, I update my system apart from the kernel (I have kept 4.15.0-45), is this something you would recommand or not?

Thank again!

User avatar
roblm
Level 12
Level 12
Posts: 4402
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm »

red59 wrote: I've been in troubles when I have tried to update the kernel : black screen when rebooting. To make it work, I think you have to uninstall the drivers (which can be tricky if I have understood correctly), then update the kernel and then reinstall the new drivers? Am I right or Am I missing something?
During the AMDGPU-Pro driver installation, there is a driver module installed and 5 kernel modules are built for the running kernel. DKMS (Dynamic Kernel Module Support Framework) allows these kernel modules to be automatically upgraded when a newer kernel is installed, without having to re-install the driver. In this case, the installed amdgpu-dkms package does this.

I did this test to verify DKMS is working. The kernel was updated to 4.15.0-45, just as you did. The AMDGPU-Pro driver was installed from the Radeon Software for LInux 19.10 package. Remember that the newest package, Radeon Software for LInux 19.20, is not compatible with the 4.15.0-xx kernel. Opening the folder /lib/modules/4.15.0-45-generic/updates lists these 5 kernel modules:
amdchash.ko amdgpu.ko amdkcl.ko amd-sched.ko amdttm.ko

The kernel was then updated to 4.15.0-55 in the Update Manager. After the installation, those same 5 kernel modules are listed in /lib/modules/4.15.0-55-generic/updates

If there is a problem with that method, then the alternative is to uninstall the AMDGPU-Pro driver, update the kernel and re-install the driver. However, as I mentioned in UPDATE 4-26-19 and UPDATE 6-19-19, the uninstallation of the driver from Radeon Software for LInux 19.10 and 19.20 causes a serious problem, so it needs to be modified.

red59 wrote: To avoid this, I update my system apart from the kernel (I have kept 4.15.0-45), is this something you would recommand or not?
That’s what I personally do, but if there is a problem with an updated kernel, then you can easily boot to an older kernel and remove the newer one. Also, watch for a mesa package update. It also is at the top for potentially causing problems and is very difficult or impossible to reverse. I would install this separately after creating a Timeshift restore point. However, it is not needed if you’re using the Radeon Software for Linux package because a newer amdgpu-mesa package will be installed.

red59
Level 1
Level 1
Posts: 2
Joined: Mon Jul 29, 2019 8:39 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by red59 »

Roblm, Thank you very much for your detailed answers!

gostal
Level 3
Level 3
Posts: 112
Joined: Fri Sep 07, 2018 9:56 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by gostal »

For what it's worth I struggled with the amdgpru-pro driver about a year ago on my office desktop running OpenSuse Leap 42.3. AMD doesn't provide a driver for Leap 42.3 but does supply one for SLE. Since Leap and SLE share quite a bit of code I thought it was worth a shot as people before me also had done. It was far from a straight forward matter but in the end I managed to get it up and running. To make a long story short the process builds a working kernel module but a failing initrd. Luckily the initrd built for amdgpu works also for amdgpu-pro. However, as the initrd would get screwed up by the next kernel upgrade I decided that I would live with the comfort of amdgpu and only take the trouble to install amdgpu-pro if I really, really needed that extra power. I posted my findings on the OpenSuse forum:
https://forums.opensuse.org/showthread. ... nd-running
I glanced through the posts in this thread and there are enough similarities that there might be something of value also for Mint users in that thread.

Cheers,
gostal
Lap: Latitude E6520, i3-2330M @ 2.20GHz, 4GB, Intel HD Graphics 3000, OS Mint 19.1 version Mate, Windows 7 Enterprise
Desk: Dell Precision T5810, Xeon E5-1650 v4 @ 3.60GHz,72 GB, Radeon Pro WX 7100, OS CentOS 7.7
Stockholm, Sweden

karozagorus
Level 1
Level 1
Posts: 7
Joined: Sat Aug 10, 2019 9:00 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by karozagorus »

roblm wrote:
Wed Aug 22, 2018 2:12 pm
EDITED 12-25-19: With the release of Mint 19.3, Radeon Software for Linux is finally working correctly. Version 19.30 installed without any editing of a configuraton file and the the uninstallation problem that was introduced in version 19.10 has been eliminated.
Hey man, I love your dedication to bring the driver to us users, I was wanting to ask something because it didn't work as I expected it.

I recently managed to get my mint installation to use amdgpu-pro line but then I wiped my mint installation to go back onto Linux and I'm now back on Mint with dual boot again. So now I tried last time to install the pro line again and the installation succeeded but now this time I got to the login screen and afterwards what happened was that the cursor appeared after login but I only saw a white screen. I was able to shift+alt+f2 into console, have any idea what could be causing the problem?

Last time how I managed to do my installation was by wiping the x-server completely and all graphical installation and going literally into potato mode (where all graphics was very reduced) so afterwards I re-installed it and apparently it was working but I never really managed to confirm if it was actually working or not.

I have a RX580 4GB card.

User avatar
roblm
Level 12
Level 12
Posts: 4402
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm »

You will need to remove the amdgpu-pro driver in tty1 by pressing Ctrl+Alt+F1 and using the command: amdgpu-pro-uninstall

Then type: reboot

At the desktop, use these commands and post the output: inxi -Fxz and ls /usr/share/X11/xorg.conf.d

Use this command to upload the Xorg.0.log file to terminal.com pastebin:
cat /var/log/Xorg.0.log | nc termbin.com 9999

Post the URL link that displays in the Terminal window.

karozagorus
Level 1
Level 1
Posts: 7
Joined: Sat Aug 10, 2019 9:00 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by karozagorus »

roblm wrote:
Sat Dec 28, 2019 9:53 am
You will need to remove the amdgpu-pro driver in tty1 by pressing Ctrl+Alt+F1 and using the command: amdgpu-pro-uninstall

Then type: reboot

At the desktop, use these commands and post the output: inxi -Fxz and ls /usr/share/X11/xorg.conf.d

Use this command to upload the Xorg.0.log file to terminal.com pastebin:
cat /var/log/Xorg.0.log | nc termbin.com 9999

Post the URL link that displays in the Terminal window.
Man, the whole point is that I want to have the pro line installed because I need it for games, is there any way to have it working this way?

User avatar
roblm
Level 12
Level 12
Posts: 4402
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm »

This info from your first post suggests that you can’t get back to the desktop:
karozagorus wrote: So now I tried last time to install the pro line again and the installation succeeded but now this time I got to the login screen and afterwards what happened was that the cursor appeared after login but I only saw a white screen.
If that is true, then you need to temporarily remove the amdgpu-pro driver so you can get back to the desktop. Then I need to see additional info to start troubleshooting your problem.

If you can get back to the desktop, then the driver doesn’t have to be removed. Just post the additional requested info.

Also, this procedure you describe doesn’t make any sense and is unnecessary:
karozagorus wrote: Last time how I managed to do my installation was by wiping the x-server completely and all graphical installation...

waldoeli
Level 1
Level 1
Posts: 4
Joined: Sat Dec 21, 2019 11:20 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by waldoeli »

Hi everyone

In order to continue the AMDGPU story, which in my case helped.
But with the my setup I'm not too happy with the performance.

PC setup: AMD Ryzen 9 3900X, Radeon VII, Linux Kernel: 5.3.0-53-generic x86_64, Linux Mint 19.3 Tricia, v2.83.0 latest releas 2. In order to get GPU available in Blender I installed the driver "amdgpu-pro-20.10-1048554-ubuntu-18.04"

Not rendering anything fancy in Blender, but just the standard initial cube - rendering time is extremlly slow.

Any one a good idea how to get the situation improved.

Thanks in advance.


waldoeli
Level 1
Level 1
Posts: 4
Joined: Sat Dec 21, 2019 11:20 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by waldoeli »

Thanks

That renderer crossed my mind too.
Try it, after having already spent a lot of time.
According to the installation instruction it was no great deal.

But, surprise surprise: Error libGL.so not found. Next surprise, there are plenty of that lib available.

In other words, not the solution as expected. But continue rendering in Blender with CPU only.

jessi deVil
Level 1
Level 1
Posts: 11
Joined: Tue Jul 19, 2016 3:44 am

Re: How do I install AMDGPU-Pro on Mint 19?

Post by jessi deVil »

Hi,
i try to install it on my Linux Mint 20 but it fails with:

ERROR: Unable to install pin package.
This driver may not support the running operating system.

This is my System https://termbin.com/37lk9

Thanks

Christian

User avatar
roblm
Level 12
Level 12
Posts: 4402
Joined: Sun Feb 24, 2013 2:41 pm

Re: How do I install AMDGPU-Pro on Mint 19?

Post by roblm »

Did you try installing the package Radeon™ Software for Linux® version 20.20 for Ubuntu 20.04 from here:
https://www.amd.com/en/support/kb/relea ... inux-20-20

The other listed package is Radeon™ Software for Linux® version 20.20 for Ubuntu 18.04.4 HWE and it won’t work in Mint 20.

Post Reply

Return to “Graphics Cards & Monitors”