Bug#629808: Should depend on, not recommend, libnvidia-compiler

Tomasz Rybak bogomips at post.pl
Wed Jun 8 15:52:05 UTC 2011


Package: nvidia-opencl-icd
Version: 270.41.19-1
Severity: important

When trying to come with solution to #628702 I played with dependencies
of python-pycuda. I build it depending on libopencl1 and opencl-icd,
which IMO should be sufficient to get OpenCL implementation to work.
I have removed libnvidia-comipler from system, installed new version
of python-pyopencl, and some of programs do not work.

Programs that provide kernels as source and require compilation
by OpenCL provider require presence of libnvidia-compiler in case
of NVIDIA OpenCL implementation. OpenCL assumes that most programs
will provide kernels as source (just like shaders for OpenGL), so
now any program using NVIDIA OpenCL need to depend on libnvidia-compiler
making it unusable for people using different hardware (see #628702).

Please fix this dependency. I am not sure whether nvidia-opencl-icd
or nvidia-libopencl1 should depend on libnvidia-compiler, but IMO
one of them should. Please introduce this change for all driver
versions that provide OpenCL, i.e. 195.x, 270.x, 275.x.

Thanks.


-- Package-specific info:
uname -a:
Linux saruman 2.6.39-1-amd64 #1 SMP Tue May 24 14:34:19 UTC 2011 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.39-1-amd64 (Debian 2.6.39-1) (buildd_amd64-brahms at buildd.debian.org) (gcc version 4.4.6 (Debian 4.4.6-3) ) #1 SMP Tue May 24 14:34:19 UTC 2011

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  270.41.19  Mon May 16 23:32:08 PDT 2011
GCC version:  gcc version 4.4.6 (Debian 4.4.6-3) 

lspci 'VGA compatible controller [0300]':
05:00.0 VGA compatible controller [0300]: nVidia Corporation ION VGA [GeForce 9400M] [10de:0876] (rev b1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:8402]
	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 23
	Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at f6000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at cc00 [size=128]
	[virtual] Expansion ROM at fbde0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root       35 Aug 30  2010 /etc/alternatives/libGL.so -> /usr/lib/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root       26 Aug 30  2010 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       26 Aug 30  2010 /usr/lib/libGL.so -> /etc/alternatives/libGL.so
lrwxrwxrwx 1 root root       28 Aug 30  2010 /usr/lib/libGL.so.1 -> /etc/alternatives/libGL.so.1
lrwxrwxrwx 1 root root       26 May 25 08:52 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.270.41.19
-rw-r--r-- 1 root root   133064 May 17 08:52 /usr/lib/libnvidia-cfg.so.270.41.19
-rw-r--r-- 1 root root 20498976 May 17 09:39 /usr/lib/libnvidia-compiler.so.270.41.19
-rw-r--r-- 1 root root 27484752 May 17 08:47 /usr/lib/libnvidia-glcore.so.270.41.19
lrwxrwxrwx 1 root root       17 May 25 08:52 /usr/lib/libnvidia-ml.so -> libnvidia-ml.so.1
lrwxrwxrwx 1 root root       25 May 25 08:52 /usr/lib/libnvidia-ml.so.1 -> libnvidia-ml.so.270.41.19
-rw-r--r-- 1 root root    85464 May 17 09:40 /usr/lib/libnvidia-ml.so.270.41.19
-rw-r--r-- 1 root root     6008 May 17 08:51 /usr/lib/libnvidia-tls.so.270.41.19

/usr/lib/nvidia:
total 7336
drwxr-xr-x   3 root root    4096 May 27 11:00 .
drwxr-xr-x 266 root root  135168 Jun  8 14:18 ..
-rwxr-xr-x   1 root root    1338 May 16 03:01 check-for-conflicting-opengl-libraries
drwxr-xr-x   2 root root    4096 Jun  1 17:05 diversions
lrwxrwxrwx   1 root root      18 May 25 08:52 libGL.so.1 -> libGL.so.270.41.19
-rw-r--r--   1 root root 1008272 May 17 08:48 libGL.so.270.41.19
lrwxrwxrwx   1 root root      19 May 25 08:52 libglx.so -> libglx.so.270.41.19
-rw-r--r--   1 root root 6327720 May 17 08:51 libglx.so.270.41.19
-rwxr-xr-x   1 root root     441 May 16 03:01 pre-install

/usr/lib/nvidia/diversions:
total 784
drwxr-xr-x 2 root root   4096 Jun  1 17:05 .
drwxr-xr-x 3 root root   4096 May 27 11:00 ..
-rw-r--r-- 1 root root    189 Mar 22 07:38 dummy.txt
lrwxrwxrwx 1 root root     10 May 31 17:57 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 May 31 17:57 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 474024 May 31 17:57 libGL.so.1.2
-rw-r--r-- 1 root root 305800 May 30 12:25 libglx.so

Files from nvidia-installer:


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages nvidia-opencl-icd depends on:
ii  libcuda1                     270.41.19-1 NVIDIA CUDA runtime library
ii  nvidia-libopencl1 [libopencl 270.41.19-1 NVIDIA OpenCL library
ii  nvidia-opencl-common         270.41.19-1 NVIDIA OpenCL driver

Versions of packages nvidia-opencl-icd recommends:
ii  libnvidia-compiler           270.41.19-1 NVIDIA runtime compiler library

nvidia-opencl-icd suggests no packages.

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

Versions of packages nvidia-glx recommends:
ii  nvidia-vdpau-driver          270.41.19-1 NVIDIA vdpau driver

Versions of packages nvidia-glx suggests:
ii  nvidia-kernel-dkms [nvidia-k 270.41.19-1 NVIDIA binary kernel module DKMS s
ii  nvidia-kernel-source         270.41.19-1 NVIDIA binary kernel module source
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]      270.41.19-1 NVIDIA binary Xorg driver

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     8.1.6      helper programs for debian/rules
ii  make                          3.81-8.1   An utility for Directing compilati
ii  quilt                         0.48-7     Tool to work with series of patche

Versions of packages nvidia-kernel-source recommends:
ii  kernel-package               12.036+nmu1 A utility for building Linux kerne
ii  module-assistant             0.11.3      tool to make module package creati
ii  nvidia-kernel-common         20110515+1  NVIDIA binary kernel module suppor

Versions of packages nvidia-kernel-source suggests:
ii  nvidia-glx [nvidia-glx]      270.41.19-1 NVIDIA binary Xorg driver

Versions of packages nvidia-opencl-icd is related to:
ii  linux-headers-2.6-amd64 [lin 2.6.39+35   Header files for Linux 2.6-amd64 (
ii  linux-headers-2.6.38-2-amd64 2.6.38-5    Header files for Linux 2.6.38-2-am
ii  linux-headers-2.6.39-1-amd64 2.6.39-1+b1 Header files for Linux 2.6.39-1-am
ii  nvidia-glx [nvidia-glx]      270.41.19-1 NVIDIA binary Xorg driver
ii  nvidia-kernel-common         20110515+1  NVIDIA binary kernel module suppor
ii  nvidia-kernel-dkms [nvidia-k 270.41.19-1 NVIDIA binary kernel module DKMS s
ii  nvidia-kernel-source         270.41.19-1 NVIDIA binary kernel module source
ii  xserver-xorg                 1:7.6+7     X.Org X server
ii  xserver-xorg-core            2:1.10.2-1  Xorg X server - core server

-- no debconf information





More information about the pkg-nvidia-devel mailing list