Skip to content
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

Can not launch the native version on Linux #50

Open
3 tasks done
p4ssen opened this issue Nov 21, 2023 · 5 comments
Open
3 tasks done

Can not launch the native version on Linux #50

p4ssen opened this issue Nov 21, 2023 · 5 comments

Comments

@p4ssen
Copy link

p4ssen commented Nov 21, 2023

System Information

  • GPU: RX 6700 XT

  • Driver/LLVM version: 4.6 (Compatibility Profile) Mesa 23.2.1-arch1.2

  • Kernel version: 6.6.1-arch1-1

  • Link to full system information report: Gist

  • Have you checked for system updates?

  • Are you using the latest stable video driver available for your system?

  • Have you verified the game files?

Issue

At first, the play button on steam library would turn blue for a few seconds and then back to green. Nothing else.

Tried proton and the game launched but I couldn't join or create any team. Turned off "Force Steam Play" afterwards.

Then I changed steam UI to English to copy my system info and tried to play again.
The game now starts a black screen and freezes with this alert.
underlords

Steps for reproducing this issue:

  1. Click play
@kisak-valve
Copy link
Member

Hello @p4ssen, if you completely close Steam, then run steam-runtime from a terminal, that should let you see some terminal spew coming from Steam and games launched from Steam. When you tell Steam to start the game, can you check what executable is being called by Steam to start the game of if there's any other hints in the terminal spew?

The wine glass in the corner of the screenshot you shared looks like it's coming from wine, which hints that Dota Underlords for Windows is being run instead of Dota Underlords for Linux. I suspect you're seeing the issue being tracked at ValveSoftware/steam-for-linux#9875.

@p4ssen
Copy link
Author

p4ssen commented Nov 21, 2023

I suspect you're seeing the issue being tracked at ValveSoftware/steam-for-linux#9875.

After reading your reply, I checked the files and found only underlords.exe in /Underlords/game/bin/.
While /Underlords/game/bin/linuxsteamrt64/ has a steam_appid.txt and nothing else.

I did try proton when I couldn't launch native version and turned off "Force Steam Play" afterwards.
I guess that means there's another problem that Steam does not turn the game back to native version.

I uninstalled the game and turned off "Enable Steam Play for all other titles". But Steam downloaded Windows version still.
Toggling "Force Steam Play" multiple times did get Steam to download native files.

But the game still crash instantly. So the problem on native version still stands.
Terminal output of this crash:gist

@MalteJoe
Copy link

MalteJoe commented May 8, 2024

I'm having the same issue as @p4ssen, weirdly enough, after a steam runtime update today, I too had the wine dialog showing that steam must be running. Switching to Steam Play and back downloaded the Linux version again. But still, trying to start the (native) game, it immediately crashes:

 ~/p/g/s/s/c/Underlords  game/underlords.sh -vulkan_disable_steam_shader_cache
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/malte/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 1046930
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
05/08 08:45:37 minidumps folder is set to /tmp/dumps
05/08 08:45:37 Init: Installing breakpad exception handler for appid(1046930)/version(6937992)/tid(10427)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198035324102 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561198035324102
src/tcmalloc.cc:390] Attempt to free invalid pointer: 0x55867dca9a10
crash_20240508084537_2.dmp[10439]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240508084537_2.dmp
game/underlords.sh: Line 104: 10427 Aborted                 (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
crash_20240508084537_2.dmp[10439]: Finished uploading minidump (out-of-process): success = yes
crash_20240508084537_2.dmp[10439]: response: Discarded=1
crash_20240508084537_2.dmp[10439]: file ''/tmp/dumps/crash_20240508084537_2.dmp'', upload yes: ''Discarded=1''

Here's my System Info: https://gist.github.com/MalteJoe/2f788844737d2d207a83951406a493b1
And here's the mentioned dump (zipped): crash_20240508084537_2.zip

@kisak-valve
Copy link
Member

Hello @MalteJoe, mesa built against LLVM 16 introduced an issue with some games that bundle libtcmalloc that looks like your symptom. This ended up being fixed in gcc 12 and newer, but the fix hasn't gotten widespread distribution yet. This will be fixed eventually by your distro's routine updates.

See ValveSoftware/Source-1-Games#5043 for similar discussion.

@MalteJoe
Copy link

MalteJoe commented May 8, 2024

Ah thanks for the heads up! Looks like GCC 14 was just released yesterday which should include the fixes, but as it has breaking changes, it might take distros some time to catch up. Or we have to wait for some backports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants