this post was submitted on 02 Oct 2024
78 points (95.3% liked)

Linux

48680 readers
482 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
 

I just got hold of an AMD RX7800 XT to replace my current Nvidia RTX3080.

I'm likely overthinking this but from what I understand I should just be able to swap the cards then uninstall the Nvidia drivers correct?

I'm running EndeavourOS which I installed with the option to include the Nvidia drivers by default so dunno if that changes anything? I've been daily driving Linux for exactly a year as of this month but I still kinda feel like a newbie sometimes lmao. Thanks in advance!

(Update) I got my AMD card installed and loaded up Wayland with no issues, only thing I had to install was the AMD Vulkan drivers for Steam.

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

Do you do AI stuff?

I've heard NVidia is better for AI

For gaming, you'll probably not notice a difference. If anything, you'll be happy due to not having to wrestle NVidia Linux Drivers :P

[–] [email protected] 8 points 2 months ago

I just did this with an RX7900TX and everything worked fine and I decided to install my normal updates. And then my PC wouldn't boot. After hours of "fun", it turns out that the issue had nothing to do with the GPU swap and all. Tons of fun!

[–] [email protected] 4 points 2 months ago

The drivers are infinitely better, and the stutter when creating a ton of windows (ie notification spam from kconnect) is basically gone.

[–] [email protected] 1 points 2 months ago
[–] [email protected] 8 points 2 months ago

Only that your newfound time from not having to fuck with video drivers might be enough to solve world peace.

[–] [email protected] 8 points 2 months ago

Went from GTX970 to 6800XT.
Just drivers!

[–] [email protected] 5 points 2 months ago

A while back I swapped out my crusty old GTX 960 for a RX 7600 and honestly, other than removing the old nvidia drivers and installing the Vulkan drivers, I had to do nothing else and I have 0 issues or complaints.

[–] [email protected] 9 points 2 months ago

In case others are interested on the general compute aspect, e.g inference for self hosted AI, here is something related I found :

[–] [email protected] 4 points 2 months ago

I recently did this switch to the same card and it sounds like it was as painless for you as it was for me.

An issue I had later on was that I still had some Nvidia packeges installed I didn't know about after removing them with apt. I had to fully search with dpkg to find them. They ended up being the root cause of a seemingly unrelated issue I was having trying to run a game through steam. So yeah make sure to fully purge the Nvidia drivers.

[–] [email protected] 1 points 2 months ago

In addition there are also often packages to get hardware acceleration of video working, if you care about saving energy / fan noise there.

[–] [email protected] 8 points 2 months ago (1 children)

Seems weird to replace a 3080 but hey, whatever floats your goat.

I switched from Nvidia to AMD recently. As long as you have a recent kernel you should be fine. If you're running an old/stable distro you might have issues with mesa, especially if you need OpenCL or ROCm. For general use and gaming it worked for me with no fuss.

[–] [email protected] 4 points 2 months ago

I just replaced my 3070 with a RX 7900XT and it was a very noticeable difference in performance. It doesn't help that my primary display is 3840x1600 though. The 3070 was never particularly great for that res.

[–] [email protected] 12 points 2 months ago (1 children)

There isn't anything you need to know. It's the opposite actually. You can now forget about graphics drivers entirely if you want. Unless it's like, a job or hobby or something.

[–] [email protected] 2 points 2 months ago

Meh… there are certain use cases where the selection between mesa or either of the AMD drivers does matter.

[–] [email protected] 4 points 2 months ago

I think the only thing to keep in mind is that Nvidias proprietary drivers work better for Linux whereas for AMD it is the open-source ones.

I have an Nvidia card and the prop. drivers have worked flawlessly for me for years.

I know the open source drivers are closing the gap for Nvidia, and they also seem to be playing ball on that front. But for AMD the open source drivers are definitely the way to go from what I understand.

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

If no one minds my hyjacking part of this thread.

Id also like some similar advice.

I use blender. Not heavily but have been playing on it for 20plus years.

My GPU is pretty old. 1050ti at the time nvidia was pretty much it for blender.

Im looking for a sub £300 card in the next 3 to 6 months.

Is AMD well supported by blender now. And what cards would folks recomend these days.

PS not a gamer. 0ad is about as close as i get.

[–] [email protected] 1 points 2 months ago (1 children)

Take a look at

https://opendata.blender.org

From what I can tell NVIDIA still is much better for Blender at least points-wise. No idea if you'd notice it on normal usage ...

[–] [email protected] 2 points 2 months ago (1 children)

Yeah looks very much like nvidia is exclusive at the top even at the price I'm looking at.

The RTX4060 looks about right price vs performance. I'll spend some time looking up how well they play with linux atm. And keep an eye out for a used RTX4070 as well.

[–] [email protected] 1 points 2 months ago

I have an AMD Cpu and a 4070 running Kinoite, installed the usual Fedora drivers via rpm-ostree and aside of some weirdness sometimes with sleep mode (I think it can't go to sleep when Vorta does a backup amd then hamgs the whole system ...) and a few crashes in Jellyfin playing HEVC videos it's super smooth

[–] [email protected] 38 points 2 months ago (2 children)

Short answer is that you don't have to do anything.

Slightly longer answer is that you can remove all existing nvidia packages, with any boot parameters they may have required, call it a day.

[–] [email protected] 3 points 2 months ago

Also, install the generic or AMD specific packages now. Eg. vulkan-radeon or amdvlk instead of nvidia-utils (https://wiki.archlinux.org/title/Vulkan)

[–] [email protected] 14 points 2 months ago

Yep. When I switched out my Nvidia for AMD it was as plug-and-play as it gets.

[–] [email protected] 19 points 2 months ago (3 children)

I've never done the process myself, but I would probably uninstall the nvidia drivers while the system is still running, install whatever amd packages you need I know there are some vulkan packages that people need that aren't installed by default, and then power off and swap the cards.

[–] [email protected] 7 points 2 months ago (1 children)

You just got me to remember something about a Vulkan package when I first installed Steam so gonna find the AMD package for that. Thanks!

[–] [email protected] 8 points 2 months ago (1 children)

You shouldn't need to install anything for the amd gpu

[–] [email protected] 3 points 2 months ago (1 children)

Most distros have a vk package that steam depends on that varies based on hardware, there is a system different package for amd than Nvidia or Intel.

[–] [email protected] 1 points 2 months ago (2 children)

Oh right. Do you have a distro specific example of this?

[–] [email protected] 2 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago (1 children)

Isn't this the kernel driver included by default?

[–] [email protected] 1 points 2 months ago

The wiki tells you what you need on arch, and what you need it for. Those packages also don't seem to have kernel-specific or dkms versions, so seems like they're not kernel modules.

Mind you, the setup is clearly not monolithic, with different components for different purposes, including alternative options. On top of that, each distro will make different choices - Arch provides the components as packages and puts the responsibility of installing the right ones on you. Some features might be built into kernel drivers, like working video output, but Vulkan support clearly wants a dedicated driver.

[–] [email protected] 1 points 2 months ago (1 children)

I've encountered the issue on arch and fedora, don't have the package name off the top of my head but both package managers ask you to pick a package to fulfill the dependency.

[–] [email protected] 1 points 2 months ago

I see, appreciate the info. I'll have a poke around on fedora later today

[–] [email protected] 3 points 2 months ago (1 children)

I'm not familiar with these vulkan packages, what should I look for?

[–] [email protected] 2 points 2 months ago (1 children)

I don't have an AMD card, so I don't know, but I recall reading on the endeavourOS forums of people solving their AMD gaming issues by installing the proper vulkan packages. That is to say. You should head to the endeavourOS forums and peruse around there. You will probably find that information very quickly there.

[–] [email protected] 2 points 2 months ago

Thanks! I've not been having many problems, but if it's causing a performance loss it would be good to take care of it, I'll check that out