First message for me, so I have to congratulate the blokas team for the good work: the pisound is very well done and a great product. I’m an old time linux audio user so it is a super convenient device for me.
One of the main uses I wanted a raspi+pisound box for is for running the excellent sooperlooper looping software. It needs jack and unfortunately doesn’t work with alsa alone, but I get it to work quite well with a period of 128, except that sporadically it “freezes” (for lack of a better word) jack and the audio is abruptly stopped. With greater periods the issue may be postponed but it happens nonetheless.
It seems that it’s when sooperlooper get xruns (the message it starts to emit continuosly is got xrun). I tried with other jack software like yoshimi and I don’t have this behaviour even in case of xruns.
Hi, how easy is this to reproduce? It’d be great to find the quickest way to get into this bad state, then one could attach to the jack server, preferably built with debug information enabled, using gdb and see where it is stuck.
One approach would be to try the Autostatic version on another SD card. Been switching back and forth between a full Raspbian Stretch with all sorts of goodies, a stock version of MODEP with a few plugins, and an experimental version of MODEP to try building all sorts of plugins (including SooperLooper). Some dependencies are a bit tricky to handle and installing some packages breaks my MODEP (can’t hear any sound after sudo apt-get install jackd jackd2 libjack-jackd2-0 libopus0 python-dbus python-dbus-dev python-gi qjackctl, for instance). But, in your case, it’d probably allow you to build a very stable setup. pd-vanilla is easy enough to install with Autostatic (sudo apt-get install libjack-jackd2-0 libopus0 libportaudio2 puredata-core). It might break things (just broke my MODEP, for instance). But at least you’d know without compromising your main setup.