<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 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Arial","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
mso-fareast-language:DE-CH;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Dear All!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><br></span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Sorry for the delay in the reply, but I had a very long Christmas break and I just came back a few days ago. I managed to compile OpenSWR with Osmesa support using the autotools but it was not much faster than any of the OSMesa versions I tried, i.e. v10.5.5 and 11.0.7. I compiled the OpenSWR with libglx support and that might be the reason why the performance I experience is not so good as expected.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I have included hereafter the configure options I used on my CentOS 6.5 platform for reference:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>./configure --prefix= --enable-gallium-osmesa --enable-dependency-tracking --enable-gallium-llvm=yes --enable-llvm-shared-libs --enable-swr-native --enable-sysfs --enable-texture-float --disable-dri --disable-egl --disable-glx --disable-gles1 --disable-gles2 --disable-opencl --disable-vdpau --disable-va --disable-xvmc --with-dri-drivers= --with-egl-platforms= --with-gallium-drivers=swr,swrast --with-gnu-ld --with-osmesa-bits=8 --with-swr-arch=CORE_AVX2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hope this helps bringing a bit of clarity. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Nonetheless, I was already very pleased with the improved rendering performance using the RC2 version. Now that PV 5.0.0 has been released, I will proceed to installation and repeat my benchmarks, the outcome of which I will be feeding back of course.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormalCxSpMiddle style='margin-bottom:12.0pt;mso-add-space:auto'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Frank Albina <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Chuck Atkins [mailto:chuck.atkins@kitware.com] <br><b>Sent:</b> Freitag, 8. Januar 2016 20:41<br><b>To:</b> Utkarsh Ayachit<br><b>Cc:</b> Albina, Frank; paraview@paraview.org<br><b>Subject:</b> Re: [Paraview] Paraview v5.0.0-RC1 with OpenGL2 backend not running using OSMESA v10.5.5<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Frank,<o:p></o:p></p></div><p class=MsoNormal>The easiest way to build OpenSWR is probably to use the SCons build instead of autotools. Here's a docker file we use to generate re-distributable libGL and libOSMesa binaries: <a href="https://github.com/chuckatkins/mesa-builds/blob/master/Dockerfile">https://github.com/chuckatkins/mesa-builds/blob/master/Dockerfile</a> . In short though, you'll want to do the following:<o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Courier New"'><br>git clone <a href="https://github.com/OpenSWR/openswr-mesa.git">https://github.com/OpenSWR/openswr-mesa.git</a> mesa-swr</span><o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Courier New"'>cd mesa-swr<br>scons build=release texture_float=yes swr_arch=core-avx2 libgl-xlib osmesa</span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The libgl-xlib target will create a build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5 output and the osmesa target will create a build/linux-x86_64/gallium/targets/osmesa/libosmesa.so output. You can also change <span style='font-family:"Courier New"'>swr_arch=core-avx2</span><span style='font-family:"Arial","sans-serif"'> to </span><span style='font-family:"Courier New"'>swr_arch=avx</span><span style='font-family:"Arial","sans-serif"'> if you want to build for AVX instead of AVX2.</span><o:p></o:p></p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><p class=MsoNormal>- Chuck<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Dec 22, 2015 at 10:14 AM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>> Also, thank you for liaising with the OpenSWR team in order to check if they support or plan supporting OSMESA.<br><br>Frank, I am told that OpenSWR on Github should work with OSMesa. I<br>haven't tried it out myself, will give it a go once I get the a few<br>other issues ironed out. Just wanted to let you know if you wanted to<br>give it another go.<o:p></o:p></p><div><div><p class=MsoNormal><br>Utkarsh<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></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>