To ensure games run well on Linux either via Native Linux builds or Windows games with Proton, part of the magic is in the Steam Linux Runtime. A new version of it, the Steam Linux Runtime 4.0 was recently put up with some pretty big changes.

What’s the point of it? It ensures Steam and games run through Steam on Linux work properly across all the many different Linux distributions. Another secret Valve sauce for Linux. Well, not secret at all but you get my meaning I’m sure.

  • Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    27 days ago

    Funny this shows up when all of a sudden Steam won’t launch anymore on my Arch install. It’s installed via flatpak.

    How do I even check which version of the Steam runtime I am running? The flatpak version of Steam is just 1.0.something.other.

    • Björn@swg-empire.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      27 days ago

      The runtime is not Steam itself. That’s more or less independent from the runtime. The runtimes are a collection of libraries that developers can develop against without having to include them themselves.

      Kind of similar to the Visual C++ Runtime on Windows.

      • Axolotl@feddit.it
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        27 days ago

        So you can use those to develop on a platform and be sure that it work on the other too? Is this runtime steam-indipendent?

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        27 days ago

        I know what a runtime is, but I’d like to check which version of it I’m running. 🙂 Wouldn’t be very difficult but I’m this instance I don’t know how.

        • Alxe@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          27 days ago

          The runtime is for launching games, not Steam itself. You can check the runtime selection in Compatibility tab of Steam and of each game. If your Steam Flatpak install doesn’t work, the issue is likely somewhere else.

          I’d suggest trying to launch the flatpak from the terminal and seeing if there’s any strange logging.

          • Victor@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            27 days ago

            The runtime is for launching games, not Steam itself. You can check the runtime selection in Compatibility tab of Steam and of each game. If your Steam Flatpak install doesn’t work, the issue is likely somewhere else.

            Hold up, are you talking about the compatibility layer, “Proton”? I’m not sure that’s what we’re talking about here. Proton is up to version 9 and 10, not 4.0.

            • Kevin@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              27 days ago

              You can select Steam Runtime Versions in the Compatibility tab too, separate from Proton versions

              • Victor@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                27 days ago

                Oh okay, I guess that’s in the main Steam settings, not per game as the other person suggested.

                • Björn@swg-empire.de
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  27 days ago

                  No, it is a per game setting. When your game is a native Linux game it will use one of the Steam runtimes. If you had a Linux native game and selected Proton instead of a Steam Linux runtime Steam would download the Windows version of the game.

                  With Linux native games you usually don’t have to touch this setting.

                  • Victor@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    0
                    arrow-down
                    1
                    ·
                    edit-2
                    26 days ago

                    Right but you can’t change the native runtime per game. You can only change the compatibility layer (Proton) globally and per game. The runtime is static obviously, and either used or not used. I’m guessing Proton bypasses the native runtime by having the game interacting with it? Or maybe it is a translation layer? Both? Anyway, doesn’t matter. 🙂 What wasn’t the problem.

                    But I’d still be interested in how to check which version I have, just to know.

                    Edit: hold on, does the runtime show up in the same list as Proton versions? That would explain what you all are talking about. And only for native Linux games. That’s why I haven’t seen it before I guess.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      26 days ago

      Usually when steam refuses to launch, it’s because there’s some Steam process that’s borked but still running. Most of the time, a simple pkill steam fixes it (yes, that includes for flstpak`).

      As mentioned down thread, the runtime isn’t your problem. The runtime is what’s needed for native Linux games and I think is also used by proton (not used by Steam itself), so it’s kind of like proton for native games. Steam doesn’t use the runtime at all to launch.

      If killing Steam doesn’t work, try rebooting. If that doesn’t work, try updating the flatpak. If that doesn’t work, I suppose reinstall Steam.

    • _cryptagion [he/him]@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      1
      ·
      27 days ago

      the flatpak version is unsupported by Valve for a reason. there’s been a ton of problems over the lifespan of the flatpak. it’s usually highly recommended everywhere not to use that version.

      • who@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        27 days ago

        I’ve been using Steam in a flatpak for a couple years now, I think. What ton of problems are you referring to?

        • KubeRoot@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          27 days ago

          I don’t have a reference, but I’ve been seeing random individuals asking for help and finally saying they fixed their issue by switching away from flatpak, so… You, I guess? Your.problem might be a perfect example of one of the many problems that keep popping up, that seem to only happen on the flatpak version.

          • who@feddit.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            26 days ago

            You, I guess?

            You’re saying that I am the ton of problems they were referring to? That’s either nonsensical or very rude.

            Your.problem might be a perfect example of one of the many problems that keep popping up, that seem to only happen on the flatpak version.

            What are you talking about? Running Steam in a flatpak works for me.

            • KubeRoot@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              0
              ·
              26 days ago

              Ah, sorry, I confused you for the original commenter. The first sentence is a bit nonsensical, it is a bit rude and snarky, but I meant it as a joke, since I had the wrong impression the person having issues with flatpak steam is asking about issues with flatpak steam.

    • Eggymatrix@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      27 days ago

      Why would you use flatpack for stuff natively available on pacman? Search no further, flatpack is a good way to introduce problems where there are none

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        27 days ago

        https://wiki.archlinux.org/title/Steam#Flatpak

        🤷‍♂️ Seemed like a good way to install it. I had used the native package before but I think I tried flatpak because of some issue or another with the native version.

        It’s been working great for years now so, no issues until now.

        I usually install big corporate software with flatpak if I can help it, to keep them as isolated as possible. Slack, Discord, Steam, etc. Stuff like that. 👍

        • Eggymatrix@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          25 days ago

          From that article:

          Installing Steam from Flathub/Flatpak will fix many of the issues faced on the client but will require alternative, less documented forms of troubleshooting on the long run.

          You hit the “long run” after years 😉

          • Victor@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            25 days ago

            I don’t think so, seems like it was just a denial of service type issue. I changed nothing, not even a reboot, and it just works now. 👍😉 Flatpak ftw.