# Nvidia GPU not used

**URL:** https://discourse.paraview.org/t/nvidia-gpu-not-used/5302
**Category:** ParaView Support
**Created:** [September 9, 2020, 11:12am UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302 "2020-09-09T11:12:11Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Propanotriol](https://discourse.paraview.org/user_avatar/discourse.paraview.org/propanotriol/32/2598_2.png) [@Propanotriol](https://discourse.paraview.org/u/Propanotriol)
#### Post date: [September 9, 2020, 11:12am UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/1 "2020-09-09T11:12:11Z")

</div>

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](https://discourse.paraview.org/uploads/default/original/2X/4/41f4a3bbbd4d70be690128a1def99dd3c063610b.png)

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

![Screenshot from 2020-09-09 13-08-35](https://discourse.paraview.org/uploads/default/original/2X/0/05134c2debff990aab5431a080553384207bdb7f.png)

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.

Sincerely,

Propanotriol.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 11:20am UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/2 "2020-09-09T11:20:34Z")

</div>

what is the output of:  
`glxinfo`

---

<div class="post-metadata">

### Author: ![Propanotriol](https://discourse.paraview.org/user_avatar/discourse.paraview.org/propanotriol/32/2598_2.png) [@Propanotriol](https://discourse.paraview.org/u/Propanotriol)
#### Post date: [September 9, 2020, 12:01pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/3 "2020-09-09T12:01:01Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 12:02pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/4 "2020-09-09T12:02:25Z")

</div>

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

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

---

<div class="post-metadata">

### Author: ![Propanotriol](https://discourse.paraview.org/user_avatar/discourse.paraview.org/propanotriol/32/2598_2.png) [@Propanotriol](https://discourse.paraview.org/u/Propanotriol)
#### Post date: [September 9, 2020, 12:26pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/5 "2020-09-09T12:26:35Z")

</div>

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

[https://www.msi.com/Laptop/support/GS65-Stealth-8SE](https://www.msi.com/Laptop/support/GS65-Stealth-8SE)

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.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 12:28pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/6 "2020-09-09T12:28:12Z")

</div>

> [@Propanotriol](#):
>
> I have the Intel integrated GPU and the nvidia gpu on my laptop.

This is an optimus laptop.

Can you try with ParaView downloaded from our website ?  
[https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<div class="post-metadata">

### Author: ![Propanotriol](https://discourse.paraview.org/user_avatar/discourse.paraview.org/propanotriol/32/2598_2.png) [@Propanotriol](https://discourse.paraview.org/u/Propanotriol)
#### Post date: [September 9, 2020, 3:52pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/7 "2020-09-09T15:52:52Z")

</div>

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)

And

![Screenshot from 2020-09-09 17-51-45](https://discourse.paraview.org/uploads/default/original/2X/c/ca3e4bd29bb6deee78b1ef9119ccfd867a66a964.png)

Excellent.

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 3:58pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/8 "2020-09-09T15:58:06Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Propanotriol](https://discourse.paraview.org/user_avatar/discourse.paraview.org/propanotriol/32/2598_2.png) [@Propanotriol](https://discourse.paraview.org/u/Propanotriol)
#### Post date: [September 9, 2020, 4:43pm UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/9 "2020-09-09T16:43:52Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 16, 2021, 11:37am UTC](https://discourse.paraview.org/t/nvidia-gpu-not-used/5302/10 "2021-06-16T11:37:48Z")

</div>

A post was split to a new topic: [ParaView GPU selection](https://discourse.paraview.org/t/paraview-gpu-selection/7423)
