[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 2 05:03:05 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84585

--- Comment #3 from Alessandro Ferri <alessandroferri_015 at fastwebnet.it> ---
(In reply to Tanu Kaskinen from comment #1)
> Maybe the new kernel has enabled some new sample rate that doesn't match the
> audio that you're playing, so pulseaudio has to do resampling that it didn't
> previously need to do?
> 
> Could you attach the output of "pactl list" in both cases (old kernel with
> low cpu use, new kernel with high cpu use)?

Hi,
Wherein reported are the reports that you asked me.
Debian wheezy with kernel 3.12.25 :

pi at raspberrypi ~ $ uname -a
Linux raspberrypi 3.12.25+ #29 PREEMPT Sun Sep 21 08:38:08 CEST 2014 armv6l
GNU/Linux


pi at raspberrypi ~ $ pactl list
Module #0
    Name: module-alsa-card
    Argument: device_id="0" name="platform-snd-hifiberry-amp.0"
card_name="alsa_card.platform-snd-hifiberry-amp.0" namereg_fail=false
tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes
card_properties="module-udev-detect.discovered=1"
    Usage counter: 3
    Properties:
        module.author = "Lennart Poettering"
        module.description = "ALSA Card"
        module.version = "2.0"

Module #1
    Name: module-udev-detect
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Detect available audio hardware and load matching
drivers"
        module.version = "2.0"

Module #2
    Name: module-native-protocol-unix
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Native protocol (UNIX sockets)"
        module.version = "2.0"

Module #3
    Name: module-stream-restore
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute/device
state of streams"
        module.version = "2.0"

Module #4
    Name: module-device-restore
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute state of
devices"
        module.version = "2.0"

Module #5
    Name: module-default-device-restore
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the default sink and
source"
        module.version = "2.0"

Module #6
    Name: module-dbus-protocol
    Argument: access=local
    Usage counter: n/a
    Properties:
        module.author = "Tanu Kaskinen"
        module.description = "D-Bus interface"
        module.version = "2.0"

Module #7
    Name: module-rescue-streams
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "When a sink/source is removed, try to move their
streams to the default sink/source"
        module.version = "2.0"

Module #8
    Name: module-always-sink
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Colin Guthrie"
        module.description = "Always keeps at least one sink loaded even if
it's a null one"
        module.version = "2.0"

Module #9
    Name: module-position-event-sounds
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Position event sounds between L and R depending
on the position on screen of the widget triggering them."
        module.version = "2.0"

Module #10
    Name: module-native-protocol-tcp
    Argument: auth-ip-acl=127.0.0.1;192.168.0.0/24 auth-anonymous=1
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Native protocol (TCP sockets)"
        module.version = "2.0"

Module #11
    Name: module-zeroconf-publish
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "mDNS/DNS-SD Service Publisher"
        module.version = "2.0"

Sink #0
    State: RUNNING
    Name: alsa_output.platform-snd-hifiberry-amp.0.analog-stereo
    Description: snd_rpi_hifiberry_amp Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 0
    Mute: no
    Volume: 0:  70% 1:  70%
            balance 0.00
    Base Volume: 100%
    Monitor Source:
alsa_output.platform-snd-hifiberry-amp.0.analog-stereo.monitor
    Latency: 104494 usec, configured 105000 usec
    Flags: HARDWARE HW_VOLUME_CTRL LATENCY 
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "HifiBerry AMP HiFi tas5713-hifi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "snd_rpi_hifiberry_amp"
        alsa.long_card_name = "snd_rpi_hifiberry_amp"
        alsa.driver_name = "snd_soc_hifiberry_amp"
        device.bus_path = "platform-snd-hifiberry-amp.0"
        sysfs.path = "/devices/platform/snd-hifiberry-amp.0/sound/card0"
        device.string = "front:0"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "snd_rpi_hifiberry_amp Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Ports:
        analog-output: Analog Output (priority: 9900)
    Active Port: analog-output
    Formats:
        pcm

Source #0
    State: RUNNING
    Name: alsa_output.platform-snd-hifiberry-amp.0.analog-stereo.monitor
    Description: Monitor of snd_rpi_hifiberry_amp Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 0
    Mute: no
    Volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    Base Volume: 100%
                 0.00 dB
    Monitor of Sink: alsa_output.platform-snd-hifiberry-amp.0.analog-stereo
    Latency: 0 usec, configured 2000000 usec
    Flags: DECIBEL_VOLUME LATENCY 
    Properties:
        device.description = "Monitor of snd_rpi_hifiberry_amp Analog Stereo"
        device.class = "monitor"
        alsa.card = "0"
        alsa.card_name = "snd_rpi_hifiberry_amp"
        alsa.long_card_name = "snd_rpi_hifiberry_amp"
        alsa.driver_name = "snd_soc_hifiberry_amp"
        device.bus_path = "platform-snd-hifiberry-amp.0"
        sysfs.path = "/devices/platform/snd-hifiberry-amp.0/sound/card0"
        device.string = "0"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Formats:
        pcm

Sink Input #0
    Driver: protocol-native.c
    Owner Module: 2
    Client: 0
    Sink: 0
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100" 
format.channels = "2"  format.channel_map = "\"front-left,front-right\""
    Mute: no
    Volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 82373 usec
    Resample method: n/a
    Properties:
        media.name = "Shairport Stream"
        application.name = "AirAni-b35336"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2218"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "shairport"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
        module-stream-restore.id =
"sink-input-by-application-name:AirAni-b35336"

Source Output #0
    Driver: protocol-native.c
    Owner Module: 2
    Client: 4
    Source: 0
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100" 
format.channels = "2"  format.channel_map = "\"front-left,front-right\""
    Mute: no
    Volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    Buffer Latency: 58775 usec
    Source Latency: 0 usec
    Resample method: n/a
    Properties:
        media.name = "cimpulse"
        application.name = "cimpulse"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2341"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "LightSone"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
        module-stream-restore.id = "source-output-by-application-name:cimpulse"

Client #0
    Driver: protocol-native.c
    Owner Module: 2
    Properties:
        application.name = "AirAni-b35336"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2218"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "shairport"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"

Client #4
    Driver: protocol-native.c
    Owner Module: 2
    Properties:
        application.name = "cimpulse"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2341"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "LightSone"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"

Client #7
    Driver: protocol-native.c
    Owner Module: 10
    Properties:
        application.name = "pactl"
        native-protocol.peer = "TCP/IP client from 127.0.0.1:43601"
        native-protocol.version = "26"
        application.process.id = "2677"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "pactl"
        application.language = "en_GB.UTF-8"
        window.x11.display = ":0.0"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
        application.process.session_id =
"d3670ff77a0bb988a953e7f053a3f4e7-1411426031.986903-1502075250"

Card #0
    Name: alsa_card.platform-snd-hifiberry-amp.0
    Driver: module-alsa-card.c
    Owner Module: 0
    Properties:
        alsa.card = "0"
        alsa.card_name = "snd_rpi_hifiberry_amp"
        alsa.long_card_name = "snd_rpi_hifiberry_amp"
        alsa.driver_name = "snd_soc_hifiberry_amp"
        device.bus_path = "platform-snd-hifiberry-amp.0"
        sysfs.path = "/devices/platform/snd-hifiberry-amp.0/sound/card0"
        device.string = "0"
        device.description = "snd_rpi_hifiberry_amp"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Profiles:
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0,
priority. 6000)
        off: Off (sinks: 0, sources: 0, priority. 0)
    Active Profile: output:analog-stereo
    Ports:
        analog-output: Analog Output (priority: 9900)
            Part of profile(s): output:analog-stereo

CPU usage by pulseaudio without streaming audio before and after with streaming
audio:

pi at raspberrypi ~ $ top

top - 00:49:54 up 3 min,  2 users,  load average: 0.77, 0.54, 0.23
Tasks:  99 total,   1 running,  98 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.1 us,  3.4 sy,  1.0 ni, 92.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    447988 total,   177748 used,   270240 free,    23140 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    78768 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2140 pulse      9 -11 88304 8956 3584 S   2.3  2.0   0:15.71 pulseaudio        
 2392 root      20   0 23944  15m 4776 S   1.6  3.6   0:06.13 Xorg              
 2650 pi        20   0  4672 1368 1020 R   1.3  0.3   0:00.22 top               
 2341 root      30  10 91464 2264 1816 S   1.0  0.5   0:01.99 LightSone         
 2609 pi        20   0  113m  10m 8424 S   0.7  2.4   0:03.12 lxterminal        
   39 root      20   0     0    0    0 S   0.3  0.0   0:01.29 mmcqd/0           
  230 root      20   0     0    0    0 S   0.3  0.0   0:01.87 usb-storage       
  268 root      20   0     0    0    0 S   0.3  0.0   0:00.41 kworker/0:2       
 2263 root      20   0     0    0    0 S   0.3  0.0   0:00.30 RTW_CMD_THREAD   


pi at raspberrypi ~ $ top

top - 00:48:22 up 2 min,  2 users,  load average: 0.64, 0.35, 0.14
Tasks:  97 total,   1 running,  96 sleeping,   0 stopped,   0 zombie
%Cpu(s): 17.3 us, 13.1 sy,  0.7 ni, 67.8 id,  0.0 wa,  0.0 hi,  1.0 si,  0.0 st
KiB Mem:    447988 total,   147380 used,   300608 free,    14412 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    69540 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2140 pulse      9 -11 88304 7864 3584 S  15.3  1.8   0:05.05 pulseaudio        
 2218 pi        20   0  115m 3896 2412 S  11.7  0.9   0:02.37 shairport         
 2392 root      20   0 17412  10m 4076 S   2.0  2.3   0:02.13 Xorg              
 2627 pi        20   0  4672 1368 1020 R   1.3  0.3   0:00.30 top               
 2341 root      30  10 91464 2264 1816 S   1.0  0.5   0:00.97 LightSone         
    6 root      20   0     0    0    0 S   0.3  0.0   0:00.27 kworker/u2:0      
  268 root      20   0     0    0    0 S   0.3  0.0   0:00.15 kworker/0:2       
 2263 root      20   0     0    0    0 S   0.3  0.0   0:00.15 RTW_CMD_THREAD    
 2498 pi        20   0  103m 8708 6896 S   0.3  1.9   0:01.42 lxpanel           
 2609 pi        20   0  112m 9568 7444 S   0.3  2.1   0:01.02 lxterminal        

Debian wheezy with kernel 3.12.28 :

pi at raspberrypi ~ $ uname -a
Linux raspberrypi 3.12.28+ #713 PREEMPT Fri Sep 19 16:43:32 BST 2014 armv6l
GNU/Linux



pi at raspberrypi ~ $ pactl list
Module #0
    Name: module-alsa-card
    Argument: device_id="0" name="platform-snd-hifiberry-amp.0"
card_name="alsa_card.platform-snd-hifiberry-amp.0" namereg_fail=false
tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes
card_properties="module-udev-detect.discovered=1"
    Usage counter: 3
    Properties:
        module.author = "Lennart Poettering"
        module.description = "ALSA Card"
        module.version = "2.0"

Module #1
    Name: module-udev-detect
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Detect available audio hardware and load matching
drivers"
        module.version = "2.0"

Module #2
    Name: module-native-protocol-unix
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Native protocol (UNIX sockets)"
        module.version = "2.0"

Module #3
    Name: module-stream-restore
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute/device
state of streams"
        module.version = "2.0"

Module #4
    Name: module-device-restore
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute state of
devices"
        module.version = "2.0"

Module #5
    Name: module-default-device-restore
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the default sink and
source"
        module.version = "2.0"

Module #6
    Name: module-dbus-protocol
    Argument: access=local
    Usage counter: n/a
    Properties:
        module.author = "Tanu Kaskinen"
        module.description = "D-Bus interface"
        module.version = "2.0"

Module #7
    Name: module-rescue-streams
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "When a sink/source is removed, try to move their
streams to the default sink/source"
        module.version = "2.0"

Module #8
    Name: module-always-sink
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Colin Guthrie"
        module.description = "Always keeps at least one sink loaded even if
it's a null one"
        module.version = "2.0"

Module #9
    Name: module-position-event-sounds
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Position event sounds between L and R depending
on the position on screen of the widget triggering them."
        module.version = "2.0"

Module #10
    Name: module-native-protocol-tcp
    Argument: auth-ip-acl=127.0.0.1;192.168.0.0/24 auth-anonymous=1
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "Native protocol (TCP sockets)"
        module.version = "2.0"

Module #11
    Name: module-zeroconf-publish
    Argument: 
    Usage counter: n/a
    Properties:
        module.author = "Lennart Poettering"
        module.description = "mDNS/DNS-SD Service Publisher"
        module.version = "2.0"

Sink #0
    State: RUNNING
    Name: alsa_output.platform-snd-hifiberry-amp.0.analog-stereo
    Description: snd_rpi_hifiberry_amp Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 0
    Mute: no
    Volume: 0:  70% 1:  70%
            balance 0.00
    Base Volume: 100%
    Monitor Source:
alsa_output.platform-snd-hifiberry-amp.0.analog-stereo.monitor
    Latency: 887328 usec, configured 756000 usec
    Flags: HARDWARE HW_VOLUME_CTRL LATENCY 
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = ""
        alsa.id = "HifiBerry AMP HiFi tas5713-hifi-0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "snd_rpi_hifiberry_amp"
        alsa.long_card_name = "snd_rpi_hifiberry_amp"
        alsa.driver_name = "snd_soc_hifiberry_amp"
        device.bus_path = "platform-snd-hifiberry-amp.0"
        sysfs.path = "/devices/platform/snd-hifiberry-amp.0/sound/card0"
        device.string = "front:0"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "snd_rpi_hifiberry_amp Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Ports:
        analog-output: Analog Output (priority: 9900)
    Active Port: analog-output
    Formats:
        pcm

Source #0
    State: RUNNING
    Name: alsa_output.platform-snd-hifiberry-amp.0.analog-stereo.monitor
    Description: Monitor of snd_rpi_hifiberry_amp Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 0
    Mute: no
    Volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    Base Volume: 100%
                 0.00 dB
    Monitor of Sink: alsa_output.platform-snd-hifiberry-amp.0.analog-stereo
    Latency: 0 usec, configured 2000000 usec
    Flags: DECIBEL_VOLUME LATENCY 
    Properties:
        device.description = "Monitor of snd_rpi_hifiberry_amp Analog Stereo"
        device.class = "monitor"
        alsa.card = "0"
        alsa.card_name = "snd_rpi_hifiberry_amp"
        alsa.long_card_name = "snd_rpi_hifiberry_amp"
        alsa.driver_name = "snd_soc_hifiberry_amp"
        device.bus_path = "platform-snd-hifiberry-amp.0"
        sysfs.path = "/devices/platform/snd-hifiberry-amp.0/sound/card0"
        device.string = "0"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Formats:
        pcm

Sink Input #0
    Driver: protocol-native.c
    Owner Module: 2
    Client: 0
    Sink: 0
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100" 
format.channels = "2"  format.channel_map = "\"front-left,front-right\""
    Mute: no
    Volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 810395 usec
    Resample method: n/a
    Properties:
        media.name = "Shairport Stream"
        application.name = "AirAni-b35336"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2162"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "shairport"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
        module-stream-restore.id =
"sink-input-by-application-name:AirAni-b35336"

Source Output #0
    Driver: protocol-native.c
    Owner Module: 2
    Client: 4
    Source: 0
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100" 
format.channels = "2"  format.channel_map = "\"front-left,front-right\""
    Mute: no
    Volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    Buffer Latency: 795986 usec
    Source Latency: 0 usec
    Resample method: n/a
    Properties:
        media.name = "cimpulse"
        application.name = "cimpulse"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2280"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "LightSone"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
        module-stream-restore.id = "source-output-by-application-name:cimpulse"

Client #0
    Driver: protocol-native.c
    Owner Module: 2
    Properties:
        application.name = "AirAni-b35336"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2162"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "shairport"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"

Client #4
    Driver: protocol-native.c
    Owner Module: 2
    Properties:
        application.name = "cimpulse"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "26"
        application.process.id = "2280"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "LightSone"
        application.language = "C"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"

Client #7
    Driver: protocol-native.c
    Owner Module: 10
    Properties:
        application.name = "pactl"
        native-protocol.peer = "TCP/IP client from 127.0.0.1:37702"
        native-protocol.version = "26"
        application.process.id = "2624"
        application.process.user = "pi"
        application.process.host = "raspberrypi"
        application.process.binary = "pactl"
        application.language = "en_GB.UTF-8"
        window.x11.display = ":0.0"
        application.process.machine_id = "d3670ff77a0bb988a953e7f053a3f4e7"
        application.process.session_id =
"d3670ff77a0bb988a953e7f053a3f4e7-1412248712.131666-566053987"

Card #0
    Name: alsa_card.platform-snd-hifiberry-amp.0
    Driver: module-alsa-card.c
    Owner Module: 0
    Properties:
        alsa.card = "0"
        alsa.card_name = "snd_rpi_hifiberry_amp"
        alsa.long_card_name = "snd_rpi_hifiberry_amp"
        alsa.driver_name = "snd_soc_hifiberry_amp"
        device.bus_path = "platform-snd-hifiberry-amp.0"
        sysfs.path = "/devices/platform/snd-hifiberry-amp.0/sound/card0"
        device.string = "0"
        device.description = "snd_rpi_hifiberry_amp"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Profiles:
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0,
priority. 6000)
        off: Off (sinks: 0, sources: 0, priority. 0)
    Active Profile: output:analog-stereo
    Ports:
        analog-output: Analog Output (priority: 9900)
            Part of profile(s): output:analog-stereo


CPU usage by pulseaudio without streaming audio before and after with streaming
audio:


pi at raspberrypi ~ $ top

top - 13:20:09 up 2 min,  2 users,  load average: 0.84, 0.65, 0.27
Tasks:  99 total,   1 running,  98 sleeping,   0 stopped,   0 zombie
%Cpu(s): 11.7 us,  7.2 sy,  2.8 ni, 77.9 id,  0.3 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    447864 total,   177192 used,   270672 free,    24216 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    80724 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2103 pulse      9 -11 88336 8296 3592 S  13.4  1.9   0:21.52 pulseaudio        
 2280 root      30  10 91464 2284 1836 S   4.2  0.5   0:05.24 LightSone         
 2605 pi        20   0  4672 1380 1032 R   2.0  0.3   0:00.33 top               
 2356 root      20   0 22916  14m 4852 S   1.6  3.3   0:04.51 Xorg              
 2515 pi        20   0  104m 9732 7324 S   0.3  2.2   0:02.22 lxpanel           
 2586 pi        20   0  114m  10m 8532 S   0.3  2.4   0:01.70 lxterminal     


pi at raspberrypi ~ $ top

top - 13:23:06 up 5 min,  2 users,  load average: 1.26, 0.78, 0.38
Tasks:  97 total,   1 running,  96 sleeping,   0 stopped,   0 zombie
%Cpu(s): 51.6 us, 39.9 sy,  0.3 ni,  0.0 id,  0.0 wa,  0.0 hi,  8.2 si,  0.0 st
KiB Mem:    447864 total,   209352 used,   238512 free,    24312 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    81488 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2103 pulse      9 -11 88336  35m 3604 S  58.0  8.1   0:53.72 pulseaudio        
 2162 pi        20   0  115m 4172 2756 S  34.1  0.9   0:06.71 shairport         
 2280 root      30  10 91464 2304 1856 S   2.2  0.5   0:12.51 LightSone         
 2356 root      20   0 25648  17m 5108 S   2.2  4.0   0:17.51 Xorg              
 2638 pi        20   0  4672 1380 1032 R   1.3  0.3   0:00.58 top               
 2586 pi        20   0  114m  10m 8672 S   0.9  2.5   0:06.94 lxterminal        
    3 root      20   0     0    0    0 S   0.3  0.0   0:01.06 ksoftirqd/0       
    4 root      20   0     0    0    0 S   0.3  0.0   0:00.33 kworker/0:0       
 2236 root      20   0     0    0    0 S   0.3  0.0   0:00.51 RTW_CMD_THREAD    
 2515 pi        20   0  104m 9796 7388 S   0.3  2.2   0:03.05 lxpanel           



Best regards.

-- 
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/20141002/45748f22/attachment-0001.html>


More information about the pulseaudio-bugs mailing list