[pulseaudio-tickets] [Bug 84585] New: 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 00:15:43 PDT 2014


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

            Bug ID: 84585
           Summary: Issue of CPU usage with HiFiBerry driver
                    snd_soc_hifiberry_amp with Debian Wheezy kernel
                    3.12.28
           Product: PulseAudio
           Version: unspecified
          Hardware: ARM
                OS: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: alsa
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: alessandroferri_015 at fastwebnet.it
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Hello everyone, 
I'm using Pulseaudio in conjunction with shairport + HiFiBerri AMP for my
software project with a raspberry + RASPBIAN Debian Wheezy. The issue arises
only with the latest versions of the kernel 3.12.28, while with version 3.12.25
the issue is not present. 
With the latest version 3.12.28 kernel CPU usage from pulseaudio squirts from
the normal 13% to over 58%. These are the figures, while listening to music
streaming from shairport:

pi at raspberrypi ~ $ top

top - 19:18:07 up 2 min,  2 users,  load average: 1.25, 0.58, 0.23
Tasks:  92 total,   1 running,  91 sleeping,   0 stopped,   0 zombie
%Cpu(s): 47.3 us, 48.6 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  4.2 si,  0.0 st
KiB Mem:    447968 total,   134200 used,   313768 free,    14032 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    65020 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND           
 2300 pulse      9 -11 88304 6544 3508 S  58.1  1.5   0:28.32 pulseaudio        
 2376 pi        20   0  115m 4192 2772 S  36.2  0.9   0:12.82 shairport         
 2545 root      20   0 17412 9.9m 4056 S   1.9  2.3   0:02.96 Xorg              
 2699 pi        20   0  4668 1380 1036 R   1.3  0.3   0:00.99 top               
 2688 pi        20   0  112m 9480 7368 S   0.6  2.1   0:01.39 lxterminal        
    3 root      20   0     0    0    0 S   0.3  0.0   0:00.22 ksoftirqd/0       
    7 root      20   0     0    0    0 S   0.3  0.0   0:00.42 rcu_preempt       
  269 root      20   0     0    0    0 S   0.3  0.0   0:00.29 kworker/0:2       
 1781 root      20   0     0    0    0 S   0.3  0.0   0:00.25 RTW_CMD_THREAD    
 2240 ntp       20   0  5596 1964 1524 S   0.3  0.4   0:00.12 ntpd              
 2650 pi        20   0  103m 8644 6848 S   0.3  1.9   0:01.56 lxpanel           
 2678 pi        20   0 19152 2292 1880 S   0.3  0.5   0:00.08 gvfs-afc-volume   
    1 root      20   0  2148  720  616 S   0.0  0.2   0:01.78 init              
    2 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kthreadd          
    4 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kworker/0:0       
    5 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/0:0H      
    6 root      20   0     0    0    0 S   0.0  0.0   0:00.13 kworker/u2:0   


pulseaudio has jumped from 13.1% of CPU normally used with kernel 3.12.25 to
58.1% of CPU usage, and shairport to 36.2%.

The setup of / etc / modules is: 

#snd-bcm2835
i2c-bcm2708
i2c-dev
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_tas5713
snd_soc_hifiberry_amp

and the setup of /etc/asound.conf is:

pcm.!default {
    type hw card 0
}
ctl.!default {
    type hw card 0
}
pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}


I would like to have information about it and if there is someone who can help
me.

-- 
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/541a8430/attachment.html>


More information about the pulseaudio-bugs mailing list