On 12/1/23 09:03, Yann Seznec wrote:
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: restartalsa 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.
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.
- Trying to run a small granular patch like this
https://github.com/yannseznec/humanCall or a sampler/looper patch like this https://github.com/yannseznec/soundDestroyer
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