After some instructions form solar: x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/tdfx_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/i915_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/radeon_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/r128_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/r200_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/sis_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/mga_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/i810_dri.so) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/libOSMesa.so.4.0) x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/dri/gamma_dri.so)
Created attachment 74753 [details, diff] xorg-x11-pic-notextrel.patch
i say we mark this one upstream we've already got an open bug tracking this in the xorg bugzilla which the pax team is reporting on
Well, the upstream bug I could find (https://bugs.freedesktop.org/show_bug.cgi?id=4197) is "CLOSED NOTABUG" which indicates Xorg/Mesa have no intention of fixing it. So it looks like our only avenue is to patch it ourselves, I suggest conditional on USE=hardened if there really is a significant performance impact.
If you can come up with a patch and there _isn't_ a significant adverse effect on performance, upstream will likely accept it.
(In reply to comment #2) > i say we mark this one upstream > > we've already got an open bug tracking this in the xorg bugzilla which the pax > team is reporting on I think upstream is a lost cause at this point and the only choice left is to fork the pkg.
upstream, or rather, that one particular person, wasn't exactly appreciative of our patching efforts, regardless of performance and other claims/merits, so i stopped pursuing that route. instead, i've been simply setting CONFIG="linux-dri" in the media-libs/mesa ebuild for the past few months of releases and it seems to work fine (that is, even a non-hardened profile will produce proper PIC and a textrel free library). Markus Dittrich tried it out on a real-life 3D intensive(?) app (some molecular modelling) and his numbers basically show no impact (i hope he doesn't mind the copy/paste from his email): > Thanks for your note. I've now tried all three possibilities > and done some very rough benchmarking (ATI mobility radeon 7500) > using a molecular graphics program with a pretty big protein > system. > > - - mesa with linux-dri-x86: ~11 frames per s > - - mesa with linux-dri : ~11 frames per s > - - mesa with linux-dri-x86 and mesa-6.4-pic-notextrel.patch: > ~11 frames ps > > Hence from what I see there is no difference, but I am not > a hardcore GL user and don't play games and such.
*** Bug 143761 has been marked as a duplicate of this bug. ***
this is solved and in stable now