High load during audio playback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: alsa-base
I'm running here Ubuntu Intrepid Beta with all the latest updates installed. I noticed that audio applications create a significant load while playing sound. I've got a FSC Lifebook S-6120, which is using the snd_intel8x0 module to play sounds. When i play a simple mp3 song with Rhythmbox or Quod Libet, these programs cause about 25% usage of my cpu...
$ top
top - 21:43:42 up 4:11, 2 users, load average: 0.57, 0.53, 0.69
Tasks: 134 total, 2 running, 132 sleeping, 0 stopped, 0 zombie
Cpu(s): 34.5%us, 1.6%sy, 0.0%ni, 63.5%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1024312k total, 1006572k used, 17740k free, 37728k buffers
Swap: 3071992k total, 1960k used, 3070032k free, 481680k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20565 me 20 0 137m 44m 21m S 25.4 4.4 0:27.60 rhythmbox
5833 root 20 0 56312 36m 10m R 4.6 3.6 37:02.45 Xorg
13299 me 20 0 102m 25m 13m S 1.6 2.5 4:24.85 gnome-terminal
[...]
This makes the fan of my laptop spin, causing quite a nouise... When i compare this to Ubuntu Hardy Heron i had about 2-3% load of my audio player and about 20% load of pulseaudio (which i usually deactivate). So playing music caused nearly zero load... The load issue doesn't change, when i set all my audio devices to ALSA in Intrepid
$ lspci | grep Audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
$ uname -ar
Linux stein 2.6.27-4-generic #1 SMP Wed Sep 24 01:30:51 UTC 2008 i686 GNU/Linux
A couple fo questions. Did you upgrade from hardy using update-manager, or did you do a fresh install of intrepid? Secondly, have you tried using staright pulseaudio? To do so, go into system, preferences, and choose sound, and select either auto detect, or pulseaudio for audio output for playing music.
Thanks.