enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 284 forks source link

getting vtkXOpenGLRenderWindow error #970

Open Binyamin-R opened 3 years ago

Binyamin-R commented 3 years ago

hey, when trying to use mlab, I am getting the error:

ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 606 vtkXOpenGLRenderWindow (0xfded0170): Cannot create GLX context. Aborting.

I am using:

python 2.7

mayavi==4.6.2

traitsui==6.1.3

traits==5.2.0

numpy==1.17.4

pyface==6.1.2

vtk ==8.1.2

Does anyone know how to fix this?

gayathri81 commented 2 years ago

Hello @Binyamin-R , did you find any solution to fix this error?

databaaz commented 2 years ago

@Binyamin-R did you find a solution ? @gayathri81 did you ?

prabhuramachandran commented 2 years ago

This error seems like a problem with your OpenGL and X server. The X server does not seem to support OpenGL v 2. Does glxgears work? This seems like a video card/driver issue. This is not really something that Mayavi is doing.