[PD] Pd freezing on startup in ubuntu dapper

John Harrison john.harrison at wichita.edu
Mon Nov 6 15:53:06 CET 2006


I booted up a LiveCD of Dynebolic v1.4.1 which has Pd on it. Just as 
with my ubuntu machine, trying to run Pd  froze the machine utterly, 
completely. So my guess is it has something to do with the driver for 
this particular sound card, the Alsa library, and Pd. I'm guessing Pd 
must load in the libraries for alsa and/or do some sort of check of the 
audio hardware initially, regardless of the flags set on the command 
line, and this must be what is crashing it. I'm not sure what is unique 
about Pd as opposed to all of the other audio apps I have tried on this 
machine, but apparently there's something because no other audio apps 
are crashing. I'm also not sure how it is that others are apparently 
running this same M-audio Delta 1010LT card w/ Pd with no problems? Can 
somebody confirm this? I see the card referenced in the official Pd docs 
for installation in Linux, so I'm assuming this card apparently worked 
with Pd somehow, at least at one time.

I thought of trying the same card w/ Pd in another machine, but I'm not 
even sure where I would go w/ these results...

-John

John Harrison wrote:
> Yes everything works with jack...except Pd. pd -jack still freezes the 
> system utterly, completely. What could possibly be causing this? I 
> wish I could compile w/out both ALSA and OSS so Pd basically had no 
> chance for connection to the audio hardware at all....but that breaks 
> the compile, as have already posted about to this list.
>
> Does anybody know of a LiveCD with Pd on the CD? I'd like to try 
> booting this to see if the problem might be in my os config somewhere...
>
> To anybody else using this card with Pd: any config for the card 
> itself (say, using envy24control) I need to know about? Should I try a 
> different slot on the computer? This is just crazy...
>
> -John
>
> Roman Haefeli wrote:
>> hi john
>>
>> without knowing the deeper details of and reasons for your problem i
>> suggest the following:
>> -try to run jack with your delta 1010LT
>> -then try out, if any other application can use your soundcard over jack
>> -if yes, then try 'pd -jack', so that pd connects to jack and then maybe
>> you can use your soundcard without freezing.
>>
>> from my experience, i solved many problems concerning audiosoftware and
>> soundcards by inserting 'the jack-layer' in between (on
>> linux//debian/ubuntu and osx). hopefully it helps in your situation as
>> well.
>>
>> cheers
>> roman
>>  
>>
>> On Fri, 2006-11-03 at 20:16 -0600, John Harrison wrote:
>>   
>>> If I yank the M-audio Delta 1010LT card out of the machine, Pd runs
>>> fine. When I part the card back in, Pd freezes again. So the problem
>>> appears to be this M-audio card. The thing is...I Googled and searched
>>> this mailing list and it appears people use this card with Pd all the
>>> time with no problems. I need Pd and I need this M-audio card. What's
>>> my next step?
>>>
>>> Weird that the card would crash Pd even with this command:
>>>
>>> $ pd -nosound -noadc -nodac
>>>
>>> Thanks,
>>>
>>> -John
>>>
>>> John Harrison wrote: 
>>>     
>>>> Pd is still completely freezing my ubuntu Dapper machine. I have
>>>> tried recompiling with Pd 0.40.2 and still absolute and instant
>>>> freeze. So I tried the suggestion below. The debugger reports:
>>>>
>>>> Starting program /usr/local/bin/pd
>>>> [Thread debugging using libthread_db enabled]
>>>> [New Thread -1211066688 (LWP 6400)]
>>>>
>>>> Then the machine is completely frozen again, so I have to pull the
>>>> plug.
>>>>
>>>> I also tried editing /etc/hosts as was suggested here:
>>>> http://lists.puredata.info/pipermail/pd-list/2005-07/029853.html
>>>>
>>>> and that didn't help either...
>>>>
>>>> I have used this on many ubuntu Dapper machines so I don't know
>>>> what's so special about this one. Could it be the 2 dual-core
>>>> Pentium Xeons? Could it be the M-audio Delta 1010LT card?
>>>>
>>>> When I run
>>>>
>>>> $ pd -verbose
>>>>
>>>> I get no response at all. Just the instantly frozen machine.
>>>>
>>>> And I have tried the various flags (-nrt -nomidi -nosound) and
>>>> others...
>>>>
>>>> -John
>>>>
>>>> Frank Barknecht wrote: 
>>>>       
>>>>> Hallo,
>>>>> John Harrison hat gesagt: // John Harrison wrote:
>>>>>
>>>>>   
>>>>>         
>>>>>> I have now tried
>>>>>>
>>>>>> pd -nrt -nosound -nomidi
>>>>>>
>>>>>> and it was the same thing: complete computer freeze with even mouse and 
>>>>>> keyboard not responding, requiring me to pull the plug.
>>>>>>
>>>>>> I've tried both as root and not.
>>>>>>     
>>>>>>           
>>>>> Can you try to start Pd under a debugger? That is: 
>>>>> $ gdb /usr/bin/pd
>>>>> (gdb) run
>>>>>
>>>>> and if Pd crashes and your machine is still alive try to catch a
>>>>> backtrace with:
>>>>> (gdb) bt
>>>>>
>>>>> Ciao
>>>>>   
>>>>>         
>>>> ____________________________________________________________________
>>>>
>>>> _______________________________________________
>>>> PD-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>>   
>>>>       
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>     
>>
>>
>> 		
>> ___________________________________________________________ 
>> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>>
>>   
>
> -- 
> John Harrison
> Associate Professor of Violin
> Director: CRATEL
>   (Center for Research in Arts, Technology, Education and Learning)
> Wichita State University
> Wichita, KS 67260-0053
> USA
>
> http://JohnHarrisonViolin.com
> http://cratel.wichita.edu
>
> tel: 001 316 978 6572
> fax: 001 316 978 3625
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>   

fax: 001 316 978 3625

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20061106/b2730b0c/attachment.htm>


More information about the Pd-list mailing list