[Mesa-users] [mesa-users] Configuring mesa-11.2.2 llvmpipe with non-standard paths
Chuck Atkins
chuck.atkins at kitware.com
Thu Jun 30 14:52:12 UTC 2016
>
> 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?
>
Yes, that is a necessary workaround for the moment. It will not be
necessary with 12.0
> And last but not least, does mesa-11.2.2 have the OpenSWR driver?
>
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.
> 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?
>
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.
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:
https://gitlab.kitware.com/paraview/mesa-builds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20160630/f98f722c/attachment.html>
More information about the mesa-users
mailing list