<div dir="ltr">It looks like you are using OSMesa instead of the normal OpenGL driver. That is what is causing the issue I believe. If you do want OS mesa then I believe you need version 11.2 to get the OpenGL 3.2 support. See this nice post by Utkarsh on using OSMesa with the new VTK rendering engine,<div><br></div><div><a href="https://www.kitware.com/blog/home/post/999">https://www.kitware.com/blog/home/post/999</a><br></div><div><br></div><div>Thanks</div><div>Ken</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 4:55 PM, Kurt Sansom <span dir="ltr"><<a href="mailto:kayarre@gmail.com" target="_blank">kayarre@gmail.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"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">I am having this issue that my compiled version of VTK doesn't like </span><span style="font-family:'courier new',monospace;font-size:13px">GL_EXT_gpu_shader4</span><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">. </span><span style="font-size:13px;font-family:Arial,Helvetica,sans-serif">I have the latest nvidia drivers installed and what I believe is the correct OpenGL version. I messed with several of the CMake VTK build settings to no avail. I also ran glxinfo which lists </span><span style="font-size:13px;margin:0px;padding:0px;border:0px;font-family:'courier new',monospace">GL_EXT_gpu_shader4. </span><span style="font-size:13px;margin:0px;padding:0px;border:0px"><font face="arial, helvetica, sans-serif">the output is attached. Any thoughts or help?</font></span><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I also tried adding these variables before running which just made the program repeat output to the standard out.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> export MESA_GL_VERSION_OVERRIDE=3.2; export MESA_GLSL_VERSION_OVERRIDE=150;</font></div><div><div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">Executing vmtklevelsetsegmentation ...</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">Please choose initialization type: </font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"> 0: colliding fronts;</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"> 1: fast marching;</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"> 2: threshold;</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"> 3: isosurface;</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"> 4: seed</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"> GL_Version: 2.1 Mesa 10.6.5</font></div></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">ERROR: In /home/ksansom/build/vmtk/vmtk-build/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 545</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">vtkOSOpenGLRenderWindow (0x4a61440): 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.</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"><br></font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">ERROR: In /home/ksansom/build/vmtk/vmtk-build/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 369</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">vtkShaderProgram (0x3ade100): 1: #version 120</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">2: #extension GL_EXT_gpu_shader4 : require</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">...</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">103: </font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px"><br></font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">ERROR: In /home/ksansom/build/vmtk/vmtk-build/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 370</font></div><div style="margin:0px;padding:0px;border:0px"><font face="courier new, monospace" style="margin:0px;padding:0px;border:0px">vtkShaderProgram (0x3ade100): 0:2(12): error: extension `GL_EXT_gpu_shader4' unsupported in fragment shader</font></div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>Kurt Sansom<br></div>
</font></span></div></div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<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>
</div>