<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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. <div class=""><br class=""></div><div class="">Best,</div><div class="">Brody<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 11, 2016, at 1:47 PM, Shawn Waldon <<a href="mailto:shawn.waldon@kitware.com" class="">shawn.waldon@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Hi Brody,<br class=""><br class=""></div>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.<br class=""><br class=""></div>HTH,<br class=""></div>Shawn<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, May 11, 2016 at 2:40 PM, Brody Huval <span dir="ltr" class=""><<a href="mailto:brodyhuval@gmail.com" target="_blank" class="">brodyhuval@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">When I switched from VTK 6 to 7 I got this error when I tried to run my program built with VTK:</div><div class=""><br class=""></div><div class=""><div class="">X Error of failed request: GLXBadFBConfig</div><div class=""> Major opcode of failed request: 150 (GLX)</div><div class=""> Minor opcode of failed request: 34 ()</div><div class=""> Serial number of failed request: 39</div><div class=""> Current serial number in output stream: 40</div></div><div class=""><br class=""></div><div class="">I am using X11 forwarding over an ssh tunnel (from my mac laptop to a ubuntu server) and my glxinfo on the server gives:</div><div class=""><br class=""></div><div class=""><div class="">GLX version: 1.4</div><div class="">GLX extensions:</div><div class=""> GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,</div><div class=""> GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig</div><div class="">OpenGL vendor string: NVIDIA Corporation</div><div class="">OpenGL renderer string: NVIDIA GeForce GT 650M OpenGL Engine</div><div class="">OpenGL version string: 1.4 (2.1 NVIDIA-10.10.5.2 310.42.25f01)</div></div><div class=""><br class=""></div><div class="">This program works fine with VTK 6, and after a while of searching the closest post I could find was: <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/933" target="_blank" class="">https://gitlab.kitware.com/vtk/vtk/merge_requests/933</a>. However, when using the specified environment variable at runtime it did not help. Thank you in advance for any assistance.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Brody</div></div><br class="">_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank" class="">http://www.vtk.org/Wiki/VTK_FAQ</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank" class="">http://markmail.org/search/?q=vtkusers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank" class="">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>