http://bugs.winehq.org/show_bug.cgi?id=21014
Summary: Dark Sector no Sound Product: Wine Version: 1.1.34 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: sbagmeijer@live.com CC: sbagmeijer@live.com
Created an attachment (id=25211) --> (http://bugs.winehq.org/attachment.cgi?id=25211) Dark Sector Console Sound Error
The Game Dark Sector runs perfect with Wine, except it does not have any sound. (sorry this is my first bug report, so please if I do anything wrong help me out so I know how to do it next time)
http://bugs.winehq.org/show_bug.cgi?id=21014
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-dsound |-unknown
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-15 01:23:57 --- What distro? What sound system is selected in winecfg -> audio tab?
http://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #2 from Sjir Bagmeijer sbagmeijer@live.com 2009-12-15 01:46:49 --- My Distribution is Fedora Core 12, The sound is pulse I think that is installed, just to note all other games have perfect sound such as World of Warcraft, eve online, Mini Ninjas etc.
Also we just checked this on Ubuntu 9.10, it installs there without problems to playing no problem either, but the sound error is exactly the same on ubuntu also. (didn't ask what he has selected will ask when he is online)
http://bugs.winehq.org/show_bug.cgi?id=21014
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-15 08:33:31 --- Wine doesn't have pulse sound driver - it's Fedora's addition. File bug there.
You are welcome to reopen if you can reproduce the problem with alsa sound (assuming you stopped/disabled/removed PA).
http://bugs.winehq.org/show_bug.cgi?id=21014
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-15 08:33:45 --- Closing - not Wine bug.
https://bugs.winehq.org/show_bug.cgi?id=21014
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
--- Comment #5 from Adam Bolte abolte@systemsaviour.com --- Please re-open this bug. It still exists in a clean 1.8-rc1. Also, I was able to reproduce the issue with earlier versions using ALSA.
Tested using the DRM-free version of Dark Sector which came free on the cover of PC PowerPlay magazine issue 168.
From the console in 1.8-rc1:
fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0x4ee85920,00000000,0,(nil)): stub, faking success
Debian Jessie amd64 (but 32-bit wineprefix).
https://bugs.winehq.org/show_bug.cgi?id=21014
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID |--- Ever confirmed|0 |1
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Adam Bolte from comment #5)
Please re-open this bug. It still exists in a clean 1.8-rc1. Also, I was able to reproduce the issue with earlier versions using ALSA.
Reopening by request. Please attach a log as in http://wiki.winehq.org/Sound
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #7 from Adam Bolte abolte@systemsaviour.com --- Created attachment 52861 --> https://bugs.winehq.org/attachment.cgi?id=52861 dark_sector-1.8-rc1_output.log.xz
The xz-compressed attachment was created via:
WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp wine DS.exe >dark_sector-1.8-rc1-output.log 2>&
You can see from the log that the game includes and executes mplayer to play tgc_logo.avi. The fullscreen video playback via mplayer doesn't work, but the sound does work. It's the only part of the game where audio works.
Then shortly after tgc_logo.avi finishes, you see a loading bar for a few seconds, and finally the logo Dark Sector (which has an animated background and presumably where the sound is supposed to begin). Pressing enter here takes you to the main menu (still with the same animated background), and to finish up creating the attached log I just went straight to Quit.
https://bugs.winehq.org/show_bug.cgi?id=21014
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=21014
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #8 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.6 and 1.9.6-staging.
https://bugs.winehq.org/show_bug.cgi?id=21014
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52861|0 |1 is obsolete| |
--- Comment #9 from Adam Bolte abolte@systemsaviour.com --- Created attachment 55073 --> https://bugs.winehq.org/attachment.cgi?id=55073 dark_sector-1.9.14-output.log.xz
Still an issue in 1.9.14. Updated output log, again using the following command:
WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp wine DS.exe >dark_sector-1.9.14-output.log 2>&1
https://bugs.winehq.org/show_bug.cgi?id=21014
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55073|0 |1 is obsolete| |
--- Comment #10 from Adam Bolte abolte@systemsaviour.com --- Created attachment 56466 --> https://bugs.winehq.org/attachment.cgi?id=56466 dark_sector-2.0-rc2-output.log.xz
Still an issue in 2.0-rc2. Updated output log, again using the following command:
WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp wine DS.exe >dark_sector-2.0-rc2-output.log 2>&1
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #11 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 2.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #12 from Andrew Eikum aeikum@codeweavers.com --- With a quick look, I don't see anything obviously wrong with the log. It creates a whole ton of secondary buffers (over 800), but never actually calls Play() on any of them, so no sound is ever played.
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #13 from Adam Bolte abolte@systemsaviour.com --- Thanks for looking at it Andrew! Is there any WINEDEBUG flag logging I can provide that might assist in tracking down the root cause?
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #14 from Andrew Eikum aeikum@codeweavers.com --- Not really, what you attached is perfect. This just needs more investigation or a first-hand look at the game while it's running. I'll try to get to it when I can, but unfortunately I don't have a ton of spare time right now.
If you're a C programmer and interested in trying to debug it yourself, I could maybe give some guidance.
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #15 from Adam Bolte abolte@systemsaviour.com --- Unfortunately I haven't touched C for anything significant in well over 10 years, since I generally write code for system administration work which is generally Python as of late. I'm probably too rusty in C at the moment to be useful.
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #16 from Adam Bolte abolte@systemsaviour.com --- Still an issue. Tested against 2.6 and 2.6-staging.
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #17 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 3.9.
Messages like the following continue to be spammed to the console.
0009:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0x14fe5950,00000000,0,(nil)): stub, faking success 0009:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0xd7f9828,00000000,0,(nil)): stub, faking success 0009:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0xd7fcc88,00000000,0,(nil)): stub, faking success 0009:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0xd7fcc88,00000000,0,(nil)): stub, faking success 0009:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0xddef8e8,00000000,0,(nil)): stub, faking success
https://bugs.winehq.org/show_bug.cgi?id=21014
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #18 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 4.18 and 4.18-staging.
https://bugs.winehq.org/show_bug.cgi?id=21014
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #19 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Adam Bolte from comment #17)
0009:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0xddef8e8,00000000,0,(nil)): stub, faking success
I think your right, that this game requires AcquireResources to be implement
(In reply to Adam Bolte from comment #18)
Still an issue in 4.18 and 4.18-staging.
Could you please generate another log file using the same channels as before?
https://bugs.winehq.org/show_bug.cgi?id=21014
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #56466|0 |1 is obsolete| |
--- Comment #20 from Adam Bolte abolte@systemsaviour.com --- Created attachment 65517 --> https://bugs.winehq.org/attachment.cgi?id=65517 dark_sector-4.18-output.log.xz
As requested, updated output log (using vanilla 4.18), via the following command:
WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp wine DS.exe >dark_sector-4.18-output.log 2>&1 xz -9 dark_sector-4.18-output.log
https://bugs.winehq.org/show_bug.cgi?id=21014
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-dsound
https://bugs.winehq.org/show_bug.cgi?id=21014
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.3?
https://bugs.winehq.org/show_bug.cgi?id=21014
--- Comment #22 from Adam Bolte abolte@systemsaviour.com --- (In reply to joaopa from comment #21)
Does the bug still occur with wine-5.3?
It sure does.
004d:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (136E9F50,00000000,0,00000000): stub, faking success 004d:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0DBA6598,00000000,0,00000000): stub, faking success 004d:fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0DBAA510,00000000,0,00000000): stub, faking success etc.
https://bugs.winehq.org/show_bug.cgi?id=21014
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED Fixed by SHA1| |2e8bd2682a1c5335465ed891ea1 | |063d82c346577
--- Comment #23 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/2e8bd2682a1c5335465ed891ea1063...
https://bugs.winehq.org/show_bug.cgi?id=21014
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@winehq.org Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=21014
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.1.
https://bugs.winehq.org/show_bug.cgi?id=21014
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #25 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.1.