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.
*** Bug 115606 has been marked as a duplicate of this bug. ***
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.
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).
Very recent drm's do have the 32/64 fixes.
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.
emul-xlibs-7.0 should now install 32bit dri modules provided you have VIDEO_CARDS set properly.
*** Bug 115252 has been marked as a duplicate of this bug. ***