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. /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 ~> glxinfo | head -24 name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIS_multisample OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.1) ~> echo $LD_LIBRARY_PATH /usr/lib/fglrx/lib ~> ldd -v /usr/X11R6/bin/glxinfo linux-gate.so.1 => (0xffffe000) libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4002c000) libGL.so.1 => /usr/lib/fglrx/lib/libGL.so.1 (0x400a9000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40124000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40132000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4022e000) libm.so.6 => /lib/tls/libm.so.6 (0x40240000) libc.so.6 => /lib/tls/libc.so.6 (0x40263000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4037a000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40437000) libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x4043f000) libdl.so.2 => /lib/libdl.so.2 (0x40444000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Version information: /usr/X11R6/bin/glxinfo: libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /usr/lib/libGLU.so.1: libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1 libstdc++.so.5 (GLIBCPP_3.2) => /usr/lib/libstdc++.so.5 libstdc++.so.5 (CXXABI_1.2) => /usr/lib/libstdc++.so.5 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libm.so.6 (GLIBC_2.0) => /lib/tls/libm.so.6 /usr/lib/fglrx/lib/libGL.so.1: libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2 libpthread.so.0 (GLIBC_2.0) => /lib/tls/libpthread.so.0 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /usr/X11R6/lib/libXext.so.6: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /usr/X11R6/lib/libX11.so.6: libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/tls/libpthread.so.0: ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_PRIVATE) => /lib/tls/libc.so.6 /lib/tls/libm.so.6: ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/tls/libc.so.6: ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2 /usr/lib/libstdc++.so.5: libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libgcc_s.so.1 (GCC_3.3) => /lib/libgcc_s.so.1 libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1 libgcc_s.so.1 (GLIBC_2.0) => /lib/libgcc_s.so.1 /lib/libgcc_s.so.1: libc.so.6 (GLIBC_2.2.4) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /usr/X11R6/lib/libXxf86vm.so.1: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/libdl.so.2: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_PRIVATE) => /lib/tls/libc.so.6 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 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 name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig client glx vendor string: ATI client glx version string: 1.3 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float, GLX_ATI_render_texture GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_multisample 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) OpenGL extensions: GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array, GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program, ~> ldd -v /usr/X11R6/bin/glxinfo linux-gate.so.1 => (0xffffe000) libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4002c000) libGL.so.1 => /usr/lib/fglrx/lib/libGL.so.1 (0x400a9000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4014e000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4015c000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40258000) libm.so.6 => /lib/tls/libm.so.6 (0x4026a000) libc.so.6 => /lib/tls/libc.so.6 (0x4028d000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x403a4000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40461000) libdl.so.2 => /lib/libdl.so.2 (0x40469000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Version information: /usr/X11R6/bin/glxinfo: libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /usr/lib/libGLU.so.1: libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1 libstdc++.so.5 (GLIBCPP_3.2) => /usr/lib/libstdc++.so.5 libstdc++.so.5 (CXXABI_1.2) => /usr/lib/libstdc++.so.5 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libm.so.6 (GLIBC_2.0) => /lib/tls/libm.so.6 /usr/lib/fglrx/lib/libGL.so.1: libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libpthread.so.0 (GLIBC_2.0) => /lib/tls/libpthread.so.0 /usr/X11R6/lib/libXext.so.6: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /usr/X11R6/lib/libX11.so.6: libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/tls/libpthread.so.0: ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_PRIVATE) => /lib/tls/libc.so.6 /lib/tls/libm.so.6: ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/tls/libc.so.6: ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2 /usr/lib/libstdc++.so.5: libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libgcc_s.so.1 (GCC_3.3) => /lib/libgcc_s.so.1 libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1 libgcc_s.so.1 (GLIBC_2.0) => /lib/libgcc_s.so.1 /lib/libgcc_s.so.1: libc.so.6 (GLIBC_2.2.4) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/libdl.so.2: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_PRIVATE) => /lib/tls/libc.so.6 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 And here's the diff of the two ldd outputs: ~> diff -u glxinfo.opengl glxinfo.fglrx --- glxinfo.opengl 2005-01-20 08:46:25.872930360 +0100 +++ glxinfo.fglrx 2005-01-20 08:58:07.308295976 +0100 @@ -1,15 +1,14 @@ linux-gate.so.1 => (0xffffe000) libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4002c000) libGL.so.1 => /usr/lib/fglrx/lib/libGL.so.1 (0x400a9000) - libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40124000) - libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40132000) - libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4022e000) - libm.so.6 => /lib/tls/libm.so.6 (0x40240000) - libc.so.6 => /lib/tls/libc.so.6 (0x40263000) - libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4037a000) - libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40437000) - libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x4043f000) - libdl.so.2 => /lib/libdl.so.2 (0x40444000) + libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4014e000) + libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4015c000) + libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40258000) + libm.so.6 => /lib/tls/libm.so.6 (0x4026a000) + libc.so.6 => /lib/tls/libc.so.6 (0x4028d000) + libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x403a4000) + libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40461000) + libdl.so.2 => /lib/libdl.so.2 (0x40469000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Version information: @@ -26,10 +25,9 @@ /usr/lib/fglrx/lib/libGL.so.1: libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2 - libpthread.so.0 (GLIBC_2.0) => /lib/tls/libpthread.so.0 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 - libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 + libpthread.so.0 (GLIBC_2.0) => /lib/tls/libpthread.so.0 /usr/X11R6/lib/libXext.so.6: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 @@ -74,9 +72,6 @@ libc.so.6 (GLIBC_2.2.4) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 - /usr/X11R6/lib/libXxf86vm.so.1: - libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 - libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6 /lib/libdl.so.2: libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6 libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6 So libGl.so.1.2 seams to the fglrx one in both cases but nevertheless there are differences. 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. Markus