[SOLVED] Question about flatpak, nvidia drivers and steam

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):

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Name                                 Application ID                                             Version                       Branch                  Origin                                 Installation
</span><span style="color:#323232;">Mesa                                 org.freedesktop.Platform.GL.default                        23.1.1                        22.08                   flathub                                system
</span><span style="color:#323232;">Mesa (Extra)                         org.freedesktop.Platform.GL.default                        23.1.1                        22.08-extra             flathub                                system
</span><span style="color:#323232;">nvidia-535-54-03                     org.freedesktop.Platform.GL.nvidia-535-54-03                                             1.4                     flathub                                system
</span><span style="color:#323232;">Mesa                                 org.freedesktop.Platform.GL32.default                      23.1.1                        22.08                   flathub                                system
</span><span style="color:#323232;">Mesa (Extra)                         org.freedesktop.Platform.GL32.default                      23.1.1                        22.08-extra             flathub                                system
</span><span style="color:#323232;">nvidia-535-54-03                     org.freedesktop.Platform.GL32.nvidia-535-54-03                                           1.4                     flathub                                system
</span>

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:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Name                        Application ID                                    Version              Branch        Origin                       Installation
</span><span style="color:#323232;">nvidia-510-68-02            org.freedesktop.Platform.GL32.nvidia-510-68-02                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-515-57               org.freedesktop.Platform.GL32.nvidia-515-57                            1.4           flathub                      system
</span><span style="color:#323232;">nvidia-515-65-01            org.freedesktop.Platform.GL32.nvidia-515-65-01                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-515-76               org.freedesktop.Platform.GL32.nvidia-515-76                            1.4           flathub                      system
</span><span style="color:#323232;">nvidia-520-56-06            org.freedesktop.Platform.GL32.nvidia-520-56-06                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-525-60-11            org.freedesktop.Platform.GL32.nvidia-525-60-11                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-525-78-01            org.freedesktop.Platform.GL32.nvidia-525-78-01                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-525-85-05            org.freedesktop.Platform.GL32.nvidia-525-85-05                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-525-89-02            org.freedesktop.Platform.GL32.nvidia-525-89-02                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-530-41-03            org.freedesktop.Platform.GL32.nvidia-530-41-03                         1.4           flathub                      system
</span><span style="color:#323232;">nvidia-535-54-03            org.freedesktop.Platform.GL32.nvidia-535-54-03                         1.4           flathub                      system
</span>

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:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">Info: applications using the extension org.freedesktop.Platform.GL32.nvidia-510-68-02 branch 1.4:
</span><span style="color:#323232;">   com.valvesoftware.Steam
</span><span style="color:#323232;">Really remove? [y/n]:
</span>

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.

SinJab0n,

I can remember flatpak apps working each one with their own libraries, meaning app1 installed nvidia-drivers-535, app2 uses nvidia-430, app3…

U get my point, this is just a reference point tough since this comes from a vague memory about exactly this being controversial for all the redundancy it could cause.

claymore, (edited )
@claymore@pawb.social avatar

I checked a few and all of them are bound to steam, nothing else, apart from the last one that’s also being used by Blender. At this point i think I’ll try uninstalling the oldest and check if steam still works. After that I’ll work my way forward. Thanks

Xirup,
@Xirup@lemmy.one avatar

It would be interesting if you can share the results here, I am interested to see what happens.

claymore,
@claymore@pawb.social avatar

Right now I’ve only removed the oldest driver, and steam opened fine. No complaints in it’s terminal output. For now I’m going to test a few games and once I remove a few more versions I’ll edit the post.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines