Question about flatpak, nvidia drivers and steam

https://pawb.social/post/1254076

Question about flatpak, nvidia drivers and steam - Pawb.Social

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.

Good question. I have the same problem with flatpak (I have both 525 and 515 version installed at the moment) but I use the deb version of steam, not the flatpak one. I should try to remove them.

BUT, if I recall correctly, I still have something relayed to Nvidia 515 installed via apt (for example, when the kernel updates, I see that apt compiles the modules related to 515 together with the ones for 525).