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 )
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
real rocm moment
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
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
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.
well, apparently the R9 M3xx is the problematic one
That’s odd given GCN1 and 2 will fully work in Linux with a compatibility toggle to enable AMDGPU support set in the kernel parameters, and GCN3 and newer natively supports AMDGPU without that toggle being required.
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
Ill try that, thanks! I’m just distrohopping to Kinoite, and ill try it then if it doesn’t work.
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.
I have a r9 380. It’s been amazing on Linux
This was on Windows:
The R9 380 was a rebrand of the R9 285, which was the first card to require the use of the new amdgpu driver. The R9 390 was a rebrand of the R9 290, which did not force the use of amdgpu, but optionally supports it through a kernel flag.
Source: I have an R9 380.
Fancy.
Now I want that as a KDE theme
Yeeeah :(
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?
It is. OP is just using an old-ass card from many years ago.
It is true and has been my experience for the last decade or so. Unfortunately, OP is trying to use a GPU from 2015 that’s still based on GCN 1.0 with the newer amdgpu driver stack, which is not officially supported. Effectively, OP is getting a taste of what it was like before AMD started pouring ressources into their open source GPU drivers.
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)
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.
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.
I’d recommend using OCI containers (docker/podman) there. I was even able to get models working with ROCm on my 780m iGPU that’s not officially supported.
-
Yeah, I think I just got unlucky with the drivers.
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.
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.
realtime vfx in houdini and embergen?
For 3d rendering? Vr gaming? Its far superior?
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!
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
@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.
Same question for me. I’ve never heard this.
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.