[Paraview] pvbatch view.StillRender() crashing
bcurtis3
bcurtis3 at masonlive.gmu.edu
Wed Aug 7 16:58:09 EDT 2013
OK great, that seems to have fixed that crash. Now onto another crash
Code: http://paste.ubuntu.com/5960325/
Crash: http://paste.ubuntu.com/5960330/
CMakeCache.txt: http://paste.ubuntu.com/5960331/
Thanks again for all your help,
~Brian
________________________________________
From: Burlen Loring [bloring at lbl.gov]
Sent: Wednesday, August 07, 2013 1:40 PM
To: bcurtis3
Cc: paraview at paraview.org
Subject: Re: [Paraview] pvbatch view.StillRender() crashing
I saw in your CMake config that both libGL and libOSMesa are used.
Because you are not using X11 you really only need OS Mesa. I'm
wondering if the mixing of libGL and libOSMesa is the source of the
issue here?
would you mind re-building but change your cmake config using the
following as a guide? When you run I think you can safely omit the
--use-offscreen-rendering flag.
#!/bin/bash
MESA=/work/apps/mesa-dev/
cmake \
...
-DPARAVIEW_BUILD_QT_GUI=OFF \
-DVTK_USE_X=OFF \
-DVTK_OPENGL_HAS_OSMESA=ON \
-DOPENGL_INCLUDE_DIR=$MESA/include \
-DOPENGL_gl_LIBRARY=$MESA/lib/libOSMesa32.so \
-DOPENGL_glu_LIBRARY="" \
-DOPENGL_glut_LIBRARY="" \
-DGLUT_glut_LIBRARY="" \
-DGLUT_INCLUDE_DIR="" \
-DGLUT_Xi_LIBRARY="" \
-DGLUT_Xmu_LIBRARY="" \
-DGLUT_glut_LIBRARY="" \
-DOPENGL_xmesa_INCLUDE_DIR=$MESA/include \
-DOSMESA_INCLUDE_DIR=$MESA/include \
-DOSMESA_LIBRARY=$MESA/lib/libOSMesa32.so \
...
$*
On 08/07/2013 10:22 AM, bcurtis3 wrote:
> Sorry, this file was what I was meaning to attach:
> CMakeCache.txt: http://paste.ubuntu.com/5959636/
> ________________________________________
> From: paraview-bounces at paraview.org [paraview-bounces at paraview.org] on behalf of bcurtis3 [bcurtis3 at masonlive.gmu.edu]
> Sent: Wednesday, August 07, 2013 1:16 PM
> To: Burlen Loring
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] pvbatch view.StillRender() crashing
>
> Hi Burlen,
>
> This is a source build.
>
> CMakeOutput.log: http://paste.ubuntu.com/5959617/
>
> ~Brian
> ________________________________________
> From: Burlen Loring [bloring at lbl.gov]
> Sent: Wednesday, August 07, 2013 1:00 PM
> To: bcurtis3
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] pvbatch view.StillRender() crashing
>
> Hi,
>
> I think this happens because VTK failed to create a valid rendering
> context. There could be some issue with Open GL on your system, or some
> interaction with PV and your Open GL install.
>
> Have you built PV from sources here or is this a binary download?
>
> Burlen
>
> On 08/07/2013 09:13 AM, bcurtis3 wrote:
>> Hi there,
>>
>> I am trying to use the following command to print an image of a sliceFilter I create:
>> /home/bcurtis/Downloads/Paraview/bin/pvbatch --use-offscreen-rendering /home/bcurtis/Desktop/newscreenshots.py
>> (eventually i'll use mpirun for all my other legacy VTK files)
>>
>> I run the following code which crashes at view.StillRender(). I have also pasted the code and crash below.
>>
>> CODE: http://paste.ubuntu.com/5959376/
>> CRASH: http://paste.ubuntu.com/5959378/
>>
>> I have read a lot of online resources and I just can not pinpoint what the issue is. I hope you can help me out!
>>
>> ~Brian C.
>> _______________________________________________
>> 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
>
More information about the ParaView
mailing list