[Bug 368121] Re: CPU usage spikes to 30% regularly during playback, no PulseAudio involved, just ALSA
mathew
meta at pobox.com
Tue Apr 28 19:38:25 UTC 2009
** Description changed:
Binary package hint: mpd
Opening another bug report for this, because none of the stuff in
#221951 applies.
I've got Ubuntu running headless on a 1GHz M10000. It was fine with 8.04
and 8.10, but since upgrading to 9.04 MPD is chewing CPU. Every few
seconds it spikes to 30% CPU usage.
I'm not running PulseAudio, so it's not that. (I have libpulse0
installed because MPD demands it, but no other packages matching
*pulse*.)
I've tried explicitly stating that I want ALSA output in /etc/mpd.conf, and that doesn't help. Right now it's:
audio_output {
type "alsa"
format 44100:16:2
name "audio out"
}
The MP3 files are sourced from 44.1kHz 16 bit rips of CDs, so it's not a
sample rate issue.
/var/log/mpd/errors.log says
Apr 27 13:17 : problems opening audio device while playing "meta/Orchestral_Manoeuvres_in_the_Da/Organisation_Remastered/08-Promise.mp3"
Apr 27 13:17 : problems opening audio device while playing "meta/Orchestral_Manoeuvres_in_the_Da/Organisation_Remastered/08-Promise.mp3"
Apr 27 13:17 : problems opening audio device while playing "meta/Orchestral_Manoeuvres_in_the_Da/Organisation_Remastered/09-Stanlow.mp3"
etc.
The CPU usage peaks so badly that the audio is glitching. I upped the
audio_buffer_size to 16384 to get something listenable. Suggestions?
+
+ [Update]
+ Also:
+
+ # cat pcm0p/sub0/hw_params
+ access: RW_INTERLEAVED
+ format: S16_LE
+ subformat: STD
+ channels: 2
+ rate: 44100 (44100/1)
+ period_size: 2048
+ buffer_size: 16384
+
+ while playing, so it's not a 44.1->48kHz conversion problem.
--
CPU usage spikes to 30% regularly during playback, no PulseAudio involved, just ALSA
https://bugs.launchpad.net/bugs/368121
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list