I am trying to update my OpenGL driver to the latest version. I have tried the following ppas:
ppa:oibaf/graphics-drivers
ppa:eek:ibaf/graphics-drivers
ppa:ubuntu-x-swat/updatesSo far nothing works. Is there any solution for this?
Output of glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 405 (Braswell)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.0-devel - padoka PPA
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.2.0-devel - padoka PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.0-devel - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions: 6 2 Answers
Old question but answering if anyone stumble upon this.
I had Ubuntu 16.04 with kernel 4.4. I had the problem of glxinfo showing incorrect version. Most of the time, OpenGL version was shown to be 3.3. I had to update my kernel to 4.15 and the problem got fixed. I ran the following command:
sudo apt-get install --install-recommends linux-generic-hwe-16.04Restarted the system, now I have OpenGL 4.5:
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4 Max core profile version: 4.5 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 18.0.5
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 I own a laptop with Intel(R) HD Graphics 520 (Skylake GT2). I ran into same issue, wasn't able to solve with the given solution.So, I tried doing following things and it helped.
On running command:
glxinfo|grep OpenGLYou'll be getting core profile version string output, which will determine the max to which you can clamp your version of opengl. For me it was 4.5 so next I ran the following command :
export MESA_GL_VERSION_OVERRIDE=4.5You can write your required version within your available range. Post this you can check the updated version with this command:
glxinfo | grep "OpenGL version"Once you can see that your version has been changed you can export it in your bashrc with the following command:
echo 'export MESA_GL_VERSION_OVERRIDE=4.5' >> ~/.bashrc