: Playing surround sound produces 100% CPU load
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1869>
======================================================================
Reported By: bitmage2
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 1869 Category: CORE - pcm Reproducibility: always Severity: minor Priority: normal Status: new Distribution: SuSE Linux 10.0 Kernel Version: Linux 2.6.13-15.8-default #1 Tue Feb 7 11:07:24 UTC 2006 i686 athlon i386 GNU/Linux ====================================================================== Date Submitted: 02-23-2006 00:48 CET Last Modified: 07-14-2006 20:59 CEST
======================================================================
Summary: Playing surround sound produces 100% CPU load
Description:
I am using the CS46xx with a Hercules Gametheater XP 5.1 . It plays back stereo without problems.
I wanted to use the rest of my 5.1 speaker set, so for a test I ran the speaker-test program. Running it without parameters or with 2 or 4.0 channels works also fine. So far so good.
But when I run it with 5.0 channels or 5.1 channels the CPU load of speaker-test goes to 100%. I'll show the output of top along with the command lines below (for the 2.0 and 5.1 case) in the "Additional Information" box.
======================================================================
----------------------------------------------------------------------
bitmage2 - 07-14-06 20:57
----------------------------------------------------------------------
I have removed ~/.asoundrc , but the result is the same (100% CPU load with 5.1).
@Raymond: What am I supposed do with the information "center_lfe is device 3" ?!?
----------------------------------------------------------------------
bitmage2 - 07-14-06 20:59
----------------------------------------------------------------------
For your information: *After* removing ~/.asoudrc , the output looks like this:
chris@bjork:~> speaker-test -Dplug:surround51 --channels 6
speaker-test 0.0.8
Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 16384
Period size range from 8 to 512
Periods = 4
Buffer time size 2525
To choose buffer_size = 16384
To choose period_size = 4096
was set period_size = 512
was set buffer_size = 16384
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
Time per period = 17,710859
It says "3 - Rear Right", and it actually plays sound at "rear right".
Issue History
Date Modified Username Field Change
======================================================================
02-23-06 00:48 bitmage2 New Issue 02-23-06 00:48 bitmage2 Distribution => SuSE Linux 10.0 02-23-06 00:48 bitmage2 Kernel Version => Linux 2.6.13-15.8-default #1 Tue Feb 7 11:07:24 UTC 2006 i686 athlon i386 GNU/Linux 02-23-06 00:54 bitmage2 Note Added: 0008164 02-23-06 00:55 bitmage2 Issue Monitored: bitmage2 07-11-06 05:58 Raymond Note Added: 0010964 07-14-06 20:57 bitmage2 Note Added: 0011004 07-14-06 20:59 bitmage2 Note Added: 0011005
======================================================================
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642