Bug#630527: Missing diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1

Benjamin Eikel debian at eikel.org
Tue Jun 14 19:43:46 UTC 2011


Package: libgl1-nvidia-alternatives
Version: 275.09.04-1
Severity: grave
Tags: sid

The following report applies to the current versions from unstable and
experimental.

I wondered why no OpenGL context could be created anymore. I got the following
output when calling glxinfo:

glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

I checked

ldd `which glxinfo` | grep libGL.so
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fec1d221000)

and saw

dpkg -S /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1-mesa-glx: /usr/lib/x86_64-linux-gnu/libGL.so.1

There is a diversion for libGL.so.1 in /usr/lib:

dpkg -S /usr/lib/libGL.so.1
diversion by libgl1-nvidia-alternatives from: /usr/lib/libGL.so.1
diversion by libgl1-nvidia-alternatives to:
/usr/lib/nvidia/diversions/libGL.so.1

Probably the multiarch change in mesa [1] caused this change.

So I think the diversion in this package have to be adapted.

Thank you for your work on this package!

[1] http://anonscm.debian.org/gitweb/?p=pkg-
xorg/lib/mesa.git;a=commitdiff;h=4dd54c372a7aae0e0cf121d90e63dbe3843580d1



-- Package-specific info:
uname -a:
Linux horus 2.6.39-2-amd64 #1 SMP Wed Jun 8 11:01:04 UTC 2011 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.39-2-amd64 (Debian 2.6.39-2) (ben at decadent.org.uk) (gcc version 4.4.6 (Debian 4.4.6-3) ) #1 SMP Wed Jun 8 11:01:04 UTC 2011

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  275.09.04  Thu Jun  2 12:51:38 PDT 2011
GCC version:  gcc version 4.4.6 (Debian 4.4.6-6) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation GF110 [GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: CardExpert Technology Device [10b0:0801]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=32M]
	Region 1: Memory at d8000000 (64-bit, prefetchable) [size=128M]
	Region 3: Memory at d4000000 (64-bit, prefetchable) [size=64M]
	Region 5: I/O ports at cc00 [size=128]
	[virtual] Expansion ROM at fe900000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root       26 Jun 14 21:06 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       28 Jun 14 21:06 /usr/lib/libGL.so.1 -> /etc/alternatives/libGL.so.1
lrwxrwxrwx 1 root root       26 Jun  7 23:28 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.275.09.04
-rw-r--r-- 1 root root   133096 Jun  2 22:13 /usr/lib/libnvidia-cfg.so.275.09.04
-rw-r--r-- 1 root root 29419056 Jun  2 22:08 /usr/lib/libnvidia-glcore.so.275.09.04
-rw-r--r-- 1 root root     8720 Jun  2 22:12 /usr/lib/libnvidia-tls.so.275.09.04
lrwxrwxrwx 1 root root       10 Mar 29 09:32 /usr/lib32/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root       12 Mar 29 09:32 /usr/lib32/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root   401528 Jul 15  2010 /usr/lib32/libGL.so.1.2

/usr/lib/nvidia:
total 7334
drwxr-xr-x   3 root root     312 Jun 14 21:18 .
drwxr-xr-x 223 root root  121584 Jun 14 21:18 ..
-rwxr-xr-x   1 root root    1338 May 16 03:01 check-for-conflicting-opengl-libraries
drwxr-xr-x   2 root root     168 Jun 14 21:18 diversions
lrwxrwxrwx   1 root root      18 Jun  7 23:28 libGL.so.1 -> libGL.so.275.09.04
-rw-r--r--   1 root root 1025392 Jun  2 22:09 libGL.so.275.09.04
lrwxrwxrwx   1 root root      19 Jun  7 23:28 libglx.so -> libglx.so.275.09.04
-rw-r--r--   1 root root 6344360 Jun  2 22:12 libglx.so.275.09.04
-rwxr-xr-x   1 root root     441 May 16 03:01 pre-install

/usr/lib/nvidia/diversions:
total 304
drwxr-xr-x 2 root root    168 Jun 14 21:18 .
drwxr-xr-x 3 root root    312 Jun 14 21:18 ..
-rw-r--r-- 1 root root    189 May 28 23:35 dummy.txt
lrwxrwxrwx 1 root root     10 Jun 14 21:06 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Jun 14 21:06 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 305864 Jun 14 14:37 libglx.so

/usr/lib32/nvidia:
total 15
drwxr-xr-x  3 root root    80 Mar 22 20:05 .
drwxr-xr-x 37 root root 14968 Jun 13 10:04 ..
drwxr-xr-x  2 root root    80 Mar 29 09:32 diversions

/usr/lib32/nvidia/diversions:
total 0
drwxr-xr-x 2 root root 80 Mar 29 09:32 .
drwxr-xr-x 3 root root 80 Mar 22 20:05 ..
-rw-r--r-- 1 root root  0 Sep  4  2010 libGL.so.190.53

Files from nvidia-installer:



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (570, 'experimental'), (560, 'testing'), (550, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgl1-nvidia-alternatives depends on:
ii  dpkg                          1.16.0.3   Debian package management system
ii  nvidia-installer-cleanup      20110515+1 Cleanup after driver installation 

libgl1-nvidia-alternatives recommends no packages.

libgl1-nvidia-alternatives suggests no packages.

Versions of packages nvidia-glx depends on:
ii  dpkg                       1.16.0.3      Debian package management system
ii  libc6                      2.13-7        Embedded GNU C Library: Shared lib
ii  libgl1-nvidia-glx [libgl1- 275.09.04-1   NVIDIA binary OpenGL libraries
ii  libglx-nvidia-alternatives 275.09.04-1   simplifies replacing Xorg module l
ii  nvidia-installer-cleanup   20110515+1    Cleanup after driver installation 
ii  nvidia-kernel-dkms [nvidia 275.09.04-1   NVIDIA binary kernel module DKMS s
ii  nvidia-support             20110515+1    NVIDIA binary graphics driver supp
ii  xserver-xorg-core [xorg-vi 2:1.10.2-1+b1 Xorg X server - core server

Versions of packages nvidia-glx recommends:
pn  nvidia-vdpau-driver           <none>     (no description available)

Versions of packages nvidia-glx suggests:
ii  nvidia-kernel-dkms [nvidia-k 275.09.04-1 NVIDIA binary kernel module DKMS s
ii  nvidia-settings              270.41.06-1 Tool for configuring the NVIDIA gr

Versions of packages nvidia-kernel-dkms depends on:
ii  dkms                          2.1.1.2-6  Dynamic Kernel Module Support Fram
ii  nvidia-kernel-common          20110515+1 NVIDIA binary kernel module suppor

Versions of packages nvidia-kernel-dkms recommends:
ii  nvidia-glx [nvidia-glx]      275.09.04-1 NVIDIA binary Xorg driver

Versions of packages libgl1-nvidia-alternatives is related to:
ii  linux-headers-2.6-amd64 [l 2.6.39+35.1   Header files for Linux 2.6-amd64 (
ii  linux-headers-2.6.39-2-amd 2.6.39-2      Header files for Linux 2.6.39-2-am
ii  nvidia-glx [nvidia-glx]    275.09.04-1   NVIDIA binary Xorg driver
ii  nvidia-kernel-common       20110515+1    NVIDIA binary kernel module suppor
ii  nvidia-kernel-dkms [nvidia 275.09.04-1   NVIDIA binary kernel module DKMS s
pn  nvidia-kernel-source       <none>        (no description available)
ii  xserver-xorg               1:7.6+7       X.Org X server
ii  xserver-xorg-core          2:1.10.2-1+b1 Xorg X server - core server

-- no debconf information





More information about the pkg-nvidia-devel mailing list