https://bugs.winehq.org/show_bug.cgi?id=45582
Bug ID: 45582 Summary: newer winepulse patch cause sound crackling and skipping in Diabio3 after a period of time. Product: Wine-staging Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: l12436@yahoo.com.tw CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
after winepulse implementation update. I notice the sound of Diabio3 is sound crackling, and continue a period of time
I am using wine-staging 3.13.1 pulseaudio 12 with echo cancel.
I also tested without echo cancel, also happened.
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #1 from TOM l12436@yahoo.com.tw --- Created attachment 62004 --> https://bugs.winehq.org/attachment.cgi?id=62004 This is the Sample that I am currently heard
This is the sample from StarCraft2 This is also occur in Skyrim and Diabio and other game.
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #2 from TOM l12436@yahoo.com.tw --- Created attachment 62005 --> https://bugs.winehq.org/attachment.cgi?id=62005 This is the config That I use for my PulseAudio.
I put it in $HOME/.config/pulse/
https://bugs.winehq.org/show_bug.cgi?id=45582
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com --- Can you try reverting back to the default PulseAudio configuration and see if that helps? If so, you can try turning your options back on to see what triggers the failure.
In particular, I'm suspicious of these lines in daemon.conf:
default-fragments = 2 default-fragment-size-msec = 125
Does removing them help?
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #4 from TOM l12436@yahoo.com.tw --- remove those two line just better, still has noise.
those settings is working on all of other linux application. only the newer winepulse has such error.
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #5 from TOM l12436@yahoo.com.tw --- It seems that the newer winepulse is not compatible with echo-cancel module and those two settings.
default-fragments = 2 default-fragment-size-msec = 125
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com --- (In reply to TOM from comment #4)
those settings is working on all of other linux application. only the newer winepulse has such error.
Yeah, since we don't actually control how the application generates audio or uses timing information, we have stricter requirements of how pulseaudio can behave than typical applications do.
I also noticed you turned timer scheduling off:
load-module module-udev-detect ignore_dB=1 tsched=0
What reason do you have for making all these timing tweaks? Do they actually fix a problem you were having? If it's just for Wine's benefit, try reverting back to the default configuration. The patch in wine-staging is intended to remove the need for these tweaks when using Wine.
I tried enabling the echo-cancel module on my setup and I didn't notice any problems in a couple of test applications. However, I don't have easy access to Diablo 3. Can you attach a log with the channels from https://wiki.winehq.org/Sound showing the problem?
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #7 from TOM l12436@yahoo.com.tw --- you can try that load manually load alsa-sink, alsa-source, and use echo-cancel as default output. just like my config. the noise may not be heard if you did not make your sound louder just like my configure
My configure is primarily for separate speaker and headphone, I could play different sound in each output. Loading alsa-sink and alsa-source manually could separate sound volume control from alsa and pulse, rather than moving Synchronize that why I need to load alsa-sink and alsa-source manually. As far as I tested now. If I load alsa-card module, problem seems gone. I did not notice that noise for now. If I load alsa-sink and alsa-source manually, it will generate this kind of issue.
ignore_dB=1 this is add for testing winepulse. I did not add this attribute for a long time tsched=0 this is for fix some common crackling and skipping noise that may happened in the native program. but I do not know this will fix problem or not, this is common solution in Internet
default-fragments = 2 default-fragment-size-msec = 125
this is also add for testing fixing crackling sound.
My currently solution is to load alsa-card, let pulseaudio control over alsa.
https://bugs.winehq.org/show_bug.cgi?id=45582
anton.sudak@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anton.sudak@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #8 from TOM l12436@yahoo.com.tw --- according to these days test. I still need tsched=0 after the sink and alsacard to solve some weird noise in discord, but This will cause winepulse to making laggy sound.
https://bugs.winehq.org/show_bug.cgi?id=45582
Markus Linnala markus.linnala+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markus.linnala+winehq@gmail | |.com
https://bugs.winehq.org/show_bug.cgi?id=45582
Carmen account@carmenbianca.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |account@carmenbianca.eu
--- Comment #9 from Carmen account@carmenbianca.eu --- I experience this bug, too. Using Wine Staging 3.13 or higher, the sound will sometimes begin to crackle/skip in any Wine application. The easiest place to test this is the "try sound" button in winecfg. ``pulseaudio -k`` curiously does not remove the crackling, though a complete computer reset might.
I have not changed any Pulse settings. I have an extremely simple 2.1 setup. I am running openSUSE Tumbleweed. I will attach my daemon.conf, though.
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #10 from Carmen account@carmenbianca.eu --- Created attachment 62172 --> https://bugs.winehq.org/attachment.cgi?id=62172 openSUSE Tumbleweed /etc/pulse/daemon.conf
https://bugs.winehq.org/show_bug.cgi?id=45582
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #11 from Andrew Eikum aeikum@codeweavers.com --- Carmen, what audio hardware are you using? E.g. the output from "pacmd list-sinks | grep card_name".
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #12 from Carmen account@carmenbianca.eu --- Hi Andrew,
The output from that command is:
alsa.card_name = "HDA ATI SB" alsa.long_card_name = "HDA ATI SB at 0xfeb00000 irq 16"
Perhaps more useful to you is the output of ``inxi -s --audio --machine --system``, which I will add as attachment. I do not know why it says "ALSA" as sound server, because that is verifiably false. So ignore that bit.
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #13 from Carmen account@carmenbianca.eu --- Created attachment 62180 --> https://bugs.winehq.org/attachment.cgi?id=62180 Output of ``inxi -s --audio --machine --system``
https://bugs.winehq.org/show_bug.cgi?id=45582
--- Comment #14 from Carmen account@carmenbianca.eu --- Ah, apologies for the additional comment. I am using the audio jacks on my motherboard for sound, not any kind of HDMI magic through my video card.
https://bugs.winehq.org/show_bug.cgi?id=45582
Jordan Galby gravemind2a+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gravemind2a+wine@gmail.com