Hi all,
I've been trying to solve the problem. I found an important setting about it. Our ParaView is running on shared Linux cluster, so we operate ParaView with VNC Client. My VNC setting is very simple as below: > vncviewer -geometry [width]x[height] But other users' settings are little different: > vncviewer -geometry [width]x[height] -depth 32 The -depth option is critical. Maybe this option influences OpenGL setting of VNC, and ParaView gets into GLX errors. I suggested removing -depth option and restarting VNC server, then our ParaView executed perfectly. Magician On 2012/06/01, at 12:58, Magician wrote: > 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 _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview