<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hello Expert</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I'm testing VTK 7.1(git) with OpenGL2 using Mesa 11.2.2 and it fails at when rendering the structure.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">The first error I got is:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">ERROR: In vtkShaderProgram.cxx, line 370<br>vtkShaderProgram (0xa385610): Error: GL_EXT_gpu_shader4: required extension is not supported.<br>Error: failed to preprocess the source.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">This was solved by defining <span style="color:rgb(106,106,106);font-weight:bold;line-height:24.92px;font-family:arial,sans-serif">MESA_GL_VERSION_OVERRIDE = </span>3.2</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">After that VTK request GLSL at least 1.50 then variable <span style="color:rgb(106,106,106);font-weight:bold;line-height:24.92px;font-family:arial,sans-serif">MESA_GL_VERSION_OVERRIDE</span><span style="color:rgb(106,106,106);font-weight:bold;line-height:24.92px;font-family:arial,sans-serif"> </span>is defined as 150</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">After that I got the following message:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Program received signal SIGSEGV, Segmentation fault.<br>0x00002aaaaf55181b in vtkShaderProgram::FindUniform(char const*) () at Rendering/OpenGL2/vtkShaderProgram.cxx:772<br>772 if (name == NULL || !this->Linked)<br></div><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Do you have any idea on how I could solve this crash?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Regards</div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif"><span style="font-size:16.3636px">Patricio Palma Contreras</span></font></div></div>
</div>