-
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
Windows Games Won't Run, Seem to not detect the presence of Steam (though it launched them) #518
Comments
Hello @BlackJar72, in general, issues Windows games run with Proton should be reported to the Proton issue tracker, however, this sounds similar to #516, so let's ponder this issue as a Steam Linux Runtime - Soldier container issue until there's a stronger hint that the issue is elsewhere. Proton 5.13 and newer use this container runtime. Please give https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md#essential-information a read and share the requested information. |
Dark Souls was run with Proton 7.0-3, the others with Proton 6.21-GE-1; changing Dark Souls to Proton Experiment does not change anything, though the version was not changed between working and not. Anyway, more info:From VERSIONS.txt
For a log:https://www.mediafire.com/file/ele6odjdac3rct9/pressure-vessel.log/file System Info:https://www.mediafire.com/file/508mcmcj659pf3v/SystemInfoSteam.txt/file |
Thanks, one more quick question before we'll need to hear from a runtime maintainer, if you go to |
Thanks. |
Wait, what? That's very old. Are you sure you're looking in the right place? |
According to the system info, you're actually using soldier 0.20220628.0, which seems more correct. I think perhaps you're finding an outdated |
I think this is the root cause:
specifically the There is code in pressure-vessel that is meant to make all these work, and it's working here in my testing, but it seems like it isn't working correctly for you. I'll look into this in more detail tomorrow and try to work out what could be going wrong. It would be very useful to know whether there are any symbolic links involved in paths like |
/home/jared/0pt/Steam I set it up this way to have games on a large HDD instead of a smaller SDD used for OS and where /home is also located and I didn't know of a way to change where Steam actually put its files (so I used a symlink to make the default point to where I wanted them to be). /home is real, /opt/home is also real (/opt mounts my HDD), /opt/home/jared and /opt/home/jared/Steam each have a symlink pointing to them from inside /home/jared, though only the one from /home/jared/.steam to /opt/home/jared/Steam directly should actually be used by Steam. TLDR: /home/jared is real, but /home/jared/.steam is a symlike to /opt/home/jared/Steam EDIT: It more convoluted than I realize. /home/jared/0pt points to /opt/home/jared while /home/jared/.steam points to /home/jared/0pt/Steam -- so a symlink to a directory through a symlink (I think this evolved over several moves of files). |
Thanks, I'm trying to replicate your setup on a test machine so I can track down where the regression is. For information, Steam has a slightly unusual setup where it "owns" two conceptually separate directories. The packages shipped by Debian/Ubuntu, which are not official from Valve's point of view, usually combine those directories (decreasing perceived clutter but increasing confusion), and the use of the path The Steam installation directory is typically The I'll look into whether we can document a more official way to relocate the Steam installation (which is the only one that really needs moving, since it's the only one that contains anything large), without relocating all of
Please don't change your setup right now, because I'm looking into solutions for this regression, and I want to be able to confirm that they've worked correctly for your situation. However, advice for anyone discovering this comment later: The better-supported way to relocate to a location with more space is to leave the actual Steam installation where it is, add a secondary game library with more space (those instructions describe Windows but it's the same on Linux), use Steam's UI to move existing games to the new game library, and set the new game library as the default for newly-downloaded games. If you are rearranging the filesystem hierarchy more generally, having symlinks where applications don't expect to see a symlink can cause a lot of weird problems, especially when containers are involved. It's usually more reliable to use bind mounts to rearrange the filesystem layout in a way that is more transparent to applications, even applications that are doing complicated things (like Steam/Proton). |
The update that triggered this regression has been rolled back by copying the
|
I was able to reproduce this situation, and I think I have a solution, which will go through more testing and review next week. If you are comfortable with testing unreleased software, you can try it out as follows:
It would be useful if you could share a debug log recorded with this test version, especially if it doesn't work. The same procedure you used to get https://www.mediafire.com/file/ele6odjdac3rct9/pressure-vessel.log/file is suitable (I think you ran |
client_beta branch? Am I supposed to compile my own test client? If so I'll have to do it latter this afternoon, but would be happy to do so. |
No, you do not need to compile anything to test. In Steam's library view, search for |
OK, sorry -- I was in a hurry and didn't read it carefully. Will do, I'll be back as soon as I have something to report. |
Nope, sorry, I got "Failed to initialize Steam" again. |
Please collect a new log using the prerelease? (As well as the attempt at fixing the issue, it also has more logging in the affected code so I can see what else is going wrong.) |
That log looks like it came from the ordinary version from the To try the prerelease:
To stop using the prerelease, use the "Verify integrity" button in Steam on "Steam Linux Runtime - soldier". |
OK, that worked, my game ran fine. Thanks! In case you need it: BTW, I figured out where the wrong VERSIONS.txt came from -- it seems I have two steamapps directories, and old one under .steam and new one under .steam/debian_installation -- at first I was going to the wrong one, I think from an older Steam Client version before an update shuffled things around. |
The fixed version has gone out in the I believe the situation as of today is:
so @kisak-valve can close this issue as soon as the beta has been confirmed to fix it (unusually, we do not have to wait for it to be promoted to the default branch). |
What I get for VERSIONS.txt (under /opt/home/jared/Steam/debian_instalation, symlinked at my .steam/debain_instalation) is:
Everything seems to work fine. I didn't see any problems, but just in case you need it here is the output: Let me know if there is anything else I can test or do. I'll hold off on changing anything (such as using the bind mounting technique for linking directories) in case you need me to do any more tests. |
Thanks, this all looks like it's working well. @kisak-valve, I think we can close this issue now. |
You can clean up the filesystem layout by using bind-mounts instead of symlinks if you want, I don't need any more test results. For your information, the intended layout is:
If you exit from Steam completely, move the Steam installation to wherever you want it to be, and then run |
Thanks for retesting @BlackJar72, closing. |
This is now in the default branch. |
I'm running Kubuntu 22.04, and currently Steam Client built July 19, 2022 at 20:51:26 (API v20). I have opted in for beta, but changing the setting to opt out did not fix the problem. Checking for updates currently reveals that Steam is up to date.
All games ran correctly in the recent past; while I didn't actively test them on July 19 as there seemed to be no problem, as of then I can confirm that Dark Souls remastered was working. No changes have been made to my system since things were working.
The Problem
As of this morning (July 20th) most Windows games do not work:
These are launched with differnt proton versions, and I didn't not change any of the compatibility setting before the problem, so that is not it.
All these were launched from Steam, so Steam is clearly running and they should have access to it.
Games I've tried with native Linux builds (Ziggurat 2, Cities: Skylines, and Caverns of Evil) run without a problem, as does The Sims 3 interestingly. I have no way of knowing if these games do or do not use Steam DRM other than that Caverns of Evil does not since that is my own feeble attempt at making a game. I suspect that The Sims 3 may not and that that is why it works, but just a guess since I have no way of knowing about its coding. Since I don't know this I cannot guarantee it is only Windows games or if these coincidentally are not requiring Steam, but the pattern is most Windows games don't work while natively Linux games do.
I expect that games to run, they do not and give some interesting and telling error message.
My best guess from the nature of the error messages is that Windows games are no longer detecting Steam and are being shut down as a result.
Steps for reproducing this issue:
The text was updated successfully, but these errors were encountered: