Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310823 - [x11 overlay] media-libs/mesa-9999: misleading USE=gallium
Summary: [x11 overlay] media-libs/mesa-9999: misleading USE=gallium
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 04:21 UTC by Thomas Capricelli
Modified: 2010-08-26 13:01 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 Thomas Capricelli 2010-03-23 04:21:59 UTC
What USE=gallium currently does is to add the --enable-gallium flag to configure for misc packages (typically xf86-video-ati). I did that and checked that my x was using gallium...... which is not. 

The reason is the following : with current git trees, the gallium drivers are built, but not installed. People use LIBGL_DRIVERS_PATH to try it.

(on irc:) 
[05:03] <airlied> orzel: gallium doesn't get installed or used by default
[05:06] <airlied> orzel: generally we just use LIBGL_DRIVERS_PATH to pick the gallium driver

So my understanding is that current live ebuilds actually build the gallium stuff somewhere, but do not install it and wipe the build directory.. and there is now way to test the gallium drivers in gentoo.

I dont know about non-live ebuilds, i have not checked them.

Reproducible: Always
Comment 1 Thomas Capricelli 2010-03-23 04:46:26 UTC
Here is some more information from irc:

[05:27] Just copy or symlink radeong_dri.so to r300_dri.so and point LIBGL_DRIVERS_PATH to that folder.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2010-03-23 15:49:09 UTC
Yeah, we've churned USE flags a lot on mesa in the overlay and we're still not quite sure where we want to go.

As for gallium, we used to provide a USE flag for it which never actually did anything since libGL never looks for gallium drivers...

Maybe we should always build gallium drivers and use eselect-opengl to enable them? Food for thoughts...

In any case, that's not the biggest priority ATM. Thanks for the bug report nonetheless.

Cheers
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-26 13:01:59 UTC
This is fixed by eselect-mesa, now that gallium is used by default if USE="-classic" is set. If both classic and gallium USE flags are enabled, you can switch with eselect mesa.