Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: PortAudio in 5.09 Windows Installer

Date2008-09-24 12:32
FromMichael Gogins
Subject[Csnd] Re: Re: PortAudio in 5.09 Windows Installer
I have no specific reason to think it's AMD incompatibility -- but the Csound code is tuned for nocona, i.e. Intel Core 2 Duo. I will research this a bit.

Csound itself is built with MinGW, the PortAudio library is built with Microsoft Visual C++ Express Edition (which is not tuned for nocona, just optimized). The code generation has to be different; this is not a problem on an Intel chip but just possibly it is a problem on the AMD chip.

Try a MinGW-built PortAudio DLL from somewhere?

Regards,
Mike

-----Original Message-----
>From: Art Hunkins 
>Sent: Sep 24, 2008 12:12 AM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: PortAudio in 5.09 Windows Installer
>
>Mike,
>
>My desktop is Win XP Professional, version 2002, SP3. Processor: AMD Athlon 
>XP 1600+, 1.4GHz with 480 MB RAM.
>
>My laptop is running the same Windows - except it's the Home Edition, but 
>with a different processor: AMD Turion64 Mobile, ML-30, 1.59GHz with 896 MB 
>RAM. I just installed the very latest 5.09.1 on it, and it exhibits largely 
>the same issue: it gives WARNINGs about not loading 4 .dll's from the 
>plugins directory, again including rtpa.dll (my culprit).
>
>Are we perhaps talking about some AMD incompatibility here?
>
>Tomorrow I'll download and run in 'depends' and give a report. (I'm not sure 
>what "running in 'depends'" means, but I gather there will be instructions 
>available.)
>
>Thanks for all your help.
>
>Art Hunkins
>
>----- Original Message ----- 
>From: "Michael Gogins" 
>To: 
>Sent: Tuesday, September 23, 2008 9:38 PM
>Subject: [Csnd] Re: Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
>
>
>> What version of Windows, and what processor, are you running? This may be 
>> relevant.
>>
>> Also, please try this. Install the "depends" program and run Csound in it. 
>> Then search in the output log for "Audio" and "rtpa". Let me know what you 
>> find. The program can be found at http://www.dependencywalker.com.
>>
>> Hope this helps,
>> Mike
>>
>> -----Original Message-----
>>>From: Art Hunkins 
>>>Sent: Sep 23, 2008 8:10 PM
>>>To: csound@lists.bath.ac.uk
>>>Subject: [Csnd] Re: Re: Re: Re: PortAudio in 5.09 Windows Installer
>>>
>>>Mike,
>>>
>>>I'm still drawing a blank.
>>>
>>>I deleted my PATH variable (a long one indeed), then rebooted, went to
>>>csound\bin (as shown below) and ran (commandline) a .csd located there. 
>>>Same
>>>result.
>>>
>>>I *do* have a number of portaudio .dll's on my machine, including several
>>>rtpa.dll's in 5.07 and 5.08 directories. These, however, are unique
>>>installations, with no remaining environment variables to my knowledge 
>>>(I've
>>>gone through my system variables rather thoroughly).
>>>
>>>Here's the complete console output again:
>>>--------------
>>>Microsoft Windows XP [Version 5.1.2600]
>>>(C) Copyright 1985-2001 Microsoft Corp.
>>>
>>>C:\Documents and Settings\Art Hunkins>cd\program files\csound\bin
>>>
>>>C:\Program Files\Csound\bin>csound pantest.csd
>>>time resolution is 279.365 ns
>>>PortMIDI real time MIDI plugin for Csound
>>>virtual_keyboard real time MIDI plugin for Csound
>>>0dBFS level = 32768.0
>>>Csound version 5.09 beta (float samples) Sep 13 2008
>>>libsndfile-1.0.18pre22
>>>Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
>>>WARNING: could not open library 'C:\Program Files\Csound\plugins\rtpa.dll'
>>>(-1)
>>>WARNING: could not open library 'C:\Program Files\Csound\plugins\csnd.dll'
>>>(-1)
>>>WARNING: could not open library 'C:\Program
>>>Files\Csound\plugins\fluidOpcodes.dl
>>>l' (-1)
>>>UnifiedCSD:  pantest.csd
>>>STARTING FILE
>>>Creating options
>>>Creating orchestra
>>>Creating score
>>>orchname:  C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs34.orc
>>>scorename: C:\DOCUME~1\ARTHUN~1\LOCALS~1\Temp\cs35.sco
>>>rtmidi: PortMIDI module enabled
>>>orch compiler:
>>>38 lines read
>>>        instr   1
>>>        instr   2
>>>sorting score ...
>>>        ... done
>>>Csound version 5.09 beta (float samples) Sep 13 2008
>>>displays suppressed
>>>0dBFS level = 32768.0
>>>orch now loaded
>>>audio buffered in 128 sample-frame blocks
>>> *** error: unknown rtaudio module: 'pa'
>>>Failed to initialise real time audio output
>>>Csound tidy up: Segmentation violation
>>>inactive allocs returned to freespace
>>>end of score.              overall amps:      0.0      0.0
>>>           overall samples out of range:        0        0
>>>1 errors in performance
>>>
>>>C:\Program Files\Csound\bin>
>>>----------
>>>
>>>Art Hunkins
>>>
>>>----- Original Message ----- 
>>>From: "Michael Gogins" 
>>>To: 
>>>Sent: Tuesday, September 23, 2008 6:44 PM
>>>Subject: [Csnd] Re: Re: Re: PortAudio in 5.09 Windows Installer
>>>
>>>
>>>>I double-checked with the "depends" program. As I thought, no DLLs are
>>>>loaded except from Windows and the Csound installation directory.
>>>>
>>>> I also do not see any of these warning messages.
>>>>
>>>> I suggest you check your PATH environment variable. You may have older
>>>> DLLs lying around somewhere that are not compatible, e.g. an older
>>>> PortAudio dll or something of that sort. You could try running Csound 
>>>> from
>>>> the command line and set the PATH environment variable to nothing. It
>>>> should still work if you run Csound from the installation or bin
>>>> directory. I.e., first "set PATH=" and then "bin\csound
>>>> examples\trapped.csd" or something.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> -----Original Message-----
>>>>>From: Art Hunkins 
>>>>>Sent: Sep 23, 2008 3:49 PM
>>>>>To: csound@lists.bath.ac.uk
>>>>>Subject: [Csnd] Re: Re: PortAudio in 5.09 Windows Installer
>>>>>
>>>>>I checked one thing further:
>>>>>
>>>>>I copied rtpa.dll, csnd.dll and fluidOpcodes.dll from \plugins to \bin, 
>>>>>so
>>>>>they are in both locations. (Actually, csnd.dll is already in both.)
>>>>>
>>>>>Csound still can't find any of the three (same warnings).
>>>>>
>>>>>Art Hunkins
>>>>>
>>>>>----- Original Message ----- 
>>>>>From: "Michael Gogins" 
>>>>>To: 
>>>>>Sent: Tuesday, September 23, 2008 1:46 PM
>>>>>Subject: [Csnd] Re: PortAudio in 5.09 Windows Installer
>>>>>
>>>>>
>>>>>> Are these DLLs in the bin directory (where they should be)? Perhaps 
>>>>>> the
>>>>>> installer is putting them in the wrong place. I'll check that too...
>>>>>>
>>>>>> Regards,
>>>>>> Mike
>>>>>>
>>>>>> -----Original Message-----
>>>>>>>From: Art Hunkins 
>>>>>>>Sent: Sep 23, 2008 12:59 PM
>>>>>>>To: csound@lists.bath.ac.uk
>>>>>>>Subject: [Csnd] PortAudio in 5.09 Windows Installer
>>>>>>>
>>>>>>>Mike,
>>>>>>>
>>>>>>>A bit more info about the "pa" problem in the 5.09 Windows installer.
>>>>>>>
>>>>>>>I should think the problem relates to the warning messages below. 
>>>>>>>(This,
>>>>>>>with installation in the default directory.)
>>>>>>>
>>>>>>>Indeed all three .dll's are present where they should be.
>>>>>>>
>>>>>>>I tried installs in these locations (all without Python):
>>>>>>>C:\Program Files\Csound (the default)
>>>>>>>C:\Csound5.09
>>>>>>>C:\Csound509
>>>>>>>
>>>>>>>All gave the same result. I had thought perhaps that the default
>>>>>>>location
>>>>>>>might be required, or that the dot or space in the directory path 
>>>>>>>might
>>>>>>>be
>>>>>>>giving some problem. It seems not.
>>>>>>>
>>>>>>>Art Hunkins
>>>>>>>--------------------
>>>>>>>
>>>>>>>0dBFS level = 32768.0
>>>>>>>Csound version 5.09 beta (float samples) Sep 13 2008
>>>>>>>libsndfile-1.0.18pre22
>>>>>>>Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
>>>>>>>WARNING: could not open library 'C:\Program
>>>>>>>Files\Csound\plugins\rtpa.dll'
>>>>>>>(-1)
>>>>>>>WARNING: could not open library 'C:\Program
>>>>>>>Files\Csound\plugins\csnd.dll'
>>>>>>>(-1)
>>>>>>>WARNING: could not open library 'C:\Program
>>>>>>>Files\Csound\plugins\fluidOpcodes.dl
>>>>>>>l' (-1)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>Send bugs reports to this list.
>>>>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>>>>"unsubscribe
>>>>>>>csound"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>
>>>>>
>>>>>
>>>>>Send bugs reports to this list.
>>>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>>>csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>>Send bugs reports to this list.
>>>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>>csound"
>>
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>> csound" 
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2008-09-24 12:42
From"Oeyvind Brandtsegg"
Subject[Csnd] Re: Re: Re: PortAudio in 5.09 Windows Installer
AttachmentsNone