[vtkusers] PyPi Wheels for VTK 8.1.0
Chuck Atkins
chuck.atkins at kitware.com
Tue May 29 18:26:31 EDT 2018
With older versions of Mesa you need to forcibly override the opengl
version reported. Trying setting the environment variable
MESA_GL_VERSION_OVERRIDE=3.2
.
- Chuck
On Tue, May 29, 2018, 18:21 B.J. Hulsey <bjhulsey at gmail.com> wrote:
> Hello, world.
>
> 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:
> https://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D. In most
> cases I end up with the following OpenGL2 error no matter which version of
> Mesa is installed:
>
> ERROR: In
> /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
> line 797
> 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.
>
>
> 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).
>
> glxinfo reports:
> OpenGL vendor string: VMware, Inc.
> OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits)
> OpenGL version string: 2.1 Mesa 10.6.5
> OpenGL shading language version string: 1.30
>
> Any pointers? According to
> https://prabhuramachandran.blogspot.com/2018/01/vtk-810-wheels-for-all-platforms-on-pypi.html
> this should work for Python 3.5.x.
>
> Thanks.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180529/372262a6/attachment.html>
More information about the vtkusers
mailing list