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
    10
    ·
    22 hours 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.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours 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.

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        35 minutes ago

        I think it might have been a denial of service type thing as explained in other replies. I didn’t reboot or anything and it just worked fine now. All good. 👍 Thanks for all the help though.

        Almost every reply is also explaining what the runtime is. 😆 I know what it’s for, guys, thanks! ❤️🙏👍

    • Björn@swg-empire.de
      link
      fedilink
      English
      arrow-up
      38
      ·
      22 hours 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.

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        11 hours 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
          10
          ·
          10 hours 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
            2
            ·
            8 hours 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
              8
              ·
              8 hours ago

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

              • Victor@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 hours ago

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

                • Venat0r@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  4
                  ·
                  edit-2
                  4 hours ago

                  You can select it per game as well, steam runtime 3.0 and now presumably steam runtime 4.0 should show up in the same drop down menu next to proton 1.0, proton 10.0 in the compatibility options

                • Björn@swg-empire.de
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  4 hours 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
                    1
                    ·
                    edit-2
                    19 minutes 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.

          • Victor@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            9 hours ago

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

            Already did that but I couldn’t see anything that I could recognize as abnormal. The “Connecting” window shows up, actually. But it just stops loading for a second and then it just says “Reaping pid” in the console and it closes the process.

      • Axolotl@feddit.it
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        22 hours 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?

    • _cryptagion [he/him]@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      10
      ·
      21 hours 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.

      • TheGrandNagus@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        is unsupported by Valve

        You say that as if the versions packaged by your distro are supported.

        As it stands, on Linux, Steam is only supported by Valve on SteamOS and LTS releases of Ubuntu.

      • who@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        20 hours 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
          2
          ·
          8 hours 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.

        • _cryptagion [he/him]@anarchist.nexus
          link
          fedilink
          English
          arrow-up
          5
          ·
          19 hours ago

          too many small things over the years to go over them all in one post. some still relevant, some not. drivers, for one. no game mode, if I remember correctly. you might end up having issues with controllers, and VR is out of the question on the flatpak. some people have reported issues with permissions.

          it’s enough of a troublemaker that Bazzite blacklisted the flatpak, I believe, and it can’t be installed normally.

        • jokre33@pawb.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          16 hours ago

          For me personally (Fedora 43 KDE) about 80% of unity games that don’t have a native build refused to run at all. No problems at all since I swapped to a non-flatpak Steam install.

          OTOH I’m having trouble with pretty much all flatpak apps in some way or another… might just be my system that’s being weird.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      20 hours ago

      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.

      #justFlatpakThings

    • zewm@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      22 hours ago

      Install warehouse. It gives you all the details of which runtime is in a Flatpak and even lets you change the version.

    • Eggymatrix@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      22 hours 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
        3
        ·
        8 hours 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. 👍

    • mybuttnolie@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      21 hours ago

      i usually avoid flatpaks, especially with steam. but every now and then my non-flatpak steam borks too and won’t launch on mint. 9 times out of 10 simple reboot helps, but sometimes it requires a reinstall…

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        Usually it’s because Steam is still running in the background, so a simple pull steam should close all the processes and allow it to launch. No need to reboot.

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      22 hours ago

      You’re not alone. I had the same thing on two machines yesterday. (Not flatpack)

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

        yeah, many people had that problem. it happened around the same time the Arc Raiders servers went offline. a buddy of mine couldn’t launch Steam, and when he did, it wouldn’t load his friends list. my theory is that the 350,000 people who were all reloading Steam and Arc Raiders over and over DDoSed the two services.

        • Victor@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 hours ago

          Been happening though. Maybe it’s a coincidence or it’s happening again or something. Interesting theory though.

          • _cryptagion [he/him]@anarchist.nexus
            link
            fedilink
            English
            arrow-up
            2
            ·
            21 hours ago

            I don’t know if there’s an existing error message for “please stop reloading Steam all at once, the game will come back online just give them time”.

            • wewbull@feddit.uk
              link
              fedilink
              English
              arrow-up
              2
              ·
              16 hours ago

              “unable to contact server” would do. It tells me it’s not a problem on my end.