[Bug 368121] [NEW] CPU usage spikes to 30% regularly during playback, no PulseAudio involved, just ALSA

mathew meta at pobox.com
Mon Apr 27 18:30:06 UTC 2009


Public bug reported:

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?

** Affects: mpd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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