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.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
How do I install AMDGPU-Pro on Mint 19?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 2
- Posts: 59
- Joined: Sun Jun 11, 2017 1:39 pm
- Location: Pforzheim, Germany
Re: How do I install AMDGPU-Pro on Mint 19?
-
- Level 1
- Posts: 11
- Joined: Sun Dec 23, 2018 7:15 am
Re: How do I install AMDGPU-Pro on Mint 19?
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!
Re: How do I install AMDGPU-Pro on Mint 19?
First of all, THANK YOU roblm for your very clear explanations and all the updates you've made! This is very useful, please continue.
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!
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!
Re: How do I install AMDGPU-Pro on Mint 19?
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.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?
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.
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 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?
Re: How do I install AMDGPU-Pro on Mint 19?
Roblm, Thank you very much for your detailed answers!
Re: How do I install AMDGPU-Pro on Mint 19?
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
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
Desk: Dell Precision T5810, Xeon E5-1650 v4 @ 3.60GHz,72 GB, Radeon Pro WX 7100, OS CentOS 7.7
Stockholm, Sweden
Re: How do I install AMDGPU-Pro on Mint 19?
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.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.
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.
Re: How do I install AMDGPU-Pro on Mint 19?
You will need to remove the amdgpu-pro driver in tty1 by pressing Ctrl+Alt+F1 and using the command:
Then type:
At the desktop, use these commands and post the output:
Use this command to upload the Xorg.0.log file to terminal.com pastebin:
Post the URL link that displays in the Terminal window.
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.
Re: How do I install AMDGPU-Pro on Mint 19?
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?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
andls /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.
Re: How do I install AMDGPU-Pro on Mint 19?
This info from your first post suggests that you can’t get back to the desktop:
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:
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.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 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...
Re: How do I install AMDGPU-Pro on Mint 19?
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.
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.
Re: How do I install AMDGPU-Pro on Mint 19?
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.
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.
Re: How do I install AMDGPU-Pro on Mint 19?
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
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
Re: How do I install AMDGPU-Pro on Mint 19?
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.
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.
-
- Level 1
- Posts: 8
- Joined: Sun Jan 10, 2021 2:29 pm
Re: How do I install AMDGPU-Pro on Mint 19?
I have a similar situation and I have managed to install the amdgpu drivers. I had to follow this advice, due to a compilation error in original dist:roblm wrote: ⤴Thu Jul 30, 2020 7:19 pm 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.
https://community.amd.com/t5/drivers-so ... 676/page/6
I think the firmware is currently working and I don't get any more check your driver messages. However Cinnamon crashes on load and I have to revert to MATE.
I've seen some stuff online about updating some low level drivers and settings in GRUB. What should I do to correct the Cinnamon crashes?
In the meantime here is the relevant bit of my init command:
Code: Select all
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Acer Incorporated ALI driver: N/A bus ID: 03:00.0
Display: x11 server: X.Org 1.20.9 driver: ati,fbdev unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz
OpenGL: renderer: N/A v: N/A direct render: N/A
Code: Select all
4.099802] acp_pdm_mach acp_pdm_mach.0: ASoC: failed to init link acp3x-dmic-capture: -517
[ 4.099829] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
[ 4.099882] acp_pdm_mach acp_pdm_mach.0: ASoC: failed to init link acp3x-dmic-capture: -517
[ 4.099905] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
Re: How do I install AMDGPU-Pro on Mint 19?
Were you trying to install the AMDGPU-Pro driver or the ALL-Open amdgpu driver?inthegrage wrote: I have a similar situation and I have managed to install the amdgpu drivers.
Use this command to get more info about your system and post the output:
inxi -Fxzr
-
- Level 1
- Posts: 8
- Joined: Sun Jan 10, 2021 2:29 pm
Re: How do I install AMDGPU-Pro on Mint 19?
I am using the amdgpr-pro driver, my output is as follows (deep breath):
Code: Select all
System:
Kernel: 5.4.0-60-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.8.5 Distro: Linux Mint 20.1 Ulyssa
base: Ubuntu 20.04 focal
Machine:
Type: Laptop System: Acer product: Swift SF314-42 v: V1.08
serial: <filter>
Mobo: RO model: Kona_RN v: V1.08 serial: <filter> UEFI: Insyde v: 1.08
date: 10/14/2020
Battery:
ID-1: BAT1 charge: 53.3 Wh condition: 53.3/53.0 Wh (101%)
model: PANASONIC AP19B5L status: Full
CPU:
Topology: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64
type: MCP arch: Zen rev: 1 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 31938
Speed: 1861 MHz min/max: 1400/2000 MHz Core speeds (MHz): 1: 1489 2: 1405
3: 2810 4: 1302 5: 1519 6: 1349 7: 1397 8: 1397
Graphics:
Device-1: AMD Renoir vendor: Acer Incorporated ALI driver: N/A
bus ID: 03:00.0
Display: x11 server: X.Org 1.20.9 driver: ati,fbdev
unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz
OpenGL: renderer: N/A v: N/A direct render: N/A
Audio:
Device-1: AMD vendor: Acer Incorporated ALI driver: snd_hda_intel
v: kernel bus ID: 03:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Acer Incorporated ALI driver: snd_rn_pci_acp3x v: kernel
bus ID: 03:00.5
Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel bus ID: 03:00.6
Sound Server: ALSA v: k5.4.0-60-generic
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0
IF: wlp1s0 state: up mac: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 54.39 GiB (5.7%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ1T0HALB-00000
size: 953.87 GiB
Partition:
ID-1: / size: 754.36 GiB used: 54.36 GiB (7.2%) fs: ext4
dev: /dev/nvme0n1p2
Sensors:
System Temperatures: cpu: 43.8 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
Active apt repos in: /etc/apt/sources.list.d/amdgpu-pro-local.list
1: deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Active apt repos in: /etc/apt/sources.list.d/darxus-linux-firmware-amdgpu-daily-focal.list
1: deb http://ppa.launchpad.net/darxus/linux-firmware-amdgpu-daily/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.10/prod groovy main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://www.mirrorservice.org/sites/packages.linuxmint.com/packages ulyssa main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Active apt repos in: /etc/apt/sources.list.d/ubuntu-mozilla-daily-ppa-focal.list
1: deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
Info:
Processes: 276 Uptime: 2m Memory: 15.08 GiB used: 2.41 GiB (16.0%)
Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17
inxi: 3.0.38
Re: How do I install AMDGPU-Pro on Mint 19?
Your AMD Ryzen 7 4700U CPU is newer hardware that needs better kernel support. The 5.8 kernel is available in Update Manager but the newest Radeon Software for Linux, which is version 20.45 for Ubuntu 20.04.1, doesn’t support that kernel.
EDITED: Also, you have a mobile processor for a laptop, which is not supported by the Radeon Software in Linux, only in Windows. You can check here:
https://www.amd.com/en/support
Select Processors with graphics > AMD Ryzen Processors > AMD Ryzen Mobile Processors with Radeon Graphics > AMD Ryzen 7 4700U.
https://www.amd.com/en/support/apu/amd- ... en-7-4700u
EDITED: Also, you have a mobile processor for a laptop, which is not supported by the Radeon Software in Linux, only in Windows. You can check here:
https://www.amd.com/en/support
Select Processors with graphics > AMD Ryzen Processors > AMD Ryzen Mobile Processors with Radeon Graphics > AMD Ryzen 7 4700U.
https://www.amd.com/en/support/apu/amd- ... en-7-4700u
-
- Level 1
- Posts: 8
- Joined: Sun Jan 10, 2021 2:29 pm
Re: How do I install AMDGPU-Pro on Mint 19?
Many thanks for the detailed reply. Yes it is a new laptop to me and I like to use Mint.
I can do without GPU as I'm only doing software dev, so I'll just remove the driver, it's not an issue for now, just will be an underused computer.
I can do without GPU as I'm only doing software dev, so I'll just remove the driver, it's not an issue for now, just will be an underused computer.