protonscr

Hammerfight doesn't launch, no error.

steamclosed reviewed3rd party gameruntime
ValveSoftware/steam-for-linux#3190 · opened 2014-03-06 by cybercyst · updated 2016-12-19 · 6 comments · github
Ccybercyst 2014-03-06 github

On Arch Linux, when clicking play, Hammerfight gracefully and silently fails.
console output:

CAPIJobRequestUserStats - Server response failed 2
OnFocusWindowChanged to window type: k_EWindowTypeSteamDesktop, 0
Game update: AppID 41100 "Hammerfight", ProcID 2137, IP 0.0.0.0:0
CGameStreamThread: Added instance ID 2137 for appid 41100
CGameStreamThread: Set render instance ID 2137 for appid 41100
Hammerfight: Installed in '/home/cybercyst/.local/share/Steam/SteamApps/common/Hammerfight'.
Hammerfight: Using amd64 version.
Game removed: AppID 41100 "Hammerfight", ProcID 2137 
Ggdrewb-valve maintainer 2014-03-08 github

You should report this to the game devs also.

Rramirezterrix 2014-03-20 github

Did you try:
https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting
Speacily:
If a game fails to start, a possible reason is that it is missing required libraries. You can find out what libraries it requests by running ldd game_executable. game_executable is likely located somewhere in ~/.steam/root/SteamApps/common/. Please note that most of these "missing" libraries are actually already included with Steam, and do not need to be installed globally.

If you have a 64bit system the lib32s are propably missing

Ccybercyst 2014-03-21 github

Thanks for the help! So here's some further investigation:
cd-ing into the directory and launching the game from there works.
Running the game with primusrun %command% from within steam works. (Launching it on the nvidia card)
Running the game from within steam on the intel card (running it on the 3d card just seems wasteful) causes the game to not launch.
In the configuration directory, (~/.local/share/Hammerfight/hge.log) I get the following log:

Application: HAMMERFIGHT v.1.005
OS: Unix
SDL_GL_LoadLibrary() failed: Failed loading libGL.so.1

This seems to have happened after updating to Mesa 10.1

Mml- 2014-03-21 github

Looks like the libxcb issue.

@cybercyst
Delete ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1

Try again.

Ccybercyst 2014-03-21 github

See? You guys are AWESOME. :+1:
I deleted the 64-bit version of libxcb from the steam runtime and Voilá it worked. :)

Thanks

Kkisak-valve maintainer 2016-12-19 github

We will be tracking steam runtime issues cumulatively from now on. Closing in favor of #4768.

Launch options