<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Please share the patch publicly, we would need it for some of our projects, too. Thank you!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Andras<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> vtk-developers [mailto:vtk-developers-bounces@vtk.org]
<b>On Behalf Of </b>Simon ESNEAULT<br>
<b>Sent:</b> Friday, July 17, 2015 11:35 AM<br>
<b>To:</b> Aashish Chaudhary<br>
<b>Cc:</b> VTK Developers; vtkusers@vtk.org; ParaView list<br>
<b>Subject:</b> Re: [vtk-developers] [Paraview] GPU volume rendering failure on Intel HD XXXX/Iris, Windows and recent drivers<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Dear Aashish,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you very much for you answer.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Yes you are right, we are waiting for a new VTK release that defaults to the new OpenGL2 backend, for safety and because a change of VTK version requires a lot of extra work with our current framework... But the green dashboard indeed looks
 really promising, and we will probably make the move as soon as it's ready !<br>
<br>
Meanwhile, I would be really glad if you could send me the patch that solves this issue with the old backend, or guide me through the needed modification to make it work.<br>
<br>
Thanks again<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2015-07-17 16:22 GMT+02:00 Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Dear Simon, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Jul 17, 2015 at 4:43 AM, Simon ESNEAULT <<a href="mailto:simon.esneault@gmail.com" target="_blank">simon.esneault@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Hi All,<br>
<br>
We're experiencing GPU volume rendering failure on a lot (maybe all ?) Intel HD windows system with up to date drivers.<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
This is reproducible in Paraview or with the GPURenderDemo example from VTK, just load a volume and try to render the volume... Here is a result image from paraview on a Dell Latitude E7450 (Intel HD 5500 inside), with GPU rendering [1] and the same volume
 with CPU VR rendering [2].<br>
Interestingly, the volume rendering used to work with drivers older or equal to the version 10.18.10.3496 [3]. As a work around, we ask our customers to downgrade their driver version to this one, and they're enjoying smooth GPU rendering. But this driver is
 quite old and does not support recent chipset...<br>
<br>
I've built and tested the GPURenderDemo with the brand new OpenGL2 backend on an affected machine and of course it does work out of the box (congratulations for this amazing work !).
<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal">Great! <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">But our application is FDA/CE marked and we need to wait that this new backend is completely ready for prime time. So for now, we have to stick with VTK 6.1 ...<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Most of the tests are passing for OpenGL2 (<a href="https://open.cdash.org/index.php?project=VTK" target="_blank">https://open.cdash.org/index.php?project=VTK</a>) on most of the dashboards (various configurations etc) but it is a moving
 target just like VTK itself is a moving target. I guess you are waiting for a VTK release that defaults to OpenGL2 as oppose to OpenGL?  <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><br>
Anyone has any clue ? They're some warning that pop up from paraview related to the extension "gl_version_1_2" that could not be loaded, not sure if that could be related ? Following this thread [4] and the fix proposed, I've tried to replace<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/*****************/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">extensions->LoadExtension("GL_VERSION_1_2")<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/*****************/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">by<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/*****************/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">extensions->LoadExtension("GL_EXT_texture3D");<br>
extensions->LoadExtension( "GL_ARB_texture_non_power_of_two" );<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/*****************/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">in the vtkOpenGLGPUVolumeRayCastMapper.cxx, The warning disappears but there is still no volume rendering (tested with GPURenderDemo). Maybe it needs some others extensions ?<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Yes, there is a patch and I can send it to you. I have to talk to folks here if we can fix the old mapper with those changes but as of now it is not in the plan. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><br>
Should I fill a bug in paraview, vtk ? Are there any plan to maintain and maybe fix this for the old backend ?<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">- Aashish<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><br>
Thanks,<span style="color:#888888"><br>
-- <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="color:#888888">------------------------------------------------------------------<br>
Simon Esneault<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#888888">Rennes, France<br>
------------------------------------------------------------------<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="color:#888888"><br>
[1] <a href="http://picpaste.com/pics/Paraview-4-3-1-GPU-VR_fail.1437122217.PNG" target="_blank">http://picpaste.com/pics/Paraview-4-3-1-GPU-VR_fail.1437122217.PNG</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">[2] <a href="http://picpaste.com/pics/Paraview-4-3-1-CPU-VR_win.1437122267.PNG" target="_blank">http://picpaste.com/pics/Paraview-4-3-1-CPU-VR_win.1437122267.PNG</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">[3] <a href="https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23339" target="_blank">https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23339</a><br>
[4] <a href="http://public.kitware.com/pipermail/vtkusers/2014-April/083584.html" target="_blank">http://public.kitware.com/pipermail/vtkusers/2014-April/083584.html</a><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><span style="color:#888888"><br>
<br clear="all">
<span class="hoenzb"><o:p></o:p></span></span></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span class="hoenzb"><span style="color:#888888">-- </span><o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><i><span style="font-family:"Trebuchet MS",sans-serif;color:#888888">| Aashish Chaudhary
<br>
| Technical Leader         <br>
| Kitware Inc.            </span></i><o:p></o:p></p>
<div>
<p class="MsoNormal"><i><span style="font-family:"Trebuchet MS",sans-serif;color:#888888">| </span><span style="color:#888888"><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></span></i><span style="color:#888888"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">------------------------------------------------------------------<br>
Simon Esneault<o:p></o:p></p>
<div>
<p class="MsoNormal">Rennes, France<br>
------------------------------------------------------------------<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>