-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proton 5.13-1 doesn't run with Flatpak Steam #294
Comments
Hello @monterrr, this looks like a pressure vessel issue:
Please copy your system information from Steam ( |
Bug has been updated. |
Thanks, pressure vessel currently can not be run inside of a Flatpak Steam install. The pressure vessel devs noted this in the initial announcement of the Steam Linux Runtime. |
I've been running all previous versions of proton and proton-ge without any issues there. |
Believe this is because this Proton version is built against the Steam runtime that provides pressure vessel as the change log states. But, I feel Valve has made it a bit confusing for people to understand the whole thing. I'm really confused myself though I understand what they're doing. Not sure if pressure vessel can be disabled or why Proton uses it when steam runtime isn't selected which seemed to be what was needed previously. Too many unknowns. |
Same issue on my Fedora 32 Workstation system with Flatpak Steam from Flathub and Proton 5.13-1. Is it possible to disable Pressure Vessel and run Proton directly just like the older versions used to run? |
@AsciiWolf Yes, but it's not guaranteed to work properly since it would run on top of different Steam Runtime. |
For a whole host of reasons, Flatpak is currently the best way to use Steam on Linux (read: X sandbox under wayland so I don't have to switch from my secure wayland desktop to X to play games that rely on it, running my system with only 64-bit libs installed natively, and also true distro agnosticism). It would be genuinely wonderful if Valve would work with the Steam for Flatpak maintainers to get this working! |
@kisak-valve I'm tagging you because you are the only Valve representative in the thread. I had a chat with an acquaintance in the Fedora Telegram group and he had a productive suggestion on how to solve this issue without compromises in Pressure Vessel's functionality. Essentially, the idea would be to not enforce enforce the process isolation by conditionally skipping the spawning of a new namespace if already inside a namespace (or perhaps if the namespace just fails to spawn in general), as would be the case when running Steam in a flatpak. Presumably the new namespace is spawned as part of the "better isolation" intended as part of this new packaging method, but it's our opinion that this is redundant if Steam itself is already isolated from the host system. See bubblewrap and its implementation of FS rebinding without a user namespace. I'd love to hear what the devs think about the feasibility of this! ❤️ |
Hello @ahvth, friendly note that I'm a moderator for Valve's issue trackers on Github and not a Valve dev myself. We'll need to hear from a Pressure Vessel dev if there's progress on this issue. As a tracking note, I left this on the Proton issue tracker for a while for visibility, but this issue is something to be resolved in Pressure Vessel or related projects. |
See also flathub/com.valvesoftware.Steam#642.
This is exactly how pressure-vessel works - we use bubblewrap (we even use code recycled from Flatpak to run it). However, Flatpak doesn't allow that, because it would undermine some of the namespace properties that Flatpak relies on for security. Solving this properly is not straightforward. We aim to solve it, but it will require code in both Flatpak and pressure-vessel (flatpak/flatpak#3797 is the Flatpak side). There are community builds of Proton 5.13 against the freedesktop.org SDK that can be used in the meantime (see flathub/com.valvesoftware.Steam#642).
We are not using the new namespace for process isolation, so this wouldn't help. pressure-vessel is not a security boundary. We are using the new namespace to get the ability to replace We are using the new namespace to replace The first thing to be using Steam Runtime 2 happens to have been Proton 5.13 rather than a game, because the Proton developers were finding it increasingly difficult and limiting to keep compiling Proton against what is effectively a version of Ubuntu from 2012. It's the same principle: the official Proton 5.13 binaries want the library stack from Steam Runtime 2, not older, not newer. There's more background information in the |
I just wanted to say thanks for taking the time to reply, and it all sounds very exciting! |
I love the Steam flatpak (and maybe even hope valve upstreams it at some point wink) and I really hope this issue gets fixed soon. Community Proton Builds built on the actual flatpak runtime seem to bypass a lot of these issues. This can easily be installed with flatpak install com.valvesoftware.Steam.CompatibilityTool.Proton and should show up with all the other proton versions in Force the use of a specific compatibility tool. I'm honestly not completely sure how or why it works, but hey, it works! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi, I just want to say that Proton provided through Steam doesn't work with the Flatpak version of the client, but Proton Community Edition provided through Flatpak seems working. I'm using Fedora 33 Workstation now, but I'm thinking to switch back to Debian Bullseye with the Flatpak version of Steam because my intention is to keep Bullseye when it becomes into the Stable branch of Debian, so the parallel version of Mesa provided in Flatpak format can be very helpful for me. |
Hi, I wanted to share my output, as I just purchased Bloons TD 6, and I am trying to run it with Proton experimental and nothing happens. See attached info about my system, and the terminal output when I tried to run the game (twice) unsuccessfully. Output My system @kisak-valve mentioned that this belongs here. Dota 2 (running without Proton) opens and plays fine. |
This is the current state. There is no need to post comments or logs that confirm this: we are aware that this issue exists. As several people have already said, the community builds of Proton can be used as a workaround. They are not supported by Valve, but neither is the Steam Flatpak app. This issue will be updated when there is something available to test. Until then, there is no need to reply or comment. The eventual solution is likely to require updated versions of both Flatpak (I'm hoping to get the necessary code included in Flatpak 1.10) and the SteamLinuxRuntime_soldier depot. |
With the latest development versions of everything, it is possible to run games in the container runtime from within Flatpak (including official Valve releases of Proton 5.13 and 6.3, and the "Steam Linux Runtime" for native Linux games). At the moment this is still an "early adopters"-only feature. You need:
Known issue: flatpak/flatpak#4286 can result in games failing to launch (it's intermittent). Re-launching the same game will usually succeed. This has been fixed in Flatpak git master, and the fix should be in 1.11.2 (not yet released). If you are sure that you have all the requirements, and it still isn't working, please report a new issue. Please be as specific as possible and make sure to include all the required information. If you do not have all of the requirements above, then this will not work. Please don't report that as a bug. |
I believe this can be closed due to smcv's much-appreciated work on Flatpak 1.12. |
Yes, this has been fixed for a while now as far as I can tell. |
Now I'm focused on native games for Linux, but I'm using Fedora Silverblue and I did two gameplays with Proton took from the Steam client. Both worked fantastic but they are old games (Dead Space and Doom 2016). |
To confirm, yes, Flatpak 1.12.x is the first stable branch that fixes this. You want at least 1.12.1 for some regression fixes (but the latest 1.12.x, currently 1.12.2, is better). Debian 11 users can get this from As mentioned in my previous comment, you need an OS with unprivileged bubblewrap. I believe the latest versions of all major distros meet this requirement, with one notable exception: Arch Linux's non-default All the other requirements mentioned in my previous comment should be easy to get now. |
Closing per the last comment. |
Proton 5.13-1 literally doesn't run any game, when clicked to play it will run and exit immediately.
Log:
proton5.13.txt
System info:
https://gist.github.com/monterrr/ed24a7ff787aa3e9e938fea607c5d2b8
Flatpak steam issue:
flathub/com.valvesoftware.Steam#642
The text was updated successfully, but these errors were encountered: