<div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I need to load a heavy pvsm state with pvbatch and render multiple output views for my regression tests. The python script which I use is quite straightforward:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>import paraview.simple as ParaViewSimple</div><div>import os</div><div>...</div><div>ParaViewSimple.servermanager.L<wbr>oadState(pvsm_file)</div><div>for view in ParaViewSimple.GetRenderViews(<wbr>):</div><div>  pxm = ParaViewSimple.servermanager.P<wbr>roxyManager()</div><div>  view_name = pxm.GetProxyName("views", view)</div><div>  ParaViewSimple.SaveScreenshot(<wbr>os.path.join(baseline_path, "%s.png" % view_name), view)<br></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">If I launch it with pvbatch it returns multiple warnings "Warning: In /home/kriolog/projects/caboma/<wbr>SpecifX/VTK/Rendering/OpenGL2/<wbr>vtkXOpenGLRenderWindow.cxx, line 1080</div><div style="font-size:12.8px">vtkXOpenGLRenderWindow (0x556adac32720): warning window did not resize in the allotted time" and generates wrong images (10 identical images of one of the views and one different instead 11 different images). However, when I launch the same script from ParaView it generates correct images. When I launch pvbatch  in my docker container (osmesa, no Qt) it silently generates the same wrong images. Could you please me give me some advice about how to debug it?</div><div style="font-size:12.8px"> </div><div style="font-size:12.8px">The version of VTK which I use is 7.1.1 (slightly modified).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px">Maxim</div></div>