Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574070 - media-libs/mesa-11.1.1[osmesa] - Support for Gallium OSMesa
Summary: media-libs/mesa-11.1.1[osmesa] - Support for Gallium OSMesa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL: http://public.kitware.com/pipermail/p...
Whiteboard:
Keywords:
Depends on:
Blocks: 574072
  Show dependency tree
 
Reported: 2016-02-07 09:19 UTC by Dennis Schridde
Modified: 2016-02-09 20:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-02-07 09:19:35 UTC
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
Comment 1 Dennis Schridde 2016-02-08 16:13:19 UTC
If Mesa is built like this, ParaView 5.0.0 works: https://github.com/urzds/mesa-docker/blob/master/Dockerfile
Comment 2 Matt Turner gentoo-dev 2016-02-09 19:55:23 UTC
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.
Comment 3 Matt Turner gentoo-dev 2016-02-09 20:05:00 UTC
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.
Comment 4 Dennis Schridde 2016-02-09 20:57:08 UTC
(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