paraview build using opengl2


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?

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 :

MESA_GL_VERSION_OVERRIDE=3.3 ./bin/paraview

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