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
Soldier runtime prevents proton from running #278
Comments
This might be counter-productive. There are lots of reasons why the container-based runtime might fail to start, with the same user-facing symptom (it doesn't start). Fixing one root cause will have no effect on all the others. If people use a single issue report for multiple root causes, then in practice we will never be able to close that issue report, because there will always be one more root cause that isn't fixed yet - and that isn't particularly helpful for issue tracking and triaging. |
You can experiment with this for your own interest, but please do not recommend it, especially to less knowledgeable users. Disabling or bypassing the Steam Runtime, either the older Proton 5.13 is compiled to run on Steam Runtime 2 'soldier' and is not expected to work in other runtime environments. If native Linux games are compiled against 'soldier' in future, they will also be intended to work only on 'soldier', not in other runtime environments. (There are currently no native Linux games on Steam that need 'soldier', and it's unlikely to happen until the container runtime system is more robust.) Similarly, older Proton builds like 5.0, and all current native Linux games on Steam, are compiled against Steam Runtime 1 'scout' and intended to run in a 'scout' environment, either the traditional |
I'm not recommending it.
It not being supported is obvious, since it's modifying steam internals. Though on that note, this is the typical "different library versions" problem, so all that really matters is (non-kernel) ABI compatibility. The general concept of a runtime environment is consequently mostly void.
This is actually a significant departure from scout, which also included some common things, such as:
Which I would expect to be used relatively often (e.g openssl in games with networking). From this I induce that soldier is (at least for now) explicitly just the bare minimum required for proton 5.13, which does indeed raise the question of why it needs gtk 2, gtk3, v4l and similar.
Are you perchance familiar with the concept of a meta-bug? |
The "STEP 3" logs show no sign of problem with the soldier container layer - the various Proton commands are executed and work as expected. If the game does not start (fails before it opens a render window I assume), the root cause may be exposed in Proton or the title logs. |
At the end of the day, disabling the layer leads to games launching, while it being enabled results in no game being launchable. I ran a quick test with PROTON_LOG=1 set in the launch options (instead of globally for the steam client) and it looks like this method actually works (I have no idea why it wouldn't otherwise, maybe some part of the process strips global env). The relevant part appears to be this:
This is running on gnome+wayland, but xwayland is very much enabled. |
Likely running into: ValveSoftware/Proton#4266 |
I'm closing this in favor of ValveSoftware/Proton#4289. |
Your system information
Please describe your issue in as much detail as possible:
This narrows down the culprit to soldier.
Note that in the log there is a 5. this is a repeat with point 3 (unedited proton 5.13) but the launch options reset to default, purely for demonstration purposes.
Log edits:
____ STEP X ____
were inserted to help identify the steps from the above description. These are purely informative (i.e may not be at the VERY start of the block, but I did put in reasonable effort).Full log: https://gist.github.com/CosmicToast/7a1dd02c9bc7a2d3cc2005bfea79df0b
The expected results are for step 3 (and 5) to launch the game.
Steps for reproducing this issue:
Repeat of the above for consistency purposes.
MISC
There are various reports of people having trouble with proton 5.13.
Since the issue is clearly with the runtime, this issue is here to serve as a meta tracker, as well as consolidate the soldier runtime-specific data.
Common reports talk about disabling the runtime, which is done in this log (this is step 4) for demonstration and logging purposes.
Note that PROTON_LOG with proton 5.13 and the runtime enabled has no effect (thus it was not included).
Other threads to see:
Additional details: prior to the log running, all components involved (scout runtime, soldier runtime, proton 5.0 and proton 5.13) were reinstalled. The game being tested (wildfire) is installed on the same disk as them (the main one in /home) for clarity purposes.
The text was updated successfully, but these errors were encountered: