Problème entre JACK et le noyau des versions récentes d'Ubuntu (10.10 et 11.X)
Comme
coucou, comme l'a remarqué JY dans un autre forum, Paul DAVIS, développeur en chef et mainteneur de JACK, a écrit une page sur jackaudio..org qui concerne des difficultés notables à faire fonctionner JACK en temps réel avec les versions d'ubuntu récentes (version 10.10 et 11.X) suite à l'activation d'une option dans le Le noyau Linux.
La page sur jackaudio.org : (http://jackaudio.org/linux_group_sched
.
Des échanges de mails entre les développeurs commencent à arriver sur les listes de diffusion de JACK-devel et ubuntustudio-dev.
Un développeur d'ubuntu (David Henningsson) a répondu en disant qu'il allait voir ça de plus près et qu'il avait déjà des solutions techniques pour permettre à JACK d'accéder au temps-réel par l'intermédiaire de RTkit.
RonJ a fait également un résumé de discussion qu'il a eu sur internet que je copie ici :
Voilou pour les infos
a+
Olivier
coucou, comme l'a remarqué JY dans un autre forum, Paul DAVIS, développeur en chef et mainteneur de JACK, a écrit une page sur jackaudio..org qui concerne des difficultés notables à faire fonctionner JACK en temps réel avec les versions d'ubuntu récentes (version 10.10 et 11.X) suite à l'activation d'une option dans le Le noyau Linux.


Des échanges de mails entre les développeurs commencent à arriver sur les listes de diffusion de JACK-devel et ubuntustudio-dev.
Un développeur d'ubuntu (David Henningsson) a répondu en disant qu'il allait voir ça de plus près et qu'il avait déjà des solutions techniques pour permettre à JACK d'accéder au temps-réel par l'intermédiaire de RTkit.
RonJ a fait également un résumé de discussion qu'il a eu sur internet que je copie ici :
Citation :
Hi Ubuntustudio-devel, Ubuntu-kernel, JACK-devel, Alessio,
After talking with adi in #ffado and las in #jack, it appears that Natty's kernel needs adjustment to be usable for audio work. Currently the kernel flavors shipped by Ubuntu have the RT_GROUP_SCHED option activated, which makes JACK unusable (las put up
http://jackaudio.org/linux_group_sched
to sum up the situation).
*Until this problem is solved, JACK is unusable under Natty*.
Las mentioned several solutions:
0. Disabling RT_GROUP_SCHED for all kernels
1. Disabling RT_GROUP_SCHED for the kernel targeting audio users (-lowlatency, currently living in abogani's PPA)
2. Set up a cgroup and invoke JACK and every client from a shell script that joins the cgroup first
3. Use cgrules.conf to at least put processes into the right group by default
4. Use Ubuntu's specific mechanism to put user tasks into a RT-enabled cgroup
Quoting las: "(1) is the desirable option; (2) would be next and (3) would be hard, because it would enforce 'application always run in the cgroup' which is not really very useful or correct". (0) may also be considered since this kernel option is apparently very
specialized for embedded systems and doesn't make sense for a desktop distro.
Which path should be followed is beyond my knowledge. I just hope this discussion will pave the way to a usable audio stack in Natty.
Resources:
LP bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/690010
IRC : #jack, #ubuntustudio, #ubuntustudio-devel
IRC log of my discussion with las: http://pastebin.com/2yw7aPhr
After talking with adi in #ffado and las in #jack, it appears that Natty's kernel needs adjustment to be usable for audio work. Currently the kernel flavors shipped by Ubuntu have the RT_GROUP_SCHED option activated, which makes JACK unusable (las put up
http://jackaudio.org/linux_group_sched

*Until this problem is solved, JACK is unusable under Natty*.
Las mentioned several solutions:
0. Disabling RT_GROUP_SCHED for all kernels
1. Disabling RT_GROUP_SCHED for the kernel targeting audio users (-lowlatency, currently living in abogani's PPA)
2. Set up a cgroup and invoke JACK and every client from a shell script that joins the cgroup first
3. Use cgrules.conf to at least put processes into the right group by default
4. Use Ubuntu's specific mechanism to put user tasks into a RT-enabled cgroup
Quoting las: "(1) is the desirable option; (2) would be next and (3) would be hard, because it would enforce 'application always run in the cgroup' which is not really very useful or correct". (0) may also be considered since this kernel option is apparently very
specialized for embedded systems and doesn't make sense for a desktop distro.
Which path should be followed is beyond my knowledge. I just hope this discussion will pave the way to a usable audio stack in Natty.
Resources:
LP bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/690010

IRC : #jack, #ubuntustudio, #ubuntustudio-devel
IRC log of my discussion with las: http://pastebin.com/2yw7aPhr

Voilou pour les infos
a+
Olivier