Problema Jack da utente.
Inviato: mer 25 mag 2005, 21:40
Ho un problema con "Jack".<br />
<BR>Se lo faccio partire da utente root con il comando <strong>jackd -R -d alsa </strong>mi parte correttamente. Se invece tento di dare lo stesso comando da user mi da questo output : <br />
<BR><em><br />
<BR>touch@slackware:~$ jackd -R -v -d alsa<br />
<BR>getting driver descriptor from /usr/local/lib/jack/jack_dummy.so<br />
<BR>getting driver descriptor from /usr/local/lib/jack/jack_oss.so<br />
<BR>getting driver descriptor from /usr/local/lib/jack/jack_alsa.so<br />
<BR>jackd 0.99.0<br />
<BR>Copyright 2001-2003 Paul Davis and others.<br />
<BR>jackd comes with ABSOLUTELY NO WARRANTY<br />
<BR>This is free software, and you are welcome to redistribute it<br />
<BR>under certain conditions; see the file COPYING for details<br />
<BR><br />
<BR>JACK compiled with System V SHM support<br />
<BR>registered builtin port type 32 bit float mono audio<br />
<BR>cannot lock down memory for jackd (Cannot allocate memory)<br />
<BR>loading driver ..<br />
<BR>new client: alsa_pcm, id = 1 type 1 @ 0x8076360 fd = -1<br />
<BR>creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit<br />
<BR>control device hw:0<br />
<BR>configuring for 48000Hz, period = 1024 frames, buffer = 2 periods<br />
<BR>Couldn´t open hw:0 for 32bit samples trying 24bit instead<br />
<BR>Couldn´t open hw:0 for 24bit samples trying 16bit instead<br />
<BR>Couldn´t open hw:0 for 32bit samples trying 24bit instead<br />
<BR>Couldn´t open hw:0 for 24bit samples trying 16bit instead<br />
<BR>new buffer size 1024<br />
<BR>JACK: unable to mlock() port buffers: Cannot allocate memory<br />
<BR>registered port alsa_pcm:capture_1, offset = 4096<br />
<BR>registered port alsa_pcm:capture_2, offset = 8192<br />
<BR>registered port alsa_pcm:playback_1, offset = 0<br />
<BR>registered port alsa_pcm:playback_2, offset = 0<br />
<BR>++ jack_rechain_graph():<br />
<BR>client alsa_pcm: internal client, execution_order=0.<br />
<BR>-- jack_rechain_graph()<br />
<BR>jack_create_thread: error -1 switching current thread to rt for inheritance: Unknown error 4294967295<br />
<BR>cannot start watchdog thread<br />
<BR>cannot load driver module alsa<br />
<BR></em><br />
<BR>E poi esce!<br />
<BR>Uso il kernel 2.6.11 con il preeemptible attivato.<br />
<BR>Se lancio jack senza il realtime parte correttamente anche da "user". Penso quindi sia un problema di permessi, ma non so dove!<br />
<BR><br />
<BR>Qualche dritta?<br />
<BR><br />
<BR>Grazie,<br />
<BR>Touch.<br /><br>
<BR>Se lo faccio partire da utente root con il comando <strong>jackd -R -d alsa </strong>mi parte correttamente. Se invece tento di dare lo stesso comando da user mi da questo output : <br />
<BR><em><br />
<BR>touch@slackware:~$ jackd -R -v -d alsa<br />
<BR>getting driver descriptor from /usr/local/lib/jack/jack_dummy.so<br />
<BR>getting driver descriptor from /usr/local/lib/jack/jack_oss.so<br />
<BR>getting driver descriptor from /usr/local/lib/jack/jack_alsa.so<br />
<BR>jackd 0.99.0<br />
<BR>Copyright 2001-2003 Paul Davis and others.<br />
<BR>jackd comes with ABSOLUTELY NO WARRANTY<br />
<BR>This is free software, and you are welcome to redistribute it<br />
<BR>under certain conditions; see the file COPYING for details<br />
<BR><br />
<BR>JACK compiled with System V SHM support<br />
<BR>registered builtin port type 32 bit float mono audio<br />
<BR>cannot lock down memory for jackd (Cannot allocate memory)<br />
<BR>loading driver ..<br />
<BR>new client: alsa_pcm, id = 1 type 1 @ 0x8076360 fd = -1<br />
<BR>creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit<br />
<BR>control device hw:0<br />
<BR>configuring for 48000Hz, period = 1024 frames, buffer = 2 periods<br />
<BR>Couldn´t open hw:0 for 32bit samples trying 24bit instead<br />
<BR>Couldn´t open hw:0 for 24bit samples trying 16bit instead<br />
<BR>Couldn´t open hw:0 for 32bit samples trying 24bit instead<br />
<BR>Couldn´t open hw:0 for 24bit samples trying 16bit instead<br />
<BR>new buffer size 1024<br />
<BR>JACK: unable to mlock() port buffers: Cannot allocate memory<br />
<BR>registered port alsa_pcm:capture_1, offset = 4096<br />
<BR>registered port alsa_pcm:capture_2, offset = 8192<br />
<BR>registered port alsa_pcm:playback_1, offset = 0<br />
<BR>registered port alsa_pcm:playback_2, offset = 0<br />
<BR>++ jack_rechain_graph():<br />
<BR>client alsa_pcm: internal client, execution_order=0.<br />
<BR>-- jack_rechain_graph()<br />
<BR>jack_create_thread: error -1 switching current thread to rt for inheritance: Unknown error 4294967295<br />
<BR>cannot start watchdog thread<br />
<BR>cannot load driver module alsa<br />
<BR></em><br />
<BR>E poi esce!<br />
<BR>Uso il kernel 2.6.11 con il preeemptible attivato.<br />
<BR>Se lancio jack senza il realtime parte correttamente anche da "user". Penso quindi sia un problema di permessi, ma non so dove!<br />
<BR><br />
<BR>Qualche dritta?<br />
<BR><br />
<BR>Grazie,<br />
<BR>Touch.<br /><br>