User avatar
theoB610
Posts: 233
Joined: Sat Jan 05, 2013 12:40 pm
Location: Devon

JACK unable to connect to server

Wed Jan 30, 2013 9:46 pm

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?

dextrus
Posts: 119
Joined: Tue Jan 24, 2012 10:10 pm
Location: Eastleigh, Hampshire
Contact: Website

Re: JACK unable to connect to server

Wed Jan 30, 2013 10:33 pm

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
Have more FUN with your Pi. Visit www.pi-fun.com

User avatar
theoB610
Posts: 233
Joined: Sat Jan 05, 2013 12:40 pm
Location: Devon

Re: JACK unable to connect to server

Thu Jan 31, 2013 5:54 pm

How do I install 1.9.8?

dextrus
Posts: 119
Joined: Tue Jan 24, 2012 10:10 pm
Location: Eastleigh, Hampshire
Contact: Website

Re: JACK unable to connect to server

Thu Jan 31, 2013 9:18 pm

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
Have more FUN with your Pi. Visit www.pi-fun.com

User avatar
theoB610
Posts: 233
Joined: Sat Jan 05, 2013 12:40 pm
Location: Devon

Re: JACK unable to connect to server

Fri Feb 01, 2013 10:33 am

Cheers Dextrus. Thanks for the warning :?

User avatar
AutoStatic
Posts: 326
Joined: Tue Jan 01, 2013 10:27 pm
Contact: Website

Re: JACK unable to connect to server

Fri Feb 01, 2013 11:06 am

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
RPi and real-time, low-latency audio: http://wiki.linuxaudio.org/wiki/raspberrypi
RPi audio repository: http://rpi.autostatic.com/
RPi and audio blog: https://autostatic.com/tag/raspberrypi/

Return to “Graphics, sound and multimedia”

Who is online

Users browsing this forum: No registered users and 9 guests