this post was submitted on 16 Nov 2023
69 points (100.0% liked)

Linux

48329 readers
668 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
 

My GTX-1080 is getting a little long in the tooth, I'm thinking of going all AMD on my Linux Mint gaming rig here, but...is there anything I need to do or install or uninstall to switch to an AMD card from an Nvidia one?

I've never done this before on a Linux system; I've got my Intel/Radeon laptop, and my Ryzen/GeForce desktop and that's most of my Linux experience.

all 36 comments
sorted by: hot top controversial new old
[–] robojeb@lemmy.world 24 points 1 year ago (1 children)

I just upgraded from a 1080ti to a 7900xt last month and I just plugged it in and it worked. Then I uninstalled the Nvidia binary drivers and libraries.

[–] Montagge@kbin.social 9 points 1 year ago (1 children)

Then I uninstalled the Nvidia binary drivers and libraries.

I need to get around to that one of these days lol

[–] popekingjoe@lemmy.world 2 points 1 year ago

Just adding to the pile. One day.

[–] circuitfarmer@lemmy.sdf.org 21 points 1 year ago (1 children)

Others have said this, but just adding to the pile: I had a system running Pop and a GTX 970. I removed the 970 and installed an RX 6600 XT and had absolutely no issues (and it was the nvidia version of Pop -- I simply removed the nvidia shit at a later time).

[–] Grass@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

I've never tried this on any distro. I just assumed it would bug out and reinstalled the os.

[–] hoanbridgetroll@midwest.social 9 points 1 year ago (1 children)

A heads up if you have a G-Sync monitor from that same era: it may not do variable rate with Freesync. I was ready to pull the trigger and upgrade my 1080 Ti to an AMD card when I caught that detail. So now I need to justify the cost of a new main monitor as well if I want to have smooth variable refresh. Good luck!

[–] captain_aggravated@sh.itjust.works 4 points 1 year ago (1 children)

My Gigabyte...what's this thing's model number? M34WQ is AMD Freesync compatible but not Nvidia G-Sync. Wait, do either of those two technologies work with Linux?

[–] refurbishedrefurbisher@lemmy.sdf.org 5 points 1 year ago (1 children)

Freesync works with Linux on AMD, but only over DisplayPort.

[–] captain_aggravated@sh.itjust.works 1 points 1 year ago (2 children)

My main monitor is already attached via DP, my secondary is actually DVI but it doesn't matter, that's my youtube/Wiki monitor.

Does FreeSync need any configuration of some kind, or just enable it in-game?

Only supported in KDE, Sway, Hyprland, and gamescope as of right now. Also supported in X11.

https://wiki.archlinux.org/title/Variable_refresh_rate

[–] Robin@lemmy.world 1 points 1 year ago

No config. It should just work

[–] LoafyLemon@kbin.social 8 points 1 year ago (2 children)

It is entirely plug and play.

[–] captain_aggravated@sh.itjust.works 2 points 1 year ago (1 children)

Like there's an Nvidia control panel that ended up on my machine by itself, that's not going to be a problem?

[–] rescue_toaster@lemm.ee 7 points 1 year ago

Not an issue. I did the same thing a while ago, switched from nvidea to amd. After i confirmed the radeon was working fine i purged all the nvidea stuff

[–] phx@lemmy.ca 0 points 1 year ago

Everyone that - depending on how the Nvidia stuff was installed - they may need to uninstall that first as it may have changed some libraries.

[–] russjr08@outpost.zeuslink.net 7 points 1 year ago (1 children)

Aside from removing /etc/X11/xorg.conf because I had generated one via Nvidia's XServer settings - nope! The custom config there did prevent X from loading properly, switched to a tty to delete the config, restarted, and was perfectly fine afterwards.

[–] captain_aggravated@sh.itjust.works 3 points 1 year ago (2 children)

You...deleted xorg.conf? eyebrow noises

[–] russjr08@outpost.zeuslink.net 10 points 1 year ago

Yes. X11 these days usually auto-configures on its own (to my understanding, at least) - when you generate one with Nvidia's settings it will add some stuff that is specific to the Nvidia driver, and thus once the card/drivers isn't present, then X11 can't start.

I had removed the drivers before swapping out the card in preparation, so I'm not 100% sure if said proprietary extensions doesn't load because of the lack of drivers, or the lack of the card itself - probably both to be honest.

But either way, X11 wasn't affected by the removal of the custom config, and there wasn't ever one present until I made one via nvidia-settings (other than, it started working of course).

[–] d3Xt3r@lemmy.nz 4 points 1 year ago* (last edited 1 year ago) (1 children)

Also, unless you're very dependant on some specific X11 apps, you don't need Xorg any more so I reckon you should switch to Wayland for a better experience (smoother, no screen tearing, high refresh rates, better multi-screen / multi-DPI handling etc).

One word: Cinnamon.

[–] mojo@lemm.ee 6 points 1 year ago

I had a GTX 1080 and swapped to an AMD graphics card. I didn't reinstall my Fedora Linux distro, instead it "just worked" as soon as I booted. It was very strange coming from Nvidia to have it just work lol. It's probably best to uninstall the Nvidia drivers after that though, and make sure there's no blacklists in your boot settings still.

[–] nyan@lemmy.cafe 4 points 1 year ago

Provided that the approriate drivers and binary firmware blobs for the new card are already on your system (and with a user-friendly distro like Mint, they should be), I'd expect you to be able just to plug in and go. The only extra hoops I had to jump through while sidegrading from a 1050 to an AMD card of the same era were due to my having a hand-configured kernel and X setup with no AMD drivers.

[–] GustavoM@lemmy.world 4 points 1 year ago

afaik, you actually need to do way LESS compared to using a geforce card.

[–] Bluefruit@lemmy.world 4 points 1 year ago

I'm actually considering making this switch for the same reason. My 1070 ti is still a great card but its starting to struggle a bit with some games.

[–] bitwolf@lemmy.one 2 points 1 year ago* (last edited 1 year ago)

Just uninstall all the Nvidia stuff and reboot. It's been great for me so far.

Linux will auto detect the hardware and load the proper modules at boot. I believe initrd does this.

This worked great for Intel -> AMD CPU also. I just removed the Intel microcode packages after I rebooted to save the disk space.

[–] Cysioland@lemmygrad.ml 2 points 1 year ago

Just install mesa and you should be good to go. Did a similar on Arch (GTX 960 to RX 7900 XT) and it picked up nicely, no adjustments were needed.

[–] authed@lemmy.ml 0 points 1 year ago (2 children)
[–] petey@aussie.zone 12 points 1 year ago (1 children)

I thought that as long as the kernel is new enough, the Radeon driver should already be in the kernel

[–] circuitfarmer@lemmy.sdf.org 6 points 1 year ago* (last edited 1 year ago)

Yes, it works this way. An additional driver is not needed for AMD.

[–] captain_aggravated@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

...prolly?

...I hardly knew her?

...where to Mrs. Daisy?

[–] captain_aggravated@sh.itjust.works -2 points 1 year ago* (last edited 1 year ago) (2 children)

Well this was clear as mud. Thanks for everyone responding but as far as I can tell there isn't a definitive answer to my question and I'm still at "worst case scenario it's a reinstall of the OS."

Next question: Has anyone made an AMD card that A. fits in the GPU bay of a Fractal Node 202 and has significantly more grunt than a blower-style GTX-1080? I think the 6700 was the most recent viable option I saw? I think? It's been a hot minute since I went GPU shopping, but since time lost all meaning a few year minutes ago I...

Like the whole thing that made me pick the GTX-1080 I've got is...well I got it for free out of a machine a relative of mine was retiring, and also that it ejects all hot air through the IO plate out of the chassis, which I felt was wise given the Node 202's respiratory limitations. Then they stopped making blower-style cards.

[–] circuitfarmer@lemmy.sdf.org 9 points 1 year ago* (last edited 1 year ago) (1 children)

It shouldn't be clear as mud. The answer is: it will work out of the box. Just try it.

As I said in another comment, I had a system running nvidia and Pop. AMD card worked with no issues and no additional software installed. I removed the nvidia stuff some months later. It doesn't affect anything in the meantime.

[–] Max_P@lemmy.max-p.me 6 points 1 year ago

The only reason it will not work would be if OP has manually configured stuff in /etc/X11 in some way. You can even have both in the system at the same time (which does require a little bit of extra configuration). Absolute worst case you check out /var/log/Xorg.0.log it tells you the config you forgot in /etc/X11/xorg.conf.d/20-nvidia.conf 5 years ago doesn't work because the GPU is gone, you delete it, restart Xorg and you're good to go.

Even on Windows it's kind of a myth. Some people are like you need to DDU the old driver in safe mode before swapping them out. You can really have them both installed it's just going to be weird because on Windows both vendors come with ridiculous amounts of bloat.

AMD cards just works as long as your distro is reasonably up to date. No extra drivers, in fact, installing AMDGPU-PRO is usually worse unless you fit some specific use cases.

[–] LeFantome@programming.dev 5 points 1 year ago

It is almost certainly plug and play.

[–] Dkarma@lemmy.world -2 points 1 year ago

You gotta rocm