[vtkusers] Issues when using Mesa 11.2.2

Patricio Palma C. patriciop at gmail.com
Tue Jun 28 17:37:52 EDT 2016

Hello Expert

I'm testing VTK 7.1(git) with OpenGL2 using Mesa 11.2.2 and it fails at
when rendering the structure.

The first error I got is:

ERROR: In vtkShaderProgram.cxx, line 370
vtkShaderProgram (0xa385610): Error: GL_EXT_gpu_shader4: required extension
is not supported.
Error: failed to preprocess the source.

This was solved by defining MESA_GL_VERSION_OVERRIDE = 3.2

After that VTK request GLSL at least 1.50 then variable
MESA_GL_VERSION_OVERRIDE is defined as 150

After that I got the following message:

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaf55181b in vtkShaderProgram::FindUniform(char const*) () at
772   if (name == NULL || !this->Linked)

​Do you have any idea on how  I could solve this crash?

Patricio Palma Contreras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160628/bcd3eb75/attachment.html>

More information about the vtkusers mailing list