[Paraview] vtkXOpenGLRenderWindow Error

Bruno Santos bruno.santos at bluecape.com.pt
Tue Jun 5 05:02:59 EDT 2012


Hi Magician,

Good catch!
I forgot to suggest another possible fix for your problem - define the 
environment variable in a command line in VNC window from which you 
launch ParaView:

    export LIBGL_ALWAYS_INDIRECT=y


Best regards,
Bruno

On 04-06-2012 15:49, Magician wrote:
> 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
>
>


-- 
http://www.bluecape.com.pt

blueCAPE Lda - CAE solutions
Rua Fonte dos Corvos, n.29
Casais da Serra
2665-305 Milharado
PORTUGAL

(+351) 219 755 345  Tel.
(+351) 219 755 345  Fax
(+351) 963 440 984  Mob.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120605/5c986e23/attachment.htm>


More information about the ParaView mailing list