The x11-drivers/xf86-video-ati ebuild explicitly enables or disables DRI depending on the USE flag. Unforntunately the configure script then doesn't check for other dependencies such as the Xdamage headers causing the resulting driver to be extremely sub-optimal. Reproducible: Always Steps to Reproduce: 1.emerge x11-drivers/xf86-video-ati 2. 3. Actual Results: Driver lacks Xdamage support. Expected Results: Driver should support the Xdamage extension. Using only --disable-dri when the dri USE flag is not set works around this issue since DRI is enabled by default when available.
In configure.ac, if 'DRI=' didn't become 'DRI=yes' for some reason upon --enable-dri, or if it somehow managed to pass in an argument such as --enable-dri=badarg, I guess I could see how this could happen. How are you testing it?
Upstream bug: http://bugs.freedesktop.org/show_bug.cgi?id=13244 It was solved in commit a94123f33ec6584fbdfc4b9ecd543d1357de8814: http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commit;h=a94123f33ec6584fbdfc4b9ecd543d1357de8814
This fix is included in 6.7.197 that has been in the tree for a while with equal visibility to 6.7.196 (only version where this was broken iirc)