[Bug 27819] New: Die by the Sword: strange audio distortions
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(a)winehq.org ReportedBy: gyebro69(a)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) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 bojan(a)antonovic.ch <bojan(a)antonovic.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bojan(a)antonovic.ch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #1 from GyB <gyebro69(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 DSIAID05FRhkpBPM <M8R-45axwd(a)mailinator.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |M8R-45axwd(a)mailinator.com --- Comment #2 from DSIAID05FRhkpBPM <M8R-45axwd(a)mailinator.com> 2012-05-24 15:46:16 CDT --- In Wine 1.5.4 it is still an issue. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #3 from DSIAID05FRhkpBPM <M8R-45axwd(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://archive.org/download | |/DiebytheSword_1020/dbtsdem | |o.zip --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2013-04-03 14:15:05 CDT --- Please attach a log as specified at http://wiki.winehq.org/Sound -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #5 from DSIAID05FRhkpBPM <M8R-45axwd(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #6 from DSIAID05FRhkpBPM <M8R-45axwd(a)mailinator.com> 2013-06-11 12:00:00 CDT --- Not fixed in Wine 1.6-rc1. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #7 from WineBuG <winebugs140(a)gmail.com> 2013-10-21 11:25:45 CDT --- Not fixed in Wine 1.7.4. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 WineBuG <winebugs140(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com --- Comment #8 from WineBuG <winebugs140(a)gmail.com> 2013-11-29 11:15:34 CST --- Not fixed in Wine 1.7.7 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 WineBuG <winebugs140(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #9 from WineBuG <winebugs140(a)gmail.com> --- Not fixed in Wine 1.7.17 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #10 from WineBuG <winebugs140(a)gmail.com> --- Not fixed in Wine 1.7.17 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 Marton Balint <cus(a)fazekas.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cus(a)fazekas.hu --- Comment #11 from Marton Balint <cus(a)fazekas.hu> --- Please try wine 1.7.34, this issue may be a duplicate of bug 35971. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #12 from Béla Gyebrószki <gyebro69(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #13 from Andrew Eikum <aeikum(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #14 from Béla Gyebrószki <gyebro69(a)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) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #15 from WineBuG <winebugs140(a)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? :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #16 from winetest(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #17 from joaopa <jeremielapuree(a)yahoo.fr> --- Still a bug in current wine? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 --- Comment #18 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-5.3? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 Matheus <matheus.venturini(a)acad.ufsm.br> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matheus.venturini(a)acad.ufsm | |.br --- Comment #19 from Matheus <matheus.venturini(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27819 temp82(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82(a)luukku.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla