[PD] RPi Debug

Malte Steiner mktsteiner at gmail.com
Wed Dec 5 14:57:12 CET 2018


If you don't need the GUI and maybe even run the Raspberry Pi headless,
there is no need to run PD with it and the desktop at all, that way it
saves some CPU cycles even. PD can be started on commandline with the
parameter -nogui
We use that combination Raspberry Pi and PD i.e. as effect device in
concerts. I wrote some details here:
http://www.block4.com/index.php?id=169



On Tue, Dec 4, 2018 at 5:50 PM michael strohmann <itsnotfair9 at gmail.com>
wrote:

> Beloved List!
> i am in the process of debugging a audio-installation that is running on a
> RPi B+.
> i noticed that the RPi restarted because it was running out of memory.
> it seams that the pd-gui.tcl process i piling up memory and eventually
> crashes.
> any hints on what could be the root of the problem?
>
>
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root       636  2.0 49.9 543008 474092 ?       Sl   Dec02  33:11 wish
> /usr/lib/puredata/tcl//pd-gui.tcl 5400
> root       626  6.5  0.4  30272  3888 ?        Sl   Dec02 108:16 puredata
> /home/pi/MAW_ArbeitIstUnsichtbar/03_LightRoom_Loop.pd
>
> currently (according to the ps aux —sort -rss|head) it seams that the
> memory usage is decreasing again.
> but right after a restart, it looks more like this:
>
> root       759  9.2  1.4  27096 13900 ?        Sl   10:44   0:03 wish
> /usr/lib/puredata/tcl//pd-gui.tcl 5400
> root       734  6.5  1.2  30256 12016 ?        Sl   10:44   0:02 puredata
> /home/pi/MAW_ArbeitIstUnsichtbar/02_DarkRoom.pd
>
> i am running vanilla pd, use wiringPi_gpio to read out Sensor data and use
> netreceive/netsend to communicate with a remote control which sends OSC via
> UDP…
> i also setup the RPi so that whenever PD is unresponsive for some time, it
> restarts the raspi…
> the raspi also runs LXDE - is it much better to run pd without gui??
>
> Thanks!
> Michael
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
Malte Steiner
media artist | electronic musician
http://www.block4.com

E-mail:mktsteiner at gmail.com
phone: +49 (0) 1775522275

sign up for the block4 newsletter:
http://eepurl.com/c-4HCn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20181205/a7945004/attachment-0001.html>


More information about the Pd-list mailing list