[PlanetCCRMA] jackd xruns problem: solved? (FC2 2.6.8.1+P9 kernel)

Steve Harris S.W.Harris@ecs.soton.ac.uk
Wed Aug 25 10:25:03 2004


On Wed, Aug 25, 2004 at 09:22:28 -0700, Fernando Pablo Lopez-Lezcano wrote:
> > Bad news I'm afraid, I'm getting storms of
> > delay of 7087.000 usecs exceeds estimated spare time of 5792.000; restart ...
> > messages again, and trying to run ardour it gets zombified before it can
> > open its main windows.
> 
> Argh... I'm getting rock solid performance here, I was getting really
> hopefull. Which was the last kernel that was "decent"? This is on a P4?

Its on a Pentium Mobile (Centrino), which is halfway between a P3 and a
P4. It could be that the clock sclaing is confusing jack/alsa, but having
strugled to turn it on, I now cant remember out how to turn it off :)

FWIW, I get the "exceeds estimated spare time" even when running at 4096
samples/period, which suggests theres something seriously wrong to me. I
think I can run more relaibly with that period size without RT caps.
 
> > Also the XRUN debugging stuff doesn't seem to be working, I get
> > Aug 25 14:44:34 ninkasi kernel: Stack pointer is garbage, not printing trace
> > in /var/log/messages, do I have to turn this on in the kernel?
> 
> Sometimes it does not work for me either. Usually when I set the
> interrupts to be not threaded. 

Aha, thanks, without that I get: (repeatedly)

Aug 25 18:15:00 ninkasi kernel:  [<f8b00b8f>] snd_pcm_period_elapsed+0x36f/0x560 [snd_pcm]
Aug 25 18:15:00 ninkasi kernel:  [<c0106b18>] common_interrupt+0x18/0x20
Aug 25 18:15:00 ninkasi kernel:  [<f8ad820d>] snd_intel8x0_interrupt+0x29d/0x360 [snd_intel8x0]
Aug 25 18:15:00 ninkasi kernel:  [<c0108522>] do_IRQ+0xd2/0x420
Aug 25 18:15:00 ninkasi kernel:  [<c012b290>] generic_handle_IRQ_event+0x30/0x60
Aug 25 18:15:00 ninkasi kernel:  [<c012b3ec>] do_hardirq+0x12c/0x350
Aug 25 18:15:00 ninkasi kernel:  [<c012c100>] do_irqd+0x0/0x80
Aug 25 18:15:00 ninkasi kernel:  [<c012c158>] do_irqd+0x58/0x80
Aug 25 18:15:00 ninkasi kernel:  [<c0142788>] kthread+0x98/0xa0
Aug 25 18:15:00 ninkasi kernel:  [<c01426f0>] kthread+0x0/0xa0
Aug 25 18:15:00 ninkasi kernel:  [<c010429d>] kernel_thread_helper+0x5/0x18

which is all greek to me.
 
> > I'l try rebooting with a different video driver, incase that the problem.

It wasn't :(
 
- Steve