Lisez la Faq du site de JACK pour des renseignements sur jackd et Native POSIX Threads Library libc. Assurez-vous de la lire si vous utilisez un noyau 2.6.x ou 2.4.x avec le support NPTL patché.
Si vous obtenez des résultats absolument non satisfaisants avec un noyau 2.6.x, il y a de grandes chances que vous ayez un problème avec Native POSIX Threads Library et que jackd se comporte bizarrement.
Il faut exporter la variable d'environnement LD_ASSUME_KERNEL et la définir à 2.4.22. Cela empêchera libc d'utiliser NPTL.
Exécutez jackd comme cela :
LD_ASSUME_KERNEL=2.4.22 jackd -R -d alsa ....
Exécutez tous les clients comme :
LD_ASSUME_KERNEL=2.4.22 qjackctl
ou
LD_ASSUME_KERNEL=2.4.22 ardour
Pour vérifier que vous utilisez libc avec NPTL activé, utilisez la commande suivante (en fait vous exécutez libc)
pnambic@sokoban:~> /lib/libc.so.6
GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6).
Compiled on a Linux 2.6.7 system on 2004-08-12.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.Le mot-clé à chercher est "Native POSIX Threads Library", bien sûr. Et si cela n'apparait pas, utilisez la commande suivante :
willow@debian:~$ getconf GNU_LIBPTHREAD_VERSION NPTL 0.60