# Should install OpenGL via cuda package?

**URL:** <https://forums.developer.nvidia.com/t/should-install-opengl-via-cuda-package/80078>\
**Category:** CUDA Programming and Performance\
**Created:** [August 16, 2019, 5:42pm UTC](https://forums.developer.nvidia.com/t/should-install-opengl-via-cuda-package/80078 "2019-08-16T17:42:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahmood.nt](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mahmood.nt](https://forums.developer.nvidia.com/u/mahmood.nt)\
**Post date:** [August 16, 2019, 5:42pm UTC](https://forums.developer.nvidia.com/t/should-install-opengl-via-cuda-package/80078/1 "2019-08-16T17:42:37Z")

</div>

I want to know what is the consequence of _not_ installing OpenGL via the cuda package? I mean, if I install the driver and toolkit on an Ubuntu, will opengl softwares use GPU or not?

Currently, I have installed cuda-10 driver and toolkit (without opengl) on Ubuntu 18.04 while nouveau has been blacklisted. However, when I run glmark2 [1] programs, no process is offloaded on GPU and I see 300% PCU usage.

On the other hand, I remember that when I installed opengl via cuda package, I had some problems with the display. For example, high cpu usage and other things.

So, I would like to know what is the recommendation of Nvidia for Ubuntu regarding opengl?

[1] [GitHub - glmark2/glmark2: glmark2 is an OpenGL 2.0 and ES 2.0 benchmark](https://github.com/glmark2/glmark2)

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [August 16, 2019, 6:03pm UTC](https://forums.developer.nvidia.com/t/should-install-opengl-via-cuda-package/80078/2 "2019-08-16T18:03:23Z")

</div>

correct, if you don’t install the OpenGL libraries bundled with the NVIDIA GPU driver installer, then OpenGL apps won’t use the GPU.
