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

Sven Buijssen sven.buijssen at tu-dortmund.de
Thu Sep 16 04:42:19 EDT 2010


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



More information about the ParaView mailing list