https://bugs.winehq.org/show_bug.cgi?id=51555
Bug ID: 51555 Summary: Crackling Audio in World of Warcraft using 6.14-staging Product: Wine-staging Version: 6.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mewt.reaper@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Upon upgrading to 6.14-staging from 6.9-staging audio is World of Warcraft crackles continuously. This is a regression as downgrading back to 6.9-staging fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Is this bug present with upstream (non-staging) wine?
https://bugs.winehq.org/show_bug.cgi?id=51555
Sveinar Søpler cybermax@dexter.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cybermax@dexter.no
--- Comment #2 from Sveinar Søpler cybermax@dexter.no --- (In reply to mewt.reaper from comment #0)
Upon upgrading to 6.14-staging from 6.9-staging audio is World of Warcraft crackles continuously. This is a regression as downgrading back to 6.9-staging fixes the issue.
I was not able to recreate this. Made a new prefix with upstream wine-6.14, no crackling. Switch to WineHQ provided wine-staging-6.14 (Ubuntu20.04), no crackling.
Any particular place this happens? Did not test this other than running around briefly in Stormwind, but the report was "Crackles continously", so that would indicate "all the time"?
Pulsaudio 1:13.99.1-1ubuntu3.11 Custom kernel 5.13.8
8/6 14:47:11.320 - =========== MISC =========== 8/6 14:47:11.320 - Sound Channels [64] 8/6 14:47:11.320 - Sound Cache [128MB] 8/6 14:47:11.320 - Mix Mode 2 [0] 8/6 14:47:11.320 - DSP Buffer Size [AUTO] 8/6 14:47:11.320 - Armor Foley SFX (Self) [1] 8/6 14:47:11.320 - Armor Foley SFX (Others) [1] 8/6 14:47:11.320 => End of User Settings Report
From /World of Warcraft/_retail_/Logs/Sound.log
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #3 from mewt.reaper@gmail.com --- (In reply to Zebediah Figura from comment #1)
Is this bug present with upstream (non-staging) wine?
Yes, installed wine-6.14-1 from the arch multilib repo and the faint crackling sound is there.
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #4 from mewt.reaper@gmail.com --- (In reply to Sveinar Søpler from comment #2)
(In reply to mewt.reaper from comment #0)
Upon upgrading to 6.14-staging from 6.9-staging audio is World of Warcraft crackles continuously. This is a regression as downgrading back to 6.9-staging fixes the issue.
I was not able to recreate this. Made a new prefix with upstream wine-6.14, no crackling. Switch to WineHQ provided wine-staging-6.14 (Ubuntu20.04), no crackling.
Any particular place this happens? Did not test this other than running around briefly in Stormwind, but the report was "Crackles continously", so that would indicate "all the time"?
Pulsaudio 1:13.99.1-1ubuntu3.11 Custom kernel 5.13.8
8/6 14:47:11.320 - =========== MISC =========== 8/6 14:47:11.320 - Sound Channels [64] 8/6 14:47:11.320 - Sound Cache [128MB] 8/6 14:47:11.320 - Mix Mode 2 [0] 8/6 14:47:11.320 - DSP Buffer Size [AUTO] 8/6 14:47:11.320 - Armor Foley SFX (Self) [1] 8/6 14:47:11.320 - Armor Foley SFX (Others) [1] 8/6 14:47:11.320 => End of User Settings Report
From /World of Warcraft/_retail_/Logs/Sound.log
Tested in Korthia and other places and there is faint crackling as part of the background sounds of the zones.
Going into settings and changing the number of sound channels seems to force a reset of some kind and the crackling reduces for a while and then returns slowly.
Pulseaudio 15.0-1 Kernel 5.13.7-arch1-1
attached is Sound.log showing the changes in sound channel selections
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #5 from mewt.reaper@gmail.com --- Created attachment 70413 --> https://bugs.winehq.org/attachment.cgi?id=70413 Sound.log
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #6 from Sveinar Søpler cybermax@dexter.no --- (In reply to mewt.reaper from comment #4)
Tested in Korthia and other places and there is faint crackling as part of the background sounds of the zones.
Going into settings and changing the number of sound channels seems to force a reset of some kind and the crackling reduces for a while and then returns slowly.
Pulseaudio 15.0-1 Kernel 5.13.7-arch1-1
attached is Sound.log showing the changes in sound channel selections
Tested in Korthia doing dailies and some nameds and whatnot. Spent like 45 minutes total, of which was about 30 min with d3d12 (vkd3d-proton), and 15 or so with d3d11 (dxvk-1.9.1). Was not able to detect anything wrong with the sound.
This was using WineHQ wine-staging-6.14 for my distro.
Checked my pulseaudio settings (/etc/pulse/daemon.conf) and it is default settings from Ubuntu. (1.33.99-1)
I use my onboard (mainboard) soundcard (HDA Intel PCH). I do remember that i used to have a bit of trouble with crackling when i used USB headphones (USB soundcard), and it actually was one of the reasons for switching to the onboard sound... however, i cannot plainly say or explain why that would have anything to do with what you are experiencing with differences from 6.9 -> 6.14 tho.
It would have been a indicator of something with pulseaudio if it had been working with 6.8 and not newer i would guess (since some major changes to wine-6.9 made staging disable their pulseaudio patches for 6.9).
Sorry that i was not able to reproduce this on my end.
https://bugs.winehq.org/show_bug.cgi?id=51555
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine CC|leslie_alistair@hotmail.com | |, z.figura12@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=51555
zurohki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zurohki@gmail.com
--- Comment #7 from zurohki@gmail.com --- I think I have the same issue. There's just constant brief catches in the game's audio with newer Wine versions, regardless of what's happening in game. Even in the background music on the character select screen. It sounds like a buffer underrun.
I'm using pipewire-pulse and doing 5.1 channel audio through S/PDIF with DTS encoding.
I did a bisect last night and arrived at this:
ce151dd681fe5ee80daba96dce12e37d6846e152 is the first bad commit commit ce151dd681fe5ee80daba96dce12e37d6846e152 Author: Jacek Caban jacek@codeweavers.com Date: Wed May 26 16:19:00 2021 +0200
winepulse: Use NtAllocateVirtualMemory for local_buffer.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/winepulse.drv/pulse.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #8 from zurohki@gmail.com --- Created attachment 70458 --> https://bugs.winehq.org/attachment.cgi?id=70458 A clip of the audio stutter
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #9 from zurohki@gmail.com --- Additionally, the issue doesn't seem to occur when I use stereo audio. Surround sound's six channels might be hitting a limit that two channels doesn't?
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #10 from mewt.reaper@gmail.com --- Have revisited this situation (took a break from wow) and noticed that while crackling is still heard continuously (even under wine 6.22), even in the character selection screen, if pulseaudio is killed with pulseaudio -k from within a terminal, it will autorespawn, audio will continue to play without crackling.
I have tried to play around with the fragments and fragment size configuration options for pulseaudio to no avail at this point.
https://bugs.winehq.org/show_bug.cgi?id=51555
--- Comment #11 from zurohki@gmail.com --- I could reproduce this on Wine-staging 6.19, but can't on Wine-staging 7.0.
Possibly related to https://bugs.winehq.org/show_bug.cgi?id=52225 and fixed by https://source.winehq.org/git/wine.git/commit/033cd6013ea9852244b8d58360554c...