http://bugs.winehq.org/show_bug.cgi?id=13458
Summary: Starcraft hangs in wine-1.0rc2 in dsound Product: Wine Version: 1.0-rc2 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: RonnyPeine@gmx.de
Created an attachment (id=13371) --> (http://bugs.winehq.org/attachment.cgi?id=13371) Tracelog with WINEDEBUG=+dsound
Starcraft hangs at the title screen with no sound if full hardware access is used for audio. I'm using the alsa backend. A backtrace with WINEDEBUG=+dsound is attached (wineexception.log). If i use "Emulation" for audio than the sound works and i can go to the selection screen of the parties. If i start a game, wine crashes with another exception (backtrace without WINEDEBUG set is attached as wineemulexception.log).
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #1 from Ronny Peine RonnyPeine@gmx.de 2008-05-26 16:34:18 --- Created an attachment (id=13372) --> (http://bugs.winehq.org/attachment.cgi?id=13372) Tracelog without WINEDEBUG for "Emulation" HW Acceleration
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-26 20:12:30 --- Have you killed/disabled/removed pulseaudio? It conflicts with any program that uses ALSA/OSS directly.
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #3 from Ronny Peine RonnyPeine@gmx.de 2008-05-27 00:17:58 --- (In reply to comment #2)
Have you killed/disabled/removed pulseaudio? It conflicts with any program that uses ALSA/OSS directly.
I don't have pulseaudio, i have pure alsa. Additionally, Starcraft works if i use an older version of wine like 0.9.36 with the same .wine directory, so i don't think it's a configuration issue.
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-28 08:08:20 --- What sound driver are you using in Wine?
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #5 from Ronny Peine RonnyPeine@gmx.de 2008-05-28 14:20:41 --- (In reply to comment #4)
What sound driver are you using in Wine?
I'm using the ALSA backend (linuxdriver is snd-cs46xx) as written before.
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #6 from Lei Zhang thestig@google.com 2008-05-28 16:37:30 --- Did starcraft work for you with older versions of Wine? I remember it working for me a couple months ago. Also, if changing the sound setting to full causes problems, then doesn't do it. :)
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #7 from Ronny Peine RonnyPeine@gmx.de 2008-05-29 12:21:19 --- (In reply to comment #6)
Did starcraft work for you with older versions of Wine? I remember it working for me a couple months ago. Also, if changing the sound setting to full causes problems, then doesn't do it. :)
As i have already written, it has worked with wine-0.9.36 and changing the hardware access to any other mode than "Emulation" leads to a hang. Changing it to "Emulation" crashes wine when starting a game.
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #8 from Austin English austinenglish@gmail.com 2008-05-29 13:53:30 --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=13458
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #9 from Ronny Peine RonnyPeine@gmx.de 2008-05-31 12:24:05 --- (In reply to comment #8)
Please run a regression test: http://wiki.winehq.org/RegressionTesting
First, thanks, this is a nice regressiontesting page. I have found out that it worked with wine-0.9.38 and not with wine-0.9.39 and above. After bisecting i found the following offending patch:
c846950e3524b615f0b92cd154b9f1d9d99e1223 is first bad commit commit c846950e3524b615f0b92cd154b9f1d9d99e1223 Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Sat Jun 2 17:03:24 2007 +0200
winealsa: Detach directsound implementation from waveout implementation.
:040000 040000 15eade50dd950ec24e5b42a2b17068e214b214fe 21d1e6a818fb0bcf9bd013a1847c20fe38c774ac M dlls
http://bugs.winehq.org/show_bug.cgi?id=13458
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |m.b.lankhorst@gmail.com
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2008-05-31 21:19:48 --- Adding the author of the patch.
http://bugs.winehq.org/show_bug.cgi?id=13458
Maarten Lankhorst m.b.lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from Maarten Lankhorst m.b.lankhorst@gmail.com 2008-06-01 08:19:08 --- err:dsalsa:DSDB_CreateMMAP Can't map sound device for direct access: File descriptor in bad state is probably the error, it isn't handled correctly by directsound or alsa which leads to a crash.
http://bugs.winehq.org/show_bug.cgi?id=13458
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=13458
--- Comment #12 from Austin English austinenglish@gmail.com 2008-12-08 04:17:43 --- Is this still an issue in current (1.1.10 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13458
Ronny Peine RonnyPeine@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Ronny Peine RonnyPeine@gmx.de 2008-12-15 10:05:08 --- (In reply to comment #12)
Is this still an issue in current (1.1.10 or newer) wine?
Hi, i have tested it with wine-1.1.10 and the bug seems to be fixed.
cu, Ronny
http://bugs.winehq.org/show_bug.cgi?id=13458
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:04:28 --- Closing bugs fixed in 1.1.11.