this post was submitted on 09 Jul 2023
23 points (96.0% liked)

Linux

48074 readers
895 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
 

Edit: So after an exciting evening of uninstalling drivers, rebooting, playing a round of CSGO and starting over, I can report that nothing is broken. I haven't tried much other than a handful of games though. In the end I removed the drivers in batches, uninstalling all versions of a major version together (all 515.*, then 520.*, then 525.* etc).

Of note is that all the drivers I removed were the 32 bit versions, since the 64 bit one updated properly. This is what's left of the drivers, I believe these are all actually needed and I'm not comfortable removing any of them (and even if they're not needed the space savings would be minimal anyway):

Name                                 Application ID                                             Version                       Branch                  Origin                                 Installation
Mesa                                 org.freedesktop.Platform.GL.default                        23.1.1                        22.08                   flathub                                system
Mesa (Extra)                         org.freedesktop.Platform.GL.default                        23.1.1                        22.08-extra             flathub                                system
nvidia-535-54-03                     org.freedesktop.Platform.GL.nvidia-535-54-03                                             1.4                     flathub                                system
Mesa                                 org.freedesktop.Platform.GL32.default                      23.1.1                        22.08                   flathub                                system
Mesa (Extra)                         org.freedesktop.Platform.GL32.default                      23.1.1                        22.08-extra             flathub                                system
nvidia-535-54-03                     org.freedesktop.Platform.GL32.nvidia-535-54-03                                           1.4                     flathub                                system

Original post:

Hello, I was wondering if anyone knows why flatpak keeps tons of Nvidia driver versions installed. Currently on my Fedora install I have:

Name                        Application ID                                    Version              Branch        Origin                       Installation
nvidia-510-68-02            org.freedesktop.Platform.GL32.nvidia-510-68-02                         1.4           flathub                      system
nvidia-515-57               org.freedesktop.Platform.GL32.nvidia-515-57                            1.4           flathub                      system
nvidia-515-65-01            org.freedesktop.Platform.GL32.nvidia-515-65-01                         1.4           flathub                      system
nvidia-515-76               org.freedesktop.Platform.GL32.nvidia-515-76                            1.4           flathub                      system
nvidia-520-56-06            org.freedesktop.Platform.GL32.nvidia-520-56-06                         1.4           flathub                      system
nvidia-525-60-11            org.freedesktop.Platform.GL32.nvidia-525-60-11                         1.4           flathub                      system
nvidia-525-78-01            org.freedesktop.Platform.GL32.nvidia-525-78-01                         1.4           flathub                      system
nvidia-525-85-05            org.freedesktop.Platform.GL32.nvidia-525-85-05                         1.4           flathub                      system
nvidia-525-89-02            org.freedesktop.Platform.GL32.nvidia-525-89-02                         1.4           flathub                      system
nvidia-530-41-03            org.freedesktop.Platform.GL32.nvidia-530-41-03                         1.4           flathub                      system
nvidia-535-54-03            org.freedesktop.Platform.GL32.nvidia-535-54-03                         1.4           flathub                      system

A few months ago, when a new Nvidia update came out, usually what I'd do is update then run flatpak uninstall --unused, which would get rid of the older version no problem. As you can see, around driver version 510 this stopped working. If I try to remove them manually with eg. flatpak remove org.freedesktop.Platform.GL32.nvidia-510-68-02, I get this:

Info: applications using the extension org.freedesktop.Platform.GL32.nvidia-510-68-02 branch 1.4:
   com.valvesoftware.Steam
Really remove? [y/n]:

My question is, is Steam actually using these drivers? Are these safe to remove? I'd like to get rid of them since they're bloating my root partition and updating 10 driver versions takes ages.

you are viewing a single comment's thread
view the rest of the comments