|
From: Jorrit T. <Jor...@uz...> - 2003-09-12 06:08:52
|
Dimitri Papadopoulos-Orfanos wrote: > Hi, > >> I'm using the closed source ATI drivers for my Radeon 9000 and I want >> to use >> valgrind. But apparently there are similar problems as with Valgrind >> and nVidia >> cards. Does anyone know if there is a similar solution too? > > > What sort of problems? I got a crash inside the fglrx driver itself (the program without valgrind doesn't crash). I can give you more details later but at this moment I'm not at my linux machine. > > > It seems there are two sort of problems with nVidia drivers: > > * They use MMX/SSE instructions which are not supported by valgrind. > This can be disabled by setting __GL_FORCE_GENERIC_CPU. > Maybe ATI support a similar environment variable. Do they have some > sort of mailing list you could ask to? Otherwise you'll have to > revert to some other driver to run valgrind. On the other hand other > drivers such as the XFree86 Matrox driver also contains MMX or SSE > instructions. > This leads me to think that valgrind is most often incompatible > with OpenGL programs on Linux, because many OpenGL drivers use MMX > instructions that can't be disabled. How hard would it be for valgrind to support MMX? > > > * They use NPTL on Red Hat 9, which is not supported by valgrind. > This seems to be specific to nVidia and shouldn't affect you. > Which Linux distribution are you running? I'm using RedHat 9 but I have no problems using valgrind on programs that don't use OpenGL. Greetings, |