I used to install amdgpu-pro for a need of opencl, however I don’t have the need now, and it is mentioned on ProtonDB that a game don’t start with amdgpu-pro, so I used amdgpu-install
(the old version when I install gpu-pro) to uninstall the drivers, and tried to install the open one from dnf
. (Radeon RX 5700 XT)
However, I must have missed something, since now all games that rely on Proton cannot work complaining about missing Direct 11/12 support (or start up with 1~2 fps). Games like Dota with native vulkan still works perfectly fine.
The old version of amdgpu-install
have error as
No match for argument: amdgpu-versionlist
Error: Unable to find a match: amdgpu-versionlist
Last metadata expiration check: 0:29:18 ago on Thu 02 Dec 2021 08:39:57 PM CET.
No match for argument: amdgpu-pro-versionlist
Error: Unable to find a match: amdgpu-pro-versionlist
I tried to download the newest amdgpu-install
to fix it, however there seems to be a bug:
AMDGPU 21.40.1 repository 193 B/s | 178 B 00:00
Errors during downloading metadata for repository 'amdgpu':
- Status code: 404 for https://repo.radeon.com/amdgpu/21.40.1/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49)
Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: amdgpu
The link it uses is empty (somehow there is a double slash, where should be a version number), then I try to install manually every rpm file from Index of /amdgpu/21.40.1/rhel/8.5/main/x86_64/
However, when I try to install amdgpu-dkms-1:5.11.32.40501
, error comes as:
Building for 5.15.5-200.fc35.x86_64
Building initial module for 5.15.5-200.fc35.x86_64
Deprecated feature: REMAKE_INITRD
Error! Bad return status for module build on kernel: 5.15.5-200.fc35.x86_64 (x86_64)
Consult /var/lib/dkms/amdgpu/5.11.32-1337797.el8/build/make.log for more information.
warning: %post(amdgpu-dkms-1:5.11.32.40501-1337797.el8.noarch) scriptlet failed, exit status 10
Error in POSTIN scriptlet in rpm package amdgpu-dkms
Verifying : amdgpu-dkms-1:5.11.32.40501-1337797.el8.noarch 1/1
Installed:
amdgpu-dkms-1:5.11.32.40501-1337797.el8.noarch
Complete!
and when it comes to amdgpu-core
, it failed to install
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: amdgpu-core-21.40.1.40501-1337797.el8.noarch 1/1
ERROR: This package can only be installed on EL8.
error: %prein(amdgpu-core-0:21.40.1.40501-1337797.el8.noarch) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package amdgpu-core
Verifying : amdgpu-core-21.40.1.40501-1337797.el8.noarch 1/1
Failed:
amdgpu-core-21.40.1.40501-1337797.el8.noarch