Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115605 - mesa should install 32bit drivers as well
Summary: mesa should install 32bit drivers as well
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 115252 115606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-14 17:05 UTC by Andrew Fuller
Modified: 2006-03-31 19:57 UTC (History)
2 users (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 Andrew Fuller 2005-12-14 17:05:57 UTC
On amd64 systems, the xf86-video-ati ebuild only installs 64bit drivers.  But 
32bit games can't use this.  Two versions of drivers should be compiled & 
installed as the ati-drivers does. 
 
I'll try to make a patch for the ebuild, but I have my doubts that I'll 
succeed (too many parts of the puzzle are unknown to me). Someone who knows 
what they're doing could fix this much sooner than I'll manage it.
Comment 1 Andrew Fuller 2005-12-14 17:21:11 UTC
*** Bug 115606 has been marked as a duplicate of this bug. ***
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-15 07:18:15 UTC
What needs to be done is cross-compiling it. This probably won't require much,
if any, ebuild modification, but will require you to have two of the same
version installed at the same time, which I don't think portage can handle.
Comment 3 Herbie Hopkins (RETIRED) gentoo-dev 2005-12-15 08:02:41 UTC
xf86-video-ati installs xorg-server drivers for ati cards. There would be no
point in installing 32bit versions of these unless you wanted to run a 32bit
version of xorg-server. I assume what you actually mean is that you want a 32bit
libGL so that you can run 32bit gl apps on your 64bit x-server? To do this you
would need a 32bit versions of mesa and the assosiated dri libs, not xf86-video-ati.

(In reply to comment #2)
> What needs to be done is cross-compiling it. This probably won't require much,
> if any, ebuild modification, but will require you to have two of the same
> version installed at the same time, which I don't think portage can handle.

No, this is something that is currently not supported by portage which is why we
have the various emul-linux-* packages to provide 32bit compatability (which
install binary libs). Our emul-linux-x86-xlibs packages does include a 32bit
mesa. However, we do not currently include the clientside dri libs and the
version included is that supplied with xorg-x11-6.8.2. I am actually unsure
weather simply installing a 32bit mesa would be enough to provide hardware
acceleration, I imagine the kernel drm module would have to multilib aware to
start with (as is the case with the binary ati and nvidia drivers).
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-15 08:04:49 UTC
Very recent drm's do have the 32/64 fixes.
Comment 5 Andrew Fuller 2006-02-28 19:22:42 UTC
Just to update/confirm that the drm module can handle the 32/64. I've manually compiled a 32bit r300_dri.so and a 32bit Mesa (the emul-linux-x86 stuff appears to be outdated -- then again, maybe mine was just broken).  Now I can happily play nwn without fglrx!  But it would be nice if this stuff worked "out of the box" for the rest of amd64 gentooers, so I'm leaving this bug open.
Comment 6 Herbie Hopkins (RETIRED) gentoo-dev 2006-03-17 08:24:33 UTC
emul-xlibs-7.0 should now install 32bit dri modules provided you have VIDEO_CARDS set properly.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-31 19:57:21 UTC
*** Bug 115252 has been marked as a duplicate of this bug. ***