<div dir="ltr"><div><div><div><div>On Sat, Feb 13, 2016 at 9:50 PM, <a href="mailto:jonetsu@teksavvy.com">jonetsu@teksavvy.com</a> <<a href="mailto:jonetsu@teksavvy.com">jonetsu@teksavvy.com</a>> wrote:<br>> JACK server starting in realtime mode with priority 10<br><br>50 is the default for processes, higher is more priority.<br>This machine runs jack with RT priority 89. Find out<br>what your top real-time priority (aka rtprio) tasks are:<br><br>$ ps -eo rtprio,comm --sort -rtprio | head -n 30<br><br></div>Each CPU will have one "migration" and one "watchdog" at 99,<br></div>after that you should have:<br></div>1) Soundcard interupt *<br></div>2) jackd process<br><div><div><br>* Depends on soundcard, check output of<br>$ cat /proc/interrupts  and find the interrupt for the Delta1010<br><br></div><div>Eg:<br></div><div>90 soundcard interrupt<br></div><div>89 jackd<br><br></div><div>The important thing is the *order* of the tasks, *not* the number itself.<br></div><div>They are serviced based on order, as fast as possible.<br><div><div><div><div><div><br>> Failed to connect to session bus for device reservation Did not<br>> receive a reply. Possible causes include: the remote application did<br>> not send a reply, the message bus security policy blocked the reply,<br>> the reply timeout expired, or the network connection<br>><br>> Audio device hw:M1010LT,0 cannot be acquired...<br>><br>> Cannot initialize driver<br>> JackServer::Open failed with -1<br>> Failed to open server<br><br></div><div>Jack2 / dbus / pulseaudio issue by the looks. I'll leave this to google, or<br></div><div>somebody more familiar with the issue - I have JACK1 and no manual<br></div><div>setup of everything, so don't experience this issue ever.<br></div><div><br>> So I then used qjackctl, changed the value which was 1024, to 128, and<br>> *rebooted*.  Now it runs with:<br><br></div><div>*Always* run jackd as the user that you will be doing the sound processing<br></div><div>as - do not run jackd as a system daemon while logged in as a user, it<br></div><div>causes headaches.<br></div><div><br>> /usr/bin/jackd -T -ndefault -dalsa -dhw:M1010LT -r44100 -p128 -n2<br>><br>> This is quite different from the original one.  Moreover, it does no<br>> good at all.  There's crackling all over.  Renoise cannot scroll the<br>> sequences properly, it is no good at all.<br><br></div><div>These are called xruns, that can be solved by properly tuning you<br></div><div>system.<br></div><div><br>> 1) Where the hell does the first incantation of jackd comes from ?  And<br>> where do the parameters comes from ?<br><br></div><div>Your distro, or system setup. I personally advise keeping things simple,<br></div><div>and manually start jack when you want it started, with the exact settings<br></div><div>you want to start it with.<br><br></div><div>Yes this requres some JACK knowledge, but it is reliable, and consistent.<br></div><div><br>> 2) How come it cannot be started from the command line by pasting the<br>> command line that is currently *running* as shown in 'ps aux'<br><br></div><div>Probablty because pulseaudio takes over the soundcard when JACK releases<br></div><div>it. Again, keeping things simple and manually starting / stopping ensures this<br></div><div>situation never occurs.<br></div><div><br>> 3) Why are the new parameters so different, lacking many original<br>> options ?<br><br></div><div>Dunno, I start jack with a minimal command, and it works every time :)<br></div><div><br></div><div>Hope that helps, -Harry<br><br></div><div>PS: These are known issues, and I've written up some tuning tips that I've<br></div><div>used in the past to squeeze every drop of RT performance from a machine:<br><a href="http://openavproductions.com/real-time-latency-tuning/">http://openavproductions.com/real-time-latency-tuning/</a><br></div><div><br>--<br><br><a href="http://www.openavproductions.com">http://www.openavproductions.com</a></div></div></div></div></div></div></div></div>