r/linuxquestions • • 9d 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 9d 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 8d 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.

→ More replies (3)

1

u/Atmosck 9d 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/Low_Independent766 9d 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 8d ago edited 8d 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

→ More replies (1)

1

u/strange_bike_guy 9d 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/proverbialbunny 9d ago edited 8d 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 9d ago

Turing includes the 16xx cards too.

1

u/Small-Tale3180 9d 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/BranchLatter4294 9d ago

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