CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[Other] ParaView-5.4.0 installation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2017, 01:02
Default ParaView-5.4.0 installation
  #1
New Member
 
Li Jinlong
Join Date: Apr 2015
Posts: 8
Rep Power: 6
anydimenx is on a distinguished road
Hi, all.
I failed to install ParaView-5.4.0. I followed the instructions on the official website step by step. When I opened it, a window actually appeared, however, it cannot be used. There prints the following errors:
QXcbIntegration: Cannot create platforms OpenGL context, neither GLX nor EGL are enabled.
QOpenGLWidget: Failed to create context
composeAndFlush: makeCurrent() failed

My operating system is Ubuntu 16.04, 64 bit, and I can run ParaView 5.0.1 well.

Could you please tell me how to resolve the problem. Thank you.
anydimenx is offline   Reply With Quote

Old   July 2, 2017, 19:38
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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
Quick answer:
  1. I'm guessing that you first installed OpenFOAM 4.1 with ParaView 5.0.1 from Deb packages. This installation provides a build of ParaView that uses only OpenGL v1.
  2. The ParaView 5.4.0 version that is provided at paraview.org is built only with support for OpenGL v2.
  3. The error message that you are getting is implying that your machine does not have OpenGL v2 support.
    • So either you are running Ubuntu 16.04 inside a virtual machine (which rarely has OpenGL v2 support);
    • or if Ubuntu is installed in your real machine, then the machine doesn't have a graphics card that supports OpenGL v2.
Is there a specific reason why you need to use ParaView 5.4.0?
__________________
wyldckat is offline   Reply With Quote

Old   July 3, 2017, 00:53
Default
  #3
New Member
 
Li Jinlong
Join Date: Apr 2015
Posts: 8
Rep Power: 6
anydimenx is on a distinguished road
Hi, Bruno.
Thank you for your reply. Ubuntu 16.04 is installed in my real machine, but there is only the integrated graphic card:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 06)

and I checked my OpenGL version:

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.3 (Core Profile) Mesa 12.0.6
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 12.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 12.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

Is my OpenGL version 3.0 ? I'm confused about the OpenGL version now, it seems it is neither OpenGL v1 nor v2.

Besides, I installed OpenFOAM v4.1 through source code compiling, not the deb packages. Recently, OpenFOAM-v1706 is released and ParaView 5.4.0 is used in that third party source package. I just want to try some new features, so I compiled them following the online instructions, but encountered such a problem. I have done some other checking after I posted the thread, I found that ParaView 5.3.0 still cannot run with the same error messages, however, ParaView 5.2.0 succeeds.

Above is my situation now, did you mean that it's due to the machine limitation? Could you please explain further and help me find out the cause? What else information do you need, I would like to provide
anydimenx is offline   Reply With Quote

Old   July 8, 2017, 15:38
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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
Quick answer: Given that the Intel GPU HD 530 is somewhat recent (at least regarding support), my guess is that this is still in the list of missing support in ParaView's capabilities. I read on the mailing list a few days ago something about that... but I can't find it at the moment.

Please send an email about this to the ParaView mailing list: https://www.paraview.org/mailman/listinfo/paraview - the developers follow and answer questions on the ParaView mailing list.
wyldckat is offline   Reply With Quote

Old   July 12, 2017, 09:27
Default
  #5
New Member
 
Li Jinlong
Join Date: Apr 2015
Posts: 8
Rep Power: 6
anydimenx is on a distinguished road
Hi, Bruno, thank you for your suggestions.
I have reinstalled the operating system, the current version is ubuntu 16.04.2 LTS, instead of the old verision ubuntu 16.04 LTS. The paraview 5.4 can be installed successfully, while the OpenGL version is still the same as the old one, with Mesa 12.0.6. However, once I decreased the opacity to be less than 1, the paraview then crushed, the terminal gave this message:

intel_do_flush_locked failed: Input/output error
Segmentation fault (core dumped)

It seems that the rendering fails. I could not explain those phenomenon, what I can do is just to present the observations. I do not know whether it has something to do with my physical machine limitations.
anydimenx is offline   Reply With Quote

Old   September 12, 2017, 04:12
Default paraFOAM opening error
  #6
New Member
 
Join Date: Sep 2013
Location: Bangalore, INDIA
Posts: 1
Rep Power: 0
sam.h is on a distinguished road
Hi all,

I was trying to install the latest version of openfoam and was successful in doing so by following the link http://www.openfoam.com/code/build-guide.php
But I am getting the error as mentioned in this thread by Li Jinlong.

Older version also co-exist with new version (using alias).

OS : Ubuntu 14.04 LTS
OpenFOAMV17.06

$ glxinfo | grep OpenGL
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVC0
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.3
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.1.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

Quote:
Originally Posted by anydimenx View Post
Hi, all.
I failed to install ParaView-5.4.0. I followed the instructions on the official website step by step. When I opened it, a window actually appeared, however, it cannot be used. There prints the following errors:
QXcbIntegration: Cannot create platforms OpenGL context, neither GLX nor EGL are enabled.
QOpenGLWidget: Failed to create context
composeAndFlush: makeCurrent() failed

My operating system is Ubuntu 16.04, 64 bit, and I can run ParaView 5.0.1 well.

Could you please tell me how to resolve the problem. Thank you.
Any resolution found on this problem ?

Please let me know.

Thank you.

Regards,
Sam.H
sam.h is offline   Reply With Quote

Old   December 31, 2017, 12:25
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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 to all!

OK, I'm really late on this, but here goes what I'm able to answer:
Quote:
Originally Posted by anydimenx View Post
The paraview 5.4 can be installed successfully, while the OpenGL version is still the same as the old one, with Mesa 12.0.6. However, once I decreased the opacity to be less than 1, the paraview then crushed, the terminal gave this message:

intel_do_flush_locked failed: Input/output error
Segmentation fault (core dumped)
That's either a GPU limitation or a driver flaw. As I mentioned before, at least the older Intel CPUs with integrated GPUs have incomplete OpenGL implementations.

If you try to build OpenFOAM 5.x from source code - instructions available here: https://openfoamwiki.net/index.php/I...x/OpenFOAM-5.x - you will the option to build ParaView with this additional argument:
Code:
-rendering OpenGL
which will make ParaView be built with the older OpenGL implementations, instead of the new OpenGL2+ ones.
Although reducing opacity could still result in non-perfect transparencies.



Quote:
Originally Posted by sam.h View Post
$ glxinfo | grep OpenGL
OpenGL vendor string: nouveau

[...]

Any resolution found on this problem ?
Have you tried installing NVidia's drivers? They should have a complete implementation of OpenGL2+ extensions that ParaView 5.4.0 needs. Because the implementations in "nouveau" are likely incomplete.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
paraview 5.4.0 opengl qt

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
[OpenFOAM] ParaView 5.4.0 refuses to start SamuelPei ParaView 1 October 15, 2019 04:12
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 Wley OpenFOAM Installation 2 September 28, 2012 07:06
[OpenFOAM] Installation problem with ParaView 3.8.0 on openSUSE 11.2 aero_ ParaView 14 August 2, 2010 19:13
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 13:59


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