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 January 16, 2009 05:06

Problem with paraview and paraFoam
 
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.

gwierink January 16, 2009 06:39

Hi Stephane, Did you rebuil
 
Hi Stephane,

Did you rebuild ParaView or just unpacked the binary? I think you need to build it as explained in the README (http://www.opencfd.co.uk/openfoam/do...ME.html#README). I also had some problems with openGL headers and stuff and installing "X Software Development" solved it (yum groupinstall 'X Software Development' in Fedora).

Rgds, Gijsbert

openfoam_user January 16, 2009 06:54

Hi Gijsbert, Now we use Sus
 
Hi Gijsbert,

Now we use Suse 11.1 (since last week).

I have rebuilt Paraview.

Paraview alone (with setenv for OpenFoam) works well. But when I want to use it (or paraFoam) with the setenv parameters for OpenFoam (.cshrc file) it does not work.

I have done the installation test and have the following critical error :
gcc ...figure
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/X11/gcc
CRITICAL ERROR

Stephane.

openfoam_user January 19, 2009 08:58

Dear O-F users, I have inst
 
Dear O-F users,

I have installed OpenFOAM-1.5 with Suse 11.1.

The installation test seems ok.
Checking basic setup...
-------------------------------------------------------------------------------
Shell: tcsh
Host: cfs10
OS: Linux version 2.6.27.7-9-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /shared/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/sanchi/OpenFOAM/sanchi-1.5 yes no
$WM_THIRD_PARTY_DIR /shared/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /shared/OpenFOAM/OpenFOAM-1.5 yes yes yes

$FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR /shared/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes no yes
$FOAM_USER_LIBBIN ...nFOAM/sanchi-1.5/lib/linux64GccDPOpt yes no no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes no yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.12 /usr/bin/X11/gzip
tar 1.20 /bin/tar
icoFoam .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_cfs10 Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.

I have also installed Qt-4.3.5.

But when I launch paraFoam (or paraview) paraview opens and suddently close with the following error message :
ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x12876e0): Could not find a decent visual



ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x12876e0): 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 (0x12876e0): Cannot create GLX context. Aborting.

I need your help to solve this problem !!!

Stephane.

openfoam_user January 20, 2009 05:43

Dear OpenFOAM users, nobody
 
Dear OpenFOAM users,

nobody has encountered the same kind of problem ?

I do not have any idea how to solve it.

Stephane.

bholbek January 20, 2009 05:50

Hi, i had also a lot of pro
 
Hi,

i had also a lot of problem with paraFoam. Converting the data to VTK format with foamToVTK utility and visualising them directly with paraview is a solution (not the best...)

Bastien

openfoam_user January 20, 2009 06:39

Hi, I have also the same pr
 
Hi,

I have also the same problem with paraview !

So with paraFoam and paraview I have the following error message :

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



ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x12876e0): 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 (0x12876e0): Cannot create GLX context. Aborting.

The problem is linked with /OpenFOAM/ThirdParty/Paraview3.3-cvs !!!

Because when I use Paraview3.5 I have no problem and the Paraview window remains normally openned !

Stephane.

openfoam_user January 21, 2009 04:47

Any idea how to solve my probl
 
Any idea how to solve my problem ?

Linux 11.1
OpenFOAM 1.5

I need your help.

Thanks in advance,

Stephane.

gwierink January 21, 2009 05:37

Hi Stephane, Check out this
 
Hi Stephane,

Check out this post: http://www.cfd-online.com/OpenFOAM_D...es/1/4438.html. Also, try to install the X Software development package. This solved it for me when I had problems with openGL libraries in Fedora and your error seems similar. In Fedora I just did "yum groupinstall 'X Software Development'". I think, in your openSUSE system, you need to go to Yast, select Software Management, and install gcc, xorg-x11-devel, and libpng-devel. My experience with openSUSE is minimal, but you could give it a go.
Your error message contains "Cannot create GLX context. Aborting." and this issue seems to have been solved by pUl| in the post mentioned above. I hope any of this is useful.

Regards, Gijsbert

openfoam_user January 21, 2009 05:59

Hi Gijsbert, gcc, xorg-x11-
 
Hi Gijsbert,

gcc, xorg-x11-devel, and libpng-devel are already installed. The problem does not seem to be here.

It is very strange because :

1. When I use ParaView 3.5 it works well and the window remains openned !
2. When I use ParaView3.3-cvs it (paraFoam and paraview) does not work any more and the paraFoam window closes immediatly with the ERROR message written in the previous post !

Stephane.

gwierink January 21, 2009 06:38

Hi Stephane, Line 623 in Op
 
Hi Stephane,

Line 623 in OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow.cxx checks that your system supports GLX rendering. Maybe it's an issue with your GLX modules and extensions (check http://www.susegeek.com/graphics/setup-nvidia-graphics-card-with-aiglx-rendering -for-opensuse-110/) and I guess you need /usr/lib64/xorg/modules/extensions/libglx.so or /usr/lib/xorg/modules/extensions/libglx.so, but this is all a shot from the hip http://www.cfd-online.com/OpenFOAM_D...part/happy.gif.

Gijsbert

openfoam_user January 22, 2009 03:36

Hi Gijsbert, I have tried
 
Hi Gijsbert,

I have tried to modify the settings of the NVIDIA card but without any success. The problem still remains.

Dear users any suggestion is welcome !!!

Stephane.

openfoam_user January 23, 2009 03:03

Dear OF users, Any ideas ?
 
Dear OF users,

Any ideas ?

I can't use paraFoam (and paraview) any more ...

Stephane.

openfoam_user January 26, 2009 04:40

I need help. I can't solve
 
I need help.

I can't solve this problem !!!

Stephane.

mike_jaworski January 26, 2009 10:58

Hi Stephane, What version
 
Hi Stephane,
What version of QT do you have installed? You *need* to have QT-4.3.5 installed if you're going to use ParaView 3.3 and the buildParaView3 script file. If you search the forum, there are some explicit instructions for how to do this into a home directory.

Good luck!
-Mike J.

openfoam_user January 27, 2009 02:39

Hi Michael, I have Qt 4.3.5
 
Hi Michael,

I have Qt 4.3.5 installed !

But Alberto passalacqua told me that it is not necessary. With Linux 11.1 you could use Qt4 with libqt4-devel. Now I am trying his solution.

Stephane.

openfoam_user January 27, 2009 04:51

Dear OF users, Alberto Pass
 
Dear OF users,

Alberto Passalacqua told me that it is possible to run paraView with Qt4 under Linux 11.1. I did it following the installation commands (his website).

But I have the following ERROR message :

paraview: symbol lookup error: /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqCore.s o: undefined symbol: _ZN11QFormLayout16staticMetaObjectE

Has someone already encountered the same error message. Thanks for helping me ..

Stephane

openfoam_user January 27, 2009 09:12

Hi, After having followed t
 
Hi,

After having followed the instructions of Alberto Passalacqua I have again the same ERROR message :

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

ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x12876e0): 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 (0x12876e0): Cannot create GLX context. Aborting.

The problem is linked with /OpenFOAM/ThirdParty/Paraview3.3-cvs !!!

Because when I use Paraview3.5 I have no problem and the Paraview window remains normally openned !

Stephane.

openfoam_user January 29, 2009 07:45

Hi, I still have the foolow
 
Hi,

I still have the foolowing problem :

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

ERROR: In /shared/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering/vtkXOpenGLRenderWindow .cxx, line 398
vtkXOpenGLRenderWindow (0x12876e0): 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 (0x12876e0): Cannot create GLX context. Aborting.

Nobody with the same problem ?

Need help !!! I can't use OpenFOAM anymore !!!

With Suse11.0 paraview was running well. With Suse11.1 I can't run anymore paraview !!!

Stephane.

markus_ritter February 5, 2009 09:08

Dear OpenFOAM users, I enco
 
Dear OpenFOAM users,

I encountered the same problem when starting Paraview 3.4.0. The window closed immediately after starting. The error message was:

[ritt_mu@kauz ~]$ /opt/paraview/bin/paraview
> ERROR: In
> /tmp/Kitware/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 623
> vtkXOpenGLRenderWindow (0x9b7d2b0): Cannot create GLX context. Aborting.
>
>
> Abort


Adding the line

Option "AIGLX" "false"

to the xorg.conf file like proposed in [1] didn't solve the problem.

I don't know the exact origin of this error, but after reconfiguring the driver of the graphics card (nvidia) paraview starts normally. (We updated the kernel some days ago but not the driver of the graphics card)
BTW, we use Red Hat in our Institute.

Maybe this information helps you.

Regards,
Markus

[1] http://www.cfd-online.com/OpenFOAM_D...es/1/4438.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 01:49.