public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2005-11-12  9:58 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2005-11-12  9:58 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                sashak
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-12-2005 10:58 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2005-11-21 22:56 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2005-11-21 22:56 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                sashak
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-21-2005 23:56 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 sashak - 11-21-05 23:56 
----------------------------------------------------------------------
I guess you are about sound driver 'intel8x0' and not about 'intel8x0m'
(modem driver). If so it should be in 'intel8x0' category.

The error message reports about underruns and likely it results pauses.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2005-11-21 23:04 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2005-11-21 23:04 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                sashak
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-22-2005 00:04 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 sashak - 11-21-05 23:56 
----------------------------------------------------------------------
I guess you are about sound driver 'intel8x0' and not about 'intel8x0m'
(modem driver). If so it should be in 'intel8x0' category.

The error message reports about underruns and likely it results pauses.

----------------------------------------------------------------------
 moncnam - 11-22-05 00:04 
----------------------------------------------------------------------
my system do use the 'intel8x0m'
i thought it was a module above the 'intel8x0'
i confirm that my sound doesn't come out from my modem
do you think i have to repost my question in the other category ?
(in order to know what an underrun is, and how to fight against it)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2005-11-21 23:31 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2005-11-21 23:31 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                sashak
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-22-2005 00:31 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 11-22-05 00:04 
----------------------------------------------------------------------
my system do use the 'intel8x0m'
i thought it was a module above the 'intel8x0'
i confirm that my sound doesn't come out from my modem
do you think i have to repost my question in the other category ?
(in order to know what an underrun is, and how to fight against it)

----------------------------------------------------------------------
 sashak - 11-22-05 00:31 
----------------------------------------------------------------------
Underrun happens then driver's playback audio buffer becomes empty before
next portion of samples were written. In many cases it is triggered by
external event like system overload (it is possible if you play huge
movies on slow cpu) or intencive io operations.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2005-11-21 23:31 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2005-11-21 23:31 UTC (permalink / raw)
  To: alsa-devel


The following issue has been ASSIGNED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-22-2005 00:31 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 sashak - 11-21-05 23:56 
----------------------------------------------------------------------
I guess you are about sound driver 'intel8x0' and not about 'intel8x0m'
(modem driver). If so it should be in 'intel8x0' category.

The error message reports about underruns and likely it results pauses.

----------------------------------------------------------------------
 moncnam - 11-22-05 00:04 
----------------------------------------------------------------------
my system do use the 'intel8x0m'
i thought it was a module above the 'intel8x0'
i confirm that my sound doesn't come out from my modem
do you think i have to repost my question in the other category ?
(in order to know what an underrun is, and how to fight against it)

----------------------------------------------------------------------
 sashak - 11-22-05 00:31 
----------------------------------------------------------------------
Underrun happens then driver's playback audio buffer becomes empty before
next portion of samples were written. In many cases it is triggered by
external event like system overload (it is possible if you play huge
movies on slow cpu) or intencive io operations.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2005-11-21 23:43 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2005-11-21 23:43 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-22-2005 00:43 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 sashak - 11-22-05 00:31 
----------------------------------------------------------------------
Underrun happens then driver's playback audio buffer becomes empty before
next portion of samples were written. In many cases it is triggered by
external event like system overload (it is possible if you play huge
movies on slow cpu) or intencive io operations.

----------------------------------------------------------------------
 moncnam - 11-22-05 00:43 
----------------------------------------------------------------------
um um, 
i think i should trick my /etc/asound.conf file and add, for example a
greater buffer or something, i will read again a little more
i thanks much for your answers
in case you are curious, here is my simple conf
(one week to switch from oss to alsa, but now mix is working - great)

###########################################
ste@station:~$ cat /etc/asound.conf
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                period_size     2048
        }
        bindings { 0 0 1 1 }
}
###########################################

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-04 21:38 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-04 21:38 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-04-2006 22:38 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 11-22-05 00:43 
----------------------------------------------------------------------
um um, 
i think i should trick my /etc/asound.conf file and add, for example a
greater buffer or something, i will read again a little more
i thanks much for your answers
in case you are curious, here is my simple conf
(one week to switch from oss to alsa, but now mix is working - great)

###########################################
ste@station:~$ cat /etc/asound.conf
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                period_size     2048
        }
        bindings { 0 0 1 1 }
}
###########################################

----------------------------------------------------------------------
 moncnam - 01-04-06 22:38 
----------------------------------------------------------------------
I UNDERSTOOD MY PROBLEM - no pb with alsa

well, 
i ithink i understand what had happend : 
no problem with alsa and i will explain 
- in playing a music throught xmms or noatun, i get no problem (1)
- in playing a title with the command line "mplayer atitle.mp3", i get
some error messages as stated above (2)
the difference should be the priority my process has, in (2), i have a low
priority level for my process (i run this as a common user)

one thing i could add here (not directly related to the topic, but may be
usefull in case...)
i use artsd to forward its sound flow to alsa
once should configure in kcontrol that the rate is manually set to 48000
for exemple in order to have a good output (as 48000 is the default for
alsa) otherwise, the sound do comes out but in a strange way for very bass
or high frequency

remark : 
at the adress
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
the text doesn't well explain what the "periods" parameter should expect
as a sample valid value (1024 ? or just 1, 2, 3 ?)

btw, here is my ~.asoundrc file (just in case someone would appreciate
it), i don't bet it is a model to follow but it works for me (bellow is my
hardware config) 
<<
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_perm 0660
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                format  S16_LE
                rate    48000
                channels        2
                period_time 0
                buffer_size 16384
                periods 16384
        }
        bindings { 0 0 1 1 }
}
>>
note : modifying buff_size and periods to 16384 didn't solved my original
pb, i am pretty sure i have to type something like "nice --10 mplayer..."
unfortunatelly, i can't directly do this as a normal user, so i should
make an suid wrapper or some kind of

i add period_time, buffer_size and periods to support oss throught alsa

it used to work the same with my previous file : 
<<
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                period_time 1024
                buffer_size 4096
        }
        bindings { 0 0 1 1 }
}
>>

hardware : 
dell inspiron 9300
ram : 1GB
cpu : 
model name      : Intel(R) Pentium(R) M processor 1.86GHz
stepping        : 8
cpu MHz         : 1862.368

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07  1:14 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07  1:14 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 02:14 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 01-04-06 22:38 
----------------------------------------------------------------------
I UNDERSTOOD MY PROBLEM - no pb with alsa

well, 
i ithink i understand what had happend : 
no problem with alsa and i will explain 
- in playing a music throught xmms or noatun, i get no problem (1)
- in playing a title with the command line "mplayer atitle.mp3", i get
some error messages as stated above (2)
the difference should be the priority my process has, in (2), i have a low
priority level for my process (i run this as a common user)

one thing i could add here (not directly related to the topic, but may be
usefull in case...)
i use artsd to forward its sound flow to alsa
once should configure in kcontrol that the rate is manually set to 48000
for exemple in order to have a good output (as 48000 is the default for
alsa) otherwise, the sound do comes out but in a strange way for very bass
or high frequency

remark : 
at the adress
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html
the text doesn't well explain what the "periods" parameter should expect
as a sample valid value (1024 ? or just 1, 2, 3 ?)

btw, here is my ~.asoundrc file (just in case someone would appreciate
it), i don't bet it is a model to follow but it works for me (bellow is my
hardware config) 
<<
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_perm 0660
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                format  S16_LE
                rate    48000
                channels        2
                period_time 0
                buffer_size 16384
                periods 16384
        }
        bindings { 0 0 1 1 }
}
>>
note : modifying buff_size and periods to 16384 didn't solved my original
pb, i am pretty sure i have to type something like "nice --10 mplayer..."
unfortunatelly, i can't directly do this as a normal user, so i should
make an suid wrapper or some kind of

i add period_time, buffer_size and periods to support oss throught alsa

it used to work the same with my previous file : 
<<
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                period_time 1024
                buffer_size 4096
        }
        bindings { 0 0 1 1 }
}
>>

hardware : 
dell inspiron 9300
ram : 1GB
cpu : 
model name      : Intel(R) Pentium(R) M processor 1.86GHz
stepping        : 8
cpu MHz         : 1862.368

----------------------------------------------------------------------
 sashak - 01-07-06 02:14 
----------------------------------------------------------------------
You may try larger period_size and of course more than just one period to
prevent underruns (perdiod_size should be <= buffer_size/2 ).

BTW did you try default ALSA config (without .asoundrc)? Default settings
are reasonable for many cases.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07  2:58 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07  2:58 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 03:58 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 sashak - 01-07-06 02:14 
----------------------------------------------------------------------
You may try larger period_size and of course more than just one period to
prevent underruns (perdiod_size should be <= buffer_size/2 ).

BTW did you try default ALSA config (without .asoundrc)? Default settings
are reasonable for many cases.

----------------------------------------------------------------------
 moncnam - 01-07-06 03:58 
----------------------------------------------------------------------
you write : (perdiod_size should be <= buffer_size/2 )
um 
, i can add that this could be specified in the syntaxe page

to answer : no, i can't use only the default setting because it doesn't
provide mixing capability (and i want to be able to hear my
notification/alert while playing)

gosh ! nothing work ok now, esd outputs errors, wsoundserver no sound,
and... 
o look, i also have a conf file in /etc

well, i erase it, put back my ~/.asoundrc and, it is better now
still a problem with esd doing scrappy sound : it doesn't like period_time
0

btw, what is period_size ? i don"t have this parameter in the syntax
page...

woaw, alsa is really a pain in the neck <smile>

... okay, i got it works : 
nothing in /etc
in my home : 
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                # rate 44100
                rate 48000
                # period_size 1024
                period_time 1024
                buffer_size 4096
...

in esd.conf : 
[esd]
auto_spawn=0
spawn_options=-terminate -as 5 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options= -r 48000

-r 48000 in default_options, not in spawn_option neither in command line
otherwise doesn't work

and wsoundserver does work

gosh, what about artsd ? 
no problem , it does work as before (one have to specify 48000 in
kcontrol)

thank you, it's enought for tonight, enjoy weekend, bye 
thanks for support

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07  3:04 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07  3:04 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 04:04 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 01-07-06 03:58 
----------------------------------------------------------------------
you write : (perdiod_size should be <= buffer_size/2 )
um 
, i can add that this could be specified in the syntaxe page

to answer : no, i can't use only the default setting because it doesn't
provide mixing capability (and i want to be able to hear my
notification/alert while playing)

gosh ! nothing work ok now, esd outputs errors, wsoundserver no sound,
and... 
o look, i also have a conf file in /etc

well, i erase it, put back my ~/.asoundrc and, it is better now
still a problem with esd doing scrappy sound : it doesn't like period_time
0

btw, what is period_size ? i don"t have this parameter in the syntax
page...

woaw, alsa is really a pain in the neck <smile>

... okay, i got it works : 
nothing in /etc
in my home : 
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                # rate 44100
                rate 48000
                # period_size 1024
                period_time 1024
                buffer_size 4096
...

in esd.conf : 
[esd]
auto_spawn=0
spawn_options=-terminate -as 5 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options= -r 48000

-r 48000 in default_options, not in spawn_option neither in command line
otherwise doesn't work

and wsoundserver does work

gosh, what about artsd ? 
no problem , it does work as before (one have to specify 48000 in
kcontrol)

thank you, it's enought for tonight, enjoy weekend, bye 
thanks for support

----------------------------------------------------------------------
 moncnam - 01-07-06 04:04 
----------------------------------------------------------------------
i don't know why but : 
- wsoundserver does need a period_time (now it is 1024)
- esd fail launching when period_size = 4096 and buffer_size = 16384 with
the following message : 
<<
ste@station:~/tmp$ esd
- server format: sample rate = 48000 Hz
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
Audio device open for 48Khz, stereo,16bit failed
Trying 22.05Khz, 8bit stereo.
Audio device open for 22.05Khz, stereo, 8bit failed
Trying 44.1Khz, 16bit mono.
>>
and so one for every possibility

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07  8:00 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07  8:00 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 09:00 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 01-07-06 04:04 
----------------------------------------------------------------------
i don't know why but : 
- wsoundserver does need a period_time (now it is 1024)
- esd fail launching when period_size = 4096 and buffer_size = 16384 with
the following message : 
<<
ste@station:~/tmp$ esd
- server format: sample rate = 48000 Hz
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
Audio device open for 48Khz, stereo,16bit failed
Trying 22.05Khz, 8bit stereo.
Audio device open for 22.05Khz, stereo, 8bit failed
Trying 44.1Khz, 16bit mono.
>>
and so one for every possibility

----------------------------------------------------------------------
 rlrevell - 01-07-06 09:00 
----------------------------------------------------------------------
ALSA does provide mixing by default since version 1.0.9.

Try deleting the .asoundrc and it should work.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07 15:57 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07 15:57 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 16:57 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 rlrevell - 01-07-06 09:00 
----------------------------------------------------------------------
ALSA does provide mixing by default since version 1.0.9.

Try deleting the .asoundrc and it should work.

----------------------------------------------------------------------
 moncnam - 01-07-06 16:57 
----------------------------------------------------------------------
okay, thanx, 
unfortunatelly, i have alsa 109 : 
<<
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28
12:20:13 2005 UTC).
$ cat /etc/debian_version
3.1
$ uname -a
Linux station 2.6.13-rc7 #9 Sun Oct 30 23:30:01 CET 2005 i686 GNU/Linux
>>
i will wait a little before switching to 109 with a new kernel

now, everything is working except thunderbird which outputs in 441000
(scrippy sound with 48000 filter) : i will try to revert all to 441000

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
01-07-06 16:57 moncnam        Note Added: 0007516                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07 19:54 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07 19:54 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 20:54 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 01-07-06 16:57 
----------------------------------------------------------------------
okay, thanx, 
unfortunatelly, i have alsa 109 : 
<<
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28
12:20:13 2005 UTC).
$ cat /etc/debian_version
3.1
$ uname -a
Linux station 2.6.13-rc7 #9 Sun Oct 30 23:30:01 CET 2005 i686 GNU/Linux
>>
i will wait a little before switching to 109 with a new kernel

now, everything is working except thunderbird which outputs in 441000
(scrippy sound with 48000 filter) : i will try to revert all to 441000

----------------------------------------------------------------------
 rlrevell - 01-07-06 20:54 
----------------------------------------------------------------------
/proc/asound/version only tells you the version of the ALSA kernel drivers.
 You need to make sure your alsa-lib packages are also at least 1.0.9.

What is the output of:

grep -l dmix /usr/share/alsa/cards/*

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
01-07-06 16:57 moncnam        Note Added: 0007516                          
01-07-06 20:54 rlrevell       Note Added: 0007519                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07 20:10 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07 20:10 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 21:10 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 rlrevell - 01-07-06 20:54 
----------------------------------------------------------------------
/proc/asound/version only tells you the version of the ALSA kernel drivers.
 You need to make sure your alsa-lib packages are also at least 1.0.9.

What is the output of:

grep -l dmix /usr/share/alsa/cards/*

----------------------------------------------------------------------
 moncnam - 01-07-06 21:10 
----------------------------------------------------------------------
okay, thanx for the trick

here is the output you ask for : 
<<
$ grep -l dmix /usr/share/alsa/cards/*
/usr/share/alsa/cards/Azalia.conf
/usr/share/alsa/cards/ICH4.conf
/usr/share/alsa/cards/ICH.conf
/usr/share/alsa/cards/NFORCE.conf
>>
, plus one extra output, under debian, tells what alsa package is install
in which version : 
<<
<code>
$ dlocate -l alsa | grep ii
ii  alsa-base           1.0.8-7             ALSA driver configuration
files
ii  alsa-oss            1.0.8-1             ALSA wrapper for OSS
applications
ii  alsa-utils          1.0.8-4             ALSA utilities
ii  alsamixergui        0.9.0rc2-1-7        graphical soundcard mixer for
ALSA soundcard driver
ii  alsaplayer          0.99.76-0.3         PCM player designed for ALSA
ii  alsaplayer-alsa     0.99.76-0.3         PCM player designed for ALSA
(ALSA output module)
ii  alsaplayer-common   0.99.76-0.3         PCM player designed for ALSA
(common files)
ii  alsaplayer-esd      0.99.76-0.3         PCM player designed for ALSA
(ESD output module)
ii  alsaplayer-gtk      0.99.76-0.3         PCM player designed for ALSA
(GTK version)
ii  alsaplayer-oss      0.99.76-0.3         PCM player designed for ALSA
(OSS output module)
ii  alsaplayer-text     0.99.76-0.3         PCM player designed for ALSA
(text version)
ii  alsaplayer-xosd     0.99.76-0.3         PCM player designed for ALSA
(osd version)
ii  gnome-alsamixer     0.9.6-1             ALSA sound mixer for GNOME
ii  gstreamer0.8-alsa   0.8.8-2             ALSA plugin for GStreamer
ii  libesd-alsa0        0.2.35-2            Enlightened Sound Daemon
(ALSA) - Shared libraries
</code>
>>

with this output, i can guess i am using alsa 1.0.8 (-7 is only a debian
revision add)

when i check my card : 
<<
$ cat /proc/asound/cards
0 [ICH6           ]: ICH4 - Intel ICH6
                     Intel ICH6 with STAC9750,51 at 0xdffffe00, irq 169
1 [Modem          ]: ICH-MODEM - Intel ICH Modem
                     Intel ICH Modem at 0xee00, irq 201
>>
i guess my card ICH6 should be managed by /usr/share/alsa/cards/ICH4.conf
file

i like debian because it aim to be stable, 
i won't install alsa-lib 109 now - i don't have time meanwhile i would
love to play with all that stuff

if you mind :)

my last ~/.asoundrc file
<<
ste@station:~$ cat /home/ste/.asoundrc
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
#       ipc_perm 0660
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                format  S16_LE
#                rate    48000
                rate    44100
                channels        2
                period_time 0
                period_time 1024
#                buffer_size 4096
                # buffer_size 1024
                # periods 1024
#               periods 4096
                # periods 2048
#               buffer_size 4096
buffer_size 2048
                # buffer_size 8192
                # buffer_size 16384
                # periods 16384
        #       period_size     2048
        period_size     1024
        }
        bindings { 0 0 1 1 }
}

# ctl.mixer0 { type hw card 0 }

>>
this is the only way i can make works : xmms, wmsoundserver, esd, artsd,
thunderbird notification sound

the last step i would love to would be to output a copy of my sound to a
special device in order to being able to record it without recording my
system sounds, but i would need to become an alsahacker, - around july
perhaps 

you can still ask me things if you like
see you

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
01-07-06 16:57 moncnam        Note Added: 0007516                          
01-07-06 20:54 rlrevell       Note Added: 0007519                          
01-07-06 21:10 moncnam        Note Added: 0007521                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07 20:28 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07 20:28 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 21:28 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 01-07-06 21:10 
----------------------------------------------------------------------
okay, thanx for the trick

here is the output you ask for : 
<<
$ grep -l dmix /usr/share/alsa/cards/*
/usr/share/alsa/cards/Azalia.conf
/usr/share/alsa/cards/ICH4.conf
/usr/share/alsa/cards/ICH.conf
/usr/share/alsa/cards/NFORCE.conf
>>
, plus one extra output, under debian, tells what alsa package is install
in which version : 
<<
<code>
$ dlocate -l alsa | grep ii
ii  alsa-base           1.0.8-7             ALSA driver configuration
files
ii  alsa-oss            1.0.8-1             ALSA wrapper for OSS
applications
ii  alsa-utils          1.0.8-4             ALSA utilities
ii  alsamixergui        0.9.0rc2-1-7        graphical soundcard mixer for
ALSA soundcard driver
ii  alsaplayer          0.99.76-0.3         PCM player designed for ALSA
ii  alsaplayer-alsa     0.99.76-0.3         PCM player designed for ALSA
(ALSA output module)
ii  alsaplayer-common   0.99.76-0.3         PCM player designed for ALSA
(common files)
ii  alsaplayer-esd      0.99.76-0.3         PCM player designed for ALSA
(ESD output module)
ii  alsaplayer-gtk      0.99.76-0.3         PCM player designed for ALSA
(GTK version)
ii  alsaplayer-oss      0.99.76-0.3         PCM player designed for ALSA
(OSS output module)
ii  alsaplayer-text     0.99.76-0.3         PCM player designed for ALSA
(text version)
ii  alsaplayer-xosd     0.99.76-0.3         PCM player designed for ALSA
(osd version)
ii  gnome-alsamixer     0.9.6-1             ALSA sound mixer for GNOME
ii  gstreamer0.8-alsa   0.8.8-2             ALSA plugin for GStreamer
ii  libesd-alsa0        0.2.35-2            Enlightened Sound Daemon
(ALSA) - Shared libraries
</code>
>>

with this output, i can guess i am using alsa 1.0.8 (-7 is only a debian
revision add)

when i check my card : 
<<
$ cat /proc/asound/cards
0 [ICH6           ]: ICH4 - Intel ICH6
                     Intel ICH6 with STAC9750,51 at 0xdffffe00, irq 169
1 [Modem          ]: ICH-MODEM - Intel ICH Modem
                     Intel ICH Modem at 0xee00, irq 201
>>
i guess my card ICH6 should be managed by /usr/share/alsa/cards/ICH4.conf
file

i like debian because it aim to be stable, 
i won't install alsa-lib 109 now - i don't have time meanwhile i would
love to play with all that stuff

if you mind :)

my last ~/.asoundrc file
<<
ste@station:~$ cat /home/ste/.asoundrc
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
#       ipc_perm 0660
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                format  S16_LE
#                rate    48000
                rate    44100
                channels        2
                period_time 0
                period_time 1024
#                buffer_size 4096
                # buffer_size 1024
                # periods 1024
#               periods 4096
                # periods 2048
#               buffer_size 4096
buffer_size 2048
                # buffer_size 8192
                # buffer_size 16384
                # periods 16384
        #       period_size     2048
        period_size     1024
        }
        bindings { 0 0 1 1 }
}

# ctl.mixer0 { type hw card 0 }

>>
this is the only way i can make works : xmms, wmsoundserver, esd, artsd,
thunderbird notification sound

the last step i would love to would be to output a copy of my sound to a
special device in order to being able to record it without recording my
system sounds, but i would need to become an alsahacker, - around july
perhaps 

you can still ask me things if you like
see you

----------------------------------------------------------------------
 rlrevell - 01-07-06 21:28 
----------------------------------------------------------------------
Yeah I'm afraid you may have to choose between stability and functionality
here.  Many, many dmix bugs have been fixed since ALSA 1.0.8.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
01-07-06 16:57 moncnam        Note Added: 0007516                          
01-07-06 20:54 rlrevell       Note Added: 0007519                          
01-07-06 21:10 moncnam        Note Added: 0007521                          
01-07-06 21:28 rlrevell       Note Added: 0007522                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07 20:38 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07 20:38 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 21:38 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 rlrevell - 01-07-06 21:28 
----------------------------------------------------------------------
Yeah I'm afraid you may have to choose between stability and functionality
here.  Many, many dmix bugs have been fixed since ALSA 1.0.8.

----------------------------------------------------------------------
 moncnam - 01-07-06 21:38 
----------------------------------------------------------------------
thanx much, i keep in mind alsa 109
if i had time, i would managed a better work with tightly chosen alsa
testing debian package
i love linux, thanx for your help

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
01-07-06 16:57 moncnam        Note Added: 0007516                          
01-07-06 20:54 rlrevell       Note Added: 0007519                          
01-07-06 21:10 moncnam        Note Added: 0007521                          
01-07-06 21:28 rlrevell       Note Added: 0007522                          
01-07-06 21:38 moncnam        Note Added: 0007523                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing
@ 2006-01-07 20:43 bugtrack
  0 siblings, 0 replies; 17+ messages in thread
From: bugtrack @ 2006-01-07 20:43 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548> 
======================================================================
Reported By:                moncnam
Assigned To:                rlrevell
======================================================================
Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     resolved
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              01-07-2006 21:43 CET
======================================================================
Summary:                    "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing
Description: 
whatever the player i use (alsaplayer, xmms, mplayer) i experience small
pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause
occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>>
the playing doesn't stop, it continue well, just a small pause
i have no other messages in `dmesg` or in syslog
======================================================================

----------------------------------------------------------------------
 moncnam - 01-07-06 21:38 
----------------------------------------------------------------------
thanx much, i keep in mind alsa 109
if i had time, i would managed a better work with tightly chosen alsa
testing debian package
i love linux, thanx for your help

----------------------------------------------------------------------
 rlrevell - 01-07-06 21:43 
----------------------------------------------------------------------
OK I am resolving this bug as I'm fairly certain it's fixed in later
versions.  Reopen if you upgrade and still have the problem.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          
01-04-06 22:38 moncnam        Note Added: 0007456                          
01-07-06 02:14 sashak         Note Added: 0007503                          
01-07-06 03:58 moncnam        Note Added: 0007505                          
01-07-06 04:04 moncnam        Note Added: 0007506                          
01-07-06 09:00 rlrevell       Note Added: 0007509                          
01-07-06 16:57 moncnam        Note Added: 0007516                          
01-07-06 20:54 rlrevell       Note Added: 0007519                          
01-07-06 21:10 moncnam        Note Added: 0007521                          
01-07-06 21:28 rlrevell       Note Added: 0007522                          
01-07-06 21:38 moncnam        Note Added: 0007523                          
01-07-06 21:43 rlrevell       Status                   assigned => resolved
01-07-06 21:43 rlrevell       Resolution               open => fixed       
01-07-06 21:43 rlrevell       Assigned To               => rlrevell        
01-07-06 21:43 rlrevell       Note Added: 0007524                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-01-07 20:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 23:43 [ALSA - driver 0001548]: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-01-07 20:43 bugtrack
2006-01-07 20:38 bugtrack
2006-01-07 20:28 bugtrack
2006-01-07 20:10 bugtrack
2006-01-07 19:54 bugtrack
2006-01-07 15:57 bugtrack
2006-01-07  8:00 bugtrack
2006-01-07  3:04 bugtrack
2006-01-07  2:58 bugtrack
2006-01-07  1:14 bugtrack
2006-01-04 21:38 bugtrack
2005-11-21 23:31 bugtrack
2005-11-21 23:31 bugtrack
2005-11-21 23:04 bugtrack
2005-11-21 22:56 bugtrack
2005-11-12  9:58 bugtrack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox