CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Paraview does not show any images

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By sebware

LinkBack Thread Tools Display Modes
Old   March 28, 2010, 06:49
Default Paraview does not show any images
New Member
Join Date: Mar 2010
Posts: 3
Rep Power: 9
Thriceguy is on a distinguished road
Dear all,

I am fairly new and just started working with openFoam. I installed the newest version, but I've got some problems with paraview. When I run it (even without opening any previously performed calculations) I only can see something in the main window when I click in the window with my left mouse button and move the mouse. If I don't do anything, it is simply a white window. When I close the window and try to open a 2D view, I get the following error message:
X Error: GLXBadContextTag 172
Extension: 154 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x40010f9
X Error: GLXBadContextTag 172
Extension: 154 (Uknown extension)
Minor opcode: 1 (Unknown request)
Resource id: 0x1
X Error: GLXBadDrawable 170 Extension: 154 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x40010f9

If I try to open a 3d-View, paraview shuts down and my command window gives a "Segmentation fault".

I found an old thread reporting a similar problem and first thought, it may be due to my graphic-card (ATI Radeon, X1200 series). This is a very old one and it seems that ATI is not supporting this one anymore for Ubuntu 9.1. Since everything else works fine (including all fancy compiz stuff) I am not sure, if it is really a graphic-cards issue. I would be grateful, if anyone could provide me with a hint, what I could do to fix the problem.

Thriceguy is offline   Reply With Quote

Old   March 28, 2010, 17:55
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,931
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings David and welcome to the forum!

OK, as a quick solution, install Paraview from Synaptic in Ubuntu (System->Synaptic Software Manager, or something like that), or run:
sudo apt-get install paraview
Note: to avoid clashing with the other Paraview that came with OpenFOAM, you should remove the platforms folder from paraview's folder. I'm not typing the commands here, because I don't remember the whole path by heart.

And now, open a new terminal and run paraview. If all is OK, then you can use the command foamToVTK in you foam case folder to convert foam's data to .vtk and open the files available in the new folder named VTK.

If you wanna go hardcore, you'll need to rebuild Paraview! On OpenFOAM's website you have instructions on how to build it. For more detailed instructions, you can follow the ones available on this thread.
If rebuilding Paraview didn't work out for you, then build Paraview with the mesa driver on. If I'm not mistaken, type
./makeParaView -help
to get a list of options of what you can build with Paraview.
Ah, as for the mesa driver, it's a driver that provides software driven OpenGL. To install it, search in Synaptic for mesa and install it. This way you won't be dependent of the graphic card nor its drivers... although it'll be slower

Best regards,
wyldckat is offline   Reply With Quote

Old   March 29, 2010, 04:31
Default maybe a solution for the paraview problem
New Member
Join Date: Feb 2010
Posts: 9
Rep Power: 9
sebware is on a distinguished road
Hey, i had the same problem with paraView and ubuntu karmic in former times.

paraView opens the files but don't show something in the 3d view.

the solution is very easy.

1. you must open the file
2. you must add the following line to the the begin of the file. I put it after the header comments in the file.
export LC_ALL=C
I don't know the effect of this codeline, but it works.

have fun with paraFoam


gfoam likes this.
sebware is offline   Reply With Quote

Old   April 17, 2011, 20:20
Default thanks
Senior Member
Join Date: Mar 2011
Location: Argentina
Posts: 120
Rep Power: 9
gfoam is on a distinguished road
Thanks Sebastian this solution works for me. I had the following error message when i trying to edit the color map:
X Error: GLXBadContextTag 173
Extension: 155 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x400031d
then, when i add that line in the file .../bin/paraFoam, parawiew worked.

I wrote this answer if anyone looks for the same error and wants to solve it.
My configuration is:
Ubuntu 10.10 maverick
OpenFOAM 1.6
Paraview 3.6.1
PD: sorry for my bad english
gfoam is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview doesn't show anything DrBrain OpenFOAM 6 July 8, 2010 18:43
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
ParaView 340 experience Does not show animation eno OpenFOAM Paraview & paraFoam 10 November 14, 2008 13:38
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59
Paraview doesnbt show up kim OpenFOAM Paraview & paraFoam 3 September 21, 2005 22:51

All times are GMT -4. The time now is 17:01.