Large delay when using realtime priority
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jack-audio-connection-kit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 10.04 LTS
Release: 10.04
$ apt-cache policy jackd
jackd:
Installed: 0.118+svn3796-
Candidate: 0.118+svn3796-
Version table:
*** 0.118+svn3796-
500 http://
100 /var/lib/
I hit a regression after upgrading from Karmic to Lucid using do-release-upgrade -d on April 28. After the upgrade, starting jackd with realtime priority as follows:
% Xvfb :1 -screen 0 1280x1024x8 &
% DISPLAY=:1.0 jackd --verbose -d dummy --rate 44100
causes the following output:
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn 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
Memory locking is unlimited - this is dangerous. You should probably alter the line:
@audio - memlock unlimited
in your /etc/limits.conf to read:
@audio - memlock 3044799
getting driver descriptor from /usr/lib/
getting driver descriptor from /usr/lib/
getting driver descriptor from /usr/lib/
getting driver descriptor from /usr/lib/
getting driver descriptor from /usr/lib/
no message buffer overruns
JACK compiled with System V SHM support.
server `default' registered
registered builtin port type 32 bit float mono audio
registered builtin port type 8 bit raw midi
clock source = system clock via clock_gettime
loading driver ..
start poll on 3 fd's
SSE2 detected
new client: dummy_pcm, id = 1 type 1 @ 0x1e3d1f0 fd = -1
creating dummy driver ... dummy_pcm|
new buffer size 1024
registered port system:capture_1, offset = 4096
registered port system:capture_2, offset = 8192
registered port system:playback_1, offset = 0
registered port system:playback_2, offset = 0
++ jack_sort_graph
++ jack_rechain_
+++ client is now dummy_pcm active ? 1
client dummy_pcm: internal client, execution_order=0.
-- jack_rechain_
-- jack_sort_graph
21462 waiting for signals
load = 0.0151 max usecs: 7.000, spare = 23212.000
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
delay of 184467449498828
too many consecutive interrupt delays ... engine pausing
delay of 184467449498828
cycle execution failure, exiting
DRIVER NT: could not run driver cycle
stopping driver
detaching driver
jack main caught signal 12
starting server engine shutdown
freeing shared port segments
server thread back from poll
start poll on 3 fd's
server thread back from poll
stopping server thread
stopping watchdog thread
last xrun delay: 184467449498828
max delay reported by backend: 184467449498828
freeing engine shared memory
max usecs: 7.000, engine deleted
cleaning up shared memory
cleaning up files
unregistering server `default'
Using the -r option makes this error go away. This worked in the Karmic release.
tags: | added: lucid regression-release |