Hi,
Please disregard the previous message. The problem resurfaced, so it may
not (only) be related to the TLS mode.
I'll investigate further.
Cheers,
Raphael
On Thu, 09 Dec 2010 23:47:58 +0100, Raphael Wimmer
<[email protected]> wrote:
Hi,
In mesa-7.7.1/src/glx/x11/glxcurrent.c, GLX gets initialized with
tls_model("initial-exec").
However, it seems that this TLS mode is not intended for libraries [1].
Using "initial-exec" causes problems with other libraries like libavg
(see Ubuntu bug report [2]). The problem seems also to be related to
Debian bug 365245 [3]. The problem apparently shows up as segfaults when
reading from an input stream.
Changing the TLS mode to "global-dynamic" fixes the problem on my setup
(Debian Testing, 2.6.35 64bit, open-source Radeon driver, MacBookPro
2,2).
The libavg folks have been hunting this problem for some time and it
affects a lot of users [4]
Unfortunately, I do not know the effect of different TLS modes on
graphics performance.
Is it possible to exchange "initial-exec" with another TLS mode in Mesa?
Please keep me CC as I am not on the list.
Cheers,
Raphael
[1] http://readlist.com/lists/gcc.gnu.org/gcc-help/1/6013.html
[2] https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/259219
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365245
[4]
https://www.libavg.de/wiki/index.php/Known_Linux_Installation_Issues#glibc_invalid_pointer
--
Dipl.-Medieninf. Raphael Wimmer
Wiss. Mitarbeiter / Research Assistant
Doktorand / PhD student
Ludwig-Maximilians-Universität München E-Mail: [email protected]
LFE Medieninformatik Skype: real_raphman
Amalienstr. 17 / Raum 206 WWW:
http://www.medien.ifi.lmu.de
80333 München Tel: +49 (89) 2180-4659
Germany Fax: +49 (89) 2180-99-4659
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]