http://bugs.winehq.org/show_bug.cgi?id=27795
Summary: Half-Life 2 hangs with a black screen on launch Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: aeikum@codeweavers.com
Created an attachment (id=35557) --> (http://bugs.winehq.org/attachment.cgi?id=35557) terminal output
In the current git version Half-Life 2 (Steam) becomes unresponsive right after starting. The screen shows only black (when the Valve company logo/animation should appear). If I wait for about 1 minute the game will eventually crash.
Half-Life 2 started correctly in 1.3.24 and regression testing resulted:
be158e48ad8ee556941bd3f1ff94ca7116680d00 is the first bad commit commit be158e48ad8ee556941bd3f1ff94ca7116680d00 Author: Andrew Eikum aeikum@codeweavers.com Date: Mon Jul 11 08:28:30 2011 -0500
winmm: Implement waveOut* on top of MMDevAPI.
:040000 040000 428f760df6efda7a37b4a84f97721523ab72863f 2b94a3c0b7a42f4f83b037adc317d17565c1f7a9 M dlls
git checkout be158e48ad8ee556941bd3f1ff94ca7116680d00 >> the game freezes on startup git reset --hard HEAD^ >> the game starts but without audio
Disabling mmdevapi works around the freezing issue but the game runs without audio.
Author of the patch added to CC.
wine-1.3.24-137-gc41a300 Fedora 15 32-bit Alsa 1.0.24 (no Pulseaudio) nVidia Corporation MCP61 High Definition Audio (rev a2)
http://bugs.winehq.org/show_bug.cgi?id=27795
--- Comment #1 from GyB gyebro69@gmail.com 2011-07-15 09:42:48 CDT --- Created an attachment (id=35558) --> (http://bugs.winehq.org/attachment.cgi?id=35558) winedbg backtrace
http://bugs.winehq.org/show_bug.cgi?id=27795
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=27795
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com 2011-07-18 11:24:45 CDT --- Created an attachment (id=35593) --> (http://bugs.winehq.org/attachment.cgi?id=35593) winmm: Perform Open and Close callbacks from client thread
There was a deadlock because the MCIAVI thread held a lock during waveOutOpen, and acquires the lock again in its callback function. So, waveOutOpen needs to do its callback on the client thread so the recursive lock can work. This should be fixed by the attached patch.
http://bugs.winehq.org/show_bug.cgi?id=27795
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from GyB gyebro69@gmail.com 2011-07-18 13:00:35 CDT --- The patch is in git...problem resolved.
http://bugs.winehq.org/show_bug.cgi?id=27795
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #4 from Wylda wylda@volny.cz 2011-07-18 13:51:17 CDT ---
Just for reference:
http://source.winehq.org/git/wine.git/commit/2754c750922aba74bacabc0e7723ce5...
http://bugs.winehq.org/show_bug.cgi?id=27795
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2011-07-22 12:44:42 CDT --- Closing bugs fixed in 1.3.25.
http://bugs.winehq.org/show_bug.cgi?id=27795
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2754c750922aba74bacabc0e772 | |3ce563059e11f
http://bugs.winehq.org/show_bug.cgi?id=27795
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com Regression SHA1| |be158e48ad8ee556941bd3f1ff9 | |4ca7116680d00