Performance tomorrow, jitter patch crashing; advice? (Threading, poly~ movie)
I spoke to Andrew Benson a bit regarding this patch yesterday, but I sent him such a large response email that he is likely still reading it.
First, the patch is here (It’s been changed a bit, but not substantially): http://andrewlb.com/max/mixer_20100217.zip
To preface, you’re free to use anything and everything from it. My goal is to develop it a bit further and then release a bunch of those patchers as a unified set of monome video performance objects, but feel free to use what’s there now.
It’s a pretty big expansion on the VPS tutorial by Andrew, and yeah, I’ve built it out quite a bit (and also incorporated some other patches, such as stealing some of _vade’s v001 modules) in the BANKS subpatch of the fxbank.
Anyway, yeah, this whole thing has been a learning exercise, but we’re throwing an event in Toronto tomorrow (plug: http://www.facebook.com/#!/event.php?eid=314502728325&ref=mf) and I somewhat foolishly decided to perform as well.
Anyway, yeah, so still much crashing, 99% of the time here:
Thread 2 Crashed:
0 com.apple.QuickTime 0×93121912 QTMLGrabMutex + 18
1 com.apple.QuickTime 0x93193b96 ExecuteCallBack_priv + 24
2 …ple.CoreServices.CarbonCore 0x943d222d TimerThread + 291
3 libSystem.B.dylib 0x921a0fbd _pthread_start + 345
4 libSystem.B.dylib 0x921a0e42 thread_start + 34
I’ve been trying a bunch of different methods to fix it: deferlow, defer, qlims, jit.balls, overdrive on and off, changing the amount of permissible slop, etc.
Learning a _lot_ in the process, but it’s less than 24 hours till I’m playing and I’m beginning to panic a bit.
Andrew suggested that it might be the media but I re-encoded everything as photojpeg q85% 15fps 640×480 and it still crashes. I’ve also followed _vade’s optimization guide and a number of other things, but still crashing (albeit when it works, it works like a charm).
Anyway, I think it’s a matter of threadsafety and interrupting the quicktime processes, but I quite frankly don’t know enough about it right now to debug this properly. I’m learning as quickly as I can, but would deeply appreciate your advice.
Thanks in advance!
would be good to know if the crashing is happening when you read new videos.
in which case, might want to try replacing asyncread with normal read.
or possibly removing the loadram.
did you solve your problem? i have the same problem, except from the fact that our performance is in four weeks…
it is mainly andrew’s patch, i just added some controls and a looper, that syncs to ableton…
our material is jpeg-video 1080i. the videos should run on an powermac with 8gb ram (sorry, i dont know more about it, because it is not mine…)
i added the patches, so perhaps anybody could test, if max crashes on their computers, too.