FS#69404 - steam package lacks some dependencies to run in openGL mode

Attached to Project: Arch Linux
Opened by Christopher Díaz Riveros (chrisadr) - Friday, 22 January 2021, 14:20 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 12:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hi, I've been debugging an issue with my steam client when trying to run dota2, it stopped at the loading vulkan shaders part, so I started looking at the .sh running the game. Here is the info I gathered:



Additional info:
* multilib/steam 1.0.0.68-1
* no link to upstream since wiki states that troubles are arch specific

Steps to reproduce:

install a fresh steam client in a fresh install of arch linux.
Download dota 2 game
Try to run in OpenGL mode without pre-caching vulkan shaders
when running the .sh from the game you should see the following error:

chris@arch ~/.local/share/Steam/steamapps/common/dota 2 beta/game $ ./dota.sh
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/chris/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199078386654 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561199078386654
Setting breakpad minidump AppID = 373300
failed to dlopen "/home/chris/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so" error=libudev.so.0: cannot open shared object file: No such file or directory
failed to dlopen "librendersystemgl.so" error=libudev.so.0: cannot open shared object file: No such file or directory
failed to dlopen "libpangoft2-1.0.so" error=libpng12.so.0: cannot open shared object file: No such file or directory
failed to dlopen "libpangoft2-1.0.so" error=libpng12.so.0: cannot open shared object file: No such file or directory
crash_20210122085358_1.dmp[30144]: Uploading dump (out-of-process)
/tmp/dumps/crash_20210122085358_1.dmp
./dota.sh: line 104: 30127 Segmentation fault (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"


which made me validate if shared objects where in the place they should be. I found I lacked the following packages to make the game stop coredumping

lib32-libudev0
lib32-pango
lib32-libpng12
libpng12

once those are installed game is able to run normally in OpenGL

Hope it helps!
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 21 April 2021, 12:38 GMT
Reason for closing:  None
Additional comments about closing:  see comment
Comment by Emil (xexaxo) - Friday, 22 January 2021, 19:28 GMT
The dependencies (libudev.0 and others) are bundled with steam, unless something changed the last couple of hours.
But in general, run a game directly is done only if you know what you're up-to. Otherwise:
- close steam (windows and tray icon)
- open terminal, set GAME_DEBUGGER & start steam
- start game from the steam app

Mildly related: If you're using the open source Vulkan drivers, it's worth checking through the issue tracker [1] and/or poke around on #dri-devel on freenode.

[1] https://gitlab.freedesktop.org/mesa/mesa/-/issues
Comment by Christopher Díaz Riveros (chrisadr) - Saturday, 23 January 2021, 15:00 GMT
Hmm, maybe it's on the steam/dota side. I'd try that but I'm too lazy honestly, feel free to close the bug.

Stay safe,

Loading...