Bug#859758: pulseaudio: Occasional audio stutter

Felipe Sateler fsateler at debian.org
Fri Apr 7 20:27:24 UTC 2017


Control: tags -1 moreinfo

On Thu, Apr 6, 2017 at 11:47 PM, Vladimir K <pzs-fs at yandex.ru> wrote:
> Package: pulseaudio
> Version: 10.0-1
> Severity: normal
>
> Dear Maintainer, sound is interrupted occasionally when pulseaudio is installed.
> Every 1-10 minutes there is an audible glitch. Playback source does not matter,
> it happens with mpv, firefox, wine and other applications.
>
> The problem does not correlate with CPU usage or anything visibly happening in the
> system. It happens both with and without rtkit installed.
>
> Also I should point out that this bug never ever occurred without pulseaudio,
> so hardware or ALSA issue is highly unlikely.
>
> Output of 'pulseaudio -vvvv --log-time=1' at the time of stutter:
>
> (1372.884| 584.857) I: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Scheduling delay of 153.11 ms > 15.01 ms, you might want to investigate this to improve latency...
> (1372.884|   0.000) I: [alsa-sink-92HD93BXX Analog] ratelimit.c: 109 events suppressed
> (1372.884|   0.000) I: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Underrun!
> (1372.884|   0.000) I: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Increasing minimal latency to 1.00 ms
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Latency set to 25.01ms
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: hwbuf_unused=61124
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: setting avail_min=15723
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Latency set to 25.01ms
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: hwbuf_unused=61124
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: setting avail_min=15723
> (1372.884|   0.000) D: [alsa-sink-92HD93BXX Analog] protocol-native.c: Implicit underrun of 'AudioStream'
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] protocol-native.c: Requesting rewind due to end of underrun.
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Requested to rewind 15540 bytes.
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Limited to 4060 bytes.
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: before: 1015
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: after: 1015
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] alsa-sink.c: Rewound 4060 bytes.
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] sink.c: Processing rewind...
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] sink.c: latency = 2322
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] sink-input.c: Have to rewind 4060 bytes on render memblockq.
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] sink-input.c: Have to rewind 4060 bytes on render memblockq.
> (1372.885|   0.000) D: [alsa-sink-92HD93BXX Analog] source.c: Processing rewind...
>

This looks like a kernel problem. There is a related redhat bug log[1]
and a kernel one[2], that suggests disabling the wireless interface
might avoid the problem. Could you try that?


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1262957
[2] https://bugzilla.kernel.org/show_bug.cgi?id=108461

-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list