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.
AapoL
So, see the other comment for the dnf message when installing amdgpu-core. Everything else except amdgpu-core gets installed properly. The error says ERROR: This package can only be installed on EL8. Which makes no sense.
Well, I figured that out. But the problem is now my drivers are kind of broken. The error you are seeing in the log is what is not letting me download the drivers.
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 ~]$
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 ~]$ `
For not that performance intensive stuff I would use clang though.
I'm a gcc user partly because of the optimization. I mean it's a pretty small difference. But still for scientific stuff gcc is slightly better I think. There's not much difference though and it basically comes to personal preference.
Is it actually something usable? I don't know of many active users of it.
Phone flashlights are optimized for photos. They don't shine very bright for example. You need to see even a good 30€ flashlight. Super bright compared to that. Also if you are in a situation that means you need to have battery on your phone, using the flashlight drains it a lot. Also on some flashlights you can use as a powerbank. For someone living in a city, it's maybe not it but if you are even a bit remote or like to do hiking or something its super useful. Idk I probably have read too much r/flashlights. It's like collecting knives man.
Good flashlights. You can get a great one that's rechargeable and super bright for something like 30€. At the same price you can get a crappy one at your local hardware store which is the options most people choose.
Holy hell
I just realized this myself as well and posted it into an another comment. Should have replied here instead. But now the only problem is Blender crashing.
This is all the logs I seem to get. The logs before the cat command are from running Blender.