Hi again,
I’m wondering if anyone else is having the same issue as me. I’m trying to run Pd patches on Raspberry Pi, and I (perhaps naively) thought that I would use the latest Pi OS.
I seem to be having far more issues than I had in the past, namely with alsa crashing. It seems like virtually any patch I run will sooner or later crash and print hundreds of lines of this error: restart alsa output alsa xrun recovery apparently failed
Someone on the Pd Forums https://forum.pdpatchrepo.info/topic/14536/alsa-crashing-on-pi/7 suggested that this could be an issue with the latest Pi OS switching to PipeWire, which seems to make some sense. But before I attempt any fixes, I wanted to see if anyone else was running into this problem or might have some suggestions.
Alternatively, can anyone suggest to me a version of the raspberry pi operating system that works well for Pd? Perhaps it will be easiest for me to track down an old OS image and just stick to that.
Here are a few more details of what I’m trying, which is ending up with this issue:
I always get the errors described above. I recognise that this is somewhat anecdotal, but I am really certain that I was able to run much more complicated patches on a Pi several years ago without issue, so this all feels very new to me.
Many thanks,
Yann
Hello Yann,
On my side I'm running an up-to-date RPi OS 11 32-bit Bullseye (Full version) since ~ 2 years on an overclocked RPi 400 (RPi 4 @ 2.4 GHz with an embedded keyboard + 4 GB RAM). I'm building Pd from its source currently latest v.0.54.1 ('apt-get install puredata' gives you an old version of Pd), and my MIDI/Audio patches are running smoothly with an external cheap USB Audio adapter. When I will have access to my RPi 400 I will run your patches and will report.
Screen capture done on Linux Mint 21.2 - Choose this RPi OS Full (or Lite) for your tests:
I haven't tested RPi OS 12 64-bit Bookworm (Full) yet on my RPi 400. Like you I have red there are a lot of changes and especially with the Audio https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/.
Best, Joseph Gastelais
Le 01/12/2023 à 09:03, Yann Seznec a écrit :
On 12/1/23 09:03, Yann Seznec wrote:
personally, i would try getting PipeWire to run with Pd over the JACK interface. However, I haven't tested this yet (on the RPi), and it might be that the default latency you get is really bad.
if this is not an option (and Pd is the only audio process), I would try to get rid of PipeWire altogether.
when you say "like this" do you mean, that exactly these two patches fail? (I'm just trying to make sure that if I test with these patches it actually makes sense)
gfasd IOhannes