protonscr

Failed attempt to play warning.wav when starting a game with Proton crashes Steam

steamopen Steam clientDistro Family: ArchProton
ValveSoftware/steam-for-linux#6329 · opened 2019-06-20 by ghost · updated 2019-07-18 · 9 comments · github
?ghost 2019-06-20 github

Your system information

  • Steam client version (build number or date): June 17 2019 23:31:27
  • Distribution (e.g. Ubuntu): 4.20.17-1-MANJARO
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Basically, proton stopped working. Trying to launch anything with it just crashes Steam. Tried to google search on the internet, found several similar cases, but no workaround worked.

GameAction [AppID 620, ActionID 1] : LaunchApp changed task to ShowSteamPlayWarning with ""
GameAction [AppID 620, ActionID 1] : LaunchApp waiting for user response to ShowSteamPlayWarning ""
ALSA lib dlmisc.c:287:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_jack.so ((null): libjack.so.0: cannot open shared object file: No such file or directory)
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such device or address
Failed to open digital audio driver Couldn't open OAL device.
crash_20190621045746_1.dmp[28713]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190621045746_1.dmp
/home/admin/.local/share/Steam/steam.sh: line 712: 28468 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190621045746_1.dmp[28713]: Finished uploading minidump (out-of-process): success = yes
crash_20190621045746_1.dmp[28713]: response: CrashID=bp-feb3312c-4aaf-4202-96c9-354d52190620
crash_20190621045746_1.dmp[28713]: file ''/tmp/dumps/crash_20190621045746_1.dmp'', upload yes: ''CrashID=bp-feb3312c-4aaf-4202-96c9-354d52190620''

Steps for reproducing this issue:

  1. Run anything with proton?
XXakepSDK 2019-06-20 github

sudo pacman -S jack

?ghost 2019-06-20 github

Got Jack2 installed.

Kkisak-valve maintainer 2019-06-21 github

Hello @Sierra410, the library in question is 32 bit. Can you check if you have the lib32-jack2 package installed?

?ghost 2019-06-21 github

Yeah, I've tried to install it. Still crashes, but with different errors.

GameAction [AppID 620, ActionID 1] : LaunchApp changed task to ShowSteamPlayWarning with ""
GameAction [AppID 620, ActionID 1] : LaunchApp waiting for user response to ShowSteamPlayWarning ""
Cannot lock down 82280346 byte memory area (Cannot allocate memory)
AL lib: (EE) ALCplaybackAlsa_reset: snd_pcm_hw_params_set_buffer_time_near failed: Invalid argument
AL lib: (EE) ALCplaybackAlsa_reset: snd_pcm_hw_params_set_period_time_near failed: Invalid argument
AL lib: (EE) ALCplaybackAlsa_reset: snd_pcm_hw_params(self->pcmHandle, hp) failed: Invalid argument
Failed to open digital audio driver Couldn't create OAL context.
crash_20190621063437_1.dmp[24992]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190621063437_1.dmp
/home/admin/.local/share/Steam/steam.sh: line 712: 24747 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190621063437_1.dmp[24992]: Finished uploading minidump (out-of-process): success = yes
crash_20190621063437_1.dmp[24992]: response: CrashID=bp-54ae2cf6-6626-44a6-9403-942302190620
crash_20190621063437_1.dmp[24992]: file ''/tmp/dumps/crash_20190621063437_1.dmp'', upload yes: ''CrashID=bp-54ae2cf6-6626-44a6-9403-942302190620''
XXakepSDK 2019-06-21 github

Try jack, not jack2.

?ghost 2019-06-21 github

Zero difference

?ghost 2019-06-21 github

"Solved" it. It's not Proton, it's actually the warning message that crashes Steam. I just deleted .../Steam/resource/warning.wav and it works.
Why it fails to play it tho? It worked before.

Kkisak-valve maintainer 2019-06-21 github

Most likely a duplicate of #5664 or #5669.

?ghost 2019-07-08 github

Adding drivers=jackd line to ~/.openalrc fixes the issue. Sound now plays normally.
Apparently it's more of OpenAL's bug (it doesn't detect Jack nor work with ALSA Jack plugin), tho not handling errors properly is still a Steam bug.

Nothing extracted yet.