[LAU] Realtime, but many xruns when jack is started. Debian Etch

Nigel Henry cave.dnb at tiscali.fr
Mon Oct 1 17:45:38 EDT 2007


On Monday 01 October 2007 01:42, Marcos Guglielmetti wrote:

> Hi, also you can add Musix GNU/Linux's repositories (debian/etch
> compatible)
>
> # /etc/apt/sources.list Musix GNU+Linux
> deb ftp://musix.ourproject.org/pub/musix/deb/ ./
>
> So you can install rt kernels on you Debian/ECTH, and upgrade Ardour to
> 2.1, jackd to 0.103...
>
> regards

Sorry for replying to my previous reply with everything now snipped.

I've downloaded, and installed kernel 2.6.21rt4, 2.6.21.5rt18, and rtirq, but 
am still getting xruns when starting jackd in qjackctl. An xrun about every 3 
secs, and that's with no music apps being used.

Is there anything else I need to do to get zero xruns when starting jackd?

Do I need to edit /etc/security/limits.conf for example, as I had to do for 
Fedora 7? As default this file has everything commented out in Etch, but this 
file in Fedora 7 already had some lines for jack-audio-connection-kit set up 
as default, but only with a rtprio of 20. The updated pam that came down when 
installing the planetccrma low latency kernel, left a limits.conf.rpmnew with 
higher priorities. I added these to the existing limits.conf file, commenting 
out the defaults, and now when starting jack on Fedora 7, I have zero xruns.

I still get the odd xrun when running a music app, but nothing when jack is 
started with no music apps being used. I've put a bit of jack's messages 
output below.

23:41:07.577 Audio connection change.
23:41:07.585 Audio connection graph change.
delay of 26942.000 usecs exceeds estimated spare time of 11397.000; 
restart ...
23:41:09.026 XRUN callback (1).
delay of 65588.000 usecs exceeds estimated spare time of 11397.000; 
restart ...
delay of 12403.000 usecs exceeds estimated spare time of 11397.000; 
restart ...
23:41:09.632 XRUN callback (2 skipped).
delay of 20107.000 usecs exceeds estimated spare time of 11349.000; 
restart ...
**** alsa_pcm: xrun of at least 0.044 msecs
23:41:12.320 XRUN callback (4).
23:41:13.728 XRUN callback (1 skipped).
delay of 70451.000 usecs exceeds estimated spare time of 11326.000; 
restart ...
23:41:14.276 XRUN callback (6).
delay of 66210.000 usecs exceeds estimated spare time of 11417.000; 
restart ...
23:41:19.406 XRUN callback (7).
delay of 66172.000 usecs exceeds estimated spare time of 11330.000; 
restart ...
23:41:24.513 XRUN callback (8).
23:41:29.614 XRUN callback (9).
delay of 69610.000 usecs exceeds estimated spare time of 11400.000; 
restart ...
23:41:34.724 XRUN callback (10).
delay of 69546.000 usecs exceeds estimated spare time of 11390.000; 
restart ...
23:41:37.612 Client deactivated.
23:41:37.650 JACK is stopping...
jack main caught signal 15
no message buffer overruns
23:41:37.736 JACK was stopped successfully.

Any suggestions welcome as usual.

Nigel.





More information about the Linux-audio-user mailing list