<div dir="ltr">And you ran it over virtualGL/TurboVNC? <div><br></div><div>You can run it with -I added on if you want it to stay up so you can interact with it <div><br></div><div><span style="font-size:12.8px">vtkRenderingOpenGL2CxxTests TestVBOPLYMapper -D ExternalData\Testing -I</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 8:57 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 14:10 GMT+02:00 Ken Martin <<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>>:<br>
> Elvis, could you try running the following test?<br>
><br>
> ctest -R VBOPLY -VV<br>
><br>
> or explicitly as<br>
><br>
> vtkRenderingOpenGL2CxxTests TestVBOPLYMapper -D ExternalData\Testing<br>
><br>
> and send me the output? That test checks for OpenGL2 support and prints out<br>
> an error message if it fails to get a valid context.<br>
<br>
Everything seems fine. The output is<br>
<br>
first render time: 0.381111<br>
opengl version 4.5<br>
interactive render time: 0.0321125<br>
number of triangles: 871414<br>
triangles per second: 2.71363e+07<br>
<br>
and I could see the dragon render quickly before disappearing.<br>
<br>
I'll try to cook up a minimal example that sets up a volume rendering<br>
pipeline similar to what I have in our application, and try to<br>
reproduce the problem I get there.<br>
<br>
Elvis<br>
<br>
><br>
> Thanks!<br>
> Ken<br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Mon, Apr 24, 2017 at 7:50 AM, Elvis Stansvik<br>
> <<a href="mailto:elvis.stansvik@orexplore.com">elvis.stansvik@orexplore.com</a>> wrote:<br>
>><br>
>> 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<br>
>> > machines using TigerVNC and we needed to build our own mesa to get the<br>
>> > OpenGL support required by the VTK OpenGL2 layer. I'm not sure what version<br>
>> > of mesa was required, my colleague who worked on this is on holiday. So far<br>
>> > the transition to VTK OpenGL2 is in an experimental stage, we will probably<br>
>> > not roll it out until after our next release. We are very interested in<br>
>> > 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<br>
>> /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<br>
>> >> 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<br>
>> >> > 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<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>
><br>
><br>
><br>
> --<br>
> Ken Martin PhD<br>
> Distinguished Engineer<br>
> Kitware Inc.<br>
> 28 Corporate Drive<br>
> Clifton Park NY 12065<br>
><br>
> This communication, including all attachments, contains confidential and<br>
> legally privileged information, and it is intended only for the use of the<br>
> addressee. Access to this email by anyone else is unauthorized. If you are<br>
> not the intended recipient, any disclosure, copying, distribution or any<br>
> action taken in reliance on it is prohibited and may be unlawful. If you<br>
> received this communication in error please notify us immediately and<br>
> destroy the original message. Thank you.<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>