ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.96k stars 1.05k forks source link

Unity of Command II (809230) #3841

Open Stew-rt opened 4 years ago

Stew-rt commented 4 years ago

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

kisak-valve commented 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>
Stew-rt commented 4 years ago

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?

Stew-rt commented 4 years ago

This issue seems to be resolved by Proton 5.0-8

kisak-valve commented 2 years ago

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 ERR 2022-05-02 13:29:38,443 uoc2-exe:24 File "E:\code\uoc2\uoc2\main.py", line 311, in main ERR 2022-05-02 13:29:38,444 uoc2-exe:24 File "E:\code\uoc2\engine\ui\system.py", line 716, in main_loop ERR 2022-05-02 13:29:38,444 uoc2-exe:24 OSError: exception: access violation writing 0x0000000000000054

based on the crash log, developer reports that the game crashes in SDL_GL_SwapWindow()

kisak-valve commented 2 years ago

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.

mokmeister commented 2 years ago

https://gist.github.com/mokmeister/41f74e0db90b171223ecf2be9c1243c4

Randaly commented 1 year ago

This has regressed in between 7.0-6 and 8.0-2.

Repro steps:

Here's the PROTON_LOG:

steam-809230.log

kisak-valve commented 1 year ago

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.

Randaly commented 1 year ago

https://gist.github.com/Randaly/fd726d656d3954d52d67c6eeb01bc335

sith-on-mars commented 4 months ago

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.