[Paraview] pvbatch (3.8.0) rendering through OSmesa does not work on multiple nodes

Dave Partyka dave.partyka at kitware.com
Thu Sep 16 09:12:01 EDT 2010


We've stumbled upon the same issue. The most recent versions of OSMesa crash
when making multiple calls to MakeCurrent as they will attempt to create a
new render buffer each time. As Sven mentioned, it has been reported to the
Mesa Community. You can view our own findings related to this issue in these
VTK and ParaView bugs.

http://www.vtk <http://www.cmake.org/Bug/view.php?id=10900>
.org/Bug/view.php?id=10900 <http://www.cmake.org/Bug/view.php?id=10900>

http://www.paraview.org/Bug/view.php?id=11163<http://www.cmake.org/Bug/view.php?id=11163>

I would recommend using mesa 7.0.4 or 7.5.x until the issue is fixed
upstream.

On Thu, Sep 16, 2010 at 4:42 AM, Sven Buijssen <sven.buijssen at tu-dortmund.de
> wrote:

> Hi,
>
> I've had the exact same problem last week with ParaView git/master on
> Linux x86_64 with Mesa 7.8.2, having applied the patch you mentioned to
> the Mesa 7.8.2 sources. (It's also the only patch present in the Mesa
> git master for that particular bug,
> https://bugs.freedesktop.org/show_bug.cgi?id=10966.)
> Whenever I tried to save an animation from the ParaView client (builtin
> mode), ParaView still crashed. I tried to avoid that by removing a
> duplicate call of OSMesaMakeCurrent() from the VTK sources by means of
>
> > diff --git a/Rendering/vtkXOpenGLRenderWindow.cxx
> b/Rendering/vtkXOpenGLRenderWindow.cxx
> > index 5a87aae..493a3fb 100644
> > --- a/Rendering/vtkXOpenGLRenderWindow.cxx
> > +++ b/Rendering/vtkXOpenGLRenderWindow.cxx
> > @@ -828,7 +828,6 @@ void
> vtkXOpenGLRenderWindow::CreateOffScreenWindow(int width, int height)
> >        {
> >        this->Internal->OffScreenContextId = OSMesaCreateContext(GL_RGBA,
> NULL);
> >        }
> > -    this->MakeCurrent();
> >      }
> >    else
> >  #endif
>
> but that turned out to be not sufficient, OSMesaMakeCurrent() is still
> called multiple times when ParaView git/master is trying to save an
> animation.
>
> I reverted to Mesa 7.5.2 to resolve the issue.
>
> Hope this helps
> Sven
>
>
>
> Van Mierlo K. wrote, On 16.09.2010 10:31:
> > Hi,
> >
> >
> >
> > I compiled paraview 3.8 (pvbatch) without X and with OSmesa support to
> > run on the university cluster. When I submit a pvbatch job it works fine
> > on just 1 node of the cluster (max 8 procs) however the rendering goes
> > wrong when using 2 or more nodes on the cluster. I tried this with
> > OSMesa 6.5.3 and with a patched version of OSMesa 7.8.2 from here
> >
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=91c37599f621a0ec498c0f0add14f16470ca852b
> >
> >
> >
> >
> > I submitted this as a bug  http://www.paraview.org/Bug/view.php?id=11038
> > but got a reply that I should ask the mailing list which version of
> > OSMesa is most reliable. So could someone let me know if they
> > experienced similar problems and tell me which version of OSMesa they
> > use to solve it?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Koen
> >
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100916/6d95421e/attachment.htm>


More information about the ParaView mailing list