Bug 50510 - Without tsched=0 for module-udev-detect, sound is distorted
Without tsched=0 for module-udev-detect, sound is distorted
Status: NEW
Product: PulseAudio
Classification: Unclassified
Component: core
unspecified
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: pulseaudio-bugs
pulseaudio-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-30 11:48 UTC by Josef Hahn
Modified: 2015-01-22 21:24 UTC (History)
4 users (show)

See Also:


Attachments
pacmd list (33.57 KB, text/plain)
2012-05-30 11:52 UTC, Josef Hahn
Details
pulseaudio --log-level=4 (258.92 KB, text/plain)
2012-05-30 11:57 UTC, Josef Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Hahn 2012-05-30 11:48:36 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.
Comment 1 Josef Hahn 2012-05-30 11:52:54 UTC
Created attachment 62297 [details]
pacmd list
Comment 2 Josef Hahn 2012-05-30 11:57:36 UTC
Created attachment 62298 [details]
pulseaudio --log-level=4
Comment 3 Diego Viola 2013-06-07 18:34:09 UTC
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.

Thanks.
Comment 4 Diego Viola 2013-06-07 19:50:50 UTC
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.
Comment 5 Diego Viola 2013-06-07 19:57:40 UTC
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.
Comment 6 Josef Schlehofer 2013-10-19 16:08:22 UTC
It's only skype problem
Comment 7 Lara Maia 2015-01-22 17:55:00 UTC
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.
Comment 8 Josef Hahn 2015-01-22 21:24:36 UTC
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.