Nvidia GPU not used

Dear all,

I have an MSI GS65 8SE with Ubuntu 18.04 and an RTX2060. But it seems that paraView and paraFoam do not use the nvidia GPU.

Screenshot from 2020-09-09 13-07-29

Even if, it is well activated and set up as the GPU to be used…

Screenshot from 2020-09-09 13-08-35

I do not understand why this happens.

Can you please provide me an insight on how to solve this? I read all the posts about GPU on this section (support) but nothing useful for my situation.



what is the output of:

name of display: :1
display: :1 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:


Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 6144 MB
Total available memory: 6144 MB
Currently available dedicated video memory: 5559 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 440.95.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:


OpenGL version string: 4.6.0 NVIDIA 440.95.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:


OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 440.95.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:


132 GLX Visuals
[Hexadecimal block!]

I deleted the lines in […!] to make the message readable, I supposed that they contain no necessary information.

Yes, we can see that nvidia is indeed present in your computer.

Do you have an optimus laptop ?
Where did you download ParaView from ?

I am unable to answer about optimus laptop. I have this:


Is there any way to determine and answer you properly about the optimus question? I have the Intel integrated GPU and the nvidia gpu on my laptop.

About the second question, it came with OpenFOAM installation.

This is an optimus laptop.

Can you try with ParaView downloaded from our website ?

I installed the version 5.8.1 and when I execute it, I have this in the terminal

VisRTX 0.1.6, using devices:
0: GeForce RTX 2060 (Total: 6.2 GB, Available: 5.8 GB)


Screenshot from 2020-09-09 17-51-45


Do you think that there is a way to do so with the installed version of OpenFOAM?

You should ask OpenFOAM, I suspect that the OpenFOAM version is built with mesa-only.

Thank you very much for your rapid answers. Well, I will be using ParaView 5.8 with the RTX GPU then, for the meshing part works great.

And I will follow the questioning in OpenFOAM forum for paraFoam.

Have a great day.

A post was split to a new topic: ParaView GPU selection