|
From: Jeremy F. <je...@go...> - 2003-11-14 16:43:16
|
On Fri, 2003-11-14 at 05:41, Dimitri Papadopoulos-Orfanos wrote: > Hi, > > I'm trying to run valgrind-2.0.0 on a program that makes use of OpenGL > on Red Hat Linux 9. This is a dual-processor Dell with NVidia card and > latest drivers 1.0-4496. Valgrind dies. Any clue? NVidia install both TLS and non-TLS versions of their libraries, but always seem to use the TLS version, even if you use LD_ASSUME_KERNEL=2.4.1 (as we do in the valgrind script). You can force it to use the non-TLS versions by hiding the TLS ones: $ cd /usr/lib/tls $ mkdir hide $ mv ligGL* hide This works for me - but you need to make sure you always use LD_ASSUME_KERNEL=2.4.1 when you run your code without Valgrind. BTW, the current 2.0.0 release (Nov 11) implements enough SSE to work without the GENERIC_CPU setting, at least for glxgears. J |