# paraview build using opengl2

**URL:** https://discourse.paraview.org/t/paraview-build-using-opengl2/363
**Category:** ParaView Support
**Created:** [July 26, 2018, 10:02pm UTC](https://discourse.paraview.org/t/paraview-build-using-opengl2/363 "2018-07-26T22:02:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kmilo9999](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kmilo9999](https://discourse.paraview.org/u/kmilo9999)
#### Post date: [July 26, 2018, 10:02pm UTC](https://discourse.paraview.org/t/paraview-build-using-opengl2/363/1 "2018-07-26T22:02:30Z")

</div>

Hi.

I built paraview 5.1.0 in linux swtiching the variable VTK\_RENDERING\_BACKEND to OpenGL2. When I started paraview an error message pop up :

“VTK is designed to work with OpenGL version 3.2 but appears it has been given a context that does not support 3.2. VTK will run in a compatibility mode designed to work with earlier version of OpenGL but some features may not work”  
“failed after Render 1 OpenGL errors detected 0:(1282) Invalid Operation”

I tried to load some basic models but I got the same error.  
The OpenGL version I got is:

OpenGL version string: 3.0.0 NVIDIA 390.42

Any ideas what could be the problem?

---

<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: [July 27, 2018, 7:25am UTC](https://discourse.paraview.org/t/paraview-build-using-opengl2/363/2 "2018-07-27T07:25:33Z")

</div>

Are you working on a virtual machine ?

In any case please provide more info about you graphic capabilities and driver used.

Usually this problem is fixed by running paraview this way :

```auto
MESA_GL_VERSION_OVERRIDE=3.3 ./bin/paraview

```

---

<div class="post-metadata">

### Author: ![kmilo9999](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kmilo9999](https://discourse.paraview.org/u/kmilo9999)
#### Post date: [July 27, 2018, 3:24pm UTC](https://discourse.paraview.org/t/paraview-build-using-opengl2/363/3 "2018-07-27T15:24:32Z")

</div>

So, I see this problem is related to the system I am running (OS, drivers, graphics cards), not to paraview itself. I’ll try to fix it from this side and if something with paraview comes up. I’ll update this thread.

Thanks a lot
