[vtkusers] OpenGL2 using mesa

ianl ilindsay at insigniamedical.co.uk
Tue Sep 27 06:59:42 EDT 2016


Hi all,

I am attempting to use VTK built with the new OpenGL2 backend on a
virtualised environment (Windows Server 2012 R2 running on VirtualBox).
Unsurprisingly this does not work due to the limitations of VirtualBox's
OpenGL driver (the old OpenGL backend did work however).

To address this to allow testing, I have downloaded and built Mesa 12.0.3,
64 bit target for Windows (Gallium?) with the intention of getting the
application running so I can do some debugging. I accept that performance
will not be great.

I have little experience with this, so it is likely that I will have done
something wrong, but I seem to get the following error from VTK, even though
glview (OpenGL Extensions Viewer 4.4.4) claims that the extension the error
is talking about (gpu_shader4) is implemented by Mesa:

ERROR: In D:\Build\VTK\VTK 7.1.x
23_09_2016\VTKSource\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 640
vtkWin32OpenGLRenderWindow (0000007421E0B9A0): GL version 2.1 with the
gpu_shader4 extension is not supported by your graphics driver but is
required for the new OpenGL rendering backend. Please update your OpenGL
driver. If you are using Mesa please make sure you have version 10.6.5 or
later and make sure your driver in Mesa supports OpenGL 3.2.

I am a bit confused about the final part of the error message about the
'driver in Mesa' needing to support OpenGL 3.2, glview states that the
version supported fully is 3.0, although 3.2 is 80% supported. Does this
mean that the new back end is not yet supported by the latest version of
Mesa?

Has anyone else attempted this yet? I have installed Mesa by just copying
the built opengl32.dll to the local directory and I have verified that this
is the one being loaded rather than the system one. Are there any options I
need to set when building Mesa to implement the required extensions?

Thanks in advance,
Ian

See below for a screenshot of glview:
<http://vtk.1045678.n5.nabble.com/file/n5740561/glviewScreenShot.jpg> 



--
View this message in context: http://vtk.1045678.n5.nabble.com/OpenGL2-using-mesa-tp5740561.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list