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.
https://bugs.winehq.org/show_bug.cgi?id=44938
morningpee2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
https://bugs.winehq.org/show_bug.cgi?id=44938
--- Comment #1 from morningpee2@gmail.com ---
the proposed fix does not work for me. That is, I tried installing Microsoft's xaudio implementation but the problem persists after doing this
Oops, I forgot to set an override xaudio2_7 in winecfg to make Wine use the native Windows library. All sound *does* work in wine-staging 3.5-1 if the override is set (and xact is installed via winetricks).
https://bugs.winehq.org/show_bug.cgi?id=44938
morningpee morningpee2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=44938
--- Comment #2 from morningpee morningpee2@gmail.com --- Looking in the repo, the only commit between wine-3.4 and wine-3.5 in the dlls/xaudio* directories is https://source.winehq.org/git/wine.git/commit/b747d6f6cc , "xaudio2: Prefer builtin version.".
Tried reverting b747d6f6cc. The problem persists.
https://bugs.winehq.org/show_bug.cgi?id=44938
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org