Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi everyone,

While investigating a glitch that affects my own software on 10.8, I noticed that a simple call to glClear() would cause a GL_INVALID_FRAMEBUFFER_OPERATION error. (The list archives seem to contain nothing new on this particular error.)

In trying to understand if there was something wrong with my code, I verified the same problem using OpenGL Profiler attached to more popular apps such as Quartz Composer, Final Cut Pro X, etc.

For example, if you simply create a new blank composition in Quartz Composer, you will hit the following "GL error" breakpoint right away:

	Context: 0x7fdd03857e00
	Virtual Screen:  0/2
	kCGLCPCurrentRendererID:  16918087 (0x01022647)
	GL_RENDERER:  NVIDIA GeForce GT 650M OpenGL Engine
	GL_VENDOR:  NVIDIA Corporation
	GL_VERSION:  2.1 NVIDIA-8.0.51
	kCGLCPGPUFragmentProcessing:  GL_TRUE
	kCGLCPGPUVertexProcessing:  GL_TRUE
Function call stack:
	0: 0x7fff858eaafe in -[QCOpenGLContext _clearGLContext] in <QuartzComposer>
	1: 0x7fff8586e667 in -[QCView erase] in <QuartzComposer>
	2: 0x7fff858738a3 in -[QCView setPatch:] in <QuartzComposer>
	3: 0x10bdb5c33 in <Quartz Composer>
	4: 0x10bdb59d9 in <Quartz Composer>
	5: 0x10bdafced in <Quartz Composer>
	6: 0x7fff860805df in -[NSDocumentController openUntitledDocumentAndDisplay:error:] in <AppKit>
	7: 0x10bdc6273 in <Quartz Composer>
	8: 0x7fff862c4219 in -[NSApplication sendAction:to:from:] in <AppKit>
	9: 0x7fff863f99ac in -[NSMenuItem _corePerformAction] in <AppKit>
	10: 0x7fff863f969a in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] in <AppKit>
	11: 0x7fff863f8330 in -[NSMenu performKeyEquivalent:] in <AppKit>
	12: 0x7fff863f77f3 in -[NSApplication _handleKeyEquivalent:] in <AppKit>
	13: 0x7fff862b4a03 in -[NSApplication sendEvent:] in <AppKit>
	14: 0x10bdaefe2 in <Quartz Composer>
	15: 0x7fff861cac7a in -[NSApplication run] in <AppKit>
	16: 0x10bdac5d0 in <Quartz Composer>
	17: 0x7fff8616f656 in NSApplicationMain in <AppKit>
	18: 0x10bdab8b4 in <Quartz Composer>
	19: 0x00000001 in <Quartz Composer>

This error does not seem to have huge consequences on all GPUs, but on the new NVIDIA GeForce GT 650 it leaves the current buffer filled with VRAM garbage (as you'd expect when a rather necessary glClear() call fails!).

Has anyone else ran into the same issue? Is this an honest error (made by lots of apps, including my own) or a bug in the lower layers of the OS?


Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.