[vtkusers] GLXBadFBConfig on switching from VTK6 to VTK7

Brody Huval brodyhuval at gmail.com
Thu May 12 02:01:23 EDT 2016


Thanks Shawn for your help. I was able to recompile VTK 7 using the backend OpenGL backend with -DVTK_RENDERING_BACKEND=OpenGL and this fixed the problem. I’m by no means a OpenGL expert, so I’m not sure of the consequences of this, but everything seems to work fine. 

Best,
Brody

> On May 11, 2016, at 1:47 PM, Shawn Waldon <shawn.waldon at kitware.com> wrote:
> 
> Hi Brody,
> 
> VTK 7 switched the default OpenGL backend used to the newer OpenGL2 backend.  This requires OpenGL 3.2 features to work properly, but X forwarding only supports OpenGL 1.something.  The bad X call is probably the request for a newer context.  Generally the solution people have used is to switch to using VNC to view VTK applications on remote machines.  Others on the list may have more helpful advice though.
> 
> HTH,
> Shawn
> 
> On Wed, May 11, 2016 at 2:40 PM, Brody Huval <brodyhuval at gmail.com <mailto:brodyhuval at gmail.com>> wrote:
> Hello,
> 
> When I switched from VTK 6 to 7 I got this error when I tried to run my program built with VTK:
> 
> X Error of failed request:  GLXBadFBConfig
>   Major opcode of failed request:  150 (GLX)
>   Minor opcode of failed request:  34 ()
>   Serial number of failed request:  39
>   Current serial number in output stream:  40
> 
> I am using X11 forwarding over an ssh tunnel (from my mac laptop to a ubuntu server) and my glxinfo on the server gives:
> 
> GLX version: 1.4
> GLX extensions:
>     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
>     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig
> OpenGL vendor string: NVIDIA Corporation
> OpenGL renderer string: NVIDIA GeForce GT 650M OpenGL Engine
> OpenGL version string: 1.4 (2.1 NVIDIA-10.10.5.2 310.42.25f01)
> 
> This program works fine with VTK 6, and after a while of searching the closest post I could find was: https://gitlab.kitware.com/vtk/vtk/merge_requests/933 <https://gitlab.kitware.com/vtk/vtk/merge_requests/933>. However, when using the specified environment variable at runtime it did not help. Thank you in advance for any assistance.
> 
> Best,
> Brody
> 
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com/>
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <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 <http://www.vtk.org/Wiki/VTK_FAQ>
> 
> Search the list archives at: http://markmail.org/search/?q=vtkusers <http://markmail.org/search/?q=vtkusers>
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers <http://public.kitware.com/mailman/listinfo/vtkusers>
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160511/35bfd8d3/attachment.html>


More information about the vtkusers mailing list