<div dir="ltr">Elvis, could you try running the following test?<div><br></div><div>ctest -R VBOPLY -VV</div><div><br></div><div>or explicitly as</div><div><br></div><div>vtkRenderingOpenGL2CxxTests TestVBOPLYMapper -D ExternalData\Testing</div><div><br></div><div>and send me the output? That test checks for OpenGL2 support and prints out an error message if it fails to get a valid context.</div><div><br></div><div>Thanks!</div><div>Ken</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 7:50 AM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2017-04-24 13:35 GMT+02:00 Andreas Buykx <<a href="mailto:A.Buykx@dianafea.com">A.Buykx@dianafea.com</a>>:<br>
> We have been busy trying to get OpenGL2 to work on our linux backend machines using TigerVNC and we needed to build our own mesa to get the OpenGL support required by the VTK OpenGL2 layer. I'm not sure what version of mesa was required, my colleague who worked on this is on holiday. So far the transition to VTK OpenGL2  is in an experimental stage, we will probably not roll it out until after our next release. We are very interested in exchanging experiences though...<br>
<br>
Alright. My quick test server was a Thinkpad T460p laptop with NVIDIA<br>
proprietary driver, so not using Mesa. The laptop is running Ubuntu<br>
16.04.<br>
<br>
I followed pretty much the instructions at<br>
<a href="https://github.com/aancel/admin/wiki/VirtualGL-on-Ubuntu" rel="noreferrer" target="_blank">https://github.com/aancel/<wbr>admin/wiki/VirtualGL-on-Ubuntu</a> to set it up.<br>
<br>
I'm attaching the output I get from `vglrun glxinfo` in a terminal<br>
when connected to the server. It looks good to me.<br>
<br>
The result when trying to run our VTK application is<br>
<br>
ERROR: In /buildbot/vtk7-builder/build/<wbr>Rendering/OpenGL2/<wbr>vtkOpenGLRenderWindow.cxx,<br>
line 628<br>
vtkXOpenGLRenderWindow (0x94e5e0): GLEW could not be initialized.<br>
<br>
followed by a segmentation fault.<br>
<br>
This is with VTK 7.1.1, configured with the OpenGL2 backend.<br>
<br>
I'm attaching the backtrace (I had to modify the /usr/bin/vglrun<br>
script to run gdb in order to get it).<br>
<br>
I assume I would get the same problem with a minimal VTK example, but<br>
have yet to try this.<br>
<br>
Cheers,<br>
Elvis<br>
<br>
><br>
> Kind regards,<br>
> Andreas<br>
><br>
>> -----Original Message-----<br>
>> From: vtkusers [mailto:<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.<wbr>org</a>] On Behalf Of Elvis<br>
>> Stansvik<br>
>> Sent: Monday, April 24, 2017 1:12 PM<br>
>> To: Róbert Špir<br>
>> Cc: VTK Users<br>
>> Subject: Re: [vtkusers] VTK/OpenGL2 application over VirtualGL/TurboVNC?<br>
>><br>
>> 2017-04-24 12:53 GMT+02:00 Róbert Špir <<a href="mailto:spir.robert@gmail.com">spir.robert@gmail.com</a>>:<br>
>> > Hi Elvis,<br>
>> > I tried it without success, but paraview runs without problems, so<br>
>> > there's got to be some way...<br>
>><br>
>> Ah, that's an interesting piece of info.<br>
>><br>
>> Perhaps there's some ParaView dev here who knows what might set<br>
>> ParaView apart in this context?<br>
>><br>
>> Elvis<br>
>><br>
>> ><br>
>> > Robert<br>
>> ><br>
>> > -----Original Message-----<br>
>> > From: vtkusers [mailto:<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.<wbr>org</a>] On Behalf Of Elvis<br>
>> > Stansvik<br>
>> > Sent: Monday, April 24, 2017 12:51 PM<br>
>> > To: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
>> > Subject: [vtkusers] VTK/OpenGL2 application over VirtualGL/TurboVNC?<br>
>> ><br>
>> > Has anyone successfully run a VTK application using the OpenGL2<br>
>> > backend over VirtualGL/TurboVNC?<br>
>> ><br>
>> > GLEW fails to initialize when I try to run the application using<br>
>> > vglrun. I'm ready to give up, since this was just a casual experiment,<br>
>> > but I thought I'd ask first if anyone has it running. The output from<br>
>> > `vglrun glxinfo` looks good to me.<br>
>> ><br>
>> > Elvis<br>
>> > ______________________________<wbr>_________________<br>
>> > Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
>> ><br>
>> > Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>> ><br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the VTK FAQ at:<br>
>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div></div></div>
</div>