Skip Navigation

Rant about Nvidia related updates on Linux

There are many reasons to dislike Nvidia on Linux. Here is a little thing that bugs me all the time, the updates. Normally the system updates would be quick and fast, but with the proprietary drivers of Nvidia involved, it gets quiet slow process. And I am not even talking about any other problem I encounter, just about the updates.

As an Archlinux based system user (EndeavourOS to be precise), I get new Kernel updates all the time. That means every time a new Kernel version is installed, the Nvidia driver DKMS has to be installed too. And that is basically the slowest part. But that's not too bad, even though it's doing this twice for each Kernel I have once.

What's more infuriating is, if you also happen to use Flatpaks for a very few applications. I really don't have many Flatpaks at all. Yet, the Nvidia drivers are installed in 7 versions or what?! And they are full downloads, each 340 MB or more. This takes ages and is the only part that takes long to update Flatpak system. I always do flatpak remove --unused to make sure nothing useless is present. /RANT (EDIT: Just typos corrected.)

105 comments
  • The flatpak thing is a known issue, where it doesn't correctly remove the 32bit package on update.

    This bash script should find the latest and remove the rest:

     `
        
    #!/bin/bash
    # Filename: flatpak-clean-nvidia.sh
    
    # List latest 64bit Nvidia flatpak (it doesn't leave cruft behind) and note the version
    FLATPAK_LATEST_NVIDIA=$(flatpak list | grep "GL.nvidia" | cut -f2 | cut -d '.' -f5)
    
    # List all installed 32bit Nvidia flatpaks, ignore latest version, uninstall rest of list
    flatpak list | grep org.freedesktop.Platform.GL32.nvidia- | cut -f2 | grep -v "$FLATPAK_LATEST_NVIDIA" | xargs -o flatpak uninstall
    `
      
  • What other problems do you encounter? Updates are a bit annoying, but I haven't had any actual issues so far.

    • @missbrainfart There are many little things encountered over the years. But I do not have a list or anything like that. Nvidia is always in my way somehow. Wayland support was or still is not great with Nvidia in example and one of the reasons why I don't consider trying Wayland.

      Then for a long time it G-Sync didn't work properly with applications that should, had some tearing too related to problems with picom. I have to run the nvidia-settings gui once at boot, otherwise I have all the problems described before. I use a command to run it without showing gui. Found this solution by accident after 6 months of terror, as searching the web didn't help me.

      And for a long time, I got used to it and it wasn't driving me crazy or anything. When I put my system to sleep and wake it up, the Firefox window would have garbage pixelation (complete random). I just had to move the window once and everything was normal again. That's because it has GPU acceleration and somehow this is a known bug by Nvidia that is unsolved. Or at least it was, because this does not happen anymore.

      What do we have else in my head right now? Gamescope, the SteamOS compositor, didn't work with Nvidia before it got official support. I needed that to solve a problem, to play a certain game that was otherwise not playable. So yes, that's not a problem anymore I think (didn't use it for a while now), but it was another thing that was in my way. I know this has todo with the official support of Gamescope and not just being nvidia, but it was related to Nvidia and in my way.

      Somehow... the problems I encounter are connected to Nvidia. But as said, I don't have a full list of problems and these are just a few things come to my mind.

      • Yeah okay, I don't even use a DE that supports Wayland, and I don't have a need for it anyway, since both my monitors run at the same fixed refresh rate.

        Now that you say it, windows being all garbled and pixelated after waking up from sleep is definitely something I encounter quite often.
        Annoying, but nothing that breaks everything, so that's good I guess.

        Other than that though, my experience is flawless.

        I'm still going to move to AMD though.

    • The latest drivers on mint, 535, cause flickering on my monitors. There are a bunch of posts about this; when I installed them when they came out my screens went black and never recovered, had to power off manually, and then the top part of my monitors would just flicker every 15-30 seconds. I rolled back to 525, and now that it had been a couple months I had just tried to upgrade again recently but the problem remains, black screen, reboot, flickering.

      • I used Mint briefly on my desktop PC, and the Nvidia driver was the one thing that gave me issues. The recommended one was too old for some of the things I wanted to do, but the most recent one at the time made everything unstable.

        Now I use EndeavourOS, and Arch seems to handle that driver a lot better.

      • The screen flickering issue is also sadly not limited to Mint. I was on Fedora over the last few months, and am now on Arch and still get that issue.

        Also doesn't seem to be restricted to the DE either, just the driver itself being shitty it appears.

    • Haven't had many issues either. My Nvidia 3090 has given me way less trouble than both my Vega 64 and Radeon 680M.

  • My exact solution to this on Endeavour was to just stop using flatpaks lol.

    Literally everything I used from flathub was also either on the AUR or trivial to install manually from the host GitHub.

  • I was wondering what the fuss was about until I read flatpak. I don't use those, no reason to on Arch since everything is in the AUR. But it was interesting to read.

    • @1984 Unfortunately not everything is in the AUR or I do not want to trust everyone on the AUR. And there are other reasons to use Flatpak over native packaging (including AUR):

      • kdenlive and Krita: I do not want to install the entire suite and dependencies of KDE.
      • bottles: The Flatpak version is the recommended one by the devs and the only supported one I think.
      • xemu: Yes it's also available on, but I do not know who the uploader and manager of this binary is. While the Flatpak version an official package is.
      • zeal: Same reason as xemu.

      And that's basically it (ok there is Flatseal too... but that does not count to our discussion). Everything else is installed through native packaging. So there is not much reason to use Flatpak and I just started with it recently. But there are sometimes reasons for.

    • Every major Linux dist has community repository, arch isn't special. Arch users are like people doing CrossFit, dude No one cares if you use arch.

      • Oh that's where you are wrong.... Arch is actually really special. No other distro comes close to being so easy to install the latest version of software. I've run almost all major Debian based linuxes also and they are mostly frustrating in comparison.

        You just can't find the software you need, or you have to download it manually, meaning it's not even updated by your package manager. People resort to flatpak and the likes just to be able to have the software they need since it's not packaged in any other way.

        Arch is just better and I highly recommend it.

      • AUR is not the same as the community repository on other distros though. Community repositories on other distros contains pre-built packages supplied by community members, while AUR contains build scripts that let you download the source code directly from the vendor website, compile it into a package and install it in your system with a single command, so you'll often get the bleeding edge version faster than most community repositories on other distros.

  • I've kind of gotten used to the first issue already. I don't know if I can switch to the non-DKMS drivers now that I'm using the LTS kernel though.

  • I switched from a 3070 to an Rx 7900XT on Sunday. Uninstalling all of nvidia shit was great. I used linux-zen so that meant using nvidia-dkms. So happy I don't have to deal with that anymore. And yeah, I use a lot of flatpaks, so removing all of those nvidia drivers was also a great feeling. And now I can use Wayland!

    • @skulbuny I do not use zen and get the dkms. But honestly, the twice-dkms installation (one for each Kernel) isn't too bad. The real issue for me is with Flatpak. I'm currently in the process of choosing and building new PC. Wish I could afford 7900XT, but together with an entire PC building it gets too expensive for me. Looking forward to AMD!

  • Thank you for not blaming maintainers who have no controlover nvidia idiocy.

    Also why not mesa?

    • @uis I didn't blame anyone particularly. I am just upset about the current situation as a Nvidia user. And it's a warning to anyone who thinks about getting a Nvidia card on Linux.

      Not sure why Mesa. It does not have the proprietary driver in it, does it?

  • You can manually remove all of the previous drivers and their GL32 counterparts, your flatpaks will still run as long as you have the newest drivers.

    I'm not sure why they don't get caught by the --unused flag, but they are definitely not needed from the flatpaks I've tested with.

105 comments