[sisyphus] NVidia, GLX и direct rendering

Хлызов А.А. =?iso-8859-1?q?A=2EKhlyzov_=CE=C1_asf-trade=2Eru?=
Ср Июл 20 12:02:30 MSD 2005


Доброго времени суток...

Господа, но все-таки:
# uname -r
2.6.12-std26-up-alt1

# rpm -qa | grep -i nvidia | sort
kernel-modules-nvidia-std26-up-1.0.7174-alt3.132620.1
kernel-modules-nvidia-wks26-up-1.0.7174-alt1.132619.4
nvidia_glx_1.0.7174-1.0.7174-alt9
nvidia_glx_common-1.0.7174-alt9
nvidia-settings-1.0-alt1
xorg-x11-drv-nvidia-6.8.2-alt6

# cat /etc/X11/xorg.conf | grep glx
        Load  "/usr/X11R6/lib/modules/extensions/libglx.a"

# x11setupdrv
nvidia: kernel release - 2.6.12-std26-up-alt1
nvidia: module version file 
- /lib/modules/2.6.12-std26-up-alt1/.versions/nvidia
nvidia: module version - 1.0.7174
nvidia: driver directory: /usr/X11R6/lib/nvidia_1.0.7174/
nvidia: failed to unlink /etc/X11/lib/libglx.a: No such file or directory
nvidia: failed to unlink /etc/X11/lib/libGL.so.1: No such file or directory
nvidia: symlink /etc/X11/lib_nvidia/nvidia_drv.o 
to /usr/X11R6/lib/nvidia_1.0.7174/nvidia_drv.o
nvidia: symlink /etc/X11/lib_nvidia/nvidia_drv.so 
to /usr/X11R6/lib/nvidia_1.0.7174/nvidia_drv.so
nvidia: symlink /etc/X11/lib_nvidia/libGLcore.so.1 
to /usr/X11R6/lib/nvidia_1.0.7174/libGLcore.so.1
nvidia: symlink /etc/X11/lib_nvidia/libNVIDIAXvMC.so 
to /usr/X11R6/lib/nvidia_1.0.7174/libNVIDIAXvMC.so
nvidia: symlink /etc/X11/lib_nvidia/libXvMCNVIDIA_dynamic.so.1 
to /usr/X11R6/lib/nvidia_1.0.7174/libXvMCNVIDIA_dynamic.so.1
nvidia: symlink /etc/X11/lib_nvidia/libnvidia-tls.so.1 
to /usr/X11R6/lib/nvidia_1.0.7174/libnvidia-tls.so.1

# glxinfo
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared 
object file: No such file or directory

причем glxinfo почему-то пытается искать эти библиотеки в странных местах 
(судя по strace):
open("/usr/X11R6/lib/libGLU.so.1", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260c\1"..., 512) = 
512
fstat64(4, {st_mode=S_IFREG|0644, st_size=499064, ...}) = 0
mmap2(NULL, 501964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 
0x40028000
mmap2(0x400a1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 4, 0x78) = 0x400a1000
close(4)                                = 0
open("/lib/i686/libGL.so.1", O_RDONLY)  = -1 ENOENT (No such file or 
directory)
stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0
open("/lib/libGL.so.1", O_RDONLY)       = -1 ENOENT (No such file or 
directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=5520, ...}) = 0
open("/usr/lib/i686/libGL.so.1", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/lib/i686", 0xbfa8d218)     = -1 ENOENT (No such file or 
directory)
open("/usr/lib/libGL.so.1", O_RDONLY)   = -1 ENOENT (No such file or 
directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=52504, ...}) = 0
writev(2, [{"glxinfo", 7}, {": ", 2}, {"error while loading shared libra"..., 
36}, {": ", 2}, {"libGL.so.1", 10}, {": ", 2}, {"cannot openshared object 
file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 
10glxinfo: error while loading shared libraries: libGL.so.1: cannot open 
shared object file: No such file or directory

соответственно - GLX не работает, если сделать линки там, где их хочет видеть 
glxinfo - при его запуске X-ы молча рестартуют, в логах пусто... Чем лечить и 
кто виноват?

-- 
С уважением,
проектный руководитель ООО "АСФ-Трэйд"
Хлызов Алексей
ICQ UIN: 5181148
E-Mail: A.Khlyzov на asf-trade.ru
WWW: http://auto.asf-trade.ru
Тел.: (3952) 35-8355, 35-4440, 35-2810




Подробная информация о списке рассылки Sisyphus