[vtk-developers] problem with multiple offscreen render windows

Francois Budin francois.budin at kitware.com
Fri Mar 30 16:44:58 EDT 2018


Hello Kathleen,

Could you try with the latest VTK (master branch)? I encountered a bug that
sounds very similar to what you are describing and a patch has been
integrated in VTK recently:
https://gitlab.kitware.com/vtk/vtk/commit/a7988f5c530d6db31d6d9a774049c5247a9ac80c

Hope this helps,

Francois

On Fri, Mar 30, 2018 at 4:18 PM, Kathleen S. Biagas <biagas2 at llnl.gov>
wrote:

> Hello,
>
> I used the Offscreen Renderer example from here:
> https://lorensen.github.io/VTKExamples/site/Cxx/
> Utilities/OffScreenRendering/
>
> But I modified it for use with VTK-8 by removing the Factory logic that
> sets up Mesa classes.
>
> This works great.
>
> However, when I duplicate all the code (probably more than is strictly
> necessary) to create a second render window, then it segv's in a call to
> XQueryExtension during vtkXOpenGLRenderWindow::PopContext.
>
> If I comment out the logic that turns on OffScreen Rendering, then it
> doesn't crash.
>
> I compiled VTK-8.1 with gcc 6.2, qt 5.10.1, python 2.7.14, and system
> GL.
>
> This *should* work, shouldn't it?
>
> I've attached the OffScreenRendering source code I used, as well as
> output from a call to 'ReportCapabilities' on the vtkRenderWindow.
>
> Kathleen
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180330/5dc9996a/attachment.html>


More information about the vtk-developers mailing list