Page MenuHome

GL_INVALID_FRAMEBUFFER_OPERATION on startup
Closed, DuplicatePublic

Description

System Information
Operating system: OS X 10.11.6 (15G31)
Graphics card: Intel Iris 1536 MB

Blender Version
Broken: 2.80-f4677547d430
Worked: Unknown

Short description of error
The XCode OpenGL Profiler reports this, when starting blender.
Blender seems to work normally.

glClear(GL_COLOR_BUFFER_BIT)
Error: GL_INVALID_FRAMEBUFFER_OPERATION
Context: 0x7fb6d425ac00
Virtual Screen: 0/1
kCGLCPCurrentRendererID: 16925953 (0x01024501)
GL_RENDERER: Intel Iris OpenGL Engine
GL_VENDOR: Intel Inc.
GL_VERSION: 4.1 INTEL-10.14.73
kCGLCPGPUFragmentProcessing: GL_TRUE
kCGLCPGPUVertexProcessing: GL_TRUE
Function call stack:
0: 0x105773ed4 in GHOST_Context::initClearGL() in <blender>
1: 0x105781f72 in GHOST_ContextCGL::initializeDrawingContext() in <blender>
2: 0x10577b077 in GHOST_SystemCocoa::createOffscreenContext() in <blender>
3: 0x10521bf8c in DRW_opengl_context_create in <blender>
4: 0x104bcf765 in WM_init_opengl in <blender>
5: 0x104bcf93e in WM_init in <blender>
6: 0x104bb72a5 in main in <blender>
7: 0x7fff96d615ad in start in <libdyld.dylib>

Exact steps for others to reproduce the error
(Mac specific)
Open OpenGL Profiler. Select the blender binary. Check "Break on any OpenGL Error" and "Break on VAO Error".
Click start.
Blender stops, because a breakpoint has been hit.
(Non mac)
Using apitrace/RenderDoc/GLIntercept should give similar results.

Possible cause
I'd assume that blender tries to glClear the screen/buffer, before the screen/buffer is ready.
(Since the error happens only once)

Details

Type
Bug