Lutris as Flatpak

When I last installed Lutris, I didn’t use the version from the official Arch repos, but installed the Flatpak as it is supported officially. Lutris in this way has a dependency that looks like this:

org.freedesktop.Platform.GL32.nvidia-

Now, after a while and some upgrades of kernel and NVidia, those seem to pile up, as this is now the list of those containers I have (from an upgrade this morning):

  1. [✓] org.freedesktop.Platform.GL.nvidia-530-41-03 1.4 u flathub 344,3 MB / 345,2 MB
  2. [✓] org.freedesktop.Platform.GL.nvidia-535-104-05 1.4 u flathub 340,9 MB / 341,9 MB
  3. [✓] org.freedesktop.Platform.GL.nvidia-535-113-01 1.4 u flathub 341,5 MB / 342,4 MB
  4. [✓] org.freedesktop.Platform.GL.nvidia-535-54-03 1.4 u flathub 347,1 MB / 348,0 MB
  5. [✓] org.freedesktop.Platform.GL.nvidia-535-86-05 1.4 u flathub 340,7 MB / 341,6 MB
  6. [✓] org.freedesktop.Platform.GL.nvidia-535-98 1.4 u flathub 340,7 MB / 341,7 MB
  7. [✓] org.freedesktop.Platform.GL.nvidia-545-29-02 1.4 u flathub 324,8 MB / 325,7 MB
  8. [✓] org.freedesktop.Platform.GL32.nvidia-530-41-03 1.4 u flathub 344,3 MB / 345,2 MB
  9. [✓] org.freedesktop.Platform.GL32.nvidia-535-104-05 1.4 u flathub 340,9 MB / 341,8 MB
  10. [✓] org.freedesktop.Platform.GL32.nvidia-535-113-01 1.4 u flathub 341,5 MB / 342,4 MB
  11. [✓] org.freedesktop.Platform.GL32.nvidia-535-54-03 1.4 u flathub 347,1 MB / 348,0 MB
  12. [✓] org.freedesktop.Platform.GL32.nvidia-535-86-05 1.4 u flathub 340,7 MB / 341,5 MB
  13. [✓] org.freedesktop.Platform.GL32.nvidia-535-98 1.4 u flathub 340,7 MB / 341,6 MB
  14. [✓] org.freedesktop.Platform.GL32.nvidia-545-29-02 1.4 u flathub 324,8 MB / 325,6 MB

Do I have to manually uninstall versions that are not in use anymore? Is there a workflow that helps with that? Is that dependent on the exact version of the NVidia driver used, so I need to keep the version for the current driver, and all other versions are superfluous?

I could of course also switch to the official Lutris from the extra repo, but I wanted to try Flatpak as I had no experience with those.

flatpak remove --unused

Been a while since I’ve used flatpak, but running flatpak uninstall --unused should take care of this.

1 Like

2nd place again! :sob:

1 Like

Fist place in my heart :smiling_face_with_three_hearts:

Thanks. Although there are more versions of the NVidia flatpak remaining than I’d like, this seems to be working:

[dromundkaas@Pure x]$ flatpak remove --unused
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-535-98 branch 1.4:
org.libreoffice.LibreOffice, org.signal.Signal, net.lutris.Lutris
Really remove? [y/n]: n
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-535-86-05 branch 1.4:
org.libreoffice.LibreOffice, org.signal.Signal, net.lutris.Lutris
Really remove? [y/n]: n
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-535-54-03 branch 1.4:
org.libreoffice.LibreOffice, org.signal.Signal, net.lutris.Lutris
Really remove? [y/n]: n
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-535-113-01 branch 1.4:
org.libreoffice.LibreOffice, org.signal.Signal, net.lutris.Lutris
Really remove? [y/n]: n
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-535-104-05 branch 1.4:
org.libreoffice.LibreOffice, org.signal.Signal, net.lutris.Lutris
Really remove? [y/n]: n
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-530-41-03 branch 1.4:
org.libreoffice.LibreOffice, org.signal.Signal, net.lutris.Lutris
Really remove? [y/n]: n

    KENNUNG                                              Zweig                   Op
  1. [-] org.freedesktop.Platform.GL.default 22.08 r
  2. [-] org.freedesktop.Platform.GL.default 22.08-extra r
  3. [-] org.freedesktop.Platform.GL32.default 22.08 r
  4. [-] org.freedesktop.Platform.ffmpeg-full 22.08 r
  5. [-] org.freedesktop.Platform.ffmpeg_full.i386 22.08 r
  6. [-] org.freedesktop.Platform 22.08 r
  7. [-] org.freedesktop.Platform.Locale 22.08 r
  8. [-] org.gnome.Platform.Compat.i386 44 r
  9. [-] org.gnome.Platform 44 r
  10. [-] org.gnome.Platform.Locale 44 r
  11. [-] org.freedesktop.Platform.openh264 2.2.0 r
  12. [-] org.winehq.Wine.DLLs.dxvk stable-22.08 r
  13. [-] org.winehq.Wine.gecko stable-22.08 r
  14. [-] org.winehq.Wine.mono stable-22.08 r

Deinstallation abgeschlossen.

Now to understand who depends on 14 different versions of the NVidia flatpak:

> [dromundkaas@Pure x]$ flatpak list
> Name                                              Anwendungskennung                                           Version             Zweig                    Installation
> Lutris                                            net.lutris.Lutris                                           0.5.14              stable                   system
> Freedesktop Platform                              org.freedesktop.Platform                                    23.08.6             23.08                    system
> Mesa                                              org.freedesktop.Platform.GL.default                         23.2.1              23.08                    system
> Mesa (Extra)                                      org.freedesktop.Platform.GL.default                         23.2.1              23.08-extra              system
> nvidia-530-41-03                                  org.freedesktop.Platform.GL.nvidia-530-41-03                                    1.4                      system
> nvidia-535-104-05                                 org.freedesktop.Platform.GL.nvidia-535-104-05                                   1.4                      system
> nvidia-535-113-01                                 org.freedesktop.Platform.GL.nvidia-535-113-01                                   1.4                      system
> nvidia-535-54-03                                  org.freedesktop.Platform.GL.nvidia-535-54-03                                    1.4                      system
> nvidia-535-86-05                                  org.freedesktop.Platform.GL.nvidia-535-86-05                                    1.4                      system
> nvidia-535-98                                     org.freedesktop.Platform.GL.nvidia-535-98                                       1.4                      system
> nvidia-545-29-02                                  org.freedesktop.Platform.GL.nvidia-545-29-02                                    1.4                      system
> Mesa                                              org.freedesktop.Platform.GL32.default                       23.2.1              23.08                    system
> nvidia-530-41-03                                  org.freedesktop.Platform.GL32.nvidia-530-41-03                                  1.4                      system
> nvidia-535-104-05                                 org.freedesktop.Platform.GL32.nvidia-535-104-05                                 1.4                      system
> nvidia-535-113-01                                 org.freedesktop.Platform.GL32.nvidia-535-113-01                                 1.4                      system
> nvidia-535-54-03                                  org.freedesktop.Platform.GL32.nvidia-535-54-03                                  1.4                      system
> nvidia-535-86-05                                  org.freedesktop.Platform.GL32.nvidia-535-86-05                                  1.4                      system
> nvidia-535-98                                     org.freedesktop.Platform.GL32.nvidia-535-98                                     1.4                      system
> nvidia-545-29-02                                  org.freedesktop.Platform.GL32.nvidia-545-29-02                                  1.4                      system
> ffmpeg-full                                       org.freedesktop.Platform.ffmpeg-full                                            23.08                    system
> i386                                              org.freedesktop.Platform.ffmpeg_full.i386                                       23.08                    system
> GNOME Application Platform version 45             org.gnome.Platform                                                              45                       system
> i386                                              org.gnome.Platform.Compat.i386                                                  45                       system
> Arc Gtk theme                                     org.gtk.Gtk3theme.Arc                                                           3.22                     system
> Arc-Darker Gtk theme                              org.gtk.Gtk3theme.Arc-Darker                                                    3.22                     system
> LibreOffice                                       org.libreoffice.LibreOffice                                 7.6.3.2             stable                   system
> Signal Desktop                                    org.signal.Signal                                           6.39.1              stable                   system
> DXVK                                              org.winehq.Wine.DLLs.dxvk                                   2.3                 stable-23.08             system
> Gecko                                             org.winehq.Wine.gecko                                                           stable-23.08             system
> Mono                                              org.winehq.Wine.mono                                                            stable-23.08             system

As a FYI, the flatpak Signal Desktop is an unofficial redistribution (see: here).

Unless you want it for some specific reasons, the official one is packaged for Arch and is in the repo:
https://archlinux.org/packages/extra/x86_64/signal-desktop/

Thanks, that’s a good suggestion. I’m not sure why I decided for the Flatpak, but there’s at least one package down that depends on all the NVidia flatpaks.

I have switched the last 2 Flatpaks (Libreoffice, Lutris) to the version from the Arch repos, uninstalled both Flatpaks, then removed the unused Flatpaks, and now all are gone.

Why, however, Libreoffice was so adamantly dependent on the NVidia driver Flatpaks is probably anybodys guess, maybe it was some strange side effect of having Lutris and Libreoffice both as Flatpaks, or something that I could not even guess.

Thank you all for helping me unravel the Flatpak issues.

If I would venture a guess: it might have been Lutris pulling in all those NVidia dependencies.

If you are up for testing, you could try installing org.libreoffice.LibreOffice once again just to see what dependencies it will bring on.

I don’t have NVidia card. This is what I see when trying to install org.libreoffice.LibreOffice:

        ID                                            Branch           Op           Remote            Download
 1.     org.libreoffice.LibreOffice.Locale            stable           i            flathub            < 83.0 MB (partial)
 2.     org.libreoffice.LibreOffice                   stable           i            flathub           < 315.6 MB

Proceed with these changes to the system installation? [Y/n]: n
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.