ValveSoftware / Proton

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

Dwarf Fortress (975370) #6529

Open johnHackworth opened 1 year ago

johnHackworth commented 1 year ago

Proton version: 7.0-6 OS: Ubuntu 20.04.5 LTS (64 bits)

Ok, this may be a weird one, but bear with me, please.

So, I've been running Steam's Dwarf Fortress with proton for almost two months without any issue. But suddenly, last weak, the game started to not boot at all. You click the 'play' button on steam, and just immediately crashes. Digging on the system log, this is what's going on:


Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
GameAction [AppID 975370, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
GameAction [AppID 975370, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 975370, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 975370, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 975370, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 975370, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/javi/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=975370 -- /home/javi/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/javi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/javi/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/javi/.local/share/Steam/steamapps/common/Dwarf Fortress/Dwarf Fortress.exe'\0
Game process added : AppID 975370 "/home/javi/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=975370 -- /home/javi/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/javi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/javi/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/javi/.local/share/Steam/steamapps/common/Dwarf Fortress/Dwarf Fortress.exe'", ProcID 47107, IP 0.0.0.0:0
chdir /home/javi/.local/share/Steam/steamapps/common/Dwarf Fortress
ERROR: ld.so: object '/home/javi/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/javi/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/javi/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/javi/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 975370, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/javi/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
GameAction [AppID 975370, ActionID 2] : LaunchApp changed task to Completed with ""
Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  20 (X_GetProperty)
Resource id in failed request:  0x68005c5
Serial number of failed request:  31
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  20 (X_GetProperty)
Resource id in failed request:  0x68005c5
Serial number of failed request:  31
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  20 (X_GetProperty)
Resource id in failed request:  0x68005c5
Serial number of failed request:  31
xerror_handler: X failed, continuing
Game process removed: AppID 975370 "/home/javi/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=975370 -- /home/javi/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/javi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/javi/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/javi/.local/share/Steam/steamapps/common/Dwarf Fortress/Dwarf Fortress.exe'", ProcID 47107 
ThreadGetProcessExitCode: no such process 47109
ThreadGetProcessExitCode: no such process 47108
Uploaded AppInterfaceStats to Steam

Now, seeing that, I assumed there was some issue with my Nvidia card (NVIDIA RTX A2000) drivers, so I tried to reinstall them again. Nothing, same result, everything else, every other game, every other tool, seem to be playing nice with my card. I've tried with, quite literally, every version of Proton that Steam allows, and the result was the same. I've tried to uninstall and install the game, same. I've tried to purge Steam (plus deleting ~/.steam and ~/.local/share/Steam) and install again, same.

And here comes the weird part: I just logged in to a different use (both are admins), installed Steam and Dwarf Fortress ... and it runs ok from there (actually, it runs quite better because all the work I've done actually updating my drivers, ha). Then, if I switch back to my main user account... the game still doesn't run.

I have tried to delete and reinstall everything related to steam or proton I could find in my home directory, but nothing seems to do the trick. I don't think it can be a drivers issue, because it would affect my other upser account.

kisak-valve commented 1 year ago

Hello @johnHackworth, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the crash, 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.

kisak-valve commented 1 year ago

The X errors are https://github.com/ValveSoftware/steam-for-linux/issues/9164, and are unrelated to Proton.

kisak-valve commented 1 year ago

Dwarf Fortress (975370)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/6953. @SeTSeR posted on 2023-07-22T19:44:01:

Compatibility Report

System Information

I confirm:

Symptoms

Game crashes at start, with Proton trying to call unimplemented function, see game log at the end.

Reproduction

Just launch the game. After a couple of minutes it crashes.

steam-975370.log

AJuujarvi commented 1 year ago

@SeTSeR Looking at the report, you are using a GPU that doesn't support Vulkan 1.3 I believe. Proton 8 requires Vulkan 1.3 support to be able to play it. However, Proton 7.0-6 does work with the game, and should continue to work with the game unless a game update changes that! I hope Proton 7.0-6 works well for you.

kisak-valve commented 1 year ago

The provided extended diagnostics information disagrees (https://gist.github.com/SeTSeR/c38991a662474f3a1b7309d0e22770de#file-runtime-txt-L1250). Mesa / RADV provides Vulkan 1.3 for all GCN generations. There could be a video driver issue, but if there is, then it's something more subtle than summary lack of support for Vulkan 1.3.

SeTSeR commented 1 year ago

@SeTSeR Looking at the report, you are using a GPU that doesn't support Vulkan 1.3 I believe. Proton 8 requires Vulkan 1.3 support to be able to play it. However, Proton 7.0-6 does work with the game, and should continue to work with the game unless a game update changes that! I hope Proton 7.0-6 works well for you.

Hello! Thank you, I tried to launch the game using Proton 7, and it worked! Though I had kinda violent freeze on world generation (even before starting it somehow), but I guess these are definitely hardware problems.

SeTSeR commented 1 year ago

I also saw similar issues around Wine 8.0 in other libraries: https://github.com/grumpycoders/pcsx-redux/discussions/807 It seems that they somehow changed where implementations of these functions land, and it's likely a specific problem with 8.0 release. I did not try experimental version though.

alasky17 commented 1 year ago

@SeTSeR Could you please try the Proton - Experimental? There was a recent fix for the Dwarf Fortress Beta that is not in 8.0-3.

SeTSeR commented 1 year ago

@SeTSeR Could you please try the Proton - Experimental? There was a recent fix for the Dwarf Fortress Beta that is not in 8.0-3.

Hello, I was able to run DF and successfully generate world with Proton Experimental, many thanks!