http://bugs.winehq.org/show_bug.cgi?id=21209
Summary: Ankh: speech output stops before end of sentence Product: Wine Version: 0.9.44. Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net CC: m.b.lankhorst@gmail.com
commit 9c469e1a9487d81186642282de89048fc51c0864 Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Sun Aug 19 23:52:19 2007 +0200 dsound: Handle failing of IDsDriver_CreateSoundBuffer better. prior to wine-0.9.44 causes Ankh's voice output to stop way before the end of each sentence. Although it's a very old commit and the (structure of the) code in dsound looks different now, behaviour has never changed since. The bug is audible right from the intro movie.
Simultaneously, it causes the movie to stop intermittently (for ~1/2s, varying) at the start of each audio sentence. Before that commit, movement was quite fluid. Perhaps the 1/2 second (sometimes more, sometimes randomly less) that is cut from the end of the audio output corresponds with the motion break that occurs before audio is started, as if audio output was hold back for a small and random amount of time, then chopped?
Winecfg setting OSS HW, 22050Hz at 8bit; using Ubuntu Intrepid. HW or emulation makes no difference. Same results with ALSA (in versions of Wine newer than 0.9.44 where ALSA does not seem to initialize with Intrepid). No PulseAudio.
http://bugs.winehq.org/show_bug.cgi?id=21209
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2009-12-31 16:07:39 --- Created an attachment (id=25476) --> (http://bugs.winehq.org/attachment.cgi?id=25476) +dsound,+wave,warn+heap log from Ankh prior to offending commit
The attached +dsound,+wave log from wine-0.9.43+git shows that both WARN/ERR are produced, consecutively in dsound and waveoss, exactly once (at the start of the programm; the anim plays much later). Somehow I don't believe in the heap corruption hypothesis from bug #11793 rather than in an alternate code path that is now taken but does not work that well. Very interestingly, wine-1.1.31 produces no such WARN in the log, although both primary.c and wineoss/dsrender.c still contain the warning. Yet the bug remains in present versions of wine (blocked by bug #21185 since wine-1.1.35). Does this support the alternative code path or the heap corruption hypothesis? Hmm...
BTW, the music that plays at the beginning of the intro concurrently to the voices performs without pauses.
I've tested now with and without WINEDEBUG=warn+heap in wine-1.1.31 plus 0.9.43+git upto as well as before this commit; nothing changed w.r.t. the bug symptoms (3 versions, each test repeated twice for a total of 6 runs). Sometimes heap arena errors were mentioned, sometimes not.
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #2 from Jörg Höhle hoehle@users.sourceforge.net 2009-12-31 16:09:47 --- Created an attachment (id=25477) --> (http://bugs.winehq.org/attachment.cgi?id=25477) +dsound,+wave,warn+heap log from Ankh at offending commit
Note the tenfold increase in uncompressed log size now coming from mixing nothing during the long initialization phase.
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2010-01-18 10:21:53 --- Curiously, this is not an issue on MacOSX 10.5.8 with wine-1.1.36. The pauses are so short that it's barely disturbing (like on Linux prior to wine-0.9.44). Yet the effect is still present on another machine with Ubuntu Linux. Perhaps the Mac's dual core avoids a dead-lock while the single core Linux machine waits for something? BTW, on Linux as well, in rare cases are the pauses very short (when wine+Ankh is started anew). So there's indeed some randomness to the issue.
http://bugs.winehq.org/show_bug.cgi?id=21209
maikwagner@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maikwagner@yahoo.com
--- Comment #4 from maikwagner@yahoo.com 2010-12-16 15:42:40 CST --- I am currently testing "Ankh" on Mandriva 2010.1 Spring Free with Wine 1.3.8. The intro works fine but the screen goes black in the main game. The sound output works fine though. I am on a single core Athon 2600 with a GeForce FX5500 (Nvidia) using the 173.x driver.
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #5 from Jörg Höhle hoehle@users.sourceforge.net 2010-12-17 02:48:28 CST --- The screen goes black is bug #21351, isn't it?
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #6 from Jörg Höhle hoehle@users.sourceforge.net 2011-04-09 12:59:51 CDT --- Still present with 1.3.17 on the single core Linux machine - HW or emulation makes no difference - nor does 44100 or 48000Hz in winecfg, - nor MaxShadowSize=0 or -1 (not bug #19370)
http://bugs.winehq.org/show_bug.cgi?id=21209
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |9c469e1a9487d81186642282de8 | |9048fc51c0864
http://bugs.winehq.org/show_bug.cgi?id=21209
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr 2011-10-16 16:19:40 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2012-02-04 17:35:38 CST --- Many progress were made or sound in wine (specially by you jorg ;) )
So can you test and report if the bug still occurs
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #9 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-13 16:17:59 CST --- Currently unusable in wine-1.4rc2 in Ubuntu Intrepid with Intel gfx. The menu screen flickers heavily as if constantly switching among 2 views, without menu text. I see a few err:d3d:context_bind_texture >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glBindTexture @ context.c / 1938
MacOS with nvidia gfx was not affected in comment #3, but not it aborts with a runtime exception requester.
http://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #10 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-22 13:10:44 CST --- The audio/video cut off/stall bug is still present in wine-1.4rc4, exactly as described in my initial comment. The stalling of movement is very noticeable.
I could test that by setting: Plugin=RenderSystem_Direct3D9 in bin/release/plugins.cfg, but that causes the black screen bug #21351 once the adventure starts. Bug #29975 is split from comment #9 about the inability to instead use: Plugin=RenderSystem_GL
FWIW, the bug was also present in wine-1.3.24.
https://bugs.winehq.org/show_bug.cgi?id=21209
--- Comment #11 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.16 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=21209
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #12 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #11)
This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.16 or newer) wine?
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=21209
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Austin English austinenglish@gmail.com --- Closing.