http://bugs.winehq.org/show_bug.cgi?id=10603
Summary: IDirectSoundBufferImpl_SetFX should be implemented Product: Wine Version: 0.9.49. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: pawel.stolowski@wp.pl
IDirectSoundBufferImpl_SetFX should be implemented - this is probably the only problem left to have two games working correctly (both from the same company and using same engine): "Dangerous Waters" and "Sub Command" - now they lack sound effects - see my test results: http://appdb.winehq.org/objectManager.php?sClass=version&iId=9913 http://appdb.winehq.org/objectManager.php?sClass=version&iId=9914
These are the "fixme" messages printed for "Dangerous Waters":
fixme:dsound:IDirectSoundBufferImpl_SetFX (0xe96248,9,0x309d89c,0x34f39c): stub fixme:dsound:IDirectSoundBufferImpl_SetFX (0xe96248,0,(nil),(nil)): stub fixme:dsound:IDirectSoundBufferImpl_SetFX (0xe96248,0,(nil),(nil)): stub fixme:dsound:IDirectSoundBufferImpl_SetFX (0x1112ae8,0,(nil),(nil)): stub fixme:dsound:IDirectSoundBufferImpl_SetFX (0x1173b50,0,(nil),(nil)): stub ...
http://bugs.winehq.org/show_bug.cgi?id=10603
Pawel Stolowski pawel.stolowski@wp.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |FIXME
http://bugs.winehq.org/show_bug.cgi?id=10603
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Keywords|FIXME | Summary|IDirectSoundBufferImpl_SetFX|Sound effects don't work in |should be implemented |game Dangerous Waters
http://bugs.winehq.org/show_bug.cgi?id=10603
Steve Simenic stjepan.simenic@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Steve Simenic stjepan.simenic@gmail.com 2008-03-11 16:46:44 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #2 from Austin English austinenglish@gmail.com 2008-06-17 11:24:52 --- Is this still an issue in wine 1.0? Please attach terminal output.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #3 from Pawel Stolowski pawel.stolowski@wp.pl 2008-06-18 15:55:31 --- Created an attachment (id=14164) --> (http://bugs.winehq.org/attachment.cgi?id=14164) Dangerous Waters running with wine 1.0
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #4 from Pawel Stolowski pawel.stolowski@wp.pl 2008-06-18 15:56:46 --- (In reply to comment #2)
Is this still an issue in wine 1.0? Please attach terminal output.
Yes, this is still an issue in wine 1.0. Attachement sent with comment #3.
Pawel
--- Comment #5 from atfrase frase@cs.wisc.edu 2008-06-26 20:00:44 --- This also happens to me running Ventrilo v2.3.2b3 on wine 1.0, Ubuntu 8.04 Hardy 64bit, but it's not clear to me what sounds, if any, I'm missing because of it.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #6 from Pawel Stolowski pawel.stolowski@wp.pl 2008-08-26 13:22:09 --- (In reply to comment #5)
This also happens to me running Ventrilo v2.3.2b3 on wine 1.0, Ubuntu 8.04 Hardy 64bit, but it's not clear to me what sounds, if any, I'm missing because of it.
You won't hear sonar, cockpit controls clicks, torpedo launch sound effects etc.
BTW, this is still an issue in wine-1.1.3 (Ubuntu 8.04, 32bit).
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #7 from M.Kiesel winehq.org@continuity.cjb.net 2008-12-23 10:00:28 --- Fixing this properly is most likely a bigger task. Echo/Flanger/etc. effects (see http://msdn.microsoft.com/en-us/library/bb219776(VS.85).aspx for a list of effects) probably need to get implemented on to of the sound libs Wine uses. It might also be possible to use OpenAL as Wine sound backend; efforts have already been made in that direction but they are far from finished.
BTW this also affects other games such as Prince of Persia SoT. There, indoor echo effects are completely missing.
http://bugs.winehq.org/show_bug.cgi?id=10603
Ildar Sagdejev specious@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |specious@gmail.com
--- Comment #8 from Ildar Sagdejev specious@gmail.com 2009-01-20 22:41:46 --- I also get this when I quit GTA: San Andreas on wine-1.1.13.
fixme:dsound:IDirectSoundBufferImpl_SetFX (0x50c79a8,0,(nil),(nil)): stub
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #9 from Austin English austinenglish@gmail.com 2009-07-21 13:48:01 --- Is this still an issue in current (1.1.26 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #10 from Pawel Stolowski pawel.stolowski@wp.pl 2009-07-26 11:43:22 --- (In reply to comment #9)
Is this still an issue in current (1.1.26 or newer) wine?
Yes, this is still an issue with wine 1.1.26. See attachements for console output.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #11 from Pawel Stolowski pawel.stolowski@wp.pl 2009-07-26 11:45:38 --- Created an attachment (id=22628) --> (http://bugs.winehq.org/attachment.cgi?id=22628) Console output when running Dangerous Waters with wine-1.1.26
http://bugs.winehq.org/show_bug.cgi?id=10603
Michael Wood mwoodj@knology.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mwoodj@knology.net
--- Comment #12 from Michael Wood mwoodj@knology.net 2009-09-07 09:26:13 --- Another game affected by this is Silent Hill 3: http://appdb.winehq.org/objectManager.php?sClass=version&iId=7767
http://bugs.winehq.org/show_bug.cgi?id=10603
plan9 mixalis.y@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mixalis.y@gmail.com
--- Comment #13 from plan9 mixalis.y@gmail.com 2010-01-07 12:10:07 --- on game "plants vs zombies" all sound (fx & music) stops after a few minutes of play. The console output reads
fixme:dsound:IDirectSoundBufferImpl_SetFX (0x32ffd98,0,(nil),(nil)): stub fixme:dsound:IDirectSoundBufferImpl_SetFX (0x6fa5b50,0,(nil),(nil)): stub fixme:dsound:IDirectSoundBufferImpl_SetFX (0x761fc08,0,(nil),(nil)): stub
platform debian lenny stable / wine-1.0.1-174-gc4039bd
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #14 from Michael Wood mwoodj@knology.net 2010-01-07 12:54:46 --- Considering the number of applications now on the affected list would it be beneficial to change the name of this report so that it reflects the problem? I would think this bug would be better named if the title was descriptive of the fact that the missing (stubbed) IDirectSoundBufferImpl_SetFX() method is the issue.
http://bugs.winehq.org/show_bug.cgi?id=10603
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sound effects don't work in |IDirectSoundBufferImpl_SetF |game Dangerous Waters |X needed for sound effects | |in several games
http://bugs.winehq.org/show_bug.cgi?id=10603
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #15 from GyB gyebro69@gmail.com 2010-07-19 12:50:20 --- I'd like to respond to the original bug reporter, who stated: the missing sounds in Sub Command and Dangerous Waters are due to the unimplemented functions in dsound.
He's completely wrong: the problem lies somewhere else in Wine. After running these games with a winedebug=+file traces it turned out Wine cannot open the corresponding sound (.wav) files. Here's a relevant line from the log:
warn:file:OpenFile (C:\Program Files\Sonalysts Combat Simulations\Dangerous Waters Demo\Audio\Sfx\sfx.agg+pinged.wav): return = HFILE_ERROR error= 2
All these games store their sound files in an Sfx.agg (compressed) file. Either Wine has problem with extracting them or simply Wine misses something in the pathnames directing to the files. Note the '+' (plus) sign in the pathname: 'sfx.agg+pinged.wav'. I don't know what '+' means under a native Windows environment (probably that it is a compressed file), but Wine surely misinterprets the path, thus cannot find the files. A 'dirty' workaround is to extract all the .wavs from the archives and place them into a directory named 'Sfx.agg+'. Sounds are now working in these games in Wine. For extracting, you need to use the utility agg.exe, available from the modding section of Dangerous Waters: http://www.commanders-academy.com/wiki/index.php?title=Modding_Tools (After extraction a mass-rename is needed to get rid of the first 15 characters of the extracted filenames.)
Sorry for this long-drawn-out explanation, I just wanted to point out, the originally reported issue doesn't belong to the unimplemented function in dsound.
Please, try these games using the aforementioned 'hack' (e.g. extracting the .wavs)
This was all tested with Wine-1.2.
P.s.: a big kudos to the guy on winehq's irc channel, who lead me to the right direction when asked him about the issue in these games, and suggested the solution.
This bugreport is surely valid though...for the other games reported in it, but not for the games: Sub Command, Dangerous Waters and Jane's 688(I) Hunter-Killer.
Regards
http://bugs.winehq.org/show_bug.cgi?id=10603
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
--- Comment #16 from Julian Rüger jr98@gmx.net 2010-12-03 21:25:32 CST --- Just got around "testing" a little GTA:SA today, and after a few minutes the game kept (repeatedly) losing all sound, like reported here before, with this fixme popping up. Not sure what the "real" reason is, but there should be no missing or strangely compressed wavs.
wine-1.3.8-153-g27d2b9b (fresh git) on x86_64 Ubuntu 10.04.
Will provide logs if anyone (dev) is interested. Anyway, confirming this bug is still present.
http://bugs.winehq.org/show_bug.cgi?id=10603
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
--- Comment #17 from Detlef Riekenberg wine.dev@web.de 2012-08-09 17:38:09 CDT --- SetFX(ptr, 0, (null), (null)) remove all effects and can be ignored, when no effect is active.
I have a game, that flood the console with such calls.
http://bugs.winehq.org/show_bug.cgi?id=10603
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=10603
dorklotus@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dorklotus@outlook.com
--- Comment #18 from dorklotus@outlook.com 2013-08-01 01:55:36 CDT --- I'm guessing that Silent Hill 3 is still being affected by this bug in Wine 1.6.
I get spammed by these messages.
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexSubImage2D @ surface.c / 2353 err:d3d:wined3d_debug_callback 0x1964b0: "GL_INVALID_ENUM in glTexSubImage2D(incompatible format = GL_FALSE, type = GL_FALSE)".
fixme:dinput:joy_polldev joystick cannot handle type 21 event (code 65535)
Which I think are completely unrelated to this bug, also both graphics and controller work perfectly, I'm guessing that the dinput one has something to do with force feedback.
And this.
fixme:dsound:IDirectSoundBufferImpl_SetFX (0xc7afbYY,1,0x33fa80,0x33fa6c): stub
"YY" varies between various numbers, the rest is always the same.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #19 from Henri Verbeet hverbeet@gmail.com 2013-08-01 04:56:56 CDT --- (In reply to comment #18)
I get spammed by these messages.
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexSubImage2D @ surface.c / 2353 err:d3d:wined3d_debug_callback 0x1964b0: "GL_INVALID_ENUM in glTexSubImage2D(incompatible format = GL_FALSE, type = GL_FALSE)".
It looks like missing s3tc or floating point texture support in your GL drivers, but I'd need more complete output to say for sure. (In particular, any "No GL internal format for format ..." messages from surface_allocate_surface().)
And yeah, that's unrelated to this bug.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #20 from dorklotus@outlook.com 2013-08-02 07:18:53 CDT --- (In reply to comment #19)
It looks like missing s3tc or floating point texture support in your GL drivers, but I'd need more complete output to say for sure. (In particular, any "No GL internal format for format ..." messages from surface_allocate_surface().)
And yeah, that's unrelated to this bug.
Those are the only messages I'm getting, I wasn't expecting to find anything like that when I checked the logs, the game's graphics are rendered perfectly. However, there's one thing that comes to my mind, pre-rendered cutscenes which are just video files encoded in god knows which format are not shown, could this messages be somewhat related to that ? If they are I didn't think that could be related to drivers, as far as I know, everyone who has tested this game on wine has had the same issue.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #21 from Henri Verbeet hverbeet@gmail.com 2013-08-02 15:07:37 CDT --- (In reply to comment #20)
However, there's one thing that comes to my mind, pre-rendered cutscenes which are just video files encoded in god knows which format are not shown, could this messages be somewhat related to that ?
Possibly, it's hard to say without more debugging.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #22 from dorklotus@outlook.com 2013-08-03 12:20:55 CDT --- Created attachment 45496 --> http://bugs.winehq.org/attachment.cgi?id=45496 Silent Hill 3 debug log
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #23 from dorklotus@outlook.com 2013-08-03 12:28:05 CDT --- I'm guessing this is the culprit of cutscenes not showing up.
(process:12822): GThread-WARNING **: GThread system no longer supports custom thread implementations. fixme:gstreamer:GST_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:gstreamer:unknown_type Could not find a filter for caps: video/mpeg, systemstream=(boolean)true, mpegversion=(int)1 fixme:gstreamer:watch_bus decodebin20: Your GStreamer installation is missing a plug-in. fixme:gstreamer:watch_bus decodebin20: A MPEG-1 System Stream demuxer plugin is required to play this stream, but not installed. fixme:gstreamer:GST_Connect GStreamer could not find any streams err:gstreamer:push_data_init Obtaining buffer returned: -2 fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:quartz:MPEGSplitter_query_accept MPEG-1 system streams not yet supported.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #24 from Henri Verbeet hverbeet@gmail.com 2013-08-04 03:27:38 CDT --- (In reply to comment #22)
fixme:d3d_surface:surface_allocate_surface No GL internal format for format WINED3DFMT_DXT5.
That's missing S3TC support. If that's on Ubuntu as the log suggests, try installing libtxc-dxtn-s2tc0:i386.
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #25 from Agustín Atahides dorklotus@outlook.com 2013-08-04 04:04:47 CDT --- (In reply to comment #24)
(In reply to comment #22)
fixme:d3d_surface:surface_allocate_surface No GL internal format for format WINED3DFMT_DXT5.
That's missing S3TC support. If that's on Ubuntu as the log suggests, try installing libtxc-dxtn-s2tc0:i386.
Thanks for the suggestion, but nope, I'm on fedora, I installed both libtxc_dxtn.i686 & libtxc_dxtn.x86_64 I hope that's the same, if I was missing S3TC support I guess now I'm not, still, graphics in this game were rendered perfectly or at least I thought they were :P
http://bugs.winehq.org/show_bug.cgi?id=10603
Agustín Atahides dorklotus@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45496|0 |1 is obsolete| |
--- Comment #26 from Agustín Atahides dorklotus@outlook.com 2013-08-04 04:25:48 CDT --- Created attachment 45500 --> http://bugs.winehq.org/attachment.cgi?id=45500 Silent Hill 3 debug log 2
Well I can confirm that all "fixme:d3d_surface" messages are gone, I guess I was missing S3TC support after all, thanks, one thing of the list.
This time I left the game running for a while more, and I closed it by the main menu button rather than pressing alt + f4, which causes a crash.
http://bugs.winehq.org/show_bug.cgi?id=10603
Semenov Alexey sov.info@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sov.info@mail.ru
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #27 from Semenov Alexey sov.info@mail.ru 2013-10-12 05:56:21 CDT --- This problem still present in Wine 1.7.4, x86 (compiled by myself). SFX (footsteps, growling of monsters, etc... :) still absent (in Silent Hill 3).
http://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #28 from Agustín Atahides dorklotus@outlook.com --- Still persists on Wine 1.7.12.
https://bugs.winehq.org/show_bug.cgi?id=10603
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86
--- Comment #29 from Austin English austinenglish@gmail.com --- Still a stub in 1.7.36.
https://bugs.winehq.org/show_bug.cgi?id=10603
derpington4321@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |derpington4321@gmail.com
--- Comment #30 from derpington4321@gmail.com --- Still a bug in 1.8-rc4. At least, if no sound effects in Silent Hill 3 indicates this bug still exists.
Come on, whoever's in charge here, it's been almost 10 years!
https://bugs.winehq.org/show_bug.cgi?id=10603
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/dsdmo-new-dll
https://bugs.winehq.org/show_bug.cgi?id=10603
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #31 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.16?
dsdmo is implemented now.
https://bugs.winehq.org/show_bug.cgi?id=10603
Semenov Alexey sov.info@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|sov.info@mail.ru |
https://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #32 from Michael Wood mwoodj@knology.net --- (In reply to joaopa from comment #31)
Does the bug still occur with wine-5.16?
dsdmo is implemented now.
I tested Silent Hill 3 with wine 5.16 today and both music and sound effects are working.
https://bugs.winehq.org/show_bug.cgi?id=10603
--- Comment #33 from joaopa jeremielapuree@yahoo.fr --- Reported fixed. Can an administrator close this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=10603
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #34 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Reported as Fixed.
https://bugs.winehq.org/show_bug.cgi?id=10603
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #35 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.
https://bugs.winehq.org/show_bug.cgi?id=10603
Ildar Sagdejev specious@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|specious@gmail.com |