Re: [linux-audio-user] alsa rme96 jack - 186 msec latency?

From: Michael Rudolf <mich.rudolf@email-addr-hidden>
Date: Sun Sep 11 2005 - 17:10:11 EEST

Lee Revell wrote:
> Yes, that is almost certainly the problem.
>
> The /tmp entry in /etc/fstab should look like this:
>
> tmpfs /tmp tmpfs defaults 0
> 0

Unfortunately, that didn't seem to help - I get the same symptoms as before
(attached below).

I'm heading for a 2.6.13 kernel with realtime-preempt patch now. I'm afraid
this is going to get complicated because of rtlimits/PAM setup. Still
don't know where to get the "chrt" tool from.

Michael

This is a typical verbose output of qjackctl, in this case running as root:

16:05:44.901 /usr/bin/jackd -v -R -P60 -p64 -t10000 -dalsa -dhw:0,0 -r48000
-p1024 -n2 -P -o2
16:05:44.908 JACK was started with PID=14435 (0x3863).
getting driver descriptor from /usr/lib/jack/jack_alsa.so
getting driver descriptor from /usr/lib/jack/jack_dummy.so
getting driver descriptor from /usr/lib/jack/jack_oss.so
getting driver descriptor from /usr/lib/jack/jack_portaudio.so
jackd 0.100.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
server `default' registered
registered builtin port type 32 bit float mono audio
running with uid=0 and euid=0, will not try to use capabilites
loading driver ..
new client: alsa_pcm, id = 1 type 1 @ 0x8059780 fd = -1
apparent rate = 48000
creating alsa driver ... hw:0,0|-|1024|2|48000|0|2|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
nperiods = 8 for playback
new buffer size 1024
registered port alsa_pcm:playback_1, offset = 0
registered port alsa_pcm:playback_2, offset = 0
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
14435 waiting for signals
late driver wakeup: nframes to process = 7168.
late driver wakeup: nframes to process = 7168.
late driver wakeup: nframes to process = 7168.
late driver wakeup: nframes to process = 7168.
late driver wakeup: nframes to process = 7168.
late driver wakeup: nframes to process = 7168.
late driver wakeup: nframes to process = 7168.
load = 0.1031 max usecs: 44.000, spare = 21289.000
delay of 127940.000 usecs exceeds estimated spare time of 21289.000;
restart ...
late driver wakeup: nframes to process = 7168.
delay of 106612.000 usecs exceeds estimated spare time of 21289.000;
restart ...
delay of 106612.000 usecs exceeds estimated spare time of 21289.000;
restart ...
delay of 106612.000 usecs exceeds estimated spare time of 21289.000;
restart ...
delay of 106612.000 usecs exceeds estimated spare time of 21289.000;
restart ...
Received on Sun Sep 11 20:15:05 2005

This archive was generated by hypermail 2.1.8 : Sun Sep 11 2005 - 20:15:05 EEST