[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
Mon Oct 20 00:54:39 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84585
--- Comment #72 from Alessandro Ferri <alessandroferri_015 at fastwebnet.it> ---
I think this is a substantial difference in the behavior of pulseaudio
compared to the two Kernel.
With kernel 3:12:29 increasing steadily up to 745.99 ms:
(55 620 | 0000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
745.99 ms
With kernel is 3:12:25 fix one time to 30 ms:
(11.863 | 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
30.00 ms
The same thing with minimal latency:
With kernel 3:12:25 no increasing latency, with kernel 3.12.29 Increasing
latency up to:
(48 424 | 0256) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
756.00 ms
(In reply to Raymond from comment #71)
>
> latency seem fixed at 105ms 3.12.25 with 30ms wakeup
>
>
>
> 126| 0.000) I: [pulseaudio] sink-input.c: media.name = "Shairport
> Stream"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c: application.name =
> "AirAni-b35336"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c: native-protocol.peer =
> "UNIX socket client"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c:
> native-protocol.version = "26"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c: application.process.id
> = "4160"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c:
> application.process.user = "pi"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c:
> application.process.host = "raspberrypi"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c:
> application.process.binary = "shairport"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c: application.language =
> "C"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c: window.x11.display =
> ":0.0"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c:
> application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
> ( 9.126| 0.000) I: [pulseaudio] sink-input.c:
> module-stream-restore.id = "sink-input-by-application-name:AirAni-b35336"
> ( 9.139| 0.012) I: [pulseaudio] protocol-native.c: Requested
> tlength=250.00 ms, minreq=20.00 ms
> ( 9.139| 0.000) D: [pulseaudio] protocol-native.c: Adjust latency mode
> enabled, configuring sink latency to half of overall latency.
> ( 9.140| 0.000) D: [alsa-sink] alsa-sink.c: Cutting sleep time for the
> initial iterations by half.
> ( 9.140| 0.000) D: [alsa-sink] alsa-sink.c: Cutting sleep time for the
> initial iterations by half.
> ( 9.149| 0.008) D: [pulseaudio] protocol-native.c: Requested
> latency=105.00 ms, Received latency=105.00 ms
> ( 9.149| 0.000) D: [pulseaudio] memblockq.c: memblockq requested:
> maxlength=4194304, tlength=25580, base=4, prebuf=22056, minreq=3528
> maxrewind=0
> ( 9.149| 0.000) D: [pulseaudio] memblockq.c: memblockq sanitized:
> maxlength=4194304, tlength=25580, base=4, prebuf=22056, minreq=3528
> maxrewind=0
> ( 9.150| 0.000) I: [pulseaudio] protocol-native.c: Final latency 250.01
> ms = 105.01 ms + 2*20.00 ms + 105.00 ms
> ( 9.150| 0.000) D: [alsa-sink] alsa-sink.c: Cutting sleep time for the
> initial iterations by half.
> ( 9.151| 0.000) D: [alsa-sink] alsa-sink.c: Latency set to 105.00ms
> ( 9.151| 0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=334280
> ( 9.151| 0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=87319
> ( 9.152| 0.000) D: [alsa-sink] alsa-sink.c: Requesting rewind due to
> latency change.
> ( 9.152| 0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 352800
> bytes.
> ( 9.152| 0.000) D: [alsa-sink] alsa-sink.c: Limited to 347040 bytes.
> ( 9.153| 0.000) D: [alsa-sink] alsa-sink.c: before: 86760
> ( 9.153| 0.000) D: [alsa-sink] alsa-sink.c: after: 86760
> ( 9.153| 0.000) D: [alsa-sink] alsa-sink.c: Rewound 347040 bytes.
> ( 9.153| 0.000) D: [alsa-sink] sink.c: Processing rewind...
> ( 9.154| 0.000) D: [alsa-sink] sink-input.c: Have to rewind 347040 bytes
> on render memblockq.
> ( 9.154| 0.000) D: [alsa-sink] source.c: Processing rewind...
> ( 9.155| 0.001) D: [pulseaudio] core-subscribe.c: Dropped redundant
> event due to change event.
> ( 9.156| 0.000) D: [pulseaudio] reserve-wrap.c: Device lock status of
> reserve-monitor-wrapper at Audio0 changed: not busy
> ( 9.159| 0.002) D: [pulseaudio] protocol-dbus.c: Interface
> org.PulseAudio.Core1.Stream added for object
> /org/pulseaudio/core1/playback_stream0
> ( 11.862| 2.703) I: [alsa-sink] alsa-sink.c: Underrun!
> ( 11.863| 0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark
> to 30.00 ms
--
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/20141020/47932851/attachment.html>
More information about the pulseaudio-bugs
mailing list