Page 1 of 1

AMD FirePro drivers in 19.3 - Help!

Posted: Thu Jun 18, 2020 6:14 pm
by precisionpete
I have been through hell trying to get the amdgpu vulkan drivers installed in Mint 19.3. No matter what kernel or driver version I use, the install will not complete. The lastest attempts blow up with the kernel compiling due to missing headers. And the only way to get the system back is a restore.

Specifically, I need the vulkan drivers to work

I've read lots on how people succeeded. But I cannot get the install to complete. The card itself in an AMD W2100. Not a Radeon. So I need the Pro drivers.

$ uname -a
Linux MyHost 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ lspci -k
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland GL [FirePro W2100]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Oland GL [FirePro W2100]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

Attempted to follow this among others... No luck - restore ... enGL-games

For this latest attempts, I will use: ... .04.tar.xz

It gets to 67% and gets stuck for several minutes on:
Setting up amdgpu-dkms (19.50-1011208) ...
Loading new amdgpu-19.50-1011208 DKMS files...
Building for 5.3.0-59-generic
Building for architecture amd64
Building initial module for 5.3.0-59-generic

Eventually, it will bomb on:
Error! Bad return status for module build on kernel: 5.3.0-59-generic (amd64)
Consult /var/lib/dkms/amdgpu/19.50-1011208/build/make.log for more information.
WARNING: amdgpu dkms failed for running kernel

Checking in /var/lib/dkms/amdgpu/19.50-1011208/build/make.log I find: ... elmake-log

Can anybody give some clues? I've been at this on and off for weeks.

Please excuse me while I go restore my system...

Re: AMD FirePro drivers in 19.3 - Help!

Posted: Sun Jun 21, 2020 9:52 am
by roblm
You don’t need to install the PRO component of the Radeon Software package. Try using the command ./amdgpu-install to install the ALL OPEN component with the amdgpu driver.

If that doesn’t work, then try using the 5.0 kernel. I have not been able to install any Radeon Software package using any 5.3 kernel, but 2 other users have reported success in other topics I have been recently involved in. I did verify only one of them. I suspect my problem may be from using an old Radeon R7 240 card. This is supposedly still supported by the newer Radeon Software packages but the installation did not work even when I tested Ubuntu 18.04.3, which the package was designed for.

Re: AMD FirePro drivers in 19.3 - Help!

Posted: Sun Jun 21, 2020 11:35 am
by thx-1138're over-complicating it with amdgpu-pro if what you need is Vulkan support.
xed admin:///etc/default/grub
Modify there as...
GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 amdgpu.si_support=1 quiet splash"
Save, run sudo update-grub,reboot.
lspci -k should now be returning Kernel driver in use: amdgpu. Not radeon as above.
apt install mesa-vulkan-drivers vulkan-utils
Grab latest amdvlk from the releases page here, install it.
Test vulkan. For radv driver:
export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/radeon_icd.x86_64.json" && vulkan-smoketest
For amdvlk driver:
export VK_ICD_FILENAMES="/etc/vulkan/icd.d/amd_icd64.json" && vulkan-smoketest

Vulkan works just fine here with a...R5 M330 discrete card
(which, mind you, has never even been supported by the closed-src amdgpu-pro driver in the first place).
As in, you don't need amdgpu-pro for Vulkan support.
mesa-vulkan-drivers gives you radv, amdvlk gives you...well, amdvlk as an alternative.
Good luck.