You are not logged in.
Pages: 1
Hi, I'm new to linux and need help with opengl and opengl es version.
Is there a way to update it? Thanks for replies.
glxinfo | grep "OpenGL"
OpenGL vendor string: X.Org
OpenGL renderer string: AMD CAPE VERDE (DRM 2.49.0 / 4.9.42-1-lts, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.0-devel (git-b420680ede)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.3.0-devel (git-b420680ede)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.3.0-devel (git-b420680ede)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:Last edited by lukas98 (2017-08-14 10:19:04)
Offline
How is this old exactly? OpenGL 4.5 and OpenGL ES 3.1 are currently the latest versions exposed by Mesa with the RadeonSI drivers; https://mesamatrix.net/
I have a serious XY problem feeling tbh. What is the problem you're having that makes you think you need to update your OpenGL?
Offline
OpenGL version string: 3.0 Mesa 17.3.0-devel (git-b420680ede)
I believe i have version 3.0.
My problem was compiling shaders:
Vertex Shader Compile Failed: 0:1(10): error: GLSL 3.20 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ESOn windows 7 it works fine.
Offline
I'm not to familiar with that but are you requesting OpenGL 4.5 at context creation?
I'm fairy certain that if you're not, Mesa will indeed only expose shading language version <=1.3, or <=ES3.1, for compatibility reasons.
EDIT:
Mesa 17.3.0 implements the OpenGL 4.5 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 4.5. OpenGL 4.5 is only available if requested at context creation because compatibility contexts are not supported.
If I'm entirely wrong here I'm pretty sure someone better versed in Mesa/OpenGL will correct me ![]()
Last edited by Omar007 (2017-08-14 11:09:48)
Offline
For window creation i use glfw and by adding these two lines
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);Shaders compiles, but program dont draw what it should.
Offline
How about adding:
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);?
Last edited by Omar007 (2017-08-14 12:37:47)
Offline
i've tried this, no difference
Offline
Ok. I'm afraid my knowledge about any of this basically ends here though so I can't really help you any further.
However, I am quite certain that it is something in how the context is created or things are rendered (or maybe with the shaders themselves?), not with your Mesa/driver version.
You may have better luck asking people with knowledge about GLFW: http://www.glfw.org/community.html
Last edited by Omar007 (2017-08-14 14:02:27)
Offline
Are you compiling Blender? If so I believe you can modify the PKGBUILD and modify (or leave out) sections that are causing issues. I had to do that once.
Also, if you're compiling Blender make sure you are using the AUR package.
Last edited by mrunion (2017-08-14 14:39:30)
Matt
"It is very difficult to educate the educated."
Offline
run
glxinfo | grep -A12 Extendedread up about difference between core and compat profile
verify if your application requests a core profile
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1