https://bugs.winehq.org/show_bug.cgi?id=39320
Bug ID: 39320 Summary: Unrest doesn't exit properly (hangs on exit) with built-in Xaudio2 Product: Wine Version: 1.7.51 Hardware: x86 URL: http://store.steampowered.com/app/292400 OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: xaudio2 Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: aeikum@codeweavers.com Distribution: ---
The game remains in the process list after exiting the game. 'winetricks xact_jun2010' is a workaround (the game loads xaudio2_7.dll). Plain terminal output doesn't show anything related.
Can be reproduced with Unrest demo on Steam.
The same problem occurs in System Shock:Enhanced Edition (released a few days ago on gog.com). After pressing alt-x to quit the game, the game freezes.
FWIW, both games quit properly with built-in xaudio previously, this was the commit which changed the behaviour:
commit a4fd0a7080f7ad32126c864389ab05d91b2f25fe Author: Andrew Eikum aeikum@codeweavers.com Date: Thu Aug 27 09:31:12 2015 -0500
xaudio2: Implement the audio mixing thread.
wine-1.7.51-201-g60d1d6f Fedora 22 32-bit Alsa 1.0.29 (pulseaudio is not running) Openal-soft 1.16.0
~/.alsoftrc contains: drivers = alsa
https://bugs.winehq.org/show_bug.cgi?id=39320
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com --- Thanks. Looks like I calculated the mmdevapi buffer length incorrectly. I have a patch queued which fixes this.
https://bugs.winehq.org/show_bug.cgi?id=39320
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Thanks Andrew, the proposed patch (http://source.winehq.org/patches/data/114654) fixes bug #39321 too.I guess these 2 bugs are related somehow.
https://bugs.winehq.org/show_bug.cgi?id=39320
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2decbcc05f62dd58cfe978a7f1e | |dc187b74f72dc Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- The patch got accepted: http://source.winehq.org/git/wine.git/commit/2decbcc05f62dd58cfe978a7f1edc18...
https://bugs.winehq.org/show_bug.cgi?id=39320
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.