How much of a pain is it to install Nvidia GPU drivers, really?
from ArchmageAzor@lemmy.world to linux@lemmy.ml on 25 Apr 13:00
https://lemmy.world/post/28690114

I’m planning on changing to Linux eventually, but my PC has a 4060ti. I have heard that Nvidia drivers are a pain to install, and I don’t have the means to change to a non-Nvidia GPU. Am I in trouble?

#linux

threaded - newest

justinthegeek@lemmy.sdf.org on 25 Apr 13:05 next collapse

What distro are you using? It’s getting pretty simple at this point. I’m running Arch and it maybe took 5 minutes to fully set it up.

ArchmageAzor@lemmy.world on 25 Apr 13:09 collapse

I’m thinking Mint.

UnfortunateShort@lemmy.world on 25 Apr 13:21 collapse

Aren’t they installed by default on Mint? Definitely are on some distros, I think EndeavourOS and Garuda Linux for example

ProdigalFrog@slrpnk.net on 25 Apr 19:45 collapse

They are not. You have to install the proprietary driver from the GUI driver installer app with 2 clicks.

mina86@lemmy.wtf on 25 Apr 13:05 next collapse

It’s trivial. Use Linux Mint or Debian, enable non-free repositories if required, and that’s pretty much it.

I’ve never had issues with Nvidia drivers. Your mileage may vary.

plm00@lemmy.ml on 25 Apr 13:06 next collapse

No, you’ll be fine. And some distros trivialize it. In my case I don’t get as good of framerates as I would on Windows, so there are some issues due to Nvidia not providing open source drivers, but it still works with Linux.

ITeeTechMonkey@lemmy.world on 25 Apr 13:51 collapse

Ya, I must have started using Linux well after Ubuntu made it really easy to install drivers.

Granted you do need to know where to find the option to install drivers, at least you used to maybe its even easier now, but I havent used Ubuntu in a few years.

Once you found where the option to install was it was a click of a button

bjoern_tantau@swg-empire.de on 25 Apr 13:11 next collapse

It’s usually just one command to run.

Shareni@programming.dev on 25 Apr 13:12 next collapse

Depends on the distro. For most of the popular ones, it’s as difficult as clicking a shortcut.

MyNameIsRichard@lemmy.ml on 25 Apr 13:18 next collapse

As long as you don’t make the mistake of downloading them directly from Nvidia, it should be straight-forward.

ArchmageAzor@lemmy.world on 25 Apr 13:18 next collapse

Where am I supposed to get them then?

gimmemahlulz@lemmy.dbzer0.com on 25 Apr 13:21 next collapse

From you distros package manager

Enkrod@feddit.org on 25 Apr 13:23 next collapse

depends on your Distro, for Linux Mint it’s just the Driver Manager.

To access the Driver Manager in Linux Mint, follow these steps:

  1. Click on the Menu (Taskbar) in the lower-left corner of your screen.
  2. Navigate to Administration.
  3. Click on Driver Manager.

<img alt="Load Device Manager for Nvidia Drivers on Linux Mint" src="https://linuxcapable.com/wp-content/uploads/2024/07/load-device-manager-for-nvidia-drivers-for-linux-mint.png">

Once you have opened the Driver Manager, follow these steps to install the Nvidia drivers:

  1. The Driver Manager will prompt you for your password. Enter your password and click on Authenticate.
  2. The Driver Manager will scan your system for available drivers. Once the scanning is complete, you will see a list of available drivers for your graphics card.
  3. Select the recommended Nvidia driver from the list.
  4. Click on Apply Changes to start the installation process.

Then reboot.

source

For most problems you can really just google stuff like “Linux Mint Nvidia Drivers”

lukecooperatus@lemmy.ml on 25 Apr 13:25 next collapse

Whatever distro you pick will have instructions for where and how to install the drivers, if it doesn’t do so for you during the install. Ubuntu is probably most likely to do so easiest. I prefer Fedora for other reasons, which is also easy to get nvidia working, but sightly less easy than Ubuntu where it’s a single checkbox during OS install.

MyNameIsRichard@lemmy.ml on 25 Apr 13:37 next collapse

Each distro has it’s own way of installing the drivers, Mint uses a driver Manager GUI, endeavour OS uses the nvidia-inst script, but ultimately, they come the repositories of the distro.

BCsven@lemmy.ca on 25 Apr 13:59 next collapse

If you happen to choose OpenSUSE, the " install recommends " will detect nVidia and load some drivers to get it working, but you can also add a specific repo nVidia hosts for Leap and Tumbleweed and download the Drivers / Cuda etc. They work great, so ignore the previous commentor. Laptops with dual GPU need you to setup a switching app to save power, when you don’t need to power the nVidia. If your BIOS has a discrete graphics mode selection, you can choose hybrid, but if your OS has trouble you can set it to discrete only so nVidia is always used. I had to do this on one machine because the OS saw the two GPUs and was trying to treat them has two displays instead of one composite display choice

Ulrich@feddit.org on 26 Apr 18:31 collapse

Some of them have dedicated Nvidia images and you don’t have to do anything (theoretically, this has failed for me before). I had problems with the Nobara image but Bazzite worked flawlessly out of the box.

BCsven@lemmy.ca on 25 Apr 13:52 next collapse

If you are on something like openSUSE, nVidia hosts a repo just for OpenSUSE Leap ams Tumbleweed, and that’s exactly where you get them from, and they work.

MyNameIsRichard@lemmy.ml on 25 Apr 14:31 collapse

True, but you’re not going the Nvidia website, finding and downloading a .run file, manually installing it, and then manually maintaining it which is what I was talking about.

BCsven@lemmy.ca on 25 Apr 14:58 collapse

Fair, I mean I have done that too, and would not recommend LOL

pewpew@feddit.it on 26 Apr 21:40 collapse

Mistake? These drivers work much better than the ones in the non-free debian repo, at least for me

MyNameIsRichard@lemmy.ml on 27 Apr 07:58 next collapse

Good God! According to the Debian wiki, they’re still on 535, no wonder they don’t work properly! Still, if you use Debian, you know what you’re getting in to. You’ll also have more *fun* when the kernel or nvidia drivers update.

pewpew@feddit.it on 27 Apr 11:48 collapse

Nah… to update the driver I just re run the file and it usually just works (Even in Wayland, on Debian unstable). The only time it broke was when I upgraded to kernel 6.12 and I had to manually install the open source modules because the ones that came with the proprietary ones had an issue that they later fixed, so it’s totally fine now. The only issue I have with the drivers is that when I wake up the PC from sleep I have to restart Plasma (only on Wayland tho)

zulfiqaramer@lemmings.world on 27 Apr 11:57 collapse

Debian stable means stable in the sense of unchanging, not stable in the sense of no-issues.

pewpew@feddit.it on 27 Apr 16:39 collapse

Isn’t it like Ubuntu LTSses? These versions are meant to be as stable as possible with carefully picked packages. Also, happy cake day

Kongar@lemmy.dbzer0.com on 25 Apr 13:18 next collapse

It used to be a pain. Multiple versions that didn’t all work. Today it’s pretty painless. A lot of installers will actually do it for you now.

In arch (at least the last time I did it), it was just a matter of picking the right package and installing it with pacman

EndeavorOS’s installer will do it for you

I use Fedora these days. It didn’t do it automatically the last time I loaded from scratch (not an upgrade), but the rpm fusion team/repository made it simple. I just followed the crystal clear instructions on their website.

I think mint does it automatically with the installer…

Honestly I really don’t even think about nvidia drivers anymore.

caseyweederman@lemmy.ca on 25 Apr 16:41 collapse

The first trick is knowing that there’s a right package. The second trick is knowing what the right package is.

GenderNeutralBro@lemmy.sdf.org on 25 Apr 13:18 next collapse

It ranges from “automatic” to “infuriating”.

If you have Secure Boot enabled, there are some hoops to jump through. Read the docs and follow the steps for DKMS.

Depending on your distro and your requirements, you might want to install the drivers manually from Nvidia rather than using older drivers from your distro.

If you need CUDA, god help you. Choose a distro that makes this easy and use containers to avoid dependency hell. Note that this is not any easier on Windows (at least not last I checked, which was a few years ago).

ProdigalFrog@slrpnk.net on 25 Apr 19:48 collapse

Do not follow this advice OP. Never install the drivers manually from Nvidia unless you’re an expert and have a very specific reason to go this route.

With Mint, just use the driver manager app and you’ll be good.

waffle@sh.itjust.works on 25 Apr 13:27 next collapse

Sometimes it’s plug-n-play and everything works great. Sometimes you press the update Nvidia drivers button on your Ubuntu work computer and then need to tell IT you bricked your OS. YMMV

HubertManne@piefed.social on 25 Apr 13:33 next collapse

I mean I use zorin which is an ubuntu spin just made to be as usable as possible out of the box so its super easy. Barely an inconvenience. I see someone mentions bricking but I have not encountered it but I tend to use old hardware soooooo.... oh and i should say old nough that a 4060ti would seem pretty new.

vi21@lemmy.ml on 25 Apr 13:44 next collapse

With CachyOS and Mint, it is very easy.

Remark: I disabled secure boot.

melroy@kbin.melroy.org on 25 Apr 14:11 next collapse

On your next pc go with an amd gpu. Just saying.

Currently linux mint offers an easy way to install Nvidia drivers. Avoid compiling the drivers from source.

Xanza@lemm.ee on 25 Apr 17:03 collapse

This is just outrageously poor advice.

melroy@kbin.melroy.org on 27 Apr 14:58 collapse

lol? This is the best advice I can give people.. What is wrong with you?

Xanza@lemm.ee on 27 Apr 16:30 collapse

I guess I just offer better advice, not sure what to tell you. There’s no reason to prioritize a single GPU over another, especially so on Linux. Driver support has come leaps and bounds this year alone, and it’s only May.

Users should and need to make the decision for themselves which GPU is best for them and you shouldn’t try to scare them away from a particular GPU because you had a bad experience with it.

AmazingAwesomator@lemmy.world on 25 Apr 14:13 next collapse

its not terrible, it just sucks that its not automatic. i am not on windows and dont want to be treated like i am.

mybuttnolie@sopuli.xyz on 25 Apr 15:14 next collapse

I use mint, and it’s easier than on windows… You open driver manager, tap on the newest driver, click apply. Then restart.

FauxLiving@lemmy.world on 25 Apr 16:07 next collapse

yay -S nvidia-open
Vitaly@feddit.uk on 25 Apr 17:42 collapse

Are the open source drivers good now?

FauxLiving@lemmy.world on 25 Apr 17:53 collapse

According to the Arch Wiki, it’s the driver recommended by NVIDIA and, anecdotally, I was having issues in Wayland and with gamescope/HDR until I switched to the nvidia-open drivers.

Vitaly@feddit.uk on 26 Apr 09:22 collapse

How is the performance in games?

Virual@lemmy.dbzer0.com on 26 Apr 17:50 collapse

Roughly on par with windows except in DX12 games where there is a 20ish% performance hit. Nvidia finally officially acknowledged the issue recently, so there should be a fix in the future.

Vulkan, OpenGL, and DX11 (or older DX) games all work without issue.

Xanza@lemm.ee on 25 Apr 17:01 next collapse

Barring any quirks; for Arch, RHEL, Rocky, Alma, CentOS, Debian, Fedora, Mandrivia, openSUSE, Ubuntu, and Void it’s as simple as installing nvidia-open. Most other distros its the same, but the package name varies from repository to repository.

utopiah@lemmy.ml on 25 Apr 19:49 next collapse

Trivial on Debian, see wiki.debian.org/NvidiaGraphicsDrivers

Source : been gaming nearly daily on Debian with 2080ti for years now. Sometimes also tinkering with local AI via containers.

phantomwise@lemmy.ml on 25 Apr 19:59 next collapse

Try Nobara if you plan on playing video games, it’s a distro specialised for gaming and they have two sets of ISO : one “standard” and one “Nvidia” with the drivers preinstalled so you don’t have to do anything.

nobaraproject.org

I think the installer gives you a choice between the open-source drivers and the proprietary ones, and that’s it. Everything works fine even on Wayland.

secret300@lemmy.sdf.org on 25 Apr 20:10 next collapse

Not at all anymore. Just please use your distros repositories.

I told my friend to just use the package manager but he was dead set on downloading the drivers from Nvidia’s website and installing them manually. Then complained how hard it was.

LeFantome@programming.dev on 26 Apr 23:13 collapse

Old habits

ArsonButCute@lemmy.dbzer0.com on 25 Apr 20:35 next collapse

Installing Nvidia drivers from official repos provided by the maintainers of your distro? Easy as pie.

Installing Nvidia drivers from nvidia’s website? Good luck my friend, I hope you know what you’re doing.

azvasKvklenko@sh.itjust.works on 26 Apr 01:46 next collapse

It really depends on how the distro you’re using is integrating them and while installing them is usually the easy part, working around certain quirks they come with can be a bit tedious in my experience.

The proprietary driver comes in binary form and is shipped with a small kernel module that handles loading the binary driver. The Linux kernel modules that aren’t part of Linux itself (which most drivers are) must be compiled for specific kernel and its binary can work only for that specific kernel and nothing else. This means that even if then driver is the same but kernel changes, the nvidia module must still be recompiled. There are two ways distros handle that: 1) by running the compilation process in the background while installing or updating the driver package 2) by shipping binary form of the nvidia module, in case where it’s distro that always recommends synchronization of all packages so that kernel and modules always match. Historically this caused way more problems than it sounds, compilation might have failed for certain kernels occasionally leaving users with broken video after simple system update. Overall though it mostly works fine, especially nowadays.

Another quirk is that the user-space part of the driver that exposes OpenGL and Vulkan interfaces for applications are also proprietary and closed source, and they must also match exactly with the kernel part of the driver. This creates another problem for sandboxed applications using for instance Flatpak. Applications in container won’t use the system-wide libraries, but rather ship their own - and that’s by design for good reasons. Flatpak will automatically detect NVIDIA and install matching driver just fine, but then after installing system upades, you must always update your flatpaks as well or the ones that use GPU in any way will simply fail to launch or fall back to software rendering making it extremely slow. This doesn’t happen for open source drivers, because Mesa can work with basically any kernel, so Mesa in Flatpak can be in completely different version than the one installed as system package. Moreover, I experienced problems with storage space because Flatpak wouldn’t automatically remove old NVIDIA drivers and after a year or so it was a chunky pile of NVIDIA drivers.

And even when it works, there can still be missing functionality or integration with the OS might not be perfect. Last time I used them I was limited to X11 with many quirks regarding multi monitor setup and vertical synchronization. Wayland is technically usable now on NVIDIA, but not perfected yet.

LeFantome@programming.dev on 26 Apr 23:11 collapse

The kernel part of the NVIDIA driver is Open Source now.

azvasKvklenko@sh.itjust.works on 27 Apr 07:11 collapse

That depends on which GPU you’re using as nvidia-open is for Turing and newer, but that makes no practical difference as it is and will always be out-of-tree.

communist@lemmy.frozeninferno.xyz on 26 Apr 03:58 next collapse

Bazzite makes it ridiculously easy, there’s just a dropdown to select the nvidia version of their ISO. It’s also a great distro for beginners for a lot of reasons:

bazzite and other immutables generate a new system for you on update and let you switch between and rollback automatically, this is fantastic for reliability, but it also has pretty up to date software, and tons of guides (fedora is one of the most popular distros, and bazzite is essentially identical except with some QoL upgrades).

there’s also aurora if you want the same thing without some addons for gamers.

Ulrich@feddit.org on 26 Apr 18:33 collapse

bazzite is essentially identical

I wouldn’t say that. It is very different in it’s atomic nature, not to mention the pre-packaged software and tweaks.

communist@lemmy.frozeninferno.xyz on 26 Apr 22:23 collapse

I meant identical to fedora atomic.

Ulrich@feddit.org on 26 Apr 22:29 collapse

I mean not to be pedantic but there is no “fedora atomic”. There is Fedora Kinoite, Fedora Sway, Fedora Silverblue, etc. Bazzite is just yet another Fedora atomic release.

communist@lemmy.frozeninferno.xyz on 26 Apr 23:01 collapse

Actually there was a recent rebrand, fedoramagazine.org/introducing-fedora-atomic-desk…

Ulrich@feddit.org on 26 Apr 23:14 collapse

This isn’t recent, this is over a year old. Also note that “desktops” is plural. As in the ones I listed above make up “Fedora atomic desktops”.

communist@lemmy.frozeninferno.xyz on 26 Apr 23:17 collapse

I consider that recent, but… yeah, they’re the fedora atomic desktops. Bazzite is identical to them, you can pick kde or gnome, so it isn’t just kinoite or silverblue, so, atomic is more accurate in this context.

HaraldvonBlauzahn@feddit.org on 26 Apr 10:19 next collapse

In my experience, dealing with repeated nvidia problems is not worth the hassle. Just replace it with a good AMD graphics card and sell that nvidia thing.

ArchmageAzor@lemmy.world on 26 Apr 10:37 collapse

If I had the money, sure. But I don’t.

qweertz@programming.dev on 26 Apr 10:46 next collapse

Nowadays it’s easy AF pretty much everywhere. Sometimes there are simple GUI tools that get you there with just a few clicks. Hardest it will get is having to look it up in a wiki for the distribution you are using (if it doesn’t have them preinstalled) and then following simple step-by-step instructions

crmsnbleyd@sopuli.xyz on 26 Apr 12:43 next collapse

It’s not hard at all

AnUnusualRelic@lemmy.world on 26 Apr 13:10 next collapse

It’s horrible, you have to type “<package manager> install nvidia” and not make any typos at all or it won’t work. The horror, I still get flashbacks.

DarkDarkHouse@lemmy.sdf.org on 27 Apr 09:09 collapse

Classic “it works on my machine”. When people have GPU driver issues, it’s almost always NVIDIA.

Mwa@lemm.ee on 26 Apr 15:07 next collapse

Depends on the distro here is a list based on my experience

  • Opensuse: medium-ish

  • Fedora: easy (requires a third party repo)

  • Linux Mint: Pretty sure easy

  • Cachyos/bazzite/nobara Very easy (comes with the distro)

The .run on nvidias website it’s harder and requires some linux experience

NutWrench@lemmy.ml on 26 Apr 17:50 collapse

Agree on Mint. The Nvidia drivers installed automatically for me. They’re 4-5 months old, but they’re stable.

LeFantome@programming.dev on 26 Apr 16:45 next collapse

The NVIDIA problems are almost entirely legacy at this point. Unless you are using something that ships ancient packages (looking at you Debian Stable), you should be fine.

umbrella@lemmy.ml on 26 Apr 18:13 next collapse

nowadays the install process on ubuntu consists of opening the driver app, selecting the nvidia driver, waiting around 3 minutes and rebooting when prompted.

sometimes things do break, but the install process itself is rarely the issue anymore, thankfully.

SplashJackson@lemmy.ca on 26 Apr 18:41 next collapse

Maybe for the most recent cards it’s okay but I have a GTX 970 and let me tell you something mister you can’t just upgrade without breaking some other thing and then when you roll back two more things break and it makes me sad

Neverclear@lemmy.dbzer0.com on 27 Apr 05:21 collapse

Porque no nouveau?

KarnaSubarna@lemmy.ml on 26 Apr 21:30 next collapse

Stick to Production version of Nvidia Linux driver - v550, v570. I’m using v570 on Ubuntu 25.04, no issue in either day to day work or in gaming.

neclimdul@lemmy.world on 26 Apr 22:59 next collapse

AMD’s been a better community member but like others said, even if Nvidia is more of a “pain” it’s generally easier than windows on most distros. They’ll detect and install it for you or it’s just a single package to install from the software library.

Some free advice, If you’re worried about it stick with a mainstream distro. They’ll have tested releases more. it may seem counter intuitive but apply updates often, updates over multiple versions are more likely to have untested combinations of packages. If the drivers stop working, you’ll just not have acceleration, just uninstall and reinstall the drivers.

mrcleanup@lemmy.world on 27 Apr 04:55 next collapse

I use Garuda, you just install the Nvidia version and the updater handles updates automatically whenever you run it.

Easy peasy.

PrejudicedKettle@lemmy.world on 27 Apr 05:37 next collapse

On NixOS I just copy and pasted like 2-4 lines of recommended configuration and applied it. The driver was then automatically downloaded and installed and I haven’t had to touch it since.

Ashiette@lemmy.world on 27 Apr 07:26 collapse

In the case of NixOS, the question would then be : “How much pain in the ass is it to install NixOS, really ?”

PrejudicedKettle@lemmy.world on 27 Apr 08:38 collapse

For my desktop PC, it felt just as easy as any other distro, but for my servers and especially for my SBCs, a pain.

brax@sh.itjust.works on 27 Apr 10:50 next collapse

Not necessarily a pain to install, however I’ve had a lot of stupid issues - like not being able to open a TTY session., I can’t run Sway, and Hyprland absolutely refuses to work with my 3 monitor setup.

zulfiqaramer@lemmings.world on 27 Apr 11:55 next collapse

If you’re using a desktop, it’s not a pain at all. Any issues are blown out of proportion by AMD fanboys.

If you’re on a laptop, installing them is a bit more of a hassle but using the dedicated GPU is an issue that needs to be addressed someday. Essentially, laptops with Nvidia GPUs need to prepend prime-run to every application they want to use the dedicated GPU.

D_Air1@lemmy.ml on 27 Apr 22:17 collapse

I’m constantly surprised at this point how anyone fails at it. Not to mention there are a number of distros that provide them out of the box now and somehow people still say they couldn’t install it.