Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115570 - TEXTREL in x11-base/xorg-x11-6.8.2-r6
Summary: TEXTREL in x11-base/xorg-x11-6.8.2-r6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 11:09 UTC by Lares Moreau
Modified: 2006-08-13 06:15 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg-x11-pic-notextrel.patch (xorg-x11-pic-notextrel.patch,3.78 KB, patch)
2005-12-14 12:04 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lares Moreau 2005-12-14 11:09:37 UTC
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)
Comment 1 solar (RETIRED) gentoo-dev 2005-12-14 12:04:51 UTC
Created attachment 74753 [details, diff]
xorg-x11-pic-notextrel.patch
Comment 2 SpanKY gentoo-dev 2005-12-14 12:19:42 UTC
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
Comment 3 Kevin F. Quinn (RETIRED) gentoo-dev 2006-05-15 23:38:53 UTC
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.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-16 00:09:08 UTC
If you can come up with a patch and there _isn't_ a significant adverse effect on performance, upstream will likely accept it.
Comment 5 solar (RETIRED) gentoo-dev 2006-05-16 03:59:51 UTC
(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. 
Comment 6 PaX Team 2006-05-16 04:05:56 UTC
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.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-08-13 03:54:30 UTC
*** Bug 143761 has been marked as a duplicate of this bug. ***
Comment 8 solar (RETIRED) gentoo-dev 2006-08-13 06:15:23 UTC
this is solved and in stable now