On Thu, 2 Mar 2006, Lee Revell wrote: > On Thu, 2006-03-02 at 22:14 +0100, Guennadi Liakhovetski wrote: > > > > Ok, I was running a rt-kernel right now, otherwise just started > > This is with all IRQ priorities left at the defaults?
Exactly. > > arecord -t wav -f cd /tmp/test.wav > > > > as root, then switched between vt and X a couple of times, started > > firefox, opened a terminal, and here we go: > > > > overrun!!! (at least 322.850 ms long) > > > > Tried without switching between X and vt - just started some find / in > > another vt: > > > > overrun!!! (at least 1064.772 ms long) > > > > It is hard to beleave - 1 second overrun?!!! > > Is X running at nice -10? Some distros used to do this, and it can > cause problems. No. > Try "arecord -v" and post the output. ~# arecord -v -t wav -f cd /tmp/test.wav Recording WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Plug PCM: Hardware PCM card 0 'VIA 82C686A/B rev50' device 0 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tick_time : 1000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 4096 xfer_align : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 overrun!!! (at least 43.015 ms long) Status: state : XRUN trigger_time: 1141334835.825836011 tstamp : 1141334835.868800366 delay : 0 avail : 16386 avail_max : 16386 Aborted by signal Interrupt... Or the timer going crazy?... Would it be using rtc? > Do you get the same result with "nice -n -20 arecord ..."? Yes: ~# nice -n -20 arecord -v -t wav -f cd /tmp/test.wav Recording WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Plug PCM: Hardware PCM card 0 'VIA 82C686A/B rev50' device 0 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tick_time : 1000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 4096 xfer_align : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 overrun!!! (at least 90.056 ms long) Status: state : XRUN trigger_time: 1141334968.975835047 tstamp : 1141334969.65847460 delay : 0 avail : 16387 avail_max : 16387 Aborted by signal Interrupt... Thanks Guennadi --- Guennadi Liakhovetski ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user