<div dir="ltr"><div>If you want to try the el6 and el7 binaries generated from the docker images, they're available here:<br><br><a href="https://data.kitware.com/#user/56eac32b8d777f0457177859/folder/56eac32b8d777f045717785a">https://data.kitware.com/#user/56eac32b8d777f0457177859/folder/56eac32b8d777f045717785a</a><br><br></div>If you have further issues related to configuring mesa specifically for VTK or have any run-time issues when using it then we should probably move the discussion over to the vtk-users mailing list.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Chuck<br></div></div></div>
<br><div class="gmail_quote">On Thu, Jun 30, 2016 at 10:52 AM, Chuck Atkins <span dir="ltr"><<a href="mailto:chuck.atkins@kitware.com" target="_blank">chuck.atkins@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="monospace,monospace"></font><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">As OpenGL version string is 3.0, my vtk-7.0-OpenGL2 crashes with 'gp4_shaders' instructions. That's fixed with the environment variable shown above. Is this ok? Should that variable be set?<br></span></div></div></blockquote><div><br></div></span><div>Yes, that is a necessary workaround for the moment. It will not be necessary with 12.0<br><br> <br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif"></span></div><div><span style="font-family:arial,helvetica,sans-serif">And last but not least, does mesa-11.2.2 have the OpenSWR driver?</span></div></div></blockquote><br></span></div>Nope. 12.0 will though. There's currently a few build issues with swr in the 12.0-RC4 source tarball that will be fixed for the 12.0 release but if you don't want to wait for the release (hopefully in the next week or so) you can use the git/master branch instead and get both llvmpipe and swr.<span class=""><br><br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">
I'm asking in order to have only one libGL.so with swrast driver and
swr_avx2 driver and switch in between them if cpu has this avx support,
or is not possible? Should I have 2 libGL.so?<br></span></div></div></blockquote><div><br></div></span><div>It won't happen automatically but if you build with --with-gallium-drivers=swrast,swr then they will both be in the resulting libGL.so, with the default driver being llvmpipe. To switch between the two you can set the environment variable GALLIUM_DRIVER=swr. swr, in turn builds two separate helper libraries: libswrAVX.so and libswrAVX2.so and will automatically choose the correct one to load at run-time.<br> <br></div></div><div class="gmail_extra">We've actually got a few docker containers setup to build the current mesa git/master with llvmpipe and swr, libGL and libOSMesa, for el6 and el7 (we use them for building paraview release binaries) if that would be helpful:<br><br><a href="https://gitlab.kitware.com/paraview/mesa-builds" target="_blank">https://gitlab.kitware.com/paraview/mesa-builds</a><br></div><div class="gmail_extra"><br></div></div>
</blockquote></div><br></div>