CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) (https://www.cfd-online.com/Forums/openfoam-installation/198276-paraview-5-4-shell-environment-of5x-segmentation-fault-core-dumped.html)

dslbkxd February 1, 2018 06:49

Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped)
 
1 Attachment(s)
Dear foamer,

I am quite new to OpenFoam and Ubuntu system (16.04LTS 64bit - Intel® Xeon(R) CPU E5345 @ 2.33GHz × 8 ). I try to install OpenFOAM 5.0 and Paraview 5.4.0 following the guide of http://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-5.x/Ubuntu#Ubuntu_16.04 . It was fine for OpenFoam, but paraview cannot work. Noted that when I enable shell environment with alias "of5x" (as guided by website).
Code:

long@LD:~$ of5x
long@LD:~$ paraview
Segmentation fault (core dumped)

To avoid .foam file and .openFoam. I ran code paraview -buildtin but still error with Segmentation fault.

I have tried to remove and reinstall but it still happened. However, when I run paraview without shell environment (new terminal). Of course, the system itself does not have paraview. I installed paraview 5.0 from Repository. It works

new terminal
Code:

sudo apt-get update
sudo apt-get install paraview

Anyone can help me to overcome this problem with paraView 5.4.

Some information for diagnosing:

I ran following code to attach paraviewLibrary and attached with this post
Code:

ldd $(echo $ParaView_INCLUDE_DIR | sed -e 's=include=lib=')/libvtkpqCore-pv5.4.so > paraviewLibraries.log
gzip < paraviewLibraries.log > paraviewLibraries.log.gz
pwd

log.makePV aslo attached here

Then I check GPU:

Code:

glxinfo | grep OpenGL

OpenGL vendor string: nouveau
OpenGL renderer string: NV44
OpenGL version string: 2.1 Mesa 17.3.3
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

Code:

lspci  -v -s  $(lspci | grep ' VGA ' | cut -d" " -f 1)

07:00.0 VGA compatible controller: NVIDIA Corporation NV44 [Quadro NVS 285] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation NV44 [Quadro NVS 285]
        Flags: bus master, fast devsel, latency 0, IRQ 25
        Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at de000000 (64-bit, non-prefetchable) [size=16M]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau

By somehow, the system is not capable to access GPU (Capabilities: <access denied>). But it works for paraview5.0 without shell enviroment
Finally, I reinstall Nvidia drivers by

sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings

But the results give another error

glxinfo | grep OpenGL

Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 35
Current serial number in output stream: 36

dslbkxd February 3, 2018 00:56

Hi foamer,

I figured out my problem at: https://askubuntu.com/questions/7955...quadro-nvs-285

My problem is my graphic card is not work with ubuntu 16.04. However, when I use Gnome flashback, it is fine. I am so happy


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