Re: [mesa-users] Configuring mesa-11.2.2 llvmpipe with non-standard paths
Chuck Atkins <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAOXZzG5omW4h0VGK1SMR=952Wb=iMRtPC3FAY+G9aJxTPZrnAg@mail.gmail.com> |
If you want to try the el6 and el7 binaries generated from the docker images, they're available here: https://data.kitware.com/#user/56eac32b8d777f0457177859/folder/56eac32b8d777f045717785a 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. - Chuck On Thu, Jun 30, 2016 at 10:52 AM, Chuck Atkins <[email protected]> wrote: > 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 > > _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users