[Paraview] vtkXOpenGLRenderWindow Error

Magician f_magician at mac.com
Thu May 31 23:58:34 EDT 2012


Hi all,


I was trying to build ParaView on CentOS.
It looked OK, but today other users on our machine tried to run ParaView,
they got errors as below:
> ERROR: In /home/magician/ParaView-3.14.1-Source/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
> vtkXOpenGLRenderWindow (0x2d2e410): Could not find a decent visual
> 
> 
> 
> ERROR: In /home/magician/ParaView-3.14.1-Source/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
> vtkXOpenGLRenderWindow (0x2d2e410): Could not find a decent visual
> 
> 
> 
> X Error: BadValue (integer parameter out of range for operation) 2
> Extension:    146 (Uknown extension)
> Minor opcode: 3 (Unknown request)
> Resource id:  0x22
> ERROR: In /home/magician/ParaView-3.14.1-Source/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 629
> vtkXOpenGLRenderWindow (0x2d2e410): Cannot create GLX context.  Aborting.

Maybe our ParaView tried to access my home directory from other users,
these errors are dumped.

I checked my CMakeCache again, and I found these parameters:
> VTK_GLEXT_FILE: /home/magician/ParaView-3.14.1-Source/VTK/Utilities/ParseOGLExt/headers/glext.h
> VTK_GLXEXT_FILE: /home/magician/ParaView-3.14.1-Source/VTK/Utilities/ParseOGLExt/headers/glxext.h
> VTK_MATERIAL_DIRS: /home/magician/ParaView-bin/VTK/Utilities/MaterialLibrary/Repository
> VTK_WGLEXT_FILE: /home/magician/ParaView-3.14.1-Source/VTK/Utilities/ParseOGLExt/headers/wglext.h
> VTK_WRAP_HINTS: /home/magician/ParaView-3.14.1-Source/VTK/Wrapping/hints

Maybe our ParaView's build setting depends on original source data on my home directory,
but it's not good for using many users.

Which is the best way to change our GL settings?


Magician


More information about the ParaView mailing list