canonical / steam-snap

Steam as a snap
72 stars 10 forks source link

C&C Remastered games crashes after launcher starts #324

Open senneschall opened 10 months ago

senneschall commented 10 months ago

Is there an existing issue for this?

Have you checked the wiki for solutions?

Is this a Steam Snap-specific issue?

Current Behavior

Starting Command & Conquer Remastered (win game running on Proton) opens the game selection launcher, but selecting any of the available games crashes immediately. It behaves very similiar to the video in #6 except that the game launcher starts but the actual game then crashes. So you can press the gren play button, the launcher starts and lets you choose if you want to play C&C1 oder C&C:RA, but the moment you choose, it crashes and the steam start button turns green again.

Expected Behavior

The launcher starts flawlessly, so I expected the games to run as well.

launcher

All other windows game running on proton in my library work as expected, just C&C Remastered crashes after selecting anything in the launcher.

Steps To Reproduce

  1. download Command and Conquer Remastered
  2. start it, the launcher selection window appears, see screenshot above
  3. select which game you want to play

Environment

os_release:
    name:               "Ubuntu"
    version:            "22.04.3 LTS (Jammy Jellyfish)"
snap_info:
    steam_revision:     165
    snapd_revision:     20290
lspci:
    01:00.0:            Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] (rev cf)
glxinfo:
    gpu:                POLARIS11 (polaris11, LLVM 15.0.7, DRM 3.49, 6.2.0-36-generic)
    gpu_version:        4.6 (Core Profile) Mesa 23.2.1 - kisak-mesa PPA
lscpu:
    model_name:         Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

gaming-graphics-core22 version

kisak-fresh (default)

Anything else?

commandline output:

H_FROM_CLIENT=: ../src-wine/dlls/ntdll/unix/server.c:1633: server_init_process_done: Assertion '!status' failed.
../src-wine/dlls/ntdll/unix/server.c:1633: server_init_process_done: Assertion '!status' failed.
pid 49597 != 49596, skipping destruction (fork without exec?)
Game 1213210 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 1213210 created interface SteamController007 / Controller
Game 1213210 created interface SteamInput001 / Controller
Game 1213210 created interface SteamUser020 / 
Game 1213210 created interface SteamUser020 / User
Game 1213210 created interface SteamUtils009 / 
Game 1213210 created interface SteamUtils009 / Utils
Game 1213210 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 1213210 method call count for IClientUtils::RecordSteamInterfaceCreation : 8
Game 1213210 method call count for IClientUtils::GetAppID : 11
Game 1213210 method call count for IClientUser::BIsSubscribedApp : 1
Game 1213210 method call count for IClientUser::GetSteamID : 2
Uploaded AppInterfaceStats to Steam

dmesg output:

[ 7969.496371] audit: type=1400 audit(1698769813.294:488917): apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3074/environ" pid=45853 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7974.535216] audit: type=1400 audit(1698769818.334:488918): apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3074/environ" pid=45853 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7979.547785] audit: type=1400 audit(1698769823.346:488919): apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3074/environ" pid=45853 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7979.715689] audit: type=1326 audit(1698769823.514:488920): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49597 comm="wineserver" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E65736572766572 sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fe7da874ddb code=0x50000
[ 7979.752364] audit: type=1400 audit(1698769823.550:488921): apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/49680/environ" pid=45853 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7980.574345] audit: type=1326 audit(1698769824.374:488922): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49597 comm="wineserver" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E65736572766572 sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fe7da874ddb code=0x50000
[ 7980.577227] audit: type=1326 audit(1698769824.374:488923): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49597 comm="wineserver" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E65736572766572 sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fe7da874ddb code=0x50000
[ 7980.612759] audit: type=1400 audit(1698769824.410:488924): apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3074/environ" pid=45853 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7980.711795] audit: type=1326 audit(1698769824.510:488925): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49597 comm="wineserver" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E65736572766572 sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fe7da874ddb code=0x50000
[ 7980.722449] audit: type=1326 audit(1698769824.522:488926): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49597 comm="wineserver" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E65736572766572 sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fe7da874ddb code=0x50000
[ 7980.729127] audit: type=1326 audit(1698769824.526:488927): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49597 comm="wineserver" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E65736572766572 sig=0 arch=c000003e syscall=101 compat=0 ip=0x7fe7da88819e code=0x50000
[ 7980.729610] audit: type=1326 audit(1698769824.526:488928): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.steam.steam pid=49680 comm="DebugProcessLau" exe=2F686F6D652F69676F72742F31544844442F537069656C652F537465616D2F737465616D617070732F636F6D6D6F6E2F50726F746F6E202D204578706572696D656E74616C2F66696C65732F62696E2F77696E652D7072656C6F61646572 sig=0 arch=40000003 syscall=347 compat=1 ip=0xf7fe0549 code=0x50000
ashuntu commented 10 months ago

Could you provide the full logs from Steam from when you launch the game? Also, is the game located in the default storage location or some other drive?

senneschall commented 10 months ago

Sure. I've included the full dmesg output, the full command line output from snap run steam > ~/Downloads/commdandline.log 2>&1 and the whole steam log folder inside the zip The Steam folder lies on a different HDD than the system, the HDD which is mounted in /home/<myuser>/HDD, all other games work from there. The game runs fine with the deb steam from the very some location. commandline.log dmesg.log steamlogs.zip

ashuntu commented 10 months ago

Redirecting output like that still seems to be missing portions of the logs you'd usually see from running Steam from terminal. Could you run Steam with snap run steam and just copy/paste the logs from the start until just after you run the game?

Although I do not see any logs that necessarily point to this being a problem at the moment, it would be nice if you could test installing it in the default location on your system's drive to rule the drive mount out. If you can't, that's alright too.

senneschall commented 10 months ago

I've attached the whole terminal out to the appending log file. I also tried installing the game to the default location ~/snap/steam/common/.local/share/Steam/, but that didn't solve the problem. The launcher still runs, but selecting the game it crashes silently. terminal.log

ashuntu commented 1 month ago

If not already, this may work now with 2.64 snapd. You can try by refreshing snapd with snap refresh snapd --edge (and restarting). Make sure to go back to stable after testing with snap refresh snapd --stable.

senneschall commented 4 weeks ago

I tried again with the current stable and error was still there.

But with the 2.64 edge, the game actually starts and the error is gone. Can't wait for 2.64 to become stable. Thanks!