Ticket #269 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Extreme (100%) CPU usage for 44100hz streams

Reported by: devel@… Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

I am using Gentoo ~x86 (unstable) on both my desktop and laptop.

Overview

On my desktop, I have the cpu usage problems with 44100hz streams. 48000hz streams are fine, with normal cpu usage.

On my laptop, I have no cpu usage problems. Both 44100hz and 48000hz streams use a normal amount of cpu time.

On my desktop, with pulseaudio-0.9.9, I am able to play both 44100hz streams and 48000hz streams without problems. After upgrading to pulseaudio-0.9.10, I am able to play 48000hz streams without problems. Playing a 44100hz stream has the effect of using 100% cpu time, causing pulseaudio to fail with "cpu softlimit exceeded, terminating".

Desktop information:

AMD Athlon XP 2.1Ghz Soundblaster Audigy, snd_emu10k1 driver paman shows: default sample type: s16le 6ch 44100hz

Laptop information:

Intel Core Duo 1.83Ghz Intel integrated audio, snd_hda_intel driver paman shows: default sample type: s16le 2ch 44100hz

Configuration changes on my desktop:

daemon.conf -- default-sample-channels = 6

In the move from 0.9.9 to 0.9.10, I changed default.pa to use hal autodetect instead of: load-module module-alsa-sink device=plug:surround51 channels=6

All tests were done using various music and movies I have, using mplayer. I am happy to provide more information as needed.

Change History

Changed 2 years ago by lennart

  • status changed from new to closed
  • resolution set to invalid

The "multi" ALSA plugin that emu10k1 needs is buggy. It wakes PA up much too often which causes PA to eat 100% CPU.

This is an ALSA bug, not a PA bug.

Note: See TracTickets for help on using tickets.