<div dir="ltr">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:<br>
<div><div><br>JackProcessSync::LockedTimedWait error usec = 426660 err = Connection timed out<br>JackEngine::ClientActivate wait error ref = 2 name = pure_data_0<br>JackEngine::XRun: client = pure_data_0 was not run: state = 1<br>
JackAudioDriver::ProcessGraphAsyncMaster: Process error<br><br></div><div>And in the pd console I get:<br></div><div>cannot activate client<br><br></div><div>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:<br>
<br>JackEngine::XRun: client = pure_data_0 was not run: state = 2<br>JackAudioDriver::ProcessGraphAsyncMaster: Process<br><br></div><div>and when I close pd (after it has opened with jack) this will appear in jack's terminal:<br>
<br><br>JackEngine::XRun: client = pure_data_0 was not run: state = 1<br>JackAudioDriver::ProcessGraphAsyncMaster: Process error<br><br></div><div>and the following line will be printed seven times:<br></div><div><br>Cannot write socket fd = 51 err = Broken pipe<br>
<br><br></div><div>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..<br></div><div>Just to refresh, I'm on ubuntu 12.04 with pd-0.45-4 and jack 1.9.8<br>
</div><div>I run this<br>$ sudo aptitude install libjack-jackd2-dev<br></div><div>tha Iohannes suggested<br></div><div>and followed this<br><a href="http://jackaudio.org/linux_rt_config" target="_blank">http://jackaudio.org/linux_rt_config</a><br>
</div><div>as yvan suggested<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 29, 2013 at 8:19 PM, Alexandros Drymonitis <span dir="ltr"><<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Sun, Dec 29, 2013 at 6:31 PM, Alexandros Drymonitis <span dir="ltr"><<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sun, Dec 29, 2013 at 6:09 PM, IOhannes m zmölnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On 2013-12-29 16:35, Alexandros Drymonitis wrote:<br>
> Cannot connect to server socket err = No such file or directory<br>
> Cannot connect to server socket<br>
<br>
<br>
</div>start jack first.<br>
then start Pd with "-jack".<br></blockquote></div></div><div>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... <br>
</div></div></div></div></blockquote></div><div>I'm trying with specified the realtime mode in jack or without. Without specifying I start jack and I get these messages<div class="im"><br><br>jackdmp 1.9.8<br>Copyright 2001-2005 Paul Davis and others.<br>
Copyright 2004-2011 Grame.<br>jackdmp comes with ABSOLUTELY NO WARRANTY<br>This is free software, and you are welcome to redistribute it<br>under certain conditions; see the file COPYING for details<br></div><div class="im">
JACK server starting in realtime mode with priority 10<br></div>
libffado 2.999.0- built Feb 17 2012 15:52:28<br><br></div><div>It seems to be working, right?<br><br></div><div>But when I start pd with -jack I get this<div class="im"><br><br>Cannot connect to server socket err = No such file or directory<br>
Cannot connect to server socket<br></div>jack server is not running or cannot be started<br><br></div><div>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? <br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
fgmadsr<div><br>
<span><font color="#888888">IOhannes<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></div></blockquote></div><br></div></div>
</blockquote></div></div><br></div></div>
</blockquote></div><br></div>