opengl error

karim

CAD community veteran
I get an error message :

TKOpenGl | Type: Other | ID: 0 | Severity: Low | Message:
Unhandled GL error: GL_INVALID_OPERATION

on windows 10 qt5.9.9 qtcreator 6.0
My laptop is lenovo x220. so my hardware supporst 3.3 opengl. Is there something missing in qt5.9 with opengl ? some versions ship with Angle it seems. Any thing I can do to remedy this situation ?
 

karim

CAD community veteran
I debugged the issue to the opengl core version. It defaults to opengl version 1.1.
How do I tell opencascade to use opengles or opengl3.0 ?
 

karim

CAD community veteran
It seems my graphics card only supports opengl 3.1 while opencascade wants opengl 3.2 at least. Any work arounds ?

1638879335631.png
 

JSlyadne

Administrator
Staff member
Hi, do you really need Angle support in your project? If no, I would try Qt with Angle support OFF. Also, to exclude Qt from the list of possible root of issue, you might want to compile and run any Qt-free application. For example, this one.

If it turns out eventually that Open Cascade uses some OpenGl features of v3.3 not supported in v3.1, you might want to upgrade OpenGl driver if not yet.

If nothing above works for you, I suppose no workaround exists but only to upgrade the graphic card itself.
 
Top