Hi, folks.
The jackd man page affirms that is possible to start jackd with realtime scheduling "in several ways" [1].
So, does anybody knows some way to do it without being root or, at least, to start it as root but in a way a regular user can connect its clients to that instance?
If I start jackd with realtime as root, like above:
[CMD=""]# /usr/local/bin/jackd -R -doss -r44100 -p1024 -n3 -w16 -C/dev/dsp2.1 -P/dev/dsp2.1[/CMD]
then a regular user running a simple app like [CMD=""]$ jack_lsp[/CMD] is noticed that "JACK server not running".
Otherwise, if try to start jackd with the same params above as a regular user, it says I do not have enough privileges:
I realized a big latency reduction running jackd with realtime scheduling, but when I did it I had to start all clients (like ardour and linuxsampler) as root too, which is no good!
Thanks in advance.
1. From:
[CMD=""]man jackd[/CMD]
The jackd man page affirms that is possible to start jackd with realtime scheduling "in several ways" [1].
So, does anybody knows some way to do it without being root or, at least, to start it as root but in a way a regular user can connect its clients to that instance?
If I start jackd with realtime as root, like above:
[CMD=""]# /usr/local/bin/jackd -R -doss -r44100 -p1024 -n3 -w16 -C/dev/dsp2.1 -P/dev/dsp2.1[/CMD]
then a regular user running a simple app like [CMD=""]$ jack_lsp[/CMD] is noticed that "JACK server not running".
Otherwise, if try to start jackd with the same params above as a regular user, it says I do not have enough privileges:
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread 675300096, from thread 675300096] (1: Operation not permitted)
cannot create engine
I realized a big latency reduction running jackd with realtime scheduling, but when I did it I had to start all clients (like ardour and linuxsampler) as root too, which is no good!
Thanks in advance.
1. From:
[CMD=""]man jackd[/CMD]
-R, --realtime
Use realtime scheduling (default = true). This is needed for
reliable low-latency performance. On many systems, it requires
jackd to run with special scheduler and memory allocation privi-
leges, which may be obtained in several ways.