[Paraview] Why is pvbatch displaying images?
burlen
burlen.loring at gmail.com
Wed Mar 13 14:05:15 EDT 2013
Hi All,
This question of pop-up windows comes up all the time, so I thought I'd
report on a second option of configuring a second X-Screen. most of the
time this will provide better rendering performance vs using OSMesa.
Once you configure x this way you can launch pvserver/pvbatch on the
second screen (eg. DISPLAY=:0.1 pvbatch ...). it seems that most recent
graphics hardware (intel, ati, nvidia etc) can do this(link below). I've
been using this on my workstation with nvidia and it works well.
nvidia-settings was able to configure X for me. On other hardware it may
be called Zaphod-heads. http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors
Burlen
On 01/30/2013 05:42 AM, Andy Bauer wrote:
> Hi Pradeep,
>
> If you don't want the window to pop up you'll need to use offscreen
> rendering with OSMesa. WriteAnimation() needs to create a window in
> order to generate the image. It is the same with WriteImage().
>
> Andy
>
> On Wed, Jan 30, 2013 at 3:33 AM, Pradeep Jha
> <pradeep at ccs.engg.nagoya-u.ac.jp
> <mailto:pradeep at ccs.engg.nagoya-u.ac.jp>> wrote:
>
> Hello,
>
> I made my first PV python script using "Start Trace" and "End
> Trace". Now I am trying to run this script using pvbatch hoping it
> will execute everything on the command line and not display any
> graphics. I deleted the Render() statement which was at the end of
> the python script generated by Trace (file attached with this
> email). But still it keeps generating the image window and fails
> when I ssh without X option.
>
> I have attached the script file. I am executing pvbatch by the command
>
> $pvbatch export_movie.py
>
> Why is this happening?
>
> Thank you,
> Pradeep
>
>
>
> _______________________________________________
> Powered by www.kitware.com <http://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/20130313/93c83d27/attachment.htm>
More information about the ParaView
mailing list