<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 6:59 AM, ianl <span dir="ltr"><<a href="mailto:ilindsay@insigniamedical.co.uk" target="_blank">ilindsay@insigniamedical.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I am attempting to use VTK built with the new OpenGL2 backend on a<br>
virtualised environment (Windows Server 2012 R2 running on VirtualBox).<br>
Unsurprisingly this does not work due to the limitations of VirtualBox's<br>
OpenGL driver (the old OpenGL backend did work however).<br>
<br>
To address this to allow testing, I have downloaded and built Mesa 12.0.3,<br>
64 bit target for Windows (Gallium?) with the intention of getting the<br>
application running so I can do some debugging. I accept that performance<br>
will not be great.<br>
<br>
I have little experience with this, so it is likely that I will have done<br>
something wrong, but I seem to get the following error from VTK, even though<br>
glview (OpenGL Extensions Viewer 4.4.4) claims that the extension the error<br>
is talking about (gpu_shader4) is implemented by Mesa:<br>
<br>
ERROR: In D:\Build\VTK\VTK 7.1.x<br>
23_09_2016\VTKSource\<wbr>Rendering\OpenGL2\<wbr>vtkOpenGLRenderWindow.cxx, line 640<br>
vtkWin32OpenGLRenderWindow (0000007421E0B9A0): GL version 2.1 with the<br>
gpu_shader4 extension is not supported by your graphics driver but is<br>
required for the new OpenGL rendering backend. Please update your OpenGL<br>
driver. If you are using Mesa please make sure you have version 10.6.5 or<br>
later and make sure your driver in Mesa supports OpenGL 3.2.<br>
<br>
I am a bit confused about the final part of the error message about the<br>
'driver in Mesa' needing to support OpenGL 3.2, glview states that the<br>
version supported fully is 3.0, although 3.2 is 80% supported. Does this<br>
mean that the new back end is not yet supported by the latest version of<br>
Mesa?<br>
<br>
Has anyone else attempted this yet? I have installed Mesa by just copying<br>
the built opengl32.dll to the local directory and I have verified that this<br>
is the one being loaded rather than the system one. Are there any options I<br>
need to set when building Mesa to implement the required extensions?<br>
<br>
Thanks in advance,<br>
Ian<br>
<br>
See below for a screenshot of glview:<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5740561/glviewScreenShot.jpg" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/n5740561/<wbr>glviewScreenShot.jpg</a>><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/OpenGL2-using-mesa-tp5740561.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/OpenGL2-using-mesa-<wbr>tp5740561.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div>
</div>