Hola Tapani
> Just compiled vanilla 2.6.21-rc1 kernel WIHTOUT
realtime patch
> (http://linux.ilmainen.net/musix/linux-2.6.21-rc1-SMP/).
This is a really nice kernel: all the system seems to go
faster... in many
ways, and the system shutdown fine (not as in
2.6.16beyond4.1)
> There is many new modules in 2.6.21 kernel and realtime
works also as a
> normal user. But if you want realtime module, it does
not exist anymore.
Realtime does not works as normal user: I think Debian's
jack version is
wrong: start jack in realtime as normal user with this
kernel and type into a
konsole:
ps -C jackd -cmL
You will not see something like this:
PID LWP CLS PRI TTY TIME CMD
9769 - - - pts/1 00:00:00 jackd
- 9769 TS 21 - 00:00:00 -
- 9770 TS 24 - 00:00:00 -
- 9771 TS 24 - 00:00:00 -
- 9772 FF 60 - 00:00:00 -
- 9773 FF 50 - 00:00:00 -
The two: - 9772 FF 60 - 00:00:00 -
- 9773 FF 50 - 00:00:00 -
Are the important ones: that means it's _really_ running in
realtime: as root,
not as normal user, it shows TS TS not FF FF
PID LWP CLS PRI TTY TIME CMD
9769 - - - pts/1 00:00:00 jackd
- 9769 TS 21 - 00:00:00 -
- 9770 TS 24 - 00:00:00 -
- 9771 TS 24 - 00:00:00 -
- 9772 TS 60 - 00:00:00 -
- 9773 TS 50 - 00:00:00 -
So, because it's not running in realtime, ir produces toooo
many xruns (audio
data lost)
I installed 64studio's jackd version (deb
http://apt.6
4studio.com/64studio/stable/ 64studio main) and it's
better: it
dont start as normal user with this kernel in realtime
because it cant get
realtime priorities
See:
jackd -R -v -p128 -t2000 -m -dalsa -dhw:0 -r44100 -p256 -n2
-P -s -S
getting driver descriptor from
/usr/lib/libjack0.100.0/jack_dummy.so
getting driver descriptor from
/usr/lib/libjack0.100.0/jack_oss.so
getting driver descriptor from
/usr/lib/libjack0.100.0/jack_alsa.so
jackd 0.102.20
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
cannot use real-time scheduling (FIFO at priority 10) [for
thread -1210210624,
from thread -1210210624] (1: Operation not permitted)
cannot create engine
cleaning up shared memory
cleaning up files
unregistering server `default'
My /etc/security/limits.conf is right, I think:
audio hard rtprio 99
audio hard nice -20
audio soft nice -20
audio hard memlock 500000
> XRUN average is in my system 12 msec. Is it good
enough?
There must not be any xrun at all in a jackd process running
in realtime, I
dont know really where is the problem, but maybe it's not in
the kernel, as I
told you before, we dont know. As root it works fantastic
¡Maybe the JACK's people could give us some clue...!
--
Marcos Guglielmetti
* Director del desarrollo de Musix GNU+Linux, 100% Software
Libre
* CD Donwload: (http://www.musix.org.ar/e
n/)
* Colabora: http://www.musix.org.ar/wiki/index.php/Musix099_tasks
* Videos, programas y otras cosas en:
ftp://musix.ourproject.org/pub/musix/
* Reporte de errores a:
https://www.musix.org.ar/wiki/index.php?title=Proble
mas-Bugs
*IRC: #musix channel on freenode
* http://autosus.wordpres
s.com/
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jackit-devel mailing list
Jackit-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
|