In Mesa 11.1.1, there are two configure flags to enable OSMesa [1], while the Gentoo ebuild allows to trigger just the "classic" flag [2]. It appears that the "classic" OSMesa does not support e.g. OpenGL 3.2, while the Gallium implementation would (see the ParaView mailinglist thread that ends in this post [3]). It would be great if USE=gallium would trigger --enable-gallium-osmesa instead of --enable-osmesa. [1]: http://cgit.freedesktop.org/mesa/mesa/tree/configure.ac#n869 [2]: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/mesa/mesa-11.1.1.ebuild#n294 [3]: http://public.kitware.com/pipermail/paraview/2016-February/036135.html
If Mesa is built like this, ParaView 5.0.0 works: https://github.com/urzds/mesa-docker/blob/master/Dockerfile
This sounds like a good idea potentially. I'll switch the 9999 ebuild over. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a92ea7c1d3352394094f47440f6dd2645b4d3da It'll now trickle down to the next major release. Let me think a little bit about enabling it for 11.1.x.
The commit (a34e7612dcde8, f992d02ba2c7) that adds the function that lets OSMesa get a core context (OSMesaCreateContextAttribs) is not in the 11.1 branch. I do remember a request to backport it, but I cannot find the thread nor remember if there was an answer. Unless it's backported (upstream) to the 11.1 branch, there's nothing more for us to do here.
(In reply to Matt Turner from comment #3) > The commit (a34e7612dcde8, f992d02ba2c7) that adds the function that lets > OSMesa get a core context (OSMesaCreateContextAttribs) is not in the 11.1 > branch. > > I do remember a request to backport it, but I cannot find the thread nor > remember if there was an answer. https://bugs.freedesktop.org/show_bug.cgi?id=93965