problems running pd-0.20 under linux

Nicola Bernardini nicb at
Wed Feb 11 10:18:46 CET 1998

Thanks Guenter for your quick reply
(and to Miller too, for his reply on d_ugen bug)

On Mon, 9 Feb 1998, Guenter Geiger wrote:

>  > few warnings, like "failed to open audio read port" 
>  This is due tue the fact that SB's only support one directional
>  sampling. Pd chooses to use the  write port and therefore fails for
> the read port.

I should have guessed that, sorry... Does somebody have a current list
of the cards that support full duplex and that have drivers for linux?

>  Basically MIDI is known to work ..

well, I'll test MIDI a little bit further...

>  You are right, I did put in some rt scheduling stuff for Linux which can only
>  be used under root. Otherwise it will just be ignored.

I think it could be a good idea to su-id pd (not pd-gui) in the
installation target: I do not think there is a security breach in this
(but I am not a specialist of security). Or better, there could be
a condition that allows to select whether to do this or not.

>  > 1) If, for example, I call up pd, set the audio to ON, THEN open a patch
>  >    like "cos~.pd" and run the oscillator, no audio happens; if I open
>  >    the patch THEN turn the audio ON the audio works (this used to happen
>  >    to 0.18 too)
>  This, or similar cases are "known" bugs. I guess they are not high
>  priority at the moment, but anybody solving this is welcome .. :)

I'll look this up if this is still there on 0.21...

>  > 2) on 0.20 when I edit the patch and audio is ON, after *any* edit operation
>  I can't reproduce this, but there have been two 0.20 versions, the
>  first one had a bug.
>  Probably we should come up with a 0.21 just for clearness. Miller ?

Well, this is extremely deterministic on my machine (it happens all the
time). If this persist, I'll try harder. Does somebody know how to
trap processes dying with sigsegv with gdb? (no core is produced,
even with ulimit -c unlimited, and gdb says it cannot ptrace the
pd process...)


Nicola Bernardini
E-mail: nicb at
Re graphics: A picture is worth 10K words -- but only those to describe
the picture.  Hardly any sets of 10K words can be adequately described
with pictures.

More information about the Pd-list mailing list