Hi all I 'm newbe on pd on linux ( knoppix on hd ) , It was really funny to play with gem and pdp, but i 've installed the nvidia driver and thoses library do not want to be loaded anymore , saying :
tried /usr/lib/pd/extra/Gem.pd_linux and succeeded /usr/lib/pd/extra/Gem.pd_linux: libGL.so.1: cannot handle TLS data Gem: can't load library
tried /usr/lib/pd/extra/pdp.pd_linux and succeeded /usr/lib/pd/extra/pdp.pd_linux: libGL.so.1: cannot handle TLS data pdp: can't load library
tried /usr/lib/pd/extra/pidip.pd_linux and succeeded /usr/lib/pd/extra/pidip.pd_linux: /usr/lib/pd/extra/pidip.pd_linux: undefined symbol: pdp_packet_header pidip: can't load library
Do someone know what does it mean ? i' ve tried to use my old drivers ( nv or fbdev ) but it did not change nothing .
Thanks 3o3
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
hi,
this is a nvidia/debian/linux 2.4.x issue, i've spent quite some time figuring out what's wrong and working around it. TLS = thread local storage btw.
i suppose knoppix and debian are similar enough for this approach to work. i use nvidia drivers 5336.
try this first: install linux 2.6 but since that's way from being actually stable, it might not be what you want. this worked for me but broke other things.
another approach: rename the directory /usr/lib/tls to /usr/lib/tls-nvidia or something else. do make sure there are only opengl libs in that dir, then run ldconfig. this should fix the problem, but might prevent your X server to start properly.
then to start the X server, do something like: mv /usr/X11R6/bin/X /usr/X11R6/bin/X.orig
disable setuid by running chmod -s rename /usr/X11R6/bin/X.orig
and replace X with this script:
--
#!/bin/bash
# workaround for nvidia TLS problem # removed setuid bit on the X binary to # make sure LD_PRELOAD works
# this means you cannot start X as a normal # user. (i.e. using startx)
export LD_PRELOAD=
/usr/lib/tls-nvidia/libGLcore.so.1
:/usr/lib/tls-nvidia/libGL.so.1
exec /usr/bin/X11/X.orig $*
--
cheers tom
Hi all I 'm newbe on pd on linux ( knoppix on hd ) , It was really funny to play with gem and pdp, but i 've installed the nvidia driver and thoses library do not want to be loaded anymore , saying :
tried /usr/lib/pd/extra/Gem.pd_linux and succeeded /usr/lib/pd/extra/Gem.pd_linux: libGL.so.1: cannot handle TLS data Gem: can't load library
tried /usr/lib/pd/extra/pdp.pd_linux and succeeded /usr/lib/pd/extra/pdp.pd_linux: libGL.so.1: cannot handle TLS data pdp: can't load library
tried /usr/lib/pd/extra/pidip.pd_linux and succeeded /usr/lib/pd/extra/pidip.pd_linux: /usr/lib/pd/extra/pidip.pd_linux: undefined symbol: pdp_packet_header pidip: can't load library
Do someone know what does it mean ? i' ve tried to use my old drivers ( nv or fbdev ) but it did not change nothing .
Thanks 3o3
Thanks tom , but actually , all off this doesn't really mean something for me . I was so impatient so i 'm installing a SARGE ( testing ) that migth be more stable : the Knoppix seams diferent from the debian , and because i canot understand nothing , i canot use the help . BUT , i' ll try again , Do you think that the last sarge ( beta4_installer ) can support the help you gave me ?
3o3
Tom Schouten wrote:
hi,
this is a nvidia/debian/linux 2.4.x issue, i've spent quite some time figuring out what's wrong and working around it. TLS = thread local storage btw.
i suppose knoppix and debian are similar enough for this approach to work. i use nvidia drivers 5336.
try this first: install linux 2.6 but since that's way from being actually stable, it might not be what you want. this worked for me but broke other things.
another approach: rename the directory /usr/lib/tls to /usr/lib/tls-nvidia or something else. do make sure there are only opengl libs in that dir, then run ldconfig. this should fix the problem, but might prevent your X server to start properly.
then to start the X server, do something like: mv /usr/X11R6/bin/X /usr/X11R6/bin/X.orig
disable setuid by running chmod -s rename /usr/X11R6/bin/X.orig
and replace X with this script:
--
#!/bin/bash
# workaround for nvidia TLS problem # removed setuid bit on the X binary to # make sure LD_PRELOAD works
# this means you cannot start X as a normal # user. (i.e. using startx)
export LD_PRELOAD=
/usr/lib/tls-nvidia/libGLcore.so.1
:/usr/lib/tls-nvidia/libGL.so.1exec /usr/bin/X11/X.orig $*
--
cheers tom
Hi all I 'm newbe on pd on linux ( knoppix on hd ) , It was really funny to play with gem and pdp, but i 've installed the nvidia driver and thoses library do not want to be loaded anymore , saying :
tried /usr/lib/pd/extra/Gem.pd_linux and succeeded /usr/lib/pd/extra/Gem.pd_linux: libGL.so.1: cannot handle TLS data Gem: can't load library
tried /usr/lib/pd/extra/pdp.pd_linux and succeeded /usr/lib/pd/extra/pdp.pd_linux: libGL.so.1: cannot handle TLS data pdp: can't load library
tried /usr/lib/pd/extra/pidip.pd_linux and succeeded /usr/lib/pd/extra/pidip.pd_linux: /usr/lib/pd/extra/pidip.pd_linux: undefined symbol: pdp_packet_header pidip: can't load library
Do someone know what does it mean ? i' ve tried to use my old drivers ( nv or fbdev ) but it did not change nothing .
Thanks 3o3
Thanks tom , but actually , all off this doesn't really mean something for me . I was so impatient so i 'm installing a SARGE ( testing ) that migth be more stable : the Knoppix seams diferent from the debian , and because i canot understand nothing , i canot use the help .
ah, too bad. do not fear the terminal! it is your friend. especially if you're going to reinstall afterwards, you can drive into the abyss together..
the steps i omitted were:
like you're staring at a mysterious hungry animal...)
BUT , i' ll try again , Do you think that the last sarge ( beta4_installer ) can support the help you gave me ?
i guess it will give the same problem. i don't know about the bet4_installer.