Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349829 - media-libs/mesa drivers not being picked up by xorg
Summary: media-libs/mesa drivers not being picked up by xorg
Status: VERIFIED INVALID
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-12-26 21:48 UTC by Robert Coffree
Modified: 2010-12-26 23:25 UTC (History)
0 users

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 Robert Coffree 2010-12-26 21:48:42 UTC
Might be the cause of bug 349655.

Finally got around to doing something on an i915 atom machine and noticed that mesa now has appened the gallium name (g) to the drivers in /usr/lib64/mesa but the sym links in /usr/lib64/dri point to the classic named, ie no g.

app-emulation/emul-linux-x86-opengl seems to be providing the links. In any case no GL support exists due to this. 




Reproducible: Always

Steps to Reproduce:
1. emerge mesa
2. run glxinfo
3. run glxgears 

Actual Results:  
Both fail as xorg doensn't having an gl rendering capabilities

Expected Results:  
both should work - did work when the sym link was changed
Comment 1 Rafał Mużyło 2010-12-26 22:04:07 UTC
You probably should have used 'eselect mesa'.
Comment 2 Robert Coffree 2010-12-26 22:21:16 UTC
Didn't and still doesn't work.
Tried the --auto and that did bugger all. Tried setting the family option and decided after 3 attempts it was easier to simlink directly. But anyway, I decided I didn't want gallium as its not very good for the i915 according the distributed wisdom.

> You probably should have used 'eselect mesa'.
> 

Comment 3 Robert Coffree 2010-12-26 22:26:05 UTC
Do you mean this eselect mesa?
tmp ~ # eselect mesa list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen)
sw (Software renderer)
tmp ~ # eselect mesa show
tmp ~ # eselect mesa set --auto
tmp ~ # eselect mesa show

Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-26 22:36:14 UTC
what is the output of "emerge -pv mesa"?
Comment 5 Robert Coffree 2010-12-26 22:40:18 UTC
I have just removed the gallium and added gles flag so currently it is:
Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-7.9-r1  USE="gles nptl -classic -debug -gallium* -llvm -motif -pic (-selinux)" VIDEO_CARDS="intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB

but it was as follows at the time of the "incident":

Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-7.9-r1  USE="gallium nptl -classic -debug -gles* -llvm -motif -pic (-selinux)" VIDEO_CARDS="intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB
Comment 6 Robert Coffree 2010-12-26 22:43:27 UTC
actually will go back to classic. 
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-26 22:45:33 UTC
You disabled the classic driver. This you do at your own risk, especially as the intel gallium driver is not usable for anything.
Comment 8 Robert Coffree 2010-12-26 22:57:03 UTC
Thanks, but all I wanted was to see the gles implementation. (I know about gallium, but what more interested in something to do with openGL ES). Thanks
> You disabled the classic driver. This you do at your own risk, especially as
> the intel gallium driver is not usable for anything.
> 

Comment 9 Robert Coffree 2010-12-26 23:01:32 UTC
So, do I need a -gallium in the make.conf in order to get classic to work with intel? Has this changed recently?

> Thanks, but all I wanted was to see the gles implementation. (I know about
> gallium, but what more interested in something to do with openGL ES). Thanks
> > You disabled the classic driver. This you do at your own risk, especially as
> > the intel gallium driver is not usable for anything.
> > 
> 

Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-26 23:20:40 UTC
No. If you build both classic and gallium drivers, then classic will be selected as default.

However, if you disable classic, then gallium will be selected by default. This will not be reverted even if you additionally enable classic later. You have to switch back to classic i915/i965 manually with eselect mesa.
Comment 11 Robert Coffree 2010-12-26 23:25:08 UTC
ok, thanks for clarifying that.
> No. If you build both classic and gallium drivers, then classic will be
> selected as default.
> 
> However, if you disable classic, then gallium will be selected by default. This
> will not be reverted even if you additionally enable classic later. You have to
> switch back to classic i915/i965 manually with eselect mesa.
>