Could also be a memory leak + some texture optimizations. The image from string patches use the CPU side to draw the text with typical Quartz text rendering if I am not mistaken, and probably use some texture optimization tricks to keep contents from being copied many times to the GPU (client storage and texture range). If there is a memory leak somewhere it could make the contents of the texture corrupt. Just a thought?

Can you see if your app or QC leaks memory over the duration it is running? You can simply use activity monitor and just note the start real memory usage and see what it is like after your normal runtime.

You can also, if you are willing, run your QC app from the OpenGL Profiler, and then when you see your issue, set a breakpoint and inspect the texture resources manually (by looking at the textures and seeing if they are actually corrupt, or if the glitch is a different area, ie, not in the texture itself).

Good luck.

On Jan 9, 2010, at 6:52 PM, Christopher Wright wrote:

Mighty QC List, I have a visualization that accumulates multiple words over time, and the once the comp has been running for a while it starts to draw words that are corrupted into strange blocks. In the image notice that some of the word sprites are drawn as distorted blocks or lines although the original string is feeding into the sprite intact. Any hunches on this?
<Screen shot 2010-01-09 at 1.38.12 PM.png>

Are you on 10.5 or 10.6? Which GPU are you using? What kind of uptime does it take for this to set in ("a while" could equal a few seconds or a few days)? Can you post the composition (or one like it that reproduces the issue)?

If you're on 10.6, give it a spin on 10.5 -- the drivers on 10.5 seem much more reliable (in my completely unscientific opinion and limited hardware experience -- just a GMA950 and an NVidia 8800), so it could be GL drivers to blame. It could be QC4 to blame (or QC3, if you're on 10.5). It could be bad vram (in which case it's specific to just that machine -- however, I'd imagine bad vram would manifest itself elsewhere as well ;)

--
[ christopher wright ]
[email protected]
http://kineme.net/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to