CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User 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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2010, 07:49
Default Paraview does not show any images
  #1
New Member
 
Join Date: Mar 2010
Posts: 3
Rep Power: 16
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.

Cheers,
David
Thriceguy is offline   Reply With Quote

Old   March 28, 2010, 18:55
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
Code:
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
Code:
./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,
Bruno
wyldckat is offline   Reply With Quote

Old   March 29, 2010, 05:31
Default maybe a solution for the paraview problem
  #3
New Member
 
Sebastian
Join Date: Feb 2010
Posts: 9
Rep Power: 16
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
Quote:
$/HOME/OpenFoam/OpenFoam-1.6/bin/paraFoam
2. you must add the following line to the the begin of the file. I put it after the header comments in the file.
Quote:
export LC_ALL=C
I don't know the effect of this codeline, but it works.

have fun with paraFoam

Sebastian


gfoam likes this.
sebware is offline   Reply With Quote

Old   April 17, 2011, 21:20
Default thanks
  #4
Senior Member
 
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16
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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview doesn't show anything DrBrain OpenFOAM 7 April 5, 2020 16:24
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
[OpenFOAM] ParaView 340 experience Does not show animation eno ParaView 10 November 14, 2008 13:38
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 13:59
[OpenFOAM] Paraview doesnbt show up kim ParaView 3 September 21, 2005 23:51


All times are GMT -4. The time now is 08:20.