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. |
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 |
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. |
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. |
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. |
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 |
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. |
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. |
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 |
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. |
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 |
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. |
Dear OF users,
Any ideas ?
Dear OF users,
Any ideas ? I can't use paraFoam (and paraview) any more ... Stephane. |
I need help.
I can't solve
I need help.
I can't solve this problem !!! Stephane. |
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. |
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. |
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 |
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. |
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. |
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 |
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 |
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 |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
Hello ,
one of the solution that worked for me was this: http://www.starnet.com/xwin32kb/Coul...uffered_Visual if your ./ALLclean ./makeparaview and
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 |
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. |
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 |
Many thanks, kumar!
|
Quote:
|
This is all that you need to fix it:-
export LIBGL_ALWAYS_INDIRECT=1 |
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:
|
Quote:
|
All times are GMT -4. The time now is 01:49. |