[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] will there ever be real multiprocessor support?



But all the major daws (protools, logic, cubasem nuendo, etc) support multi-processors, and now even max/msp supports them and csound has experimental multi-core on 5.0.9. I guess putting several servers sending audio to each other through jack might be a temporary solution, but still that's a big headache... Off course I'm not saying it's easy, but it just seems to me that it will have to be adressed at some point in order for the sc to not become obsolete. Fierceless sc programmers out there, sink your teeth into this problem so that you can have the glory of being the one to make sc multi-core friendly ! We promise we will build a statue for you! :-)

Miguel

ps: how much of delay is there introduced by sending audio between two apps using jack ?

Wouter Snoei escreveu:
Hi Miguel,

as far as I understood this issue gives headaches even to the most experienced dsp programmers in the world. AFAIK none of the existing audio programming languages deals well with multiprocessor machines; there is always some drawback where users have to spawn multiple processes which can't interact. I hope some kind of solution will be found for it at some point, but I don't think it will soon.

Please anyone tell me if I'm wrong about this ..

cheers,
Wouter

Op 4 mrt 2009, om 20:58 heeft Miguel Negrao het volgende geschreven:

A bit out of topic, but what are the prospects that supercollider becoming trully multi-processor friendly ? In my case my synths all send audio to each other so i can't even use several servers and I'm stuck with using just one core... Computers are only going to become more multi-processor from now on, with mac pros with 16 corea around the corner, so is there a plan to adress this in the future ?

--
Miguel Negrão // ZLB
http://www.friendlyvirus.org/artists/zlb/

Wouter Snoei escreveu:
Hi,
I'm researching the possibility to use JackOSX for solving the problems I'm experiencing with multiple servers on our WFS system. So far it seems to work, but I'm bumping into some kind of maximum inside Jack. When I try to boot 8 servers with 96 channels output each (which is what I need for our system) it stops after booting the 4th. I've set jack to verbose mode and posted the messages I got below. It says "JAR: Cannot register ports" as most important message. Could anyone give me a hint on why this happens, and if there is a way around it (maybe increasing memory size somewhere)? It works fine when I set it to less channels (but to me there is no use for that), although I need to wait ±5s between every server start. If I don't it only starts 3 or 4 in JackRouter and the rest in built-in. The occasional boot failures are still present here, but that is not my biggest problem. What I hope to accomplish here is to get rid of the clicking, as discussed earlier on the list. I'm using SC3.3a rev8828, OSX 10.5.6, jack v#0.81. jack message at first failed server (there are already 4 scsynths running here):
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 1024
JAR: JackRouterDevice::IsSafeToExecuteCommand theAnswer = 1
JAR: JackRouterDevice::StartCommandExecution
JAR: JackRouterDevice::AddIOProc
JAR: JackRouterDevice::Open id 368 name scsynth
JAR: AllocatePorts fInputChannels = 8 fOutputChannels = 96
JAR: Cannot register ports
JAR: DisposePorts
JAR: DisposePorts input 0
JAR: DisposePorts input 1
JAR: DisposePorts input 2
JAR: DisposePorts input 3
JAR: DisposePorts input 4
JAR: DisposePorts input 5
JAR: DisposePorts input 6
JAR: DisposePorts input 7
JAR: DisposePorts output 0
JAR: DisposePorts output 1
JAR: DisposePorts output 2
JAR: DisposePorts output 3
JAR: DisposePorts output 4
JAR: DisposePorts output 5
JAR: DisposePorts output 6
JAR: DisposePorts output 7
JAR: DisposePorts output 8
JAR: DisposePorts output 9
JAR: DisposePorts output 10
JAR: DisposePorts output 11
JAR: DisposePorts output 12
JAR: DisposePorts output 13
JAR: DisposePorts output 14
JAR: DisposePorts output 15
JAR: DisposePorts output 16
JAR: DisposePorts output 17
JAR: DisposePorts output 18
JAR: DisposePorts output 19
JAR: DisposePorts output 20
JAR: DisposePorts output 21
JAR: DisposePorts output 22
JAR: DisposePorts output 23
JAR: DisposePorts output 24
JAR: DisposePorts output 25
JAR: DisposePorts output 26
JAR: DisposePorts output 27
JAR: DisposePorts output 28
JAR: DisposePorts output 29
JAR: DisposePorts output 30
JAR: DisposePorts output 31
JAR: DisposePorts output 32
JAR: DisposePorts output 33
JAR: DisposePorts output 34
JAR: DisposePorts output 35
JAR: DisposePorts output 36
JAR: DisposePorts output 37
JAR: DisposePorts output 38
JAR: DisposePorts output 39
JAR: DisposePorts output 40
JAR: DisposePorts output 41
JAR: DisposePorts output 42
JAR: DisposePorts output 43
JAR: DisposePorts output 44
JAR: DisposePorts output 45
JAR: DisposePorts output 46
JAR: DisposePorts output 47
JAR: DisposePorts output 48
JAR: DisposePorts output 49
JAR: DisposePorts output 50
JAR: DisposePorts output 51
JAR: DisposePorts output 52
JAR: DisposePorts output 53
JAR: DisposePorts output 54
JAR: DisposePorts output 55
JAR: DisposePorts output 56
JAR: DisposePorts output 57
JAR: DisposePorts output 58
JAR: DisposePorts output 59
JAR: DisposePorts output 60
JAR: DisposePorts output 61
JAR: DisposePorts output 62
JAR: DisposePorts output 63
JAR: DisposePorts output 64
JAR: DisposePorts output 65
JAR: DisposePorts output 66
JAR: DisposePorts output 67
JAR: DisposePorts output 68
JAR: DisposePorts output 69
JAR: DisposePorts output 70
JAR: DisposePorts output 71
JAR: DisposePorts output 72
JAR: DisposePorts output 73
JAR: DisposePorts output 74
JAR: DisposePorts output 75
JAR: DisposePorts output 76
JAR: DisposePorts output 77
JAR: DisposePorts output 78
JAR: DisposePorts output 79
JAR: DisposePorts output 80
JAR: JackRouterDevice::FinishCommandExecution
AudioDeviceAddIOProc failed 1852797029
start audio failed.
JAR: HP_Device::Do_StopAllIOProcs
JAR: JackRouterDevice::IsSafeToExecuteCommand jack_client_thread_id = 0 pthread_self = -1607059680
JAR: JackRouterDevice::IsSafeToExecuteCommand theAnswer = 1
JAR: JackRouterDevice::StartCommandExecution
JAR: HP_Device::StopAllIOProcs 0
JAR: JackRouterDevice::StopAllIOProcs
JAR: JackRouterDevice::FinishCommandExecution
JAR: JackRouterPlugIn::Teardown 1
RESULT = 1
ERROR:
server failed to start
cheers,
Wouter
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/





_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/