QC Dev OpenCL examples in 10.6.2?

photonal's picture

I've been trying out the developer QC OpenCL examples and a few of them don't seem to work in 10.6.2. (For example, Pages Jiggle and Wind Tunnel)

Can anyone confirm this; Do they only work in 10.6.1 or earlier?

Wind Tunnel crashes (I sent the crash report to Apple):

Process: Quartz Composer [304] Path: /Developer/Applications/Quartz Composer.app/Contents/MacOS/Quartz Composer Identifier: com.apple.QuartzComposer.editor Version: 4.0 (103.1) Build Info: QuartzComposerEditor-1030100~1 Code Type: X86-64 (Native) Parent Process: launchd [103]

Date/Time: 2009-11-19 15:39:11.154 +0100 OS Version: Mac OS X 10.6.2 (10C540) Report Version: 6

Interval Since Last Report: 23062 sec Crashes Since Last Report: 2 Per-App Interval Since Last Report: 3021 sec Per-App Crashes Since Last Report: 1 Anonymous UUID: EDE29307-ACC8-4A6A-9A65-B48E000B793B

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: 0x000000000000000d, 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 com.apple.CoreFoundation 0x00007fff888d4730 CFRetain + 112 ............................................................................. 46 ...apple.QuartzComposer.editor 0x0000000100001258 0x100000000 + 4696

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cybero's picture
Re: QC Dev OpenCL examples in 10.6.2?

On 10.6.2 All OpenCL samples work as expected except


PagesJiggle - image structure patch doesn't load.


Aurora - works better if you kind of lower the fog and control the environment and lighting , then you begin to get the benefits of that composition. OpenCL Meshes from audio spectrum fail in iTunes. OpenCL Audio generated structures seem related to iTunes crash. Crashes already sent to Apple, possible iTunes / Music Visualizer protocol bug. Still studying what's up before submitting.

So - to be kind of thorough, I just downloaded the pertinent source code,

Still just those two items in which embedded image structures and paths to local files don't work and render. All other prior comments apply.

photonal's picture
Re: QC Dev OpenCL examples in 10.6.2?

Ah, thanks for the confirmation!

cybero's picture
Re: QC Dev OpenCL examples in 10.6.2?

A video showing the difference in how Aurora works in iTunes depending upon spectrum or peak audio input.


Aurora, a Sample Code example from Apple, is meant , it would seem from the protocol information, to be a music visualizer, using audio data generated mesh grids to visualize the music.

The initial setup is for Spectrum data to be used. This does not work in iTunes. Audio Peak data , queued to create a structure does however work, as can be seen from the two versions of this code sample .

Note both the Spectrum and the Peak data versions work fully in Quartz Composer. It is only in iTunes itself, where it would seem it is intended to work, that the default data set doesn't render at all.

This is not the only peculiarity of graphics rendering in QC 4 , and it just seems to get stranger by each successive update.

photonal's picture
Re: QC Dev OpenCL examples in 10.6.2?

I have just filled out two bug reports at bugreport.apple.com regarding this issue too.