[PD] Pd-list Digest, Vol 225, Issue 15

Yann Seznec yann at yannseznec.com
Fri Dec 8 12:27:10 CET 2023


Thank you very much for testing! I’m really pleased you got it working. 

Everything seems to be working for me now too, similar to what you describe. I’m not entirely sure what I changed to make it work, but I’m happy enough with the current status to decide that everything is fine.

All the best,

Yann

> 
> Message: 1
> Date: Thu, 7 Dec 2023 12:27:55 +0100
> From: IOhannes m zmoelnig <zmoelnig at iem.at>
> To: pd-list at lists.iem.at
> Subject: Re: [PD] alsa crashing on recent Pi OS
> Message-ID: <a1b445b9-1434-4e98-a0e4-bc728ac87f00 at iem.at>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> On 12/4/23 21:23, Yann Seznec wrote:
>> 
>> 
>> I?ll answer both of these questions at once?to be more clear, the most 
>> obvious test of the Pi issues I was having is to launch 
>> ?humanCaller_test.pd? from this project: 
>> https://github.com/yannseznec/humanCall 
>> <https://github.com/yannseznec/humanCall>
>> 
>> It is a granular patch that will just play a stream of grains on startup.
>> 
>> When I was encountering issues, this patch would stop working after 
>> somewhere between 30-90 seconds, and print many instances of the error 
>> ?restart alsa output alsa xrun recovery apparently failed?.
>> 
>> I am no longer having this issue, after compiling Pd 0.54.1 myself on 
>> the 32 bit Pi OS 11.
> 
> since I was just playing along with an RPi4 i thought i'd give it a try.
> 
> 
> 
> hardware: Raspberry Pi 4 (Model B, 4GB RAM; iirc!)
>  using the onboard soundcard
> operating system: IEMberry
> graphics: running without monitors, but with a full Desktop connected to 
> via VNC
> Pd: Pd-0.53-1, as packaged
> sound: ALSA
> 
> IEMberry is our in-house RPi4 distribution, it's basically a Raspberry 
> Pi OS (32bit) with loads of audio and development tools preinstalled.
>   https://iemberry.iem.at/
> i'm using iemberry11.20231017 (as can be currently downloaded on the 
> webpage), which is based on Raspberry Pi OS "Bullseye" 11 (the "with 
> desktop and recommended software" flavour).
> The image was generated Mid-October, so it obviously did *not* use 
> "Raspberry Pi OS (Legacy)" as can be found on the RPi homepage right 
> now, as the latter was released 2023-12-05. Instead, the base image was 
> the last release of Rasbian available back then, which turns out to be 
> have been released 2023-05-03).
> 
> IEMberry provides only very few packages by itself, and instead relies 
> on the Debian packages. It also has Debian/backports and the official 
> Raspberry Pi OS repositories enabled (with Debian being preferred).
> 
> IEMberry comes with Pd from Debian/bullseye-backports pre-installed:
> ```
> $ pd -version
> Pd-0.53-1 ("") compiled for Debian (0.53.1+ds-2~bpo11+1) on 2023/01/31 
> at 6:55:52 UTC
> ```
> 
> in order to get your patch running, I did:
> - disconnect the [print button] object
> - switch the Output Device to "bcm2835 Headphones (hardware)" (for 
> whatever reason it preferred the "HDMI 1" output, even though no monitor 
> is connected; probably some VNC thing)
> - make sure to disable audio input (as the onboard soundcard has no adc)
> 
> i've run the "humanCaller_test.pd" patch for about half an hour without 
> any problems, using ALSA as the backend.
> 
> seeing that everything works, i've stopped Pd, launched jackd (again 
> making sure to output to the headphones instead of the non-existant 
> monitor) and tried with JACK as backend.
> after another 10 minutes I decided that everything works great.
> 
> gmadsr
> IOhannes
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: OpenPGP_signature.asc
> Type: application/pgp-signature
> Size: 840 bytes
> Desc: OpenPGP digital signature
> URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20231207/b3a4f95e/attachment-0001.sig>
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 7 Dec 2023 12:35:15 +0100
> From: IOhannes m zmoelnig <zmoelnig at iem.at>
> To: pd-list at lists.iem.at
> Subject: Re: [PD] alsa crashing on recent Pi OS
> Message-ID: <183fa268-d317-4bcf-b43b-c4941a18550c at iem.at>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> i forgot a few more things...
> 
> On 12/7/23 12:27, IOhannes m zmoelnig wrote:
>> 
>> IEMberry provides only very few packages by itself, and instead relies 
>> on the Debian packages. It also has Debian/backports and the official 
>> Raspberry Pi OS repositories enabled (with Debian being preferred).
> 
> i've done a full upgrade ("apt update; apt full-upgrade") the other day.
> this upgraded a bunch of packages (though I don't think anything related 
> to Pd)
> 
>> 
>> i've run the "humanCaller_test.pd" patch for about half an hour without 
>> any problems, using ALSA as the backend.
> 
> 
> i do see the following lines:
> ```
> restart alsa output
> alsa xrun recovery apparently failed
> ```
> 
> but they they are printed only once at startup.
> 
> 
>> 
>> seeing that everything works, i've stopped Pd, launched jackd (again 
>> making sure to output to the headphones instead of the non-existant 
>> monitor) and tried with JACK as backend.
>> after another 10 minutes I decided that everything works great.
>> 
> 
> i've also started Pd with "-nogui" for both ALSA and JACK (still running 
> a full-fledged Desktop over VNC though) and haven't experienced any 
> problems so far.
> 
> gfmasdr
> IOhannes
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: OpenPGP_signature.asc
> Type: application/pgp-signature
> Size: 840 bytes
> Desc: OpenPGP digital signature
> URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20231207/86a7b039/attachment-0001.sig>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Pd-list mailing list
> Pd-list at lists.iem.at
> to manage your subscription (including un-subscription) see
> https://lists.puredata.info/listinfo/pd-list
> 
> 
> ------------------------------
> 
> End of Pd-list Digest, Vol 225, Issue 15
> ****************************************






More information about the Pd-list mailing list