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.

  • flemtone@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 天前

    Proton-GE has had the Wow64 feature for a while now that can play older 32-bit titles under 64-bit, so it shouldn’t be long before a truly 64-bit steam experience is available.

    • noisypine@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 小时前

      As of Proton-GE 9-22 I still cannot run Diablo II without all the 32 bit dependencies. I hear from people that Wow64 works, but I have never managed to get it to work pure 64-bit.

  • Kazumara@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    94
    ·
    2 天前

    That’s a good sign, that Valve is moving at least the runtimes to 64bit only. Maybe that means the client is under similar scrutiny internally. Recently when Fedora was discussing dropping more 32bit libraries Steam came up as a big issue.

    • Maestro@fedia.io
      link
      fedilink
      arrow-up
      24
      ·
      2 天前

      Yeah, 32bit is why I removed Steam from my Debian desktop daily driver again. I got conflicting 32bit and 64bit versions of some libraries that broke my system. I’m going to try a gaming focussed distro like Bazzite next time.

      • ApertureUA@lemmy.today
        link
        fedilink
        English
        arrow-up
        10
        ·
        24 小时前

        ???

        Debian separates out stuff with :[arch] suffixes, and is really flexible in the sense that it even lets you install stuff from completely different architectures for, for example, use with qemu userspace. An i386 package is going to only request i386 dependencies, unless it explicitly specifies an architecture, and vice versa. Arch Linux uses the “lib32-” prefix and I don’t really remember how it worked on Fedora but I would imagine something similar. All “gaming focused distros” are merely just their mainstream counterparts with an extra repo for a few packages, it’s not going to change fundamentals.

        • 4am@lemmy.zip
          link
          fedilink
          English
          arrow-up
          25
          arrow-down
          4
          ·
          2 天前

          Not sure why the downvotes. Flatpak is a great thing.

              • Truscape@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                1
                ·
                15 小时前

                Flatpacks have permission issues due to the way they are structurally designed. Applications like Flatseal and Bottles allow you to remove those limitations, but it’s a lot easier to just install the client outside of Flatpack.

                • Laurel Raven@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  7 小时前

                  I’ve only had to use Flatseal a couple times to fix wonky permissions for Flatpaks, and I’m not even sure what Bottles has to do with them since Wine has nothing to do with Flatpak to the best of my knowledge

              • sem@piefed.blahaj.zone
                link
                fedilink
                English
                arrow-up
                2
                arrow-down
                1
                ·
                edit-2
                23 小时前

                Bottles is an app that people who use hyperland also use, but I don’t know what it does.

        • JustEnoughDucks@feddit.nl
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 天前

          It doesn’t work fine out of the box. I tried it on Opensuse MicroOS a year and a bit ago and had to search 3-5 pretty undocumented solutions to big problems before being able to play the same games that non-flatpak could.

          Out of the box, proton didn’t work at all.

          • Quazatron@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            15 小时前

            Sometimes you have to allow access to some things outside of the Flatpak container. I use Flatseal for that.

            • JustEnoughDucks@feddit.nl
              link
              fedilink
              English
              arrow-up
              1
              ·
              14 小时前

              I don’t think flatseal can set the background permission, but I might not recall correctly:

              flatpak permission-set background background com.valvesoftware.Steam yes
              
      • Holytimes@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 天前

        Your better off using cachy if you want a gaming focused distro that doesn’t break. Unless you use mostly flatpaks. Then bazzite is good

  • Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    2 天前

    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
      2
      ·
      21 小时前

      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
        2
        ·
        20 小时前

        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! ❤️🙏👍

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          19 小时前

          Glad you got it fixed. 🙂

          Almost every reply is also explaining what the runtime is.

          I boosted it up a bit for other people who come along w/ a similar concern. You seemed mistaken at first until a few threads deep, so there’s likely someone else who is just as, if not more, confused.

    • Björn@swg-empire.de
      link
      fedilink
      English
      arrow-up
      37
      arrow-down
      1
      ·
      2 天前

      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
        ·
        1 天前

        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
          ·
          1 天前

          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
            3
            ·
            edit-2
            1 天前

            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.

          • Victor@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 天前

            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
              ·
              1 天前

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

              • Victor@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 天前

                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
                  1 天前

                  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
                  ·
                  1 天前

                  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.

      • Axolotl@feddit.it
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 天前

        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
      arrow-down
      1
      ·
      2 天前

      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
        2
        ·
        1 天前

        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
        ·
        2 天前

        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
          ·
          1 天前

          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
            1
            ·
            edit-2
            18 小时前

            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
              2
              ·
              15 小时前

              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.

        • _cryptagion [he/him]@anarchist.nexus
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          2 天前

          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
          2 天前

          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.

    • zewm@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 天前

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

    • mybuttnolie@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 天前

      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
        15 小时前

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

        • mybuttnolie@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 小时前

          usually i go to monitor and kill the steam process, but that’s rarely the issue. usually it’s already down and it just dies immediately after launching

    • Eggymatrix@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      5
      ·
      2 天前

      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
        ·
        1 天前

        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. 👍

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      3
      ·
      2 天前

      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

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 天前

      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
        ·
        2 天前

        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
          ·
          1 天前

          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
            ·
            2 天前

            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
              ·
              1 天前

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