Flatpak 1.15.7 Will Now Automatically Remove Obsolete Driver Versions

mr_MADAFAKA@lemmy.ml to Linux@lemmy.ml – 171 points –
Flatpak 1.15.7 Will Now Automatically Remove Obsolete Driver Versions
phoronix.com
6

You are viewing a single comment

This will help eliminate excess baggage that builds up over time by automatically removing end-of-life runtimes that are no longer used. As the system is updated to use new drivers/run-times, the old ones can be automatically removed.

This might solve the issue with flatpak nvidia driver versions not being removed and accumulating over time. AMD/Intel don't have this issue as a single flatpak mesa driver version can work with multiple system drivers. Nvidia's closed source driver needs an exact version match to allow for flatpak's sandboxed GUI apps to work.

At least that's how I understand it, take it with a grain of salt.

There is actually a mechanism that allows distros to register the system level driver as flatpak extension, so the driver is available in the sandbox. Unfortunately, almost no distro uses that :-/

That though would make it break when the host system updates glibc, just like it does in snappy.