I was going to going to ask this question because Steam Flatpak was listed as last being updated May 2023, but they just updated it yesterday. That’s still about 9 month between updates.

In general if I am on rolling release like OpenSuse Tumbleweed is my Steam package and Mesa drivers going to be more up to date then what the Steam Flatpak provides or are they updating the Flatpak and dependencies more frequently then the Discover app is suggesting?

  • Fubarberry
    link
    fedilink
    English
    499 months ago

    Steam downloads its own client updates. It’s very rare for them to need to update the flatpak itself because usually any updates can be accomplished through the built in updater.

    • millionOP
      link
      English
      49 months ago

      What about mesa drivers and other dependencies like Mangohud?

      • mox
        link
        fedilink
        English
        13
        edit-2
        9 months ago

        Components like that come from separate flatpaks (e.g. the Freedesktop Platform) or the Steam runtime (updated by Steam).

        • millionOP
          link
          English
          29 months ago

          Makes sense, I was wondering how that worked when I saw some of those in my list. Is that another layer to the flatpak, like a Docker layer or are Flatpaks allowed out of their sandboxes to talk to other Flatpaks?

          • mox
            link
            fedilink
            English
            6
            edit-2
            9 months ago

            A flatpak can name extensions that are mounted into the running container if they’re installed.

            or are Flatpaks allowed out of their sandboxes

            Be careful when thinking of flatpaks as sandboxes. What they confine is (by default) up to the maintainer of each flatpak, and most of the ones I have audited are very permissive.

            You can mitigate this somewhat by editing the permissions of each flatpak before running it for the first time, with the command line or a GUI like flatseal. But that only goes so far, since some of the permissions are not fine-grained enough to provide meaningful sandboxing while still allowing games to run. (For example, shared memory and network access.) You might also consider creating a second linux account just for games, and logging in to that account’s desktop when installing or running them.

            A Flatpak container is better than nothing, and will probably keep you safe from most programming mistakes, but I wouldn’t consider it a security/privacy sandbox by any means. If you want that, a hypervisor-based virtual machine would be better.

        • millionOP
          link
          English
          5
          edit-2
          9 months ago

          My understanding is the Mesa driver is userland so Flatpaks can include it. I just assumed Steam would include it for slower moving distros.

          I am new to Flatpaks and still trying to understand, any correction is welcome.

          • Vinny
            link
            English
            10
            edit-2
            9 months ago

            Mesa comes as separate flatpaks which is hidden in the GUI, and is automatically install when you install a flatpak. The system can have multiple versions of the driver installed. When Steam is ready to use a newer Mesa version, it will do it automatically.

            Mangohud, on the other hand, is a flatpak you need to install manually via the command line. You should follow the instruction on their Github page for that.

            P.S: In case you like a GUI for things. You should install Flatseal, which provide a GUI for configuring flatpaks.

      • Fubarberry
        link
        fedilink
        English
        5
        edit-2
        9 months ago

        I’m not sure on the exact details of how it sources mesa, but you can check what version of mesa steam is using by clicking help in steam, and selecting “Steam Runtime Diagnostics”. My flatpak steam install reports that I’m using Mesa 24.0.2-arch1.1, which is the same version I get if I check glxinfo | grep Mesa. I’m assuming that means flatpak Steam is using my system’s mesa.

        I do have some versions of Mesa installed through flatpak in the form of freedesktop.Platform packages, but they’re older versions than what was reported from inside steam.

        • millionOP
          link
          English
          39 months ago

          Great tip. It looks like the Flatpak has a newer version then even Tumbleweed, so that answers my initial question, thanks!

  • Giddy
    link
    fedilink
    English
    39 months ago

    Related question - steam flatpak or deb?

    • millionOP
      link
      English
      29 months ago

      What distro are you on?

        • millionOP
          link
          English
          19 months ago

          The Flatpak is probably going to move faster but the trade off is it is harder to configure some things until you get a handle on Flatpaks.

          Up to you ultimately.