CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] paraFoam / paraview crashes when exporting images/animation (https://www.cfd-online.com/Forums/paraview/69824-parafoam-paraview-crashes-when-exporting-images-animation.html)

griztown November 5, 2009 14:51

paraFoam / paraview crashes when exporting images/animation
 
1 Attachment(s)
Hi,

As mentioned in the subject. I'm trying to save an animation but paraview (being run as paraFoam 3.6.1) keeps crashing. I've attached the error output to the attached file. It also crashes when I try and save a screen shot. Any ideas?

Here's the text of the first few lines:
Quote:

X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x341e4c7
The rest of the error is in the attached file.

bigphil December 5, 2009 09:40

Hi,


It doesn't fix your problem but you can always download the paraview binary from paraview.org and then use 'foamToVTK' and open the VTK file. The binary paraview should work fine for saving snapshots.


Philip

Emre Turkoz January 22, 2011 05:43

I've got the same problem. I wish there was any solution.

bigphil January 24, 2011 05:00

Hi,


I use the paraview binary that can be downloaded here:
http://www.paraview.org/paraview/resources/software.htm

I have used Linux, Mac and Windows and they are all fine.

The way I create a animation from paraview is:

File -> save animation.
Then save your animation as jpeg images (instead of an avi).
This will create multiple jpeg images which can be sewn together to make an animation.

To join the jpegs together to create an mpeg (for Linux or Mac):
While in the directory with the jpegs, use the following command:
Code:

convert *.jpg animation_name.mpeg
The "convert" command require ImageMagick to be installed (http://www.imagemagick.org/script/index.php), and also you need to download mpeg2encode and mpeg2decode binaries from somewhere and put them in your path.

There are probably other ways to join multiple jpegs into an mpeg, but this works well for me.

If you just want a snap-shot of paraview then just use your operating system's built-in screenshot function (there's a printscreen button on Window's keyboards, in Mac it is cmd-shift-4, something similar in Linux).


Hope it helps,
Philip C

ziemowitzima March 28, 2012 18:02

Hi,
I have similar problem on my Dell Latitude laptop with Ubuntu 11.10.
I am using paraFoam (paraview 3.12 64-bit).
It crashes/freezes after "save screenshot" command ...
(Although it works for animation)

Message from terminal :
X Error: BadMatch (invalid parameter attributes) 8
Extension: 155 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x4400273

It works fine on my second computer...

Did anyone of you solved this problem ?

Thanks
Ziemo

ziemowitzima March 28, 2012 18:14

I found solution for this problem on:
http://www.vtk.org/Bug/view.php?id=12760
"
Also try disbaling "Use Offscreen Rendering for screenshots" from Edit |Settings dialog (Render View page).
"
posted by
Utkarsh Ayachit

But still it seems strange because I have, the same system ubuntu11.10 and same paraview, on my other computer and it works fine without doing this ...

Ziemo


All times are GMT -4. The time now is 10:48.