problems starting pd

Guenter Geiger guenter.geiger at
Fri Feb 5 20:43:04 CET 1999

Hi !

You seem to have problems with your network setup.

First try

> ping localhost

This should show you how the connection to your localhost is working.
If this is not working, your network loopback device is misconfigured.

After doing

> /sbin/ifconfig

You should see a line like

lo     Link encap: Local Loopback

If it isn´t there, your loopback device isn´t configured at all.
Pd connects its User interface and server through TCP/IP. You need a working
loopback device if you want to run Pd.

You could also look into /etc/hosts, where there should be an entry like:      localhost

And last but not least, the command

> /sbin/route

should show you something like:

Destination        Gateway          Genmask
localnet            *         ....

unfortunately I am not using Redhat, so someone more familiar with the Redhat
can probably give you more information what is going wrong.
If, for example, "ping localhost" doesn´t work, you might ask on a Rehat list
what is
going wrong.

> -----Original Message-----
> From: Elliot Anderson [mailto:ewanders at]
> Sent: Thursday, February 04, 1999 3:56 PM
> To: pd-list at
> Subject: problems starting pd
> 	I just installed PD 0.24 under Redhat Linux 5.2 on a
> Pentium 333.  I'm
> running KDE for a window manager.
> When I try to run PD I get the message:
> Connecting stream socket: network is unreachable 101
> Then nothing.  I hit Ctrl-C to get back to the bash prompt.
> I'm relatively
> green to Linux.  What do I need to do?
> Thanks,
> Elliot Anderson
> Elliot Anderson
> Adjunct Professor, Electronic Media,
> Art Department
> University of California, Santa Cruz
> - Mon Feb  8 12:00:26 1999
Return-Path: <real-math at>
Received: from (root at [])
	by (8.8.8/8.8.8) with ESMTP id MAA13315
	for <math at>; Fri, 5 Feb 1999 12:29:10 +0100
Received: by
	via sendmail from stdin
	id <m108jFt-0001itC at> (Debian Smail3.2.0.101)
	for math at; Fri, 5 Feb 1999 12:17:01 +0100 (CET) 
Resent-Date: Fri, 5 Feb 1999 12:17:01 +0100 (CET)
Old-Return-Path: <guenter.geiger at>
From: "Guenter Geiger" <guenter.geiger at>
To: "'Michal Seta'" <mis at>, <pd-list at>
Subject: RE: pd and clock cycles
Date: Fri, 5 Feb 1999 12:16:36 -0800
Message-ID: <000301be5144$6ff31460$5f3d9282 at PC468>
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <Pine.LNX.4.04.9902041413070.20289-100000 at>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"RL5O3D.A.GgD.tMtu2">
Resent-From: pd-list at
X-Mailing-List: <pd-list at> formail -q- -D 8192 msgid.cache
X-Loop: pd-list at
Precedence: list
Resent-Sender: pd-list-request at
X-Mozilla-Status: 9011
X-Mozilla-Status2: 00000000
X-UIDL: f6b5613b03d3a8b95b6ccb85066d7025

> -----Original Message-----
> From: Michal Seta [mailto:mis at]
> Hi all,
> Funny thing I noticed.
> When I run pd with the default settings (-r 44100 -ada) no gem
> (still.....) it eats up about 50% of the cpu cycles.  Just
> when it's idle,
> no patches open, audio off.

What kind of sounddriver do you have installed ?
I guess you use the commercial OSS driver. Unluckily full duplex doesn´t
work with the commercial version. (Although the API is fully compatible to the
free version :).
 .. and it really makes me wonder where it burns up the CPU cycles.

> In the case of the same sampling rate but running in -dac
> mode it takes
> about 1% when having something like one osc~.
> I can run it fine in the -ada mode at -r 22050.  Even a complex patch
> doesn't take much cpu (well, within reason).
> Any ideas about this behaviour?

Maybe the sounddriver has problems with the fragment size and fragment number .
(Note, this is an internal detail of a sounddriver)

There are two hidden command flags for pd, with which you can exeriment.

-frags <num>
-fragsize <num>

the parameter to -frags normally is the same as the "advance" which is displayed
during startup.
fragsize is set to 8 by default (this makes up 64 audio samples).

Try to set the fragsize to 9,10 or even 11, and look what happens
> pd -fragsize 10


PS: if you have problems compiling Gem, just send my the output of
compile and make, then I can try to figure out what is going on there.

> Gear:
> IBM i1440 thinpad
> 266MMX
> Yamaha OPL3 sound card.
> OSS.

which OSS ? free : commercial;

> RedHat 5.2
> Thanks
> .....                            ....
>      ......   Michal Seta  ......
> .....                            ....

More information about the Pd-list mailing list