https://bugs.winehq.org/show_bug.cgi?id=40734
Bug ID: 40734 Summary: Unreal Tournament 3 doesn't quit properly when Pulseaudio is used Product: Wine Version: 1.9.11 Hardware: x86 URL: http://www.gamershell.com/download_21427.shtml OS: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: winepulse.drv Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
When Pulseaudio is used by Wine, UT3.exe remains in the process list after quitting the game. It uses 0% cpu but doesn't free up some 150-200 MB RAM, and needs to be killed. The game exits properly when Wine was compiled without Pulse support so that it uses ALSA on my system. Plain terminal output doesn't show anything interesting.
This can be reproduced with the demo version too: Install the demo and launch UT3Demo.exe, create a profile and select <Play Offline>. Select <Exit> from the main menu, click <Exit> again on the splash screen --> UT3Demo.exe remains in the memory.
UT3BetaDemo.zip (742M) sha1: 0ba7307daf9c21ec7349f9a673b2328d112c4eb9
wine-1.9.11-112-gd864119 Fedora 23 32-bit Pulseaudio 7.1
https://bugs.winehq.org/show_bug.cgi?id=40734
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 54640 --> https://bugs.winehq.org/attachment.cgi?id=54640 audio debug log
https://bugs.winehq.org/show_bug.cgi?id=40734
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=40734
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com --- This happens because we're holding a chunk of memory from pa_stream_peek that we don't release until we've finished copying it in a later call to pulse_rd_loop. That later call never happens, so the memory reference is never released, and PA refuses to shutdown until we let it go.
Probably we should just copy the unused portion and never hold a reference between pulse_rd_loop calls.
https://bugs.winehq.org/show_bug.cgi?id=40734
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com --- This should be fixed by this commit:
commit ee2310f7674c95b1ebc6229e3acd5b2bc408ba73 Author: Andrew Eikum aeikum@codeweavers.com Date: Tue Jul 26 12:51:16 2016 -0500
winepulse.drv: Don't hold PA-owned buffer between capture callbacks.
Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=40734
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |ee2310f7674c95b1ebc6229e3ac | |d5b2bc408ba73
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- The game quits properly in wine-1.9.15-70-gb05704d, thank you for fixing this.
Fedora 24 Pulseaudio 8.0
https://bugs.winehq.org/show_bug.cgi?id=40734
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.16.
https://bugs.winehq.org/show_bug.cgi?id=40734
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=40734
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #6 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.5.
https://bugs.winehq.org/show_bug.cgi?id=40734
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://www.gamershell.com/d |https://web.archive.org/web |ownload_21427.shtml |/20210726094011/http://file | |s.ausgamers.com/downloads/1 | |627292360/UT3BetaDemo.exe
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive.
https://web.archive.org/web/20210726094011/http://files.ausgamers.com/downlo...
$ sha1sum UT3BetaDemo.exe 86d4bad740d0c25438a65c48939ee6dcfc88bb02 UT3BetaDemo.exe
$ du -sh UT3BetaDemo.exe 742M UT3BetaDemo.exe
Regards