On 16-02-18 20:19, number wrote:
On Thu, 15 Feb 2018 22:21:58 +0100, Mike Wey wrote:
On 15-02-18 21:31, number wrote:
I get a runtime error with the CoreGL Demo
I can't reproduce the issue locally, maybe a driver issue?
Thanks for your repsonse.
Its old hardware (Thinkpad T410) running some Ubuntu.
I tried using another shader code from here: https://gist.github.com/kenpower/4327014, but same result. some testing with glmark2 and glmark2-es2 somehow works, though the latter is throwing some errors during its later tests.
But all OpenGL test programs at least show something. The Ubuntu got just some mesa updates today via the normal system update, but that didn't change anything either.Do you know if a GLArea should generally work with the following opengl version or are there some minimum requirements?
$ glxinfo | grep -i opengl OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile OpenGL version string: 2.1 Mesa 17.2.8 OpenGL shading language version string: 1.20 OpenGL extensions: OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.2.8 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16 OpenGL ES profile extensions:
But apparently its not an gtkd issue.
Can I find out if its trying to use OpenGL or OpenGL ES?
GDK will try to create an GL context using the OpenGL 3.2 core profile,
and fallback to a pre 3.2 profile when 3.2 is not supported.
gdk.GLContext has a few functions for determining what version of openGL
is used:
getVersion, for retrieving the used OpenGL version.
getUseEs, to check if a ES profile is used.
isLegacy, to check if gdk is using the fallback mode.