amdgpu-pro

Hi,
This post is related to my old post related to amdgpu-pro driver on Leap15/51.1
I need to install AMD proprietary driver 19.Q2.1 for my WX7100 GPU.
It seems AMD driver is just issued for SLED/SLES15.
Tried to installed on Leap15.1 but did not work.
Asked AMD for support and here is there response:

Please to be informed that there are no available drivers for OpenSUSE leap 15/51 OS to update the drivers for your system.

My question is if SLES15 /51.1 is that different from the opensuse15.1 when it comes to such a driver?

Thanks

  1. Is it a “Radeon™ Pro WX 7100” or, is it a “WX 7100” without “Pro”?
  2. If with “Pro” then, did you follow the instructions here: <https://www.amd.com/en/support/kb/release-notes/amdgpu-installation>?
  3. Have you black-listed the “radeon” and “amdgpu” Kernel modules?

If not, then add “modprobe.blacklist=amdgpu” and “modprobe.blacklist=radeon” to the Kernel CLI – only the “amdgpu-pro” module should be loaded …
<https://en.opensuse.org/SDB:AMDGPU-PRO>
<https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-18-40>

  1. Is it a “Radeon™ Pro WX 7100” or, is it a “WX 7100” without “Pro”?

Pro

  1. If with “Pro” then, did you follow the instructions here: <https://www.amd.com/en/support/kb/release-notes/amdgpu-installation&gt;?

yes, I did

  1. Have you black-listed the “radeon” and “amdgpu” Kernel modules?

No

If not, then add “modprobe.blacklist=amdgpu” and “modprobe.blacklist=radeon” to the Kernel CLI – only the “amdgpu-pro” module should be loaded …

Do I need to just write that in CLI?

<https://en.opensuse.org/SDB:AMDGPU-PRO&gt;
<https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-18-40&gt;

Hi
This is probably worth a read as well…
https://amdgpu-install.readthedocs.io/en/latest/index.html

So what part of the pro driver stack is for your requirement, the open source driver AFAIK it pretty close to the proprietary version.

You should be able to just extract the tarball (the script which can be tweaked to allow openSUSE), create a local rpm directory and install the required rpms.

Here is what I have added to the repo.

#  | Alias                          | Name                               | Enabled | GPG Check | Refresh
---+--------------------------------+------------------------------------+---------+-----------+--------
 1 | amdgpu-pro-19.10-812773-sle-15 | AMDGPU_pro                         | Yes     | ( p) Yes  | Yes    
 2 | openSUSE-Leap-15.1-1           | openSUSE-Leap-15.1-1               | No      | ----      | ----   
 3 | repo-debug                     | Debug Repository                   | No      | ----      | ----   
 4 | repo-debug-non-oss             | Debug Repository (Non-OSS)         | No      | ----      | ----   
 5 | repo-debug-update              | Update Repository (Debug)          | No      | ----      | ----   
 6 | repo-debug-update-non-oss      | Update Repository (Debug, Non-OSS) | No      | ----      | ----   
 7 | repo-non-oss                   | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes    
 8 | repo-oss                       | Main Repository                    | Yes     | (r ) Yes  | Yes    
 9 | repo-source                    | Source Repository                  | No      | ----      | ----   
10 | repo-source-non-oss            | Source Repository (Non-OSS)        | No      | ----      | ----   
11 | repo-update                    | Main Update Repository             | Yes     | (r ) Yes  | Yes    
12 | repo-update-non-oss            | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes   


When I select main pro driver it comes with dependency error :

Problem: nothing provides X11_ABI_VIDEODRV = 23.0 needed by xorg-x11-amdgpu-drv-amdgpu-1:18.1.99-812773.x86_64
 Solution 1: do not install amdgpu-pro-19.10-812773.x86_64
 Solution 2: break xorg-x11-amdgpu-drv-amdgpu-1:18.1.99-812773.x86_64 by ignoring some of its dependencies


even accepting to break for installation does nothing.

If I go for what has been said on AMD instruction page and run :

./amdgpu-pro-install

the result is :

tee: /etc/yum.repos.d/amdgpu-pro-local.repo: No such file or directory
[amdgpu-pro-local]
Name=AMD amdgpu Pro local repository
baseurl=file:///var/opt/amdgpu-pro-local
enabled=1
gpgcheck=0

I don’t know where yum is coming from ?! and if the problem is actually the AMD package
Any help is much appreciated :slight_smile:

Yes, simply add that to the Kernel CLI.

You can test by using rmmod to remove the open source “amdgpu” and “radeon” modules and then modprobe the “amdgpu-pro” module – Catch-22 is that, at the next reboot the open source modules will be reloaded into the Kernel and, blacklisting them in ‘/etc/modprobe.d/50-blacklist.conf’ doesn’t produce the expected results …

Yes – the Leap 15.1 Kernel has enough amdgpu Backports to support the newest AMD CPUs and GPUs except, for the “Pro” GPUs – AMD claim on their support page for the “Pro” GPUs that, the open source driver doesn’t really support their “Pro” GPUs – they claim that, the amdgpu-pro driver is needed …

Sorry for my question again. in my system modprobe and blacklist is not doing anything.
I added AMDGPU-Pro repo with driver. disable amdgpu:

echo "blacklist amdgpu" >> /etc/modprobe.d/50-blacklist.conf
echo "blacklist radeon" >> /etc/modprobe.d/50-blacklist.conf

but after reboot system didn’t run and halted. rolled back and installed amdgpu pro and came previous error for dependencies.

Hi
Take a step back for a moment, lets see the output from;


/sbin/lspci -nnk |egrep -A3 "VGA|Display|3D"

AFAIK, it should just show amdgpu, which it should use by default.

I’ll ask again, what is the end game for the driver? What features are you wanting, that are not available from the oss driver? How have you tested that these features are not present in the oss driver?

I have tried on SLE15 sp1 and did not work as well. did try on Redhat 8 and that was not successful as well. So, that’s all AMD issue to update their driver.
I will go for amdgpu oss as you advise :slight_smile:

Which is why I wrote that, Black-listing in “/etc/modprobe.d/50-blacklist.conf” doesn’t work as expected for GPU driver modules.

Yes, that was my mistake :smiley:
Thanks BTW