https://bugs.winehq.org/show_bug.cgi?id=44938
Bug ID: 44938 Summary: xaudio2 bug: After upgrading from 3.4-1 to 3.5-1, background music breaks and game freezes frequently. Sound effects work fine. Product: Wine-staging Version: 3.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: morningpee2@gmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
The game I am playing is called Puyo Puyo Tetris. This is it: http://store.steampowered.com/app/546050/Puyo_PuyoTetris
Steps to reproduce:
1. Upgrade to wine-staging 3.5-1 2. Run game
Expected results: Background music and sound effects play and game does not freeze.
Actual results: Sound effects play but background music does not. Game will freeze sometimes (when it freezes, it will not recover from having frozen).
I include the "freezing" bit because I think it is related. Whenever the game freezes, the terminal that I launched the program from shows this line:
00a7:err:ntdll:RtlpWaitForCriticalSection section 0x8438a8 "../../../wine-staging/dlls/xaudio2_7/xaudio_dll.c: IXAudio2Impl.lock" wait timed out in thread 00a7, blocked by 00b6, retrying (60 sec)
The addresses are unpredictable, of course. The second time it happened, I got the same error but with different addresses.
0082:err:ntdll:RtlpWaitForCriticalSection section 0x34dc7270 "../../../wine-staging/dlls/xaudio2_7/xaudio_dll.c: XA2SourceImpl.lock" wait timed out in thread 0082, blocked by 0092, retrying (60 sec)
The problem seems related to https://bugs.winehq.org/show_bug.cgi?id=39517 , but the proposed fix does not work for me. That is, I tried installing Microsoft's xaudio implementation
winetricks --force xact
but the problem persists after doing this (and restarting the game). Downgrading to wine-staging 3.4-1 makes the problem go away.
Other info: I am running Arch Linux (Linux computer 4.15.15-1-ARCH #1 SMP PREEMPT Sat Mar 31 23:59:25 UTC 2018 x86_64 GNU/Linux), Linux kernel 4.15.15-1. All of the non-AUR packages on my system are up-to-date.