by kyokurider » Wed Oct 27, 2010 6:52 pm
Hi, i am sort of having the same problem. My installation is Debian squeeze i686. After installing jack, and let it configure the real time thing by creating the /etc/security/limits.d/audio.conf i restart the machine but when i do ulimit -l keeps telling me 64 when should be unlimited.
I thought this last post would be my answer but actually i have that option disable in the kernel so is actually not.
This what i get from ulimit -a:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31847
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31847
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
I have unsuccessfully tried to edit /etc/security/limits.conf and the above mentioned file. I mean, is so simple, just add those lines right?
@audio - rtprio 95
@audio - memlock unlimited
, and obviously add my user to the audio group, in which he already is, but for some reason i do not know it just does not work.
I can start jack and get this in the messages window:
20:35:53.515 JACK está iniciándose...
20:35:53.516 /usr/bin/jackd -P89 -dalsa -dhw:0,0 -r44100 -p512 -n2 -m
Cannot connect to server socket err = No existe el fichero o el directorio
Cannot connect to server socket
jack server is not running or cannot be started
20:35:53.532 JACK se inició con PID=2442.
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
jackdmp 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 server starting in realtime mode with priority 89
Cannot lock down memory area (Cannot allocate memory)
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0,0|hw:0,0|512|2|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xfebf8000 irq 22
configuring for 44100Hz, period = 512 frames (11.6 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Cannot use real-time scheduling (RR/89)(1: Operation not permitted)
AcquireSelfRealTime error
20:35:55.643 Configuración del servidor salvada en "/home/kyoku/.jackdrc".
20:35:55.645 Reiniciar estadísticas.
20:35:55.656 Cliente activado.
20:35:55.673 Cambios en las conexiones JACK.
20:35:55.674 Cambió el gráfico de conexiones de JACK.
Cannot lock down memory area (No se pudo asignar memoria)
(Is in spanish but you get the idea)
It does start but of course when i start ardour is telling me about my memlock size and bla, bla..
Why does the system not pick up the configuration?, thanks.