[pulseaudio-tickets] [Bug 84585] Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 23 01:08:01 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84585
--- Comment #90 from Raymond <superquad.vortex2 at gmail.com> ---
623| 0.237) D: [alsa-sink] alsa-sink.c: Wakeup from ALSA!
( 9.623| 0.000) I: [alsa-sink] alsa-sink.c: Underrun!
( 9.623| 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
30.00 ms
( 9.879| 0.256) D: [alsa-sink] alsa-sink.c: Wakeup from ALSA!
( 9.880| 0.000) I: [alsa-sink] alsa-sink.c: Underrun!
how do pulseaudio revover these underruns?
seem appl_ptr is really behind hwptr and need snd_pcm_dump to verify
http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/alsa-sink.c
there was PA_DEBUG_TRAP
( 9.880| 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
40.00 ms
( 10.136| 0.256) D: [alsa-sink] alsa-sink.c: Wakeup from ALSA!
( 10.137| 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
50.00 ms
( 10.393| 0.256) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
60.00 ms
( 10.650| 0.256) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
70.00 ms
( 10.907| 0.256) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
80.00 ms
( 11.164| 0.256) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
90.00 ms
( 11.421| 0.256) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
94.99 ms
seem no longer support 105ms anymore
( 11.678| 0.257) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
1.00 ms
( 11.679| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
( 11.679| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=334280
( 11.679| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=84012
( 11.680| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
( 11.680| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=334280
( 11.680| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=84012
( 11.935| 0.255) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
2.00 ms
( 11.936| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
( 11.936| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=334280
( 11.936| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=84012
( 11.937| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
( 11.937| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=334280
( 11.937| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=84012
( 12.192| 0.255) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
4.00 ms
( 12.193| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
if (n_bytes <= u->hwbuf_size)
left_to_play = u->hwbuf_size - n_bytes;
else {
/* We got a dropout. What a mess! */
left_to_play = 0;
underrun = true;
#if 0
PA_DEBUG_TRAP;
#endif
if (!u->first && !u->after_rewind)
if (pa_log_ratelimit(PA_LOG_INFO))
pa_log_info("Underrun!");
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141023/4ad49816/attachment.html>
More information about the pulseaudio-bugs
mailing list