CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Problem with paraview and paraFoam (https://www.cfd-online.com/Forums/paraview/61051-problem-paraview-parafoam.html)

openfoam_user February 26, 2009 05:33

Dear OF users, My problem i
 
Dear OF users,

My problem is always unsolved !!!!!!!!!

ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x13476b0): Could not find a decent visual

ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x13476b0): Could not find a decent visual

X Error: BadValue (integer parameter out of range for operation) 2
Extension: 144 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 623
vtkXOpenGLRenderWindow (0x13476b0): Cannot create GLX context. Aborting.

Nobody has had the same error message in the past ?

Thanks for helping me.

Regards,
Stephane

achimfrahmmunterscom March 6, 2009 05:15

Hi, try to download the bin
 
Hi,

try to download the binaries for your system directly from kitware. So you are sure that your problems have nothing to do with wrong compilation and/or version. When i did it, i was sure that my grafic card was the reason!
http://www.paraview.org/paraview/res.../software.html
Achim

Se9a March 17, 2009 03:53

I have same problem
 
Hello,

I have same problem

sega@sega:~/OpenFOAM/sega-1.5/run/tutorials/icoFoam/cavity> paraFoam
ERROR: In /home/sega/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 398
vtkXOpenGLRenderWindow (0x132c320): Could not find a decent visual



ERROR: In /home/sega/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 398
vtkXOpenGLRenderWindow (0x132c320): Could not find a decent visual



X Error: BadValue (integer parameter out of range for operation) 2
Extension: 144 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /home/sega/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 623
vtkXOpenGLRenderWindow (0x132c320): Cannot create GLX context. Aborting.

I use openSUSE 11.1, grafic card nVidia 6800 ultra or nVidia NVS 140M, nVidia drivers.

openfoam_user March 17, 2009 04:09

Hi Sergei,

you have the same problem as mine which is unfortunately still unsolved !

I also use openSUSE 11.1, graphic card nVidia and nVidia driver.

Keep me updated if you find how to solve this problem.

Regards,
Stephane.

oort June 28, 2009 07:31

Hi!

I have the same problem.

Curiously paravfoam/paraview works after an fresh opensuse installation without updating the nvidia driver.

So the only thing I can tell you is: remove the nvidia driver.

If you do that you loose the driver features (3d aceleratuion, etc) but you can work...

It is a poor solution but it is the only way i can work

My system is a laptop with:

OpenSuse 11.1
OpenFoam 1.5
Qt 4.3.5
NVidia GeForce 9200M GS

My question here is: this only happens with openSuse or also with other linuxes?

Because if it only happens with OpenSuse i will try to change to ubuntu. If happens with any OS it its a problem of graphic board software.

Se9a June 28, 2009 13:17

I have a solution
 
Hello!
I have a solution to the problem. I have installed the ParaView 3.4 from source and Native OpenFOAM Reader for ParaView from here. This works very well on OpenSUSE 11.1 with OpenFOAM 1.5, NVidia Quadro NVS 140M, QT 4.4.3 and NVidia drivers.

openfoam_user August 26, 2009 03:14

Hi,

I have installed OpenFOAM-1.6 under Linux 11.1.

My problem with paraFoam has disappeared.

Now paraFoam (paraview 3.6.1) runs well.

Regards,

Stephane.

t_clark January 7, 2010 15:55

Alternative solution
 
This is a problem with the glx module, not with paraview.

Try running glxgears and glxinfo. That will test whether the glx module is working correctly.

One suggestion is to try running them as root - in my case, a permissions error was preventing various libraries from loading. Everything worked fine as root, though.

Incidentally, I experienced the problem using OpenSUSE 11.1, an NVIDIA QuadroFX1700 in a Dell T7400 workstation, with current drivers from the NVIDIA repository.

As it was a permissions error, I did not need to edit xorg.conf at all.

** Edit ** I had already gone through installing paraview from source, with the appropriate version of Qt - it might be worth checking this permissions issue first.

chegdan May 25, 2010 16:42

GLX and paraview
 
I had been receiving the error:

vtkXOpenGLRenderWindow (0x13476b0): Cannot create GLX context. Aborting.

when starting parafoam and resolved it by deleting all nvidia drivers and packages and reinstalling them. After that, the glxgears and glxinfo worked like a charm...as well as parafoam. this is all in Ubuntu 9.04 amd64 with OF-1.5-dev of course with paraview 3.3. This was an issue with glx module.

kumar June 11, 2011 11:07

Hello ,
one of the solution that worked for me was this:
http://www.starnet.com/xwin32kb/Coul...uffered_Visual

if your ./ALLclean
./makeparaview
and
  • ./Allwclean
  • ./Allwmake
did not give any error message and you get the error
ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x26398b0): Could not find a decent visual



ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x26398b0): Could not find a decent visual



X Error: BadValue (integer parameter out of range for operation) 2
Extension: 128 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 631
vtkXOpenGLRenderWindow (0x26398b0): Cannot create GLX context. Aborting.

then try to just run
export LIBGL_ALWAYS_INDIRECT=1


then try opening paraFoam or paraview.
it should work.

regards
K.Suresh kumar

Ira_Sheinman July 19, 2011 06:02

Hi! I'm begginer in openFoam and Linux. Now I'm using CAE-Linux 2008 Live DVD. I don't install OS and openFoam on my hard disk. When I lunch paraview, I see the message
XLib: extension "GLX'' missing on display': 0.0". line 75 : 27415 Aborted. paraview paraFoam.pvs.
What is wrong? Many thanks for any advice.

kumar July 19, 2011 06:24

HI

The message is clear glx libraries are not installed

Type glxinfo on command prompt

If the packages are not installed install openGL and glx

then try it

http://www.starnet.com/xwin32kb/Coul...uffered_Visual

check this site it may help.

regards
K.SUresh kumar

Ira_Sheinman July 20, 2011 04:16

Many thanks, kumar!

jdiorio November 22, 2011 15:39

Quote:

Originally Posted by kumar (Post 311593)
Hello ,
one of the solution that worked for me was this:
http://www.starnet.com/xwin32kb/Coul...uffered_Visual

if your ./ALLclean
./makeparaview
and
  • ./Allwclean
  • ./Allwmake
did not give any error message and you get the error
ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x26398b0): Could not find a decent visual



ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x26398b0): Could not find a decent visual



X Error: BadValue (integer parameter out of range for operation) 2
Extension: 128 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 631
vtkXOpenGLRenderWindow (0x26398b0): Cannot create GLX context. Aborting.

then try to just run
export LIBGL_ALWAYS_INDIRECT=1


then try opening paraFoam or paraview.
it should work.

regards
K.Suresh kumar

Thanks Kumar - that worked for me.

cnd January 9, 2013 19:40

This is all that you need to fix it:-

export LIBGL_ALWAYS_INDIRECT=1

Ildebrando June 10, 2013 00:04

Found solution
 
Hi Stephane,

I had exactly the same problem. I know you already solved by changing the paraview version it but I hope this could be useful

http://ubuntuforums.org/archive/inde...t-1418849.html

Quote:

Originally Posted by openfoam_user (Post 189030)
Dear OF users,

When i want to lauch paraview (or paraFoam) I got the following error message :

ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x1289b90): Could not find a decent visual



ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x1289b90): Could not find a decent visual



X Error: BadValue (integer parameter out of range for operation) 2
Extension: 129 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 623
vtkXOpenGLRenderWindow (0x1289b90): Cannot create GLX context. Aborting.


Could someone help me to solve this problem. Thanks in advance.

Stephane.


cfd_engineer_2014 May 13, 2014 07:37

Quote:

Originally Posted by kumar (Post 311593)
Hello ,
one of the solution that worked for me was this:
http://www.starnet.com/xwin32kb/Coul...uffered_Visual

if your ./ALLclean
./makeparaview
and
  • ./Allwclean
  • ./Allwmake
did not give any error message and you get the error
ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x26398b0): Could not find a decent visual



ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x26398b0): Could not find a decent visual



X Error: BadValue (integer parameter out of range for operation) 2
Extension: 128 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /home/local/UNI/kumar.kannan/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 631
vtkXOpenGLRenderWindow (0x26398b0): Cannot create GLX context. Aborting.

then try to just run
export LIBGL_ALWAYS_INDIRECT=1


then try opening paraFoam or paraview.
it should work.

regards
K.Suresh kumar

Thanks Kumar! This worked for me, too.


All times are GMT -4. The time now is 06:44.