I've realized that I need to open pd with sudo in order to have it work with jack (I also have to open jack with sudo in order to use the firewire). There's still some strange behaviour though. Sometimes pd will open but without jack. What I get in jack's terminal window when pd can't see jack is:

JackProcessSync::LockedTimedWait error usec = 426660 err = Connection timed out
JackEngine::ClientActivate wait error ref = 2 name = pure_data_0
JackEngine::XRun: client = pure_data_0 was not run: state = 1
JackAudioDriver::ProcessGraphAsyncMaster: Process error

And in the pd console I get:
cannot activate client

Most of the times though, pd will open and it will work fine with jack. Never the less, these two lines appear in the jack terminal window:

JackEngine::XRun: client = pure_data_0 was not run: state = 2
JackAudioDriver::ProcessGraphAsyncMaster: Process

and when I close pd (after it has opened with jack) this will appear in jack's terminal:


JackEngine::XRun: client = pure_data_0 was not run: state = 1
JackAudioDriver::ProcessGraphAsyncMaster: Process error

and the following line will be printed seven times:

Cannot write socket fd = 51 err = Broken pipe


I guess I can live with that, but it's a bit strange and it would be nice if I had the reason this is happening explained..
Just to refresh, I'm on ubuntu 12.04 with pd-0.45-4 and jack 1.9.8
I run this
$ sudo aptitude install libjack-jackd2-dev
tha Iohannes suggested
and followed this
http://jackaudio.org/linux_rt_config
as yvan suggested


On Sun, Dec 29, 2013 at 8:19 PM, Alexandros Drymonitis <adrcki@gmail.com> wrote:



On Sun, Dec 29, 2013 at 6:31 PM, Alexandros Drymonitis <adrcki@gmail.com> wrote:



On Sun, Dec 29, 2013 at 6:09 PM, IOhannes m zmölnig <zmoelnig@iem.at> wrote:
On 2013-12-29 16:35, Alexandros Drymonitis wrote:
> Cannot connect to server socket err = No such file or directory
> Cannot connect to server socket


start jack first.
then start Pd with "-jack".
Now this is a bit weird, I start jack with the realtime and firewire flags, and pd might or might not start up wth jack (with "-jack"). I tried it and it worked the first and second time, but now pd just can't see jack...
I'm trying with specified the realtime mode in jack or without. Without specifying I start jack and I get these messages


jackdmp 1.9.8
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 10
libffado 2.999.0- built Feb 17 2012 15:52:28

It seems to be working, right?

But when I start pd with -jack I get this


Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started

How can it be that pd run a couple of times with jack and all was fine and now it just can't start with jack again?

fgmadsr

IOhannes



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list