CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Paraview & paraFoam (
-   -   paraFoam / paraview crashes when exporting images/animation (

griztown November 5, 2009 15:51

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

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:

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 10:40


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


Emre Turkoz January 22, 2011 06:43

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

bigphil January 24, 2011 06:00


I use the paraview binary that can be downloaded here:

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:

convert *.jpg animation_name.mpeg
The "convert" command require ImageMagick to be installed (, 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

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 ?


ziemowitzima March 28, 2012 18:14

I found solution for this problem on:
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 ...


All times are GMT -4. The time now is 03:25.