On Thu, Jan 20, 2005 at 09:18:11AM +0100, Markus Kohm wrote:
Am Mittwoch, 19. Januar 2005 21:19 schrieb Stefan Dirsch:
Please attach the output of
echo $LD_LIBRARY_PATH ldd -v /usr/X11R6/bin/glxinfo
First of all I'm not using an AMD64 but an i386.
Sure, but I needed a solution for both platforms.
/usr/lib/libGL.so.1.2 is same as /usr/lib/GL/libGL.so.1.2 and nothing at /etc/ld.so.conf.d/:
~> ls -s /usr/lib/libGL.so.1.2 /usr/lib/GL/libGL.so.1.2 596 /usr/lib/GL/libGL.so.1.2 596 /usr/lib/libGL.so.1.2
The libGL in /usr/lib/GL is simply a copy of the one in /usr/lib. Useful as fallback for nvidia users, if there are any problems with the one of nvidia for some programs (the apache php module was an example in the past; meanwhile fixed).
~> glxinfo | head -24 [...] direct rendering: No [...]
Ok. Fallback to software rendering ...
~> echo $LD_LIBRARY_PATH /usr/lib/fglrx/lib
Looks good.
~> ldd -v /usr/X11R6/bin/glxinfo libGL.so.1 => /usr/lib/fglrx/lib/libGL.so.1 (0x400a9000)
Looks good. I would assume to find a problem, which disabled direct rendering, in the X.Org logfile. But see below.
Now changing /usr/lib/libGL.so.1.2:
# ln -sf /usr/lib/fglrx/lib/libGL.so.1.2 /usr/lib/libGL.so.1.2 # ldconfig ~> echo $LD_LIBRARY_PATH /usr/lib/fglrx/lib ~> glxinfo | head -24 [...] direct rendering: Yes [...] OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9600 TX Generic OpenGL version string: 1.3.4769 (X4.3.0-8.8.25) [...]
Ok. Now DRI Support. Strange ...
~> ldd -v /usr/X11R6/bin/glxinfo libGL.so.1 => /usr/lib/fglrx/lib/libGL.so.1 (0x400a9000)
So we see no difference to the output above.
And here's the diff of the two ldd outputs:
I don't see any difference related to libGL.
So libGl.so.1.2 seams to the fglrx one in both cases but nevertheless there are differences.
Yes. I don't understand this.
But now something very strange happens. I've want to do the same test once more. So I've removed the link /usr/lib/libGL.so.1.2 and copied /usr/lib/GL/libGL.so.1.2 to /usr/lib/libGL.so.1.2. And what happend? The outputs are not same like in the first case above but same like in den second one. And same after one more ldconfig and one more reboot. It's hard to believe, but it's true.
I'm afraid that I don't understand this as well. If you find a solution for you without the use of LD_LIBRARY_PATH or overwriting /usr/lib/libGL.so.1, please let me know. Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------