protonscr

Cogmind - No Audio

protonopen appid 722730Game compatibility - Unofficial
ValveSoftware/Proton#226 · opened 2018-08-23 by jaccarmac · updated 2019-02-17 · 9 comments · github · game page · search this game
2 matching comments, n / p to jump
Jjaccarmac 2018-08-23 github

Everything else works perfectly. PulseAudio doesn't show the executable producing any output.

Kkisak-valve maintainer 2018-08-23 github

Cogmind installs the VC redistributable package on every install. (722730)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/230.
@jaccarmac posted on 2018-08-23T06:34:17:

This one-time setup seemed to only happen once for Dungeon of the Endless, the other Steam Play game I've experimented with so far. This happens across Steam restarts and also within a single session. A download shows up for Cogmind though it is 0 bytes/0 bytes as reported by Steam.

AApe 2018-08-31 github

I also have this issue. It is caused by the fact that Cogmind uses SDL for audio and Steam/Proton sets SDL_AUDIODRIVER environment variable to alsa. This value would be fine for Linux applications, but a Windows application needs an audio driver that is available in Windows/Wine and cannot handle alsa.

The workaround is to unset the environment variable so that the application defaults to a backend that is available in Wine. This can be done with a registry entry like described here: https://wiki.winehq.org/Sound#SDL_applications

The registry entry is a workaround, but I think Proton should just set the environment variable to "" itself so that the registry entry would not be needed.

Otherwise the game works perfectly for me and I would suggest whitelisting the game after the audio issue has been fixed.

Jjaccarmac 2018-08-31 github

Thanks for the update. Interesting that you tracked the cause to an SDL bug. I haven't tried the fix yet and will definitely do so. However, I will note that sound sometimes works for me, which suggests that the issue isn't as simple as Wine not being able to use ALSA.

Agree on the whitelisting as soon as the sound issue is fixed in a consistent way, however.

AApe 2018-09-01 github

I would not say this is a bug in SDL in any way. The way SDL behaves is completely understandable. Just don't give it bad parameters to work with.

AApe 2019-02-16 github

This started to occur again for me. I needed to set "Force the use of a specific Steam Play compatibility tool" to Proton 3.7-8 and it was fixed again. Setting 3.16-4 does not work.

Kkisak-valve maintainer 2019-02-16 github
AApe 2019-02-17 github

@kisak-valve For some reason 3.16-7 or 3.16-4 do not work with or without the workaround. I think there might be some other issue in addition to the SDL_AUDIODRIVER variable.

Kkisak-valve maintainer 2019-02-17 github

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. Also, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

AApe 2019-02-17 github

For some reason I get no log file with Proton 3.16-7 and that launch option. The exact same launch option does write log files with 3.7-8.

Here is my system information and the log file for 3.7-8 (with working audio):
https://gist.github.com/Ape/2f307f7a6898ba2bed4bd5d567980739

Proton versions

Launch options

Upstream links