<div dir="ltr">Ken,<br>Just to close the loop on this, I saw this issue pop up on the mesa-users list and helped Patricio's colleague, Edson, fix it. You can check out the thread here if you'd like: <a href="https://lists.freedesktop.org/archives/mesa-users/2016-June/001175.html">https://lists.freedesktop.org/archives/mesa-users/2016-June/001175.html</a> . To make a long story short, there's some murky / conflicting configure options for the current mesa release. I was able to get get them up and running and I fixed the issue upstream a while ago.<br><br>Sorry I didn't see it over here first :-/<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Chuck<br></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 28, 2016 at 5:51 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Setting <span style="color:rgb(106,106,106);font-weight:bold;line-height:24.92px">MESA_GL_VERSION_OVERRIDE = </span><span style="font-family:arial,helvetica,sans-serif">3.2 means your graphics library does not support OpenGL 3.2 normally. If you are using Mesa 11.2.2 I suspect that means you are not using the llvmpipe driver (which does support 3.2) but some other driver. glxinfo can help narrow that down to see what driver is being used.</span><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Thanks</span></div><div><span style="font-family:arial,helvetica,sans-serif">Ken</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 28, 2016 at 5:37 PM, Patricio Palma C. <span dir="ltr"><<a href="mailto:patriciop@gmail.com" target="_blank">patriciop@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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><span><font color="#888888">-- <br><div 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>
</font></span></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>