Monday 31 May 2021

GL version 2.1 with the gpu_shared4 extensions is not supported on Ubuntu 18.04.5 LTS as guest VM

I am trying to run a python (3.6.9) script with VTK 7.1.1 on Ubuntu 18.04.5 LTS as guest VM using virtual box. But I am receiving the following error:

In /build/vtk7‑w4DzBd/vtk7𔂱.1.1+dfsg1/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 640
vtkXOpenGLRenderWindow (0x2a56080): GL version 2.1 with the gpu_shader4 extension is not supported 
by your graphics driver but is required for the new OpenGL rendering backend. Please update your 
OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure 
your driver in Mesa supports OpenGL 3.2.

When I run the command

glxinfo | grep "OpenGL version"

it returns:

OpenGL version string: 2.1 Mesa 20.0.0-devel - padoka PPA

If I understand corretly the visualization on Ubuntu is done by Mesa 20.0.0-devel (required is 10.6.5 - this is OK) but the installed Mesa uses OpenGL 2.1 and not newer (required 3.2 - this is not OK). I have already installed the latest version of Mesa. Any suggestion how to solve this?



from GL version 2.1 with the gpu_shared4 extensions is not supported on Ubuntu 18.04.5 LTS as guest VM

No comments:

Post a Comment