Hi Carsten
Carsten Neumann schrieb:
bugle (<http://www.opengl.org/sdk/tools/BuGLe/>) normally works fine for
me. Tell it to use the "trace" chain and it will write a file with
*lots* of information while the program runs. Then search through the
file for the first occurrence of GL_INVALID_OPERATION, one of the OpenGL
calls preceding that is the one that fails.
Unfortunately I can't produce any usable result with bugl on windows -
it was a very bumpy ride getting it running on win btw. I tried a little
harder to get some usable output from gDEBugger and came out with a
breakpoint at the call of glGetError(). So here are some information on
the first stop at glGetError():
If you need further information just let me know where to set
breakpoints etc.
Call stack (Thread 0 / Context 0):
---------------------------------------------------------------
ZwWaitForSingleObject - ntdll.dll
WaitForSingleObject - kernel32.dll
OSG::BaseWinThreadBase::join - osgbasethread.cpp, line 563
OSG::BaseThread::join - osgbasethread.inl, line 277
main - asppect1render.cpp, line 164
__tmainCRTStartup - crtexe.c, line 597
mainCRTStartup - crtexe.c, line 413
BaseThreadInitThunk - kernel32.dll
RtlCreateUserProcess - ntdll.dll
Call stack (Thread 1 / Context 1):
---------------------------------------------------------------
OSG::Window::frameInit - osgwindow.cpp, line 1448
OSG::Window::setupGL - osgwindow.cpp, line 1790
OSG::PassiveWindow::init - osgpassivewindow.cpp, line 113
initAspect1 - asppect1render.cpp, line 140
OSG::BaseWinThreadBase::threadFunc - osgbasethread.cpp, line 484
BaseThreadInitThunk - kernel32.dll
RtlCreateUserProcess - ntdll.dll
Attached:
Call histories for Context 1 and 2 until first breakpoint.
Cheers and thank you for looking into this,
Christoph
Title: OpenGL calls log - opensg2_mt_tests - Context 0 - generated by gDEBugger
////////////////////////////////////////////////////////////
// This File contain an OpenGL calls log
// Application: opensg2_mt_tests
// Generation date: Wednesday, January 28, 2009
// Generation time: 00:17:55
// Context id: 0
//
// Generated by gDEBugger - an OpenGL Debugger and Profiler
// www.gremedy.com
////////////////////////////////////////////////////////////
wglChoosePixelFormat(0x5F011095, 0x538FB08)
wglDescribePixelFormat(0x5F011095, 2, 40, 0x40112E0)
wglChoosePixelFormat(0x5F011095, 0x40112E0)
wglSetPixelFormat(0x5F011095, 2, 0x40112E0)
wglCreateContext(0x5F011095)
wglDescribePixelFormat(0x5F011095, 2, 40, 0x538FAAC)
wglGetCurrentContext()
wglGetCurrentDC()
wglMakeCurrent(0x5F011095, 0x10000)
////////////////////////////////////////////////////////////
// Log file recording suspended
// Suspension time: 00:18:03
////////////////////////////////////////////////////////////
|
Title: OpenGL calls log - opensg2_mt_tests - Context 1 - generated by gDEBugger
////////////////////////////////////////////////////////////
// This File contain an OpenGL calls log
// Application: opensg2_mt_tests
// Generation date: Wednesday, January 28, 2009
// Generation time: 00:17:56
// Context id: 1
//
// Generated by gDEBugger - an OpenGL Debugger and Profiler
// www.gremedy.com
////////////////////////////////////////////////////////////
wglDescribePixelFormat(0x5F011095, 2, 40, 0x538FB50)
glPixelStorei(GL_UNPACK_ALIGNMENT, 1)
glPixelStorei(GL_PACK_ALIGNMENT, 1)
glDepthFunc(GL_LEQUAL)
glEnable(GL_DEPTH_TEST)
glEnable(GL_NORMALIZE)
glLightfv(GL_LIGHT0, GL_DIFFUSE, {0, 0, 0, 0})
glLightfv(GL_LIGHT0, GL_SPECULAR, {0, 0, 0, 0})
glGetString(GL_VERSION)
glGetString(GL_EXTENSIONS)
wglGetProcAddress(glBlendColorEXT)
wglGetProcAddress(glBlendFuncSeparateEXT)
wglGetProcAddress(glActiveTextureARB)
wglGetProcAddress(glTexImage3DEXT)
wglGetProcAddress(glTexSubImage3DEXT)
wglGetProcAddress(glCompressedTexImage1DARB)
wglGetProcAddress(glCompressedTexSubImage1DARB)
wglGetProcAddress(glCompressedTexImage2DARB)
wglGetProcAddress(glCompressedTexSubImage2DARB)
wglGetProcAddress(glCompressedTexImage3DARB)
wglGetProcAddress(glCompressedTexSubImage3DARB)
wglGetProcAddress(glGenFramebuffersEXT)
wglGetProcAddress(glCheckFramebufferStatusEXT)
wglGetProcAddress(glBindFramebufferEXT)
wglGetProcAddress(glDeleteFramebuffersEXT)
wglGetProcAddress(glFramebufferRenderbufferEXT)
wglGetProcAddress(glDrawBuffersARB)
wglGetProcAddress(glGenRenderbuffersEXT)
wglGetProcAddress(glDeleteRenderbuffersEXT)
wglGetProcAddress(glRenderbufferStorageEXT)
wglGetProcAddress(glBindRenderbufferEXT)
wglGetProcAddress(glFramebufferTexture1DEXT)
wglGetProcAddress(glFramebufferTexture2DEXT)
wglGetProcAddress(glFramebufferTexture3DEXT)
wglGetProcAddress(glGenerateMipmapEXT)
wglGetProcAddress(glCreateShader)
wglGetProcAddress(glDeleteShader)
wglGetProcAddress(glShaderSource)
wglGetProcAddress(glCompileShader)
wglGetProcAddress(glAttachShader)
wglGetProcAddress(glGetShaderiv)
wglGetProcAddress(glGetShaderInfoLog)
wglGetProcAddress(glCreateProgram)
wglGetProcAddress(glDeleteProgram)
wglGetProcAddress(glLinkProgram)
wglGetProcAddress(glGetProgramiv)
wglGetProcAddress(glGetProgramInfoLog)
wglGetProcAddress(glUseProgram)
wglGetProcAddress(glGetUniformLocationARB)
wglGetProcAddress(glUniform1iARB)
wglGetProcAddress(glUniform2iARB)
wglGetProcAddress(glUniform3iARB)
wglGetProcAddress(glUniform4iARB)
wglGetProcAddress(glUniform1fARB)
wglGetProcAddress(glUniform2fARB)
wglGetProcAddress(glUniform3fARB)
wglGetProcAddress(glUniform4fARB)
wglGetProcAddress(glUniform1ivARB)
wglGetProcAddress(glUniform2ivARB)
wglGetProcAddress(glUniform3ivARB)
wglGetProcAddress(glUniform4ivARB)
wglGetProcAddress(glUniform1fvARB)
wglGetProcAddress(glUniform2fvARB)
wglGetProcAddress(glUniform3fvARB)
wglGetProcAddress(glUniform4fvARB)
wglGetProcAddress(glUniformMatrix2fvARB)
wglGetProcAddress(glUniformMatrix3fvARB)
wglGetProcAddress(glUniformMatrix4fvARB)
wglGetProcAddress(glGetUniformivARB)
wglGetProcAddress(glGetUniformfvARB)
wglGetProcAddress(glGenProgramsARB)
wglGetProcAddress(glProgramStringARB)
wglGetProcAddress(glBindProgramARB)
wglGetProcAddress(glDeleteProgramsARB)
wglGetProcAddress(glProgramLocalParameter4fvARB)
wglGetProcAddress(glGetProgramivARB)
wglGetProcAddress(glPointParameterfEXT)
wglGetProcAddress(glPointParameterfvEXT)
wglGetProcAddress(glCombinerParameterfvNV)
wglGetProcAddress(glCombinerStageParameterfvNV)
wglGetProcAddress(glCombinerInputNV)
wglGetProcAddress(glCombinerOutputNV)
wglGetProcAddress(glFinalCombinerInputNV)
wglGetProcAddress(glBindBufferARB)
wglGetProcAddress(glBufferDataARB)
wglGetProcAddress(glDeleteBuffersARB)
wglGetProcAddress(glVertexAttribPointerARB)
wglGetProcAddress(glEnableVertexAttribArrayARB)
wglGetProcAddress(glDisableVertexAttribArrayARB)
wglGetProcAddress(glSecondaryColorPointerEXT)
wglGetProcAddress(glClientActiveTextureARB)
wglGetProcAddress(glMultiTexCoord3fvARB)
wglGetProcAddress(glGenQueriesARB)
wglGetProcAddress(glBeginQueryARB)
wglGetProcAddress(glEndQueryARB)
wglGetProcAddress(glGetQueryObjectuivARB)
wglGetProcAddress(glSecondaryColor3bvEXT)
wglGetProcAddress(glSecondaryColor3ubvEXT)
wglGetProcAddress(glSecondaryColor3svEXT)
wglGetProcAddress(glSecondaryColor3usvEXT)
wglGetProcAddress(glSecondaryColor3ivEXT)
wglGetProcAddress(glSecondaryColor3uivEXT)
wglGetProcAddress(glSecondaryColor3fvEXT)
wglGetProcAddress(glSecondaryColor3dvEXT)
wglGetProcAddress(glMultiTexCoord1svARB)
wglGetProcAddress(glMultiTexCoord2svARB)
wglGetProcAddress(glMultiTexCoord3svARB)
wglGetProcAddress(glMultiTexCoord4svARB)
wglGetProcAddress(glMultiTexCoord1ivARB)
wglGetProcAddress(glMultiTexCoord2ivARB)
wglGetProcAddress(glMultiTexCoord3ivARB)
wglGetProcAddress(glMultiTexCoord4ivARB)
wglGetProcAddress(glMultiTexCoord1fvARB)
wglGetProcAddress(glMultiTexCoord2fvARB)
wglGetProcAddress(glMultiTexCoord4fvARB)
wglGetProcAddress(glMultiTexCoord1dvARB)
wglGetProcAddress(glMultiTexCoord2dvARB)
wglGetProcAddress(glMultiTexCoord3dvARB)
wglGetProcAddress(glMultiTexCoord4dvARB)
wglGetProcAddress(glVertexAttrib1svARB)
wglGetProcAddress(glVertexAttrib1fvARB)
wglGetProcAddress(glVertexAttrib1dvARB)
wglGetProcAddress(glVertexAttrib2svARB)
wglGetProcAddress(glVertexAttrib2fvARB)
wglGetProcAddress(glVertexAttrib2dvARB)
wglGetProcAddress(glVertexAttrib3svARB)
wglGetProcAddress(glVertexAttrib3fvARB)
wglGetProcAddress(glVertexAttrib3dvARB)
wglGetProcAddress(glVertexAttrib4bvARB)
wglGetProcAddress(glVertexAttrib4svARB)
wglGetProcAddress(glVertexAttrib4ivARB)
wglGetProcAddress(glVertexAttrib4ubvARB)
wglGetProcAddress(glVertexAttrib4usvARB)
wglGetProcAddress(glVertexAttrib4uivARB)
wglGetProcAddress(glVertexAttrib4fvARB)
wglGetProcAddress(glVertexAttrib4dvARB)
wglGetProcAddress(glVertexAttrib4NbvARB)
wglGetProcAddress(glVertexAttrib4NsvARB)
wglGetProcAddress(glVertexAttrib4NivARB)
wglGetProcAddress(glVertexAttrib4NubvARB)
wglGetProcAddress(glVertexAttrib4NusvARB)
wglGetProcAddress(glVertexAttrib4NuivARB)
wglGetProcAddress(glLockArraysEXT)
wglGetProcAddress(glUnlockArraysEXT)
wglGetProcAddress(glDrawRangeElementsEXT)
glGetFloatv(GL_MAX_TEXTURE_UNITS, 0x538FDA4)
glGetFloatv(GL_MAX_TEXTURE_IMAGE_UNITS, 0x538FDA4)
glGetFloatv(GL_MAX_TEXTURE_COORDS, 0x538FDA4)
glGetError()
////////////////////////////////////////////////////////////
// Log file recording suspended
// Suspension time: 00:18:03
////////////////////////////////////////////////////////////
|
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users