Bugzilla – Bug 50510
Without tsched=0 for module-udev-detect, sound is distorted
Last modified: 2015-10-15 16:08:15 UTC
I've had sound distortions at least with many versions of VLC player for a long time. Although mostly VLC was affected, i think other programs randomly had the same issues. The sound is distorted and has an echo component. Fiddling at the pulseaudio volume control for some seconds fixes this problem until the player opens a new stream.
Adding "tsched=0" to the options for the module-udev-detect module prevents the issue here.
Created attachment 62297 [details]
Created attachment 62298 [details]
I'm having this same issue, without "tsched=0" in "load-module module-udev-detect", Skype gives me very choppy/horrible audio quality.
When I have "load-module module-udev-detect tsched=0" in /etc/pulse/default.pa, audio is crystal clear.
I have experienced this issue only in Skype. VLC and mplayer are giving me great audio quality (all of them are using pulseaudio driver).
My system is archlinux x86_64, pulseaudio 4.0.
Ok so I went to #pulseaudio and asked about this issue there.
heftig has replied to me and gave me some helpful suggestions:
14:46:01 heftig | diegoviola: try starting skype with PULSE_LATENCY_MSEC=30
14:46:35 heftig | (and reenable tsched)
So I did that, removed tsched from load-module module-udev-detect in /etc/pulse/default.pa, restarted pulseaudio, and started skype with PULSE_LATENCY_MSEC=30.
Now sound is good again, and I don't notice any other problems with audio anymore.
Anyway, this seems to be a Skype problem, doesn't it?
I don't get any problems with audio with other applications, VLC, mplayer, amarok, etc.
Anyway, thanks to heftig and all the people who have helped.
It's only skype problem
I have same problem with various random applications. But have strange thing...
If I open pavucontrol window the sound play perfectly. When closed pavucontrol window sound distorted again. WHAT?!
I try with tsched=0 and this prevents the issue.
just btw: I never have used or even installed skype. here it was with all kinds of programs. vlc player was affected all the time. it is/was definitely _not_ a skype-only issue.
On new haswell i3 laptop and kubuntu 14.04.3, viber is literally unusable (sound distortions doesn't go away). Option tsched=0 fixes distortions. I have had distorted sound in skype and viber on different laptop/desktops for years, so I think there are bugs in pulseaudio's glitch free audio implementation.
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC892 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
alc892 has 64 steps with 1 dB per step
it is strange that pulseaudio hardware volume at -1.2dB
ulseaudio] alsa-sink.c: Got hardware volume: 0: 96% 1: 96%
D: [pulseaudio] alsa-sink.c: in dB: 0: -1.20 dB 1: -1.20 dB