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
Steam (Proton) games will not launch under specific circumstances #1014
Comments
Try recompiling mangohud |
I have tried a few different things, to ensure it's not some incompatibility on my end:
None of these have resolved the issue. |
Also having this issue. Running Arch on the same kernel and mangohud versions but on a RTX 3070. Games run fine using the mangohud command in the steam prefix but using the environment variable MANGOHUD=1 either causes the game to show "running..." indefinitely in Steam or just exit. After testing out a few games it seems to only be on certain games that it doesn't work. The Last of Us. Days Gone and Dying Light 2 won't launch with the environment variable, was able to get Horizon Zero Dawn and Control working with it. Tried deleting the game prefixes for the non working games and recompiling MangoHud plus using a clean config file for it but had no success. If you need any logs just let me know and I will post them. |
I am also affected by this, EndeavourOS, but also on a brand new Arch install. Both mangohud-git and lib32-mangohud-git packages installed and again seems linked to gcc/gcc-libs(as for example mangohud/lib32-mangohud/mangohud-common fail to build with gcc 13). Steam also hangs upon exit if mangohud is enabled globally for me... In addition gcc/gcc-libs/libs32-gcc-libs 13 seems to cause a lot of issues(namely I can't compile with it nvidia-utils-nvlax, plasma5-wallpapers-engine-wallpaper, libstrangle-git)... Downgrading the gcc to 12 also isn't a solution as other things break and require further downgrading... |
This seems to be an issue with proton 8 only. I have proton-experimental with branch set to 7, instead of 8 and it works without issues with mangohud globally enabled. (Arch Linux, fully updated) |
Exact same behavior for me, on both counts. Building Terminal output when attempting to build from AUR This is the relevant part of the failure:
The build throws multiple errors, all of which come from usage of |
It seems with GCC13 that #include <cstdint> needs to be included for 'uint32_t' |
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes Some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. As such, C++ programs that used standard library components without including the right headers will no longer compile. The following headers are used less widely in libstdc++ and may need to be included explicitly when compiling with GCC 13:
|
To add to this, proton 7 also broke for me with mangohud's global enable, hope a fix can be pushed. |
Same here - both proton 7 and 8 don't work, and it screws with d3ddriverquery.exe, affecting the base Steam client and not allowing it to close properly. |
I haven't been able to repro this. Is this isolated to nvidia GPUs possibly? |
Sorry, I haven't had the time to test the latest release yet. I am using an Nvidia GPU though. Last week I forked and locally built (successfully) with the |
Update on this: With the most recent AUR version (0.6.9.1-2), the build errors have been resolved! So that's one part of the problem solved. However, I am still experiencing the same behavior in regards to using the What logs can I provide, or what information would be most helpful for you to diag this? |
I was gonna nuke my OS and start from fresh because of this, then realized it was caused by mangohud...
Same here. |
If I run steam with |
I do not. Here are some logs from steam, comparing the successful run (with |
This fixed the issue on my end f1b5ba3 |
Can confirm that the games are now launching perfectly fine, however I noticed that the steam process hangs when you attempt to exit it with mangohud globally enabled from goverlay. EDIT: Further testing seems to have returned same behavior ... compiled latest mangohud through the AUR |
No change for me, after removing all old versions and doing a clean git clone + build from source. At a complete loss for what's different between our systems. |
Can you run steam with |
Both the issues with exiting Steam and launching games are present on my end. Here's my logs: Proton GE is used by d3ddriverquery.exe, and I'm unsure as to why - the default is Experimental. |
I don't see anything interesting in those logs sadly. |
Logs here, uploaded one that failed (using
I've been testing with Poly Bridge 1 + 2, and also Half-Life, since all of them are very small installs and have a native version available.
Both native and Proton games run fine with the |
You need to enable steam runtime with native games to test, it's in the same list as you enable proton. |
Misunderstood what you were asking for, sorry. I do not get an slr log if I use the runtime instead of Proton, is there another one that's relevant? Behavior is the same as native otherwise.
Currently back on 0.6.9.1-6 from the AUR, but I can clean build from source on f1b5ba3 if matters. |
It's important that we minimize the differences when debugging |
You're right. I clean built from that commit, no change (and no logs). |
Proton and Vulkan only, it seems. Bejeweled 3 worked with WineD3D (no overlay). Aperture Desk Job, a Vulkan title (non-DXVK), refused to launch under Proton, but worked natively. Consistent with CS:GO, a native title which uses DXVK. All tests mentioned were before f1b5ba3, unsure of exact commit. Tested on 9 May. Will retest if required. |
@FAT9L
Are you saying it didn't produce any slr logs? doesn't sound like slr was activated or you need to look in a different slr folder, might be using soldier? @ytfcon
Please test with latest mangohud so we can make sure we don't have two different issues. |
I went through the same testing process @smcv did in their comment here: #1014 (comment). Baseline: all good, PLAY turns to CANCEL, then STOP and the game launches, with the same screens visible (recommended on Steam Deck, main menu Controller Required, etc) Launch Options set to Launch Options set to Re-launching Steam with Re-launching Steam as I did not set the runtime logs separately, instead used |
|
Running Wolfenstein: Youngblood to run under Proton 8.0 Experimental and the Soldier Runtime: Same bug. Seems like you've got it right @smcv, that it might be Proton 8. I have to still try to run it with Proton 7 + Sniper, but yeah, Proton 8 + Soldier is the same as Proton 8 + Sniper. |
Can confirm that running with steam-runtime-launch-options -- %command% Proton 7 launches fine with both Solder and Sniper runtimes using the mangohud command and MANGOHUD=1 variable Proton 8 is broken using both runtimes with the MANGOHUD=1 variable, works fine for both runtimes with mangohud command |
This seems to be related to having SteamVR installed. As far as I can tell, the factors required to trigger this are:
The workaround that preserves most functionality will be to use the I don't know why I see a crash (game exits) when other people see a hang (a process waits forever), but if this is memory corruption or something, then either one is a possible symptom.
@Bobbydigital420, to confirm, what does "broken" currently mean for you - a process hanging, or a process crashing? |
It's not SteamVR. I just completely removed it. Dying Light 2 is still showing the same behavior. |
Just tried Wolfenstein 2 with SteamVR removed as well: Proton 7.X + Soldier: Works I've got another appointment this morning but I'll try to get the Steam Runtime logs or whatever when I get home so we can find out more about what's going on. |
Once I installed SteamVR I could finally reproduce games crashing. Uninstall SteamVR fixes the issue again. |
I just got home, I'm not sure how exactly it could be two different issues, since the results are literally exactly the same (Proton 8.X + Sniper or Soldier + But, you guys know more than I do for sure, so I can try to grab those steam runtime logs to better help confirm what the issue is. |
On my end SteamVR introduced and fixes the bug, that's the difference |
The process hangs for me until I hit stop. I also have a VR headset and uninstalling SteamVR doesn't work for me either, process still hangs. |
Along with myself and @Bobbydigital420, Ryan from Intelligent-Gaming (the YT channel, that's his Reddit handle too) also is able to reproduce this and doesn't have SteamVR installed. I asked him to check and see if he had SteamVR: So, just updated mangohud from the AUR to make sure I had the absolute latest code, then tried to launch Wolfenstien: Youngblood after launching Steam with:
Still wasn't showing any real errors in the console output when I try to launch the game, and the only mention of SteamVR is (obviousy) one line that says it's not initializing SteamVR because it isn't installed. Once Steam opened, I tried to launch Wolfenstein: Youngblood with |
I do have the same issue here and I don't have VR. This isn't related to VR. |
This change isn't specifically related to this issue but I think it's worth to try 602ba78 |
Unfortunately even the latest One workaround that makes it work again is building with |
Let's try it out and hopefully it works for most. dc1761e |
Only tried one game so far but it loaded up immediately |
Tried it with 3-4 games and everything is working fine here for me! |
@FAT9L can you confirm if this works too? |
It seems to have resolved the problem, no issues here. |
Closing as resolved |
We mightttt have to reopen this issue. I've encountered one game on steam https://store.steampowered.com/app/1151740/Prison_Princess/ that fails to launch with the env variable added. Other games I have installed atm work fine with it, but not this one. |
If it's just with one game then I don't think it's this issue |
My apologies for not getting back to you sooner, life has been getting in the way. Yes, clean building from dc1761e seems to resolve the issue entirely - as does the latest I tested and confirmed using the same setup as before:
All launched and showed the overlay as expected, no errors. Native games do require I would consider this fixed, and safe to ship with the next release. 😄 Minor problem that probably doesn't warrant a new issue?There is only one problem I'm encountering - text rendering seems to be slightly messed up when using an alpha value below 1.0 on dc1761e or CS:GO main menu, Apex main menu, It is most noticable on the dividers between sections, however text outlines are affected too. This has been ongoing, but I left it out as it wasn't relevant to the discussion at hand. If this is user error - or just irrelevant - let me know and I will remove it. |
Describe the bug
Steam games (run through Proton) no longer launch if the
MANGOHUD=1
environment variable is set. Games will attempt to start, but show "running..." indefinitely in Steam, and will never actually launch.List relevant hardware/software information
To Reproduce
Steps to reproduce the behavior:
MANGOHUD=1
as an environment variable (ieexport MANGOHUD=1
in bash)mangohud %command%
option is NOT setTo "fix":
MANGOHUD=1
variable is NOT setmangohud %command%
to game launch optionsExpected behavior
Proton games should launch, as they have up to this point.
Additional context
This only became an issue approximately 48 hours ago, with a large Arch update. I have dug through Proton and Steam logs, and found no meaningful errors.
I believe I have traced the issue to gcc/gcc-libs 13.1.1-1 (and its dependencies: gcc-multilib, binutils, etc), as rolling back upgrades to these packages resolves the problem. However, this may only be a symptom of something deeper - but I am not qualified to dig further.
Here is a Proton log from an example game (Half-Life, installed on a clean prefix and run with Proton Experimental [rather than the native Linux version]). As you can see, Proton doesn't seem to flag anything abnormal until I forcibly terminate the application.
The text was updated successfully, but these errors were encountered: