this post was submitted on 23 Jan 2024
28 points (96.7% liked)

Linux

48207 readers
814 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

A website with the make log is linked. I'm having a problem with installing drivers on my Fedora install. I have an RX6600 and would like to install the amdgpu drivers. I've tried trough dnf and the official amdgpu-install script. Any ideas why this compile error is happening? Actually considering going to Arch or Ubuntu because of this. I've had a lot of problems with AMD drivers on Fedora. I would like to also use Blender GPU Rendering. This is what their page says about it. The drivers I had previously were the normal ones. Now I'm having problems installing any drivers.

HIP – AMD

HIP is supported on Windows and Linux and requires a AMD graphics card with the Vega architecture or newer. Both discrete GPUs and APUs are supported.

Supported GPUs include:

    Radeon VII

    Radeon RX Vega Series

    Radeon RX 5000 Series

    Radeon RX 6000 Series

    Radeon RX 7000 Series

    Radeon Pro WX 9100

    Radeon Pro W6000 Series

Minimum driver versions:

    Windows: Radeon Software 21.12.1 or Radeon PRO Software 21.Q4

    Linux: Radeon Software 22.10 or ROCm 5.3

Please refer to AMD’s website for more information about AMD graphics cards and their architectures.

Would I need to install ROCm? Trough their AMD's install script it was represented as an option, but I ran into the same problem here.

all 9 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago

Also, if I basically remove everything, I will get this error:

`[aapo@aapo-fedora ~]$ amdgpu-install [sudo] password for aapo: ROCm 5.4 repository 154 kB/s | 208 kB 00:01
AMDGPU 5.4 repository 699 B/s | 548 B 00:00
Errors during downloading metadata for repository 'amdgpu':

  • Status code: 404 for https://repo.radeon.com/amdgpu/5.4/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 Last metadata expiration check: 0:00:01 ago on Tue 23 Jan 2024 03:47:14 PM EET. Package amdgpu-lib-1:5.4.50400-1510348.el8.x86_64 is already installed. Package amdgpu-dkms-1:5.18.13.50400-1510348.el8.noarch is already installed. Error: Problem: package rocm-hip-runtime-5.4.0.50400-72.el8.x86_64 from rocm requires rocminfo = 1.0.0.50400-72.el8, but none of the providers can be installed
  • conflicting requests
  • nothing provides /usr/libexec/platform-python needed by rocminfo-1.0.0.50400-72.el8.x86_64 from rocm (try to add '--skip-broken' to skip uninstallable packages) [aapo@aapo-fedora ~]$ `
[–] [email protected] 1 points 9 months ago

Here's also the dnf log:

[aapo@aapo-fedora ~]$ sudo dnf install amdgpu-core
AMDGPU 5.4 repository                           588  B/s | 548  B     00:00    
Errors during downloading metadata for repository 'amdgpu':
  - Status code: 404 for https://repo.radeon.com/amdgpu/5.4/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
Last metadata expiration check: 0:00:43 ago on Tue 23 Jan 2024 04:14:52 PM EET.
Dependencies resolved.
================================================================================
 Package     Arch   Version
                         Repository                                        Size
================================================================================
Installing:
 amdgpu-core noarch 1:5.4.50400-1510348.el8
                         repo.radeon.com_amdgpu_5.4_rhel_8.7_main_x86_64_ 8.1 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 8.1 k
Installed size: 0  
Is this ok [y/N]: y
Downloading Packages:
amdgpu-core-5.4.50400-1510348.el8.noarch.rpm     19 kB/s | 8.1 kB     00:00    
--------------------------------------------------------------------------------
Total                                            19 kB/s | 8.1 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: amdgpu-core-1:5.4.50400-1510348.el8.noarch             1/1 
ERROR: This package can only be installed on EL8.
error: %prein(amdgpu-core-1:5.4.50400-1510348.el8.noarch) scriptlet failed, exit status 1

Error in PREIN scriptlet in rpm package amdgpu-core
  Verifying        : amdgpu-core-1:5.4.50400-1510348.el8.noarch             1/1 

Failed:
  amdgpu-core-1:5.4.50400-1510348.el8.noarch                                    

Error: Transaction failed
[aapo@aapo-fedora ~]$ 
[–] [email protected] 1 points 9 months ago

Ok, update. I removed some improper repos that the amdgpu-install had installed and I got things mostly working. Only problem is that rendering in Blender on GPU crashes it and I can't seem to get good logs for the problem. I will try to get some logs and post them here.