https://bugs.winehq.org/show_bug.cgi?id=45589
Bug ID: 45589 Summary: Starcraft 2: Sound stops working after a while Product: Wine-staging Version: 3.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: yumekuineru@hotmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 62013 --> https://bugs.winehq.org/attachment.cgi?id=62013 Sound stopped working within the last 10 seconds
Sound sometimes drops out for me in the middle of a Starcraft 2 game or replay (or it seems while at main menu also). After sound drops out the same behaviour as is reported in the bug https://bugs.winehq.org/show_bug.cgi?id=45502 occurs (the game freezes if audio device setting is changed or the exit game button is pressed)
It might be one of my overrides since it is a prefix I have not modified in a while after I managed to get it working, though the issue started occuring quite recently. It occurs less frequently than all the time as was the case before the fixes staged in this issue though.
Versions: WINE_COMMIT="25cc380b8ed41652b135657ef7651beef2f20ae4" #3.13 STAGING_COMMIT="2f3ba1fb462894ad267d72d07ed2114e0ae1f5c2"
Patches applied (all seem to mainly pertain to League of Legends): 0003-Pretend-to-have-a-wow64-dll.patch 0006-Refactor-LdrInitializeThunk.patch 0007-Refactor-RtlCreateUserThread-into-NtCreateThreadEx.patch 0009-Refactor-__wine_syscall_dispatcher-for-i386.patch Attachment in https://bugs.winehq.org/show_bug.cgi?id=45550#c8
I am not sure how to reliably reproduce the issue, though I was able to capture a debug log from the channels described on the wiki for Sound: +tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp
I copied the file I was redirecting output to when I heard sound stop (perhaps a few seconds after), then took the tail of the copied file which seems to span abouts 10 seconds of logtime.
I do not believe I have made any changes to pulseaudio except for disabling flat-volumes and adding the following sink (that currently was not being used):
``` DEFAULT_OUTPUT=$(pacmd list-sinks | grep -A1 "* index" | grep -oP "<\K[^ >]+") pactl load-module module-combine-sink sink_name=recordleague slaves=$DEFAULT_OUTPUT sink_properties=device.description="leagueaudio"
```