Page 1 of 1

JACK unable to connect to server

Posted: Wed Jan 30, 2013 9:46 pm
by theoB610
I cannot start JACK, returning this error:

Code: Select all

JACK server starting in realtime mode with priority 10
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
21:39:05.686 JACK was stopped successfully.
21:39:05.738 JACK has crashed.
21:39:05.893 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Any ideas whats happening?

Re: JACK unable to connect to server

Posted: Wed Jan 30, 2013 10:33 pm
by dextrus
Assuming Raspbian:

There are ways to avoid the memory fault (reduce the number of periods to 512 is one, i.e. -p 512), but I've yet to encounter a solution to running Jackd 2.0 successfully for general use as it requires the alsa driver to have memory mapping support, which it doesn't seem to have.

I have seen a thread that suggests running an older version of Jack 1.9.8? with the "dummy" driver and using alsa_in, alsa_out to communicate with it via your applications. However none of this has been stable when I have tried. Other people have had more luck though!

I'm of the opinion that we need to wait a bit for the sound drivers to mature. I wish I could help as there is a growing clamour (I want mic-pass-through for my Karaoke app!, etc..). I'm the same.. for some reason all of my off-the-wall projects seem to involve audio or USB. I think my students quite wrongly summed it up today (they are getting fed-up of my Pi stories).. "If you keep on at your Pi, you'll forget how to program a proper computer!". Sigh.

/Dextrus

Re: JACK unable to connect to server

Posted: Thu Jan 31, 2013 5:54 pm
by theoB610
How do I install 1.9.8?

Re: JACK unable to connect to server

Posted: Thu Jan 31, 2013 9:18 pm
by dextrus
I can direct you to this link:

http://sam.aaron.name/2012/11/02/superc ... on-pi.html

But don't say I didn't warn you!

/Dextrus

Re: JACK unable to connect to server

Posted: Fri Feb 01, 2013 10:33 am
by theoB610
Cheers Dextrus. Thanks for the warning :?

Re: JACK unable to connect to server

Posted: Fri Feb 01, 2013 11:06 am
by AutoStatic
theoB610 wrote:How do I install 1.9.8?
If you're using Raspbian:

Code: Select all

wget http://downloads.autostatic.com/rpi/jackd2/jackd2_1.9.8~dfsg.4+20120529git007cdc37-5_armhf.deb
wget http://downloads.autostatic.com/rpi/jackd2/libjack-jackd2-0_1.9.8~dfsg.4+20120529git007cdc37-5_armhf.deb
sudo dpkg -i libjack-jackd2-0_1.9.8~dfsg.4+20120529git007cdc37-5_armhf.deb jackd2_1.9.8~dfsg.4+20120529git007cdc37-5_armhf.deb