<div dir="auto"><div>With older versions of Mesa you need to forcibly override the opengl version reported.  Trying setting the environment variable <span style="font-family:"lucida grande",geneva,arial,verdana,sans-serif;font-size:14px;background-color:rgb(255,255,255)">MESA_GL_VERSION_OVERRIDE=3.2 .</span><br><br>- Chuck</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Tue, May 29, 2018, 18:21 B.J. Hulsey <<a href="mailto:bjhulsey@gmail.com" target="_blank" rel="noreferrer">bjhulsey@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, world.<div><br></div><div>I've been struggling to install VTK on CentOS 7.2 for several days. I've followed several recommendations on the web, including this one point to from the VTK FAQ:  <a href="https://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D" rel="noreferrer noreferrer" target="_blank">https://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a>. In most cases I end up with the following OpenGL2 error no matter which version of Mesa is installed:</div><div><br></div><div>

<span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 797</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">vtkXOpenGLRenderWindow (0x18f1c10): 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.</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br><br>In any case, I found the PyPi wheels for 8.1.0 and simply installed with pip. I am still getting the OpenGL2 error when using Python 3.5, but the code runs under Python 2.7 (system version). <br><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">glxinfo reports:</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL vendor string: VMware, Inc.</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits)</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL version string: 2.1 Mesa 10.6.5</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL shading language version string: 1.30</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">

 </div><div>Any pointers? According to <a href="https://prabhuramachandran.blogspot.com/2018/01/vtk-810-wheels-for-all-platforms-on-pypi.html" rel="noreferrer noreferrer" target="_blank">https://prabhuramachandran.blogspot.com/2018/01/vtk-810-wheels-for-all-platforms-on-pypi.html</a> this should work for Python 3.5.x.</div><div><br></div><div>Thanks.</div><div><br></div><div><br></div></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer noreferrer 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 noreferrer 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 noreferrer 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 noreferrer noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer noreferrer noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div></div></div>