Summary: | [r600g] ogl-samples GL3.2 and GL3.3 tests doesn't run without overriding GL/GLSL version | ||
---|---|---|---|
Product: | Mesa | Reporter: | Benjamin Bellec <b.bellec> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | b.bellec |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Benjamin Bellec
2014-04-17 16:42:40 UTC
Mesa will probably never support higher than OpenGL 3.0 for the compatibility profile. Apps should use the core profile for higher versions. All these tests uses the core profile. The error Mesa throws is: Mesa: User error: GL_INVALID_ENUM in glGetString(GL_EXTENSIONS) The test shoudn't be calling glGetString(GL_EXTENSIONS) in a core profile you might want to report this in their bug tracker. ok I reported it here: https://github.com/g-truc/ogl-samples/issues/34 Thanks Timothy for reporting this one to upstream. FYI, I looked closely to the code. The Mesa error came from ogl-samples file "framework/glew.c", line 9535 (extStart = glGetString(GL_EXTENSIONS);). This GLEW file is the official glew.c version 1.10.0. And I finally understood that there is two problems: - current GLEW version doesn't check the GL version and always calls glGetString(). A patch was submitted more than 2 years but still need to be commited: http://sourceforge.net/p/glew/bugs/174/ - GLEW currently doesn't supports core profile: http://sourceforge.net/p/glew/bugs/209/ and https://www.opengl.org/discussion_boards/showthread.php/169661-Forcing-Core-Profile-in-GLEW So I guess ogl-samples should not use GLEW. Old libGL in /usr/local/lib64 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.