[PD] jackd & pd -jack

Frank Barknecht fbar at footils.org
Tue Jul 8 07:18:48 CEST 2003


Hallo,
Alexander Klosch hat gesagt: // Alexander Klosch wrote:

> I'm trying to get pd with jack support running for an 4-channel
> audio installation (with an EWS88MT) which has to be built up until
> wednesday night :) and I was wondering if someone else has similar
> problems and maybe a solution, which I would need very soon.
> 
> # jackd -V
> jackd version 0.72.4
> 
> I run:
> # jackd -R -d alsa -d hw:0 -r 44100 -p 1024 &
> 
> I tried several pd sources (CCRMA pd-0.36.0-3.cvs.i386.rpm and
> pd-0.36.0-2.cvs.src.rpm & CVS devel_0_36)
> with all same errors pop up.
> 
> jack says:
> ------------------------------------------------------------------------
> #jackd -R -d alsa -d hw:0 -r 44100 -p 1024 &
> [1] 32085
> jackd 0.72.4
> Copyright 2001-2003 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> 
> JACK compiled with System V SHM support
> loading driver ..
> creating alsa driver ... hw:0|hw:0|1024|2|44100|nomon|swmeter|rt
> open
... > 
> **** alsa_pcm: xrun of at least 269.507 msecs
> 
> cannot read connection request from client
> cannot complete new client connection process
> cannot read connection request from client
> cannot complete new client connection process
> ------------------------------------------------------------------------
> 
> pd says:
> ------------------------------------------------------------------------
> # pd -jack
> Testing for Jack
> cannot read response from jack server (No such file or directory)
> cannot read response from jack server (No such file or directory)

After this error, Pd tries to use the audio interface directly, which
of course fails. Somehow you have a conflict with jack and Pd. What
does "ldd /usr/bin/pd" show? Is it linked to the correct
libjack-version?

> ------------------------------------------------------------------------
> 
> devel_0_37 does not even compile for me, following compile error:
> ------------------------------------------------------------------------
> s_audio_alsa.o: In function `alsa_open_audio':
> s_audio_alsa.o(.text+0xc0): undefined reference to `snd_pcm_hw_params_malloc'
... 
> collect2: ld returned 1 exit status
> make: *** [../bin/pd] Fehler 1

You don't actually need ALSA support if you want to run Jack. So
either disable ALSA by setting "SOUND_ALSA = no" in makefile(.in) or
add some "-lasound" to "LIB" there. But beware, that the official
pd-0.37 doesn't have Jack support. You need to get branch "devel_0_37"
from the CVS.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list