http://bugs.winehq.org/show_bug.cgi?id=27819
Summary: Die by the Sword: strange audio distortions Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com
Audio is not playing correctly in Die by the Sword (GoG.com version here). Some scratching, stuttering sound is coming from the speakers during audio/music playback. In the tutorial the voice-over of the narrator is also distorted by the same artefacts. Player taunts and NPC sounds are OK, though.
The same problem with Wine-1.0.1, too. I can't reproduce the problem in the demo.
None of the followings helped: - Alsa with 'emulation' - winetricks dsoundbug9612 - changing 'defaults.pcm.dmix.rate' to '44100' in /usr/share/alsa/alsa.conf
The resampler patchset (bug #14717) reduced the intensity of the sound artefacts considerably but they are still audible.
Terminal output is basically the same what I attached in bug #27814. The only relevant lines are: fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x15b610,0x152668): stub
Fedora 15 Alsa 1.0.24 nVidia Corporation MCP61 High Definition Audio (rev a2)
http://bugs.winehq.org/show_bug.cgi?id=27819
bojan@antonovic.ch bojan@antonovic.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bojan@antonovic.ch
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #1 from GyB gyebro69@gmail.com 2012-02-17 23:26:06 CST --- Still present in Wine-1.4-rc4.
Fedora 16 Alsa 1.0.25 PA is not running
http://bugs.winehq.org/show_bug.cgi?id=27819
DSIAID05FRhkpBPM M8R-45axwd@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |M8R-45axwd@mailinator.com
--- Comment #2 from DSIAID05FRhkpBPM M8R-45axwd@mailinator.com 2012-05-24 15:46:16 CDT --- In Wine 1.5.4 it is still an issue.
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #3 from DSIAID05FRhkpBPM M8R-45axwd@mailinator.com 2013-04-03 12:42:27 CDT --- Still not fixed in Wine 1.5.27.
Here you can find a playable demo and check for yourself: http://archive.org/download/DiebytheSword_1020/dbtsdemo.zip
http://bugs.winehq.org/show_bug.cgi?id=27819
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://archive.org/download | |/DiebytheSword_1020/dbtsdem | |o.zip
--- Comment #4 from Austin English austinenglish@gmail.com 2013-04-03 14:15:05 CDT --- Please attach a log as specified at http://wiki.winehq.org/Sound
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #5 from DSIAID05FRhkpBPM M8R-45axwd@mailinator.com 2013-04-03 15:50:08 CDT --- Created attachment 44081 --> http://bugs.winehq.org/attachment.cgi?id=44081 Wine 1.5.27, OS X 10.7, DBTS Sound Log
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #6 from DSIAID05FRhkpBPM M8R-45axwd@mailinator.com 2013-06-11 12:00:00 CDT --- Not fixed in Wine 1.6-rc1.
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #7 from WineBuG winebugs140@gmail.com 2013-10-21 11:25:45 CDT --- Not fixed in Wine 1.7.4.
http://bugs.winehq.org/show_bug.cgi?id=27819
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #8 from WineBuG winebugs140@gmail.com 2013-11-29 11:15:34 CST --- Not fixed in Wine 1.7.7
http://bugs.winehq.org/show_bug.cgi?id=27819
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #9 from WineBuG winebugs140@gmail.com --- Not fixed in Wine 1.7.17
http://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #10 from WineBuG winebugs140@gmail.com --- Not fixed in Wine 1.7.17
https://bugs.winehq.org/show_bug.cgi?id=27819
Marton Balint cus@fazekas.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cus@fazekas.hu
--- Comment #11 from Marton Balint cus@fazekas.hu --- Please try wine 1.7.34, this issue may be a duplicate of bug 35971.
https://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- I still have the audio issue in the game tested with wine-1.7.34-110-gfd925d0.
Fedora 21 Alsa 1.0.28
https://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #13 from Andrew Eikum aeikum@codeweavers.com --- Every 64 ms, the game queries the current write position and fills the dsound buffer between the previous write position and the current write position. This would work fine, except the write position in Wine is only 10 ms ahead of the play position. So we end up playing about 10 ms of correct audio, and then about 54 ms of audio left in the buffer previously, so you hear the audio distortion.
Don't have a suggested fix at the moment. Probably needs tests for how Windows's write position behaves.
https://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #14 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.8-rc1, tested with DBTS from GOG.com. With native dsound.dll audio is skipping badly in the game.
Fedora 23 Alsa 1.0.29 (pulseaudio is not running)
https://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #15 from WineBuG winebugs140@gmail.com --- (In reply to Andrew Eikum from comment #13) ...
Don't have a suggested fix at the moment. Probably needs tests for how Windows's write position behaves.
BTW, have you performed any of these tests already? :)
https://bugs.winehq.org/show_bug.cgi?id=27819
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #16 from winetest@luukku.com ---
Every 64 ms, the game queries the current write position and fills the dsound buffer between the previous write position and the current write position. This would work fine, except the write position in Wine is only 10 ms ahead of the play position. So we end up playing about 10 ms of correct audio, and then about 54 ms of audio left in the buffer previously, so you hear the audio distortion.
Don't have a suggested fix at the moment. Probably needs tests for how Windows's write position behaves.
Wasnt there some patch somewhere quite recently that on certain condition flushes all buffers without playing them?
The game draws the game menu selections so slowly that its really hard to get into a tutorial. I don't know what trickers the menu. Mouse movement? I quess this is regression somekind.
https://bugs.winehq.org/show_bug.cgi?id=27819
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Still a bug in current wine?
https://bugs.winehq.org/show_bug.cgi?id=27819
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.3?
https://bugs.winehq.org/show_bug.cgi?id=27819
Matheus matheus.venturini@acad.ufsm.br changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matheus.venturini@acad.ufsm | |.br
--- Comment #19 from Matheus matheus.venturini@acad.ufsm.br --- I tested the GOG version of game (with the Limb from Limb expansion) with 7.22 on two different machines running Linux, I had no issues with the audio.
https://bugs.winehq.org/show_bug.cgi?id=27819
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com