[vtkusers] OpenGL2 using mesa

Ken Martin ken.martin at kitware.com
Tue Sep 27 08:36:52 EDT 2016


It looks like your version of mesa is using softpipe. I believe the better
choice these days is llvmpipe. I think llvmpipe and SWR are the two main
options we use for software rendering now.

On Tue, Sep 27, 2016 at 6:59 AM, ianl <ilindsay at insigniamedical.co.uk>
wrote:

> 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.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160927/d9f6ed26/attachment.html>


More information about the vtkusers mailing list