well, today i (partially) realized why my basic drivers don’t work: the preinstalled packages amdgpu and amdgpu-dkms seem to not work due to amdgpu-dkms being unconfigured. tried configuring it and got the same error. around about there my system stopped using even the iGPU and i had to uninstall some other drivers (thanks @lena@gregtech.eu )
I’ve been happily running the mesa-dev stack (mesa-tkg-git from the chaotic-aur repo) both on semi-current hardware (an RX 6600 that’s sidelined by a bad fan atm) and somewhat older hardware (the Vega 56 I’m using as a backup because it’s my second best card after the RX 6600) for a while now so I don’t know what you’re doing.
AMD drivers are plug n play? They are part of mesa and you don’t need to do anything, why would you need to install anything else?
Edit: except rocm
Unfortunately they workn’t. :(
Rocm unfortunately.
ROCM is well supported by docker PCI passthrough with official packages. So much better than polluting your workstation and maintaining the stack
Even ROCm on some distros isn’t that bad. On my 7900 XTX (admittedly an officially supported card, your mileage may vary on unofficial cards) on Fedora it was just a case of doing
sudo dnf install rocm-*
and everything installed (might be some extra packages you need after for specific apps, but you know if you need them). On openSUSE though, it was a total pain.Don’t they support like 3 cards?
Rocm usually needs an override line in pip wheel/python, not the driver itself at least from my experience
Which distro are you using? AMD has been completely plug-and-play for me.
Kbuntu 22.04 w/ radeon R9 M360
Have you enabled Southern Islands support as a kernel parameter? Your generation of GPU was originally supported on
radeon
, so you need to explicitly enable SI (Southern Islands) support to useamdgpu
.See ArchWiki for more information
My R9 390 was a huge pain in the ass to get working on any distro, but I think it was the last card before they fixed whatever issue it was.
Yeah, afaik it’s exactly one of the cards that require manual intervention or a switch to the radeon driver. Bad generation to run on Linux.
Yeeeah :(
I have a r9 380. It’s been amazing on Linux
This was on Windows:
Fancy.
Now I want that as a KDE theme
As a relative Linux noob and Nvidia card owner, I keep hearing how it’ll be so much easier if I go AMD. Is that not true?
AMD is much MUCH better to set up, I have an AMD laptop and setup for drivers is just adding amdgpu to the boot flags (NixOS btw), for Nvidia on my main pc I had to go to hell and back to get it mostly working and even then Zed sometimes causes my kernel to panic (But I’m not 100% sure if it’s because of the Nvidia drivers)
Yeah, I think I just got unlucky with the drivers.
No AMD is fine. You pretty much never need to install anything to get full performance from it, not sure what OP is up to maybe ROCm which is like, AI-related stuff. Not something most people need.
You typically only have issues if you want to use a newly released card with a distro that doesn’t run a recent kernel or if you want to use GPU compute.
Can confirm:
-
When I bought an RX Vega 56 on launch day seven years ago and installed it the same day, I had to go with the proprietary AMDGPU-PRO driver (on Kubuntu) because the Free drivers didn’t support it yet.
-
When I bought an RX 9070 XT on launch day two months ago but took a few weeks to install it (because it was wider than my old Vega I had to get a different case, which I spent a little while deciding on), I had to upgrade to the actual latest mainline kernel instead of the one Kubuntu shipped with, but then it “just worked” without any proprietary drivers. (The same would’ve been true had I installed it immediately on launch day as 6.13.5, which added support for it, came out before the card was released.)
Of course, it suddenly occurs to me upon reading this thread that I haven’t tried the new card out with GPGPU or LLM-type stuff yet, and since I’m not using the proprietary driver this time I guess I still need to install ROCm. Oops, LOL.
-
Generally yes, if you use any modern card. Older ones might require to switch to an older driver (before “amdgpu” there was one called “radeon”, by default any distro I know comes with the modern amdgpu). There are also two AMD GPU generations (I think HD7000/Rx 200 and Rx 300) that can be a little bit nasty as the driver change happened around that time, those sometimes need manual intervention.
Anything newer (RX 550 and higher) pretty much always work without any hitch or additional steps required.
AMD used to be a huge pain in the ass to get working, but that hasn’t been true for a while now.
I can guarantee you’ll get more bang for your buck going with Nvidia just due to the fact that so much compute software requires cuda (blender, machine learning, any sort of engineering simulation software). Nvidia drivers are just less of a pain to deal with as a developer, since they’re less strict on error handling and syntax.
You can get a 3050 on amazon for like $150 now, which is more than enough for most games.
Plus DLSS is still miles ahead of FSR in terms of quality and efficiency.
Interesting! Well I currently have a 1070ti, which the internet tells me will mostly outperform a 3050. Thanks for your dev perspective.
The 1070Ti doesn’t have the hardware necessary for DLSS, which makes a huge difference in performance for gaming.
Also I was using the 3050 as a low-cost example (it’s what I use). My roommate uses a 3060Ti and that thing easily handles every game she’s thrown at it.
Good stuff to know. Thx!
Ive had no issues, nvidias just better when it comes to actual software support, like for blender, amd works mostly fine for me on cachyos, hip rt crashes blender tho. All of my steam games run fine. I did have to reinstall my os after messing stuff up setting up qemu, attaching my gpu as a device did not go correctly and when I removed qemu through the terminal (black screen) it stayed stuck on my integrated gpu and couldn’t recognize the seperate one anymoere. Only issue ive really had, wont try to set up a windows virtual desktop again.
nvidias just better when it comes to actual software support
Lol no.
Most local AI apps have cuda support for local GPU, only a few have rocm
Oh, that way around. Yeah, more software is using Nvidia CUDA although you can run increasingly more stuff via ZLUDA. Also more and more software comes around supporting ROCm or just uses a vulkan layer. In the end the biggest struggle is to install either CUDA or ROCm drivers, both can be lretty annoying to install depending on your distro. For local AI apps just use the ones supporting ROCm. Haven’t gotten into trouble there so far.
sudo pacman -Sy mesa vulkan-radeon (or smth like that)
Edit: Yeah, I know, Syu. I very rarely not do Syu. But /usr/bin/brain segfaulted while trying to be smart.
-Sy is recommended against. -S or -Syu, but not -Sy
Can I ask why? I’m newer to Arch and I legit don’t know.
-S means sync, or to install/update a package
y means to update the local package db, so which packages are available and especially which version is newest
u means update the packages themselvesSo -Sy would just get which newest packages are available, and then install eg. mesa version 6.9. However, mesa version 6.9 may depend on ligmalib 3.2. However, because you didn’t specify -u, ligmalib 3.1 is not updated to 3.2. And then you have a partial update.
Arch’s package system basically relies on all packages in all single points in time being compatible with each other. So if you look at the db now, all packages should have the correct versions of dependencies available. But if you mix different states, eg. update a few packages at 2:00 and some others at 17:00, that’s not given anymore
Same question for me. I’ve never heard this.
@sudoleah @myersguy this will refresh db without updating system and install package. If new package depends on newer libraries than other installed packages, it will break dependencies for installed packages. That might be easily solved with local solib dependency tracking (like gentoo preserved-libs database), but arch does not have it.
Yeah, only thought that halfway through lol
@30p87 @Fortatech enjoy ur broken system after partial update
I had to install a pacman package and change a config so my system would use vulkan instead of opengl. Other than that, nothing should be needed.