You are here

Jackd works but not cannot start with Qjackctl

Hi,
first of all thanks a lot for your work.

After an upgrade to Ubuntu 11.10, I'm having trouble starting jackd with Qjackctl.
The strange thing is, I CAN start jackd from the command line - with the SAME parameters.

So this works:
* I launch Qjackctl without starting the deamon
* I start jackd from the terminal
/usr/bin/jackd -P 70 -d alsa -r 44100 -p 256 -n 6 -X raw -D -C hw:1,1 -P hw:1,0 -i2 -o2
* I click "start" and now Qjackctl works fine.

This does not work:
* I try to start jackd in Qjackctl with the same settings, I get the messages below.
(sorry for Dutch)

Aslo when I just copy-paste the startup command from the log (with some whitespaces missing), it works fine in the terminal:
/usr/bin/jackd -P70 -dalsa -r44100 -p256 -n6 -Xraw -D -Chw:1,1 -Phw:1,0 -i2 -o2

Any ideas what's going wrong?
Thanks,
Vincent.

14:00:13.996 Patchbay uitgeschakeld.
14:00:14.004 Initialisatie van statistieken.
14:00:14.015 ALSA verbindingen aangepast.
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
14:00:15.449 Opstart script...
14:00:15.450 pulseaudio -k
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
14:00:15.865 Opstart script beëindigd met succes.
14:00:15.866 JACK start op...
14:00:15.866 /usr/bin/jackd -P70 -dalsa -r44100 -p256 -n6 -Xraw -D -Chw:1,1 -Phw:1,0 -i2 -o2
14:00:15.871 JACK is gestart met PID=2235.
14:00:15.916 Kon niet verbinden als client met de JACK server. - Gehele toepassing gefaald. - Kan niet met de server verbinden. Gelieve het berichten venster te lezen voor meer info.
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server socket
jack server is not running or cannot be started
no message buffer overruns
no message buffer overruns
jackdmp 1.9.7
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 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 70
control device hw:1
control device hw:1
audio_reservation_init
Acquire audio card Audio1
creating alsa driver ... hw:1,0|hw:1,1|256|6|44100|2|2|nomon|swmeter|-|32bit
control device hw:1
the playback device "hw:1,0" is already in use. Please stop the application using it and run JACK again
Cannot initialize driver
JackServer::Open() failed with -1
Failed to open server
14:00:16.371 JACK is gestopt met exit status=255.
14:00:16.372 Na-afsluit script...
14:00:16.373 killall jackd
jackd: geen proces gevonden
14:00:16.781 Na-afsluit script beëindigd met exit status=256.

Forums: 
rncbc's picture

this looks a bit strange to me but this message says it all:

...the playback device "hw:1,0" is already in use. Please stop the application using it and run JACK again...

i can't tell it for sure, because those dutch messages aren't any clear to me, but this one is from jackd and it clearly says that something is already using the soundcard device at the time you start qjackctl. could it be pulseaudio ? and why -n6 ? what soundcard is this hw:1? you ought to get it right with -n2 (periods/buffer) or maybe -n3. anything above that is, how can i say, non optimal.

seeya

Add new comment