r/linuxquestions • • 14d ago

Advice About switching to Linux

I'm seeing windows 11 having a lot of vulnerabilities and riskes too much lately, I think it's time for me to try Linux, I haven't already because as far as I know, Linux it's optimized for AMD cards, and currently I have an Nvidia GPU.

My current specs are 7600X, 5070 TI, 32GB ram DDR5.

I do some casual gaming, and also mess around with Local IA (ollama and SwarmUI (stable diffusion))

Is Linux going to cut off my performance bc the lack of drivers for nvidia GPUs or it isn't that bad? Also, which Linux would you recommend for the things I do?

5 Upvotes

15 comments sorted by

4

u/beatbox9 14d ago

Nvidia works fine on Linux and in some cases even works better than AMD.  The big difference is that for nvidia, it’s best to install a separate driver while amd works well with the built-in driver.

It will be best for you to go with a distro that officially maintains the nvidia driver for you, like ubuntu lts.  This way, installing and upgrading the driver is just as easy and reliable as any other software.

0

u/m4xugly 14d ago

Ubuntu LTS is not ideal for modern AI workloads, though. Everything is too old. Also, snaps are a horrible intro to Linux. Also, GNOME is a Fisher Price toy that caters to MacOS users that don't do dev work or AI or anything. Literally anything else in the top distros is a good choice. Fedora and Arch are much better. Mint or Debian for grandpa. Ubuntu for servers.

Gnome is for crippling your experience, KDE for the tinkering windows power user. Tiled for the ones with sleeves rolled up.

I use cachyos for the kernels+btrfs/snapshots+flagship KDE out if the box and therefore not giving any friction, it just is in a ready to use state. Then first pacman, then app image with appman/and then aur, if you must and use paru and have a smart llm make sure no funny business. Use a cli agent or desktop agent like opencode, codex, claude, antigravity, kilo, etc.. to help you learn linux and make sure you don't break stuff. Talk everything over with them, double check on important things, never a better time/way to learn. I say that as I approach my third Linux decade.

As a fresh user you may want to have the agent switch from fish to bash to build proper habits, although realistically most things are the same, just if you get deep into scripting kniw that bash is different and everywhere. Fish is a QoL thing specifically installed for that reason on cachyos and makes things feel more friendly out of the box.

2

u/beatbox9 14d ago edited 13d ago

From your response, I can tell that you do not even understand what a distro is. You're responding based on an assumption that a distro is just what comes preinstalled by default, just like a noob who just decided to plunge into linux recently based on what you heard from youtubers.

BTW, I've actually been using Linux as a daily driver for 20-25 years; and I began using it almost 10 years before that, over 30 years ago. And not just 1 distro: I currently run multiple distros, (and many in the past, including the tough ones like Slackware and Gentoo previously); and I've even contributed to the Linux kernel on numerous occasions.

I could easily tell you were lying when you say you're "approaching your third Linux decade." So I did a quick search and this confirmed my suspicions: https://www.reddit.com/r/kde/comments/qt7rta/we_choose_to_go_to_the_moon_in_this_decade_and_do/

I was correct. You've only been using Linux for a few years and are still in the infancy of learning.

And here are just a few examples of why your response is so poor:

  • Ubuntu LTS came out 6 months ago, packaging, maintaining, and supporting the latest components at the time. Notably including:

    • Ubuntu LTS officially packages, maintains, and supports necessary components like nvidia drivers, nvidia CUDA, AMD rocm, etc.
    • Also, it is trivially easy to upgrade components from other sources. For example, you can run the latest 7.3 kernel on Ubuntu LTS if you want, with the main question being: why?
    • So back to the question: specifically what is Ubuntu LTS missing?
  • Fedora only surpassed Ubuntu LTS 10 days ago in terms of recency (though Fedora was a month behind interim Ubuntu in doing so). For the 6 months before then, Fedora and Ubuntu LTS were just as new as each other. This pattern will repeat in around 1.5 years. So which new required/relevant feature does Fedora have that Ubuntu LTS does not? Noting that...:

    • Fedora does not maintain nvidia drivers like CUDA (or even AMD drivers like rocm). These require third-party/community-maintained repos like RPMFusion.
  • Arch is a rolling distro, increasing risk and requiring more user maintenance. Noting that...:

    • Arch does not officially maintain nvidia drivers like CUDA (or even AMD drivers like rocm). These require third-party / community-maintained repos like AUR.
  • Mint is literally 99% Ubuntu LTS, except with even older components and based on a much older version of Ubuntu LTS from 2 years ago, and delayed by 9 months. Since Mint is older than Ubuntu LTS, it is illogical and frankly dumb to claim that Ubuntu LTS is too old and Mint is not: why would Ubuntu LTS be too old and Mint wouldn't be? Noting that:

    • Mint does not officially maintain nvidia drivers like CUDA (or even AMD drivers like rocm). These require third-party / community-maintained repos like ppa's.
    • Mint is becoming less reliable over time, because they are so far behind modern architecture that their reliance on Ubuntu LTS is slowly breaking: https://www.reddit.com/r/linuxmint/s/6LdYKky2Fu
  • Debian is currently also even older than Ubuntu LTS.

    • Debian does not officially maintain nvidia drivers like CUDA (or even AMD drivers like rocm). These require third-party / community-maintained repos. This is one of the biggest differences between Debian and Ubuntu LTS and the reason that most professional settings use Ubuntu LTS over Debian: the maintenance and support for additional required components.

You can use any of the above distros. It just boils down to how you will install important core components, how you will maintain them over time, and pros & cons of recency vs stability.

This is also why you often see so many posts with issues on various distros every time there are major updates, because users have to do extra work or incur extra risk to maintain their systems when the distro does not provide core components like CUDA. In other words, use your distro's kernel, use some third party repo for CUDA, and watch it all break when your distro upgrades the kernel and the third party repo doesn't upgrade CUDA. Going back to the earlier question: what specific new feature were you getting from the upgrade that you absolutely needed anyway?

And these can be real problems. For example, the OP was talking about how AMD is 'so well supported'. But this was only for gaming and absolutely false when it comes to AI & gpu compute workloads. For example: https://github.com/ROCm/legacy-rocm-build/issues/1345

And if you follow that for years as I did, you may be able to note pattern: the main reason AMD sucked was...the maintenance and breakages from upgrades. Things worked until you upgraded and then they broke. And they would stay broken for years. That's the tradeoff.

So for core OS components for a reliable workstation (rather than just some downstream app), it's usually a really good idea for most people to go with a stable distro that supports the core OS components you'll rely on. Ideally without third-party or community repos, which are significantly riskier and less reliable over time. For example, I didn't like upgrading the kernel to 7.3 from 7.0 (and couldn't care less but needed it for the speakers); but it's a balancing act. And it will work for the next 1.5 years, as which point I will go back to the distro's official kernel, even if it temporarily drifts behind a bit.

This is also why major companies developing AI tend to use LTS distros like Ubuntu LTS and RHEL: because these have the functionality they need with a significantly reduced maintenance burden and risk.

That was literally just how wrong the first sentence of your reply was. Going on...:

  • gnome is just one of many de's you can use with ubuntu lts. It's just a preinstalled package that you can easily switch out with any other DE in Ubuntu's repositories in just a few seconds or minuts--and doing so is just as easy as installing any other app. Your naive fanboy take on a preferred gui DE has nothing to do with "dev work or AI" workloads. Are you so naive that you think you can't just install/replace one of the many other DE's on Ubuntu LTS...? Like what exactly do you think these are? https://ubuntu.com/desktop/flavors And why do you think you can't even use a different source for a DE--do you not understand that a DE is essentially just another app?
  • Ubuntu LTS barely includes any snaps; and they are not required or an inherent part of the OS. In fact, the only GUI snap people would potentially care about or use is Firefox; and that can easily be replaced by Mozilla's official .deb in around 30 seconds. And doing so is a one-time thing that will also survive all future upgrades. So what does support for an extra package type you don't even have to use have to do with anything?
  • You can always change packages and use containerized packages, which are extremely common for LLM toolkits. Including snaps, since snaps support headless applications, while flatpaks don't. Such as rocm for ai inference: 1-click install.

Note that even in your own description, you are talking about relatively complex maintenance and multiple package managers and repos, specifically because your distro does not provide this stuff and you choose to use other sources.

But's ok...a distro doesn 't have to provide everything. Though it's better for it to at least provide core OS components. And no, contrary to your naive beliefs, a distro is not just what comes preinstalled.

So step 1 is: learn what a distro is, and how a distro is only part of the overall system, and how you typically want the distro to be best aligned to the core.

Step 2 would be learn how time works and stop posing as a 30-year Linux user, because you're not; and you're giving those of us who actually are a bad name.

And step 3 would be learn how to understand other peoples' requirements and cater a response for them, not just a fanboy response of "I like KDE" when the OP is asking about nvidia support for LLMs.

Here it is again: https://www.reddit.com/r/kde/comments/qt7rta/we_choose_to_go_to_the_moon_in_this_decade_and_do/

1

u/m4xugly 11d ago

I don't like Ubuntu (a distro). Last time I used it I had to jump through hoops to disable snaps and keep them disabled. Not just a single config. It was obviously not meant to be easy. If that changed I don't care, not worth it potentially happening again. That is why I am for Mint and for Debian. Which, though related, don't share the philosophy or the snaps. Last time I tried KDE Neon, even more closely related, it had snaps disabled.

I used Ubuntu for the majority of the first 20 years I used Linux, btw.

That old post was me being corny, admittedly but genuinely talking about venturing out more. I am not sure how Ubuntu 8 doesn't date what I said there, properly. I graduated highschool in '05, I had been using Linux since middles school. I also don't like Gnome, a DE. Those are both opinions, mine. Opinions based on objective truths.

It doesn't matter I am not here to prove things to the top commenter, you reeled me in though, you got me, lol.

I am not going to war with you. You haven't changed my mind about anything, I am sorry to say. I am flattered you took the time to write it. Sorry I upset you so much, though. I hope you have a better day today!

0

u/beatbox9 11d ago edited 11d ago

Again: you don't know what you're doing.

And that hurts your ego, and this is why you are carefully qualifying your statements and trying to spin things as if you'd been regularly using Linux for 20 years, when you clearly haven't been.

For example, suppose you used Ubuntu for just 1 day back in 2008--you didn't even install it, you just used the liveCD for an hour and then never touched Linux again until last week. That would meet the criteria of your carefully worded statement: "I used Ubuntu for the majority of the first 20 years I used Linux, btw."

It turns out that you're really not as clever as you think you are.

And that's why you struggled to do basic things like disabling snaps...which have been in Ubuntu LTS for the past 10 years. That would be half of the "past 20 years" that you deceivingly claim to have been using Ubuntu.

And disabling snaps on Ubuntu is literally 1 thing that takes around 5-10 seconds to do:

Package: snapd
Pin: release a=*
Pin-Priority: -10

Put that into a text file, save it as anything.pref and place it into /etc/apt/preferences.d/

Because that's how apt (the package manager) works. That's how apt knows where repositories and packages are and which repositories to look into for which packages. It's how apt on Ubuntu knows to look at Ubuntu repos, and how apt on Debian looks at debian repos, and how Mint looks at...Mint repos for a handful of things and Ubuntu repos for most stuff. And it's also quite literally how Mint does it:

https://gist.github.com/lmmx/0550cfc8867eb1eea04076ec69c95a5a

And that's why you think snap is some sort of weird global conspiracy that was "meant to" be difficult, instead of just: it redirected packages to snap because they were no longer maintained at all as .debs and would result in an error for customers who use scripts.

And that's also why you'd recommend Mint without understanding the first thing about Mint.

Unfortunately for you, you are not a competent or a knowledgable or an honest person; and this conclusion is objectively based on your statements above. And I really don't care to change your opinion, especially when you don't even know the difference between "objective" and "subjective."

I know more than you do and I have significantly more experience than you do. I'm just calling you out on spreading disinformation that is based on your own ignorance and incompetence

1

u/Atmosck 14d ago

nvidia drivers for newer cards are totally fine, I also have a 5070 Ti and it works great on arch. Cyberpunk and Control 2 are beautiful. CachyOS is a good one to try if you care about gaming performance.

For ML work like local AI, linux is where you want to be. CUDA drivers are a whole different ballgame - every data center is run on linux. For that stuff your distro doesn't matter that much, but you might want to avoid immutable distros like bazzite and steamOS.

1

u/Rakibul_Hasan_Shuvo 14d ago

Go for pop os

1

u/Low_Independent766 14d ago

It’s not an optimization issue, it’s just that the AMDs drivers are open source and so are upstreamed into the kernel essentially for free and Nvidia drivers are proprietary and so can’t legally be shipped with the OS in many instances.

“Drivers” on Linux need to be modded into the kernel, so sometimes installing the Nvidia drivers can be a pain. I would say in the overwhelming majority of cases however it’s a non issue. 

1

u/beatbox9 13d ago edited 13d ago

Just to be clear: there is a lot of nuance and stuff missing in your response.

For one: there are multiple drivers for the OP's use case: a graphics driver and a separate compute (openCL) driver. The compute driver is for using the GPU for things like ai like the OP is interested in.

  • The AMD graphics driver (amdgpu) is upstreamed into the kernel and open source.
  • However, AMD's compute driver (rocm) is not. It's an entirely different beast. And traditionally to install it, you had to use amd's proprietary driver installation suite, called amdgpu-pro. This has a track record of being very difficult and unreliable. Only very recently, some distros (like Ubuntu LTS) have started officially providing and supporting rocm.
  • For nvidia graphics drivers, there are 2 options: nouveau (open source) and nvidia-open (partially open source). Like amdgpu, Nouveau is included in the linux kernel; but it sucks for now. Nvidia-open is by far the better driver; but it can be tricky to install. Luckily, some distros (like Ubuntu LTS) have started officially packaging, maintaining, and supporting nvidia-open; but most distros at least have community-maintained packages to make this just as easy, though potentially not as stable/reliable (eg. RPMFusion on Fedora, AUR on arch, Ubuntu previously used a 'graphics-drivers' ppa, etc).
  • Nvidia's compute driver (CUDA) is also a separate driver. Same as the above: it can be difficult to install, there are community packages for most distros, and some distros have official maintenance and support.

There's a good writeup here: https://arslaan.studio/setting-up-a-linux-media-studio-workstation-audio-video-graphics-davinci-resolve-etc/#step-2-install-configure-drivers

0

u/gehzumteufel 14d ago

The Nvidia driver for anything Turing and later, is open source. It's not upstreamed, but it is open source. They have been saying this for a while now. Once Nova is complete, there will be an in-tree driver for the same cards.

1

u/proverbialbunny 14d ago edited 14d ago

Is Linux going to cut off my performance bc the lack of drivers for nvidia GPUs or it isn't that bad?

It isn't bad. Starting with the 16XX series Nvidia moved the closed source part of their drivers into the cards firmware. Since then Nvidia drivers have gotten a lot better.

1

u/gehzumteufel 14d ago

Turing includes the 16xx cards too.

1

u/Small-Tale3180 14d ago

the 50xx gen of nvidia is pretty nice rn, especially on rolling-release distros, the ones that get latest packages like arch/arch-based, void(glibc) or maybe even fedora

1

u/strange_bike_guy 14d ago

Nvidia card on my machine. Used to be a problem... maybe 8 years ago. Your first boot before getting the 3rd party driver installed will just have slow frame rate - like even on youtube. I'd get 6 frames per second out of FreeCAD vs 70 frames per second out of FreeCAD after installing the graphic driver and rebooting.

1

u/BranchLatter4294 14d ago

You realize many if not most of the AI data centers are running Linux with Nvidia.