this post was submitted on 25 Apr 2025
57 points (91.3% liked)

Linux

53637 readers
982 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'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?

(page 2) 31 comments
sorted by: hot top controversial new old
[–] azvasKvklenko@sh.itjust.works 3 points 2 days ago (2 children)

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.

load more comments (2 replies)
[–] utopiah@lemmy.ml 4 points 3 days ago

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

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

[–] FauxLiving@lemmy.world 5 points 3 days ago (1 children)
[–] Vitaly@feddit.uk 1 points 3 days ago (1 children)

Are the open source drivers good now?

[–] FauxLiving@lemmy.world 1 points 3 days ago (1 children)

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 1 points 2 days ago (1 children)

How is the performance in games?

load more comments (1 replies)
[–] phantomwise@lemmy.ml 3 points 3 days ago* (last edited 3 days ago)

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.

https://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.

[–] vi21@lemmy.ml 4 points 3 days ago

With CachyOS and Mint, it is very easy.

Remark: I disabled secure boot.

[–] Shareni@programming.dev 4 points 3 days ago

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

[–] bjoern_tantau@swg-empire.de 3 points 3 days ago

It's usually just one command to run.

[–] AmazingAwesomator@lemmy.world 2 points 3 days ago* (last edited 3 days ago)

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

[–] HubertManne@piefed.social 2 points 3 days ago

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.

[–] waffle@sh.itjust.works 2 points 3 days ago

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

[–] Xanza@lemm.ee 1 points 3 days ago* (last edited 3 days ago)

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.

[–] HaraldvonBlauzahn@feddit.org -1 points 2 days ago (1 children)

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.

load more comments (1 replies)
[–] melroy@kbin.melroy.org 1 points 3 days ago (1 children)

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 -1 points 3 days ago (2 children)

This is just outrageously poor advice.

load more comments (2 replies)
[–] GenderNeutralBro@lemmy.sdf.org -2 points 3 days ago (1 children)

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 0 points 3 days ago

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.

load more comments
view more: ‹ prev next ›