Skip to contentSkip to conversation

: Audio Players uses 100% CPU

ALSA - driver 0002096 [email protected] 1 participant 1 message May 9, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2096>
======================================================================
Reported By: ksc91u
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   2096
Category:                   PCI - intel8x0
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             05-03-2006 12:27 CEST
Last Modified:              05-09-2006 07:15 CEST

======================================================================
Summary: Audio Players uses 100% CPU
Description:
MB: Asus K8N4-E BIOS 1006

I use xmms or VLC to play internet stream.
And after a period of time...the player get 100% of my CPU,and the sound become shatter.
I can not even switch to console to kill it.
The only way is to disconnect my network,let the player stop player,and kill it.
======================================================================

----------------------------------------------------------------------
ksc91u - 05-05-06 03:17
----------------------------------------------------------------------
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 16384
rate 48000
}
bindings {
0 0
1 1
}
}

Now I use dmixer again.
Change buffer_size from 8192 to 16384
period_size from 2048 to 1024

Let VLC play for 6 hours while I am asleep.
VLC takes 03:15:08 of CPU time...

----------------------------------------------------------------------
ksc91u - 05-09-06 07:15
----------------------------------------------------------------------
Maybe this is not alsa's problem.
Now I use a ENS 1370 card with OSS driver,and the same problem happen sometimes.

Issue History
Date Modified Username Field Change
======================================================================

05-03-06 12:27 ksc91u         New Issue                                    
05-03-06 12:27 ksc91u         File Added: lspci.txt                        
05-03-06 19:25 tiwai          Note Added: 0009600                          
05-04-06 05:15 ksc91u         Note Added: 0009606                          
05-04-06 05:15 ksc91u         File Added: dmesg                            
05-04-06 07:18 ksc91u         Note Edited: 0009606                         
05-04-06 08:14 ksc91u         Note Edited: 0009606                         
05-04-06 11:41 tiwai          Note Added: 0009610                          
05-04-06 12:22 ksc91u         Note Added: 0009615                          
05-04-06 12:45 tiwai          Note Added: 0009616                          
05-04-06 19:08 ksc91u         Note Added: 0009619                          
05-05-06 03:17 ksc91u         Note Added: 0009622                          
05-09-06 07:15 ksc91u         Note Added: 0009652                          

======================================================================

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