Open Stew-rt opened 4 years ago
Possible lines of interest from the log:
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
OSError: [WinError 6] Invalid handle
Current thread 0x000000bc (most recent call first):
<no Python frame>
As a possible note of interest, another game 1292020 (Armoured Commander II) was exiting with the same exception, until the change made by devs at Version 4.0.5. Their changes are described as: " Very minor update to fix the mouseover info on the Campaign Day view while in fullscreen mode.
Edit: Also changed the Pyinstaller settings to enable the console - this will create a black console window behind the game window, but it appears to have been causing issues for some players without it, and it should not detract in any way from the game. "
I wonder if there's an issue with Pyinstaller exes not being able to get back to a shell unless the app is started from a shell?
This issue seems to be resolved by Proton 5.0-8
Unity of Command 2 crashes often using Proton experimental and after upgrading to Kubuntu 22.04
Issue transferred from https://github.com/ValveSoftware/Proton/issues/5813. @mokmeister posted on 2022-05-02T12:48:00:
Unity of Command 2 was running well using Proton Experimental under Kubuntu 21.10. However, since upgrading to Kubuntu 22.04 the games crashes regularly. The latest crash produced these results in log.txt:
INF 2022-05-02 13:29:38,437 tools.steam_api:230 Shutting down Steam
ERR 2022-05-02 13:29:38,442 uoc2-exe:24 Traceback (most recent call last):
ERR 2022-05-02 13:29:38,442 uoc2-exe:24 File "uoc2-exe.py", line 17, in
based on the crash log, developer reports that the game crashes in SDL_GL_SwapWindow()
Hello @mokmeister, please add PROTON_LOG=1 %command%
to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam
-> Help
-> System Information
) and put it in a gist, then include a link to the gist in this issue report.
This has regressed in between 7.0-6 and 8.0-2.
Repro steps:
Here's the PROTON_LOG:
Hello @Randaly, please copy your system information from Steam (Steam
-> Help
-> System Information
) and put it in a gist, then include a link to the gist in this issue report. If you're using the Steam client beta, then please include Steam Runtime Diagnostics
instead.
I can confirm that starting a campaign still crashes as of Proton 9. Proton 7 works fine with campaigns with PYOPENGL_PLATFORM=nt %command%
in Steam launch parametre.
Compatibility Report
System Information
I confirm:
steam-809230.log
Symptoms
Starting game immediately exits in failure within a few seconds, game window does not even get to open, steam client realises and stops showing the game as "Running"
Interestingly (an admittedly older version of) this game ran fine on my Arch Linux build, I can't remember, but may have been running the game without the runtime... But I have migrated to Ubuntu as the 20.04 release stability was appealing...
Reproduction
Installed game, start game