Bug#746643: OpenCL not supported by lastest NVIDIA driver
Package: nvidia-kernel-dkms Version: 331.79-1 Followup-For: Bug #746643 It doesn't seem to be fixed here. At least, darktable is still not able to use opencl. I see below that I had a couple of old nvidia packages. I've just upgraded them but nothing changes: apt-get install -t unstable libnvidia-ml1 nvidia-settings I don't think that I need to restart the system to make it work. I'm missing something else? How can I find the problem? darktable's message is: [opencl_init] trying to load opencl library: 'system default' [opencl_init] could not find opencl runtime library 'libOpenCL' [opencl_init] no working opencl library found. Continue with opencl disabled [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system. [opencl_init] initial status of opencl enabled flag is OFF. -- Package-specific info: uname -a: Linux federico 3.14-1-amd64 #1 SMP Debian 3.14.7-1 (2014-06-16) x86_64 GNU/Linux /proc/version: Linux version 3.14-1-amd64 (debian-ker...@lists.debian.org) (gcc version 4.8.3 (Debian 4.8.3-3) ) #1 SMP Debian 3.14.7-1 (2014-06-16) /proc/driver/nvidia/version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.79 Sun May 18 03:55:59 PDT 2014 GCC version: gcc version 4.8.3 (Debian 4.8.3-2) lspci 'VGA compatible controller [0300]': 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GT 630 OEM] [10de:0fc2] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd. Device [1642:3b86] 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 51 Region 0: Memory at f600 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at e000 (64-bit, prefetchable) [size=256M] Region 3: Memory at f000 (64-bit, prefetchable) [size=32M] Region 5: I/O ports at e000 [size=128] [virtual] Expansion ROM at f700 [disabled] [size=512K] Capabilities: access denied Kernel driver in use: nvidia dmesg: [0.00] No AGP bridge found [0.00] No AGP bridge found [0.00] Console: colour VGA+ 80x25 [0.192626] vgaarb: device added: PCI::01:00.0,decodes=io+mem,owns=io+mem,locks=none [0.192626] vgaarb: loaded [0.192626] vgaarb: bridge control possible :01:00.0 [0.462415] Linux agpgart interface v0.103 [4.041298] hda-intel :01:00.1: Handle VGA-switcheroo audio client [4.202973] nvidia: module license 'NVIDIA' taints kernel. [4.208594] vgaarb: device changed decodes: PCI::01:00.0,olddecodes=io+mem,decodes=none:owns=none [4.208654] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 331.79 Sun May 18 03:55:59 PDT 2014 [4.412104] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci:00/:00:01.0/:01:00.1/sound/card1/input14 [6.595785] nvidia :01:00.0: irq 51 for MSI/MSI-X OpenGL and NVIDIA library files installed: lrwxrwxrwx 1 root root 15 May 7 12:53 /etc/alternatives/glx - /usr/lib/nvidia lrwxrwxrwx 1 root root 48 May 7 12:53 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu - /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so lrwxrwxrwx 1 root root 48 May 7 12:53 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu - /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so lrwxrwxrwx 1 root root 43 May 7 12:53 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 lrwxrwxrwx 1 root root 43 May 7 12:53 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 lrwxrwxrwx 1 root root 51 May 7 12:53 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1 lrwxrwxrwx 1 root root 25 May 7 12:53 /etc/alternatives/glx--linux-libglx.so - /usr/lib/nvidia/libglx.so lrwxrwxrwx 1 root root 42 May 7 12:53 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf - /etc/nvidia/nvidia-blacklists-nouveau.conf lrwxrwxrwx 1 root root 36 May 7 12:53 /etc/alternatives/glx--nvidia-bug-report.sh - /usr/lib/nvidia/nvidia-bug-report.sh lrwxrwxrwx 1 root root 29 May 7 12:53 /etc/alternatives/glx--nvidia_drv.so - /usr/lib/nvidia/nvidia_drv.so lrwxrwxrwx 1 root root 22 May 7 12:53 /etc/alternatives/libGL.so-master - /usr/lib/mesa-diverted lrwxrwxrwx 1 root root 23 May 7 12:53 /etc/alternatives/nvidia - /usr/lib/nvidia/current lrwxrwxrwx 1 root root 51 May 7 12:53 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1 lrwxrwxrwx 1 root root 51 May 7 12:53 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1 lrwxrwxrwx 1 root root 33 May 7 12:53
Bug#746643: OpenCL not supported by lastest NVIDIA driver
In order for the uvm module to import the proper symbol versions from the main nvidia module, the Modules.symvers file must be copied into the uvm subdirectory after nvidia.ko is built and before nvidia-uvm.ko is built
Bug#746643: OpenCL not supported by lastest NVIDIA driver
Package: nvidia-kernel-dkms Version: 331.67-1 Followup-For: Bug #746643 I'm using kernel 3.13 instead of 3.14 (as Pascal). But I also cannot use OpenCL in an application (darktable). Here's some information: $ lsmod | grep nvidia nvidia 10647740 39 i2c_core 24092 2 i2c_i801,nvidia # ls /var/lib/dkms/nvidia-current/331.67/3.13-1-amd64/x86_64/module/ nvidia-current.ko I may try upgrading to the version in experimental if you think that it may be solved there. Thanks Federico -- Package-specific info: uname -a: Linux federico 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux /proc/version: Linux version 3.13-1-amd64 (debian-ker...@lists.debian.org) (gcc version 4.8.2 (Debian 4.8.2-16) ) #1 SMP Debian 3.13.10-1 (2014-04-15) /proc/driver/nvidia/version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.67 Fri Apr 4 13:48:39 PDT 2014 GCC version: gcc version 4.8.2 (Debian 4.8.2-21) lspci 'VGA compatible controller [0300]': 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GT 630 OEM] [10de:0fc2] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd. Device [1642:3b86] 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 51 Region 0: Memory at f600 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at e000 (64-bit, prefetchable) [size=256M] Region 3: Memory at f000 (64-bit, prefetchable) [size=32M] Region 5: I/O ports at e000 [size=128] [virtual] Expansion ROM at f700 [disabled] [size=512K] Capabilities: access denied Kernel driver in use: nvidia dmesg: [0.00] No AGP bridge found [0.00] No AGP bridge found [0.00] Console: colour VGA+ 80x25 [0.192885] vgaarb: device added: PCI::01:00.0,decodes=io+mem,owns=io+mem,locks=none [0.192885] vgaarb: loaded [0.192885] vgaarb: bridge control possible :01:00.0 [0.460656] Linux agpgart interface v0.103 [3.885117] hda-intel :01:00.1: Handle VGA-switcheroo audio client [3.935586] nvidia: module license 'NVIDIA' taints kernel. [4.260120] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci:00/:00:01.0/:01:00.1/sound/card1/input14 [4.260788] vgaarb: device changed decodes: PCI::01:00.0,olddecodes=io+mem,decodes=none:owns=none [4.260855] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 331.67 Fri Apr 4 13:48:39 PDT 2014 [7.661809] nvidia :01:00.0: irq 51 for MSI/MSI-X OpenGL and NVIDIA library files installed: lrwxrwxrwx 1 root root 15 May 7 12:53 /etc/alternatives/glx - /usr/lib/nvidia lrwxrwxrwx 1 root root 48 May 7 12:53 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu - /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so lrwxrwxrwx 1 root root 48 May 7 12:53 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu - /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so lrwxrwxrwx 1 root root 43 May 7 12:53 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 lrwxrwxrwx 1 root root 43 May 7 12:53 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 lrwxrwxrwx 1 root root 51 May 7 12:53 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1 lrwxrwxrwx 1 root root 25 May 7 12:53 /etc/alternatives/glx--linux-libglx.so - /usr/lib/nvidia/libglx.so lrwxrwxrwx 1 root root 42 May 7 12:53 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf - /etc/nvidia/nvidia-blacklists-nouveau.conf lrwxrwxrwx 1 root root 36 May 7 12:53 /etc/alternatives/glx--nvidia-bug-report.sh - /usr/lib/nvidia/nvidia-bug-report.sh lrwxrwxrwx 1 root root 29 May 7 12:53 /etc/alternatives/glx--nvidia_drv.so - /usr/lib/nvidia/nvidia_drv.so lrwxrwxrwx 1 root root 22 May 7 12:53 /etc/alternatives/libGL.so-master - /usr/lib/mesa-diverted lrwxrwxrwx 1 root root 23 May 7 12:53 /etc/alternatives/nvidia - /usr/lib/nvidia/current lrwxrwxrwx 1 root root 51 May 7 12:53 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1 lrwxrwxrwx 1 root root 51 May 7 12:53 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1 lrwxrwxrwx 1 root root 33 May 7 12:53 /etc/alternatives/nvidia--libglx.so - /usr/lib/nvidia/current/libglx.so lrwxrwxrwx 1 root root 59 May 7 12:53 /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.1 lrwxrwxrwx 1 root root 38 May 7 12:53
Bug#746643: OpenCL not supported by lastest NVIDIA driver
Hi, I faced the same issue recently. There are errors about symvers in dmesg, when I'm trying to load this module: [15681.806796] nvidia_uvm: no symbol version for nvUvmInterfaceChannelDestroy [15681.806799] nvidia_uvm: Unknown symbol nvUvmInterfaceChannelDestroy (err -22) I think the reason for that is the missing versions of exported symbols in the nvidia-current module. As a workaround, the nvidia-uvm module can be loaded with --force-modversion argument: modprobe --force-modversion nvidia-uvm -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#746643: OpenCL not supported by lastest NVIDIA driver
Package: nvidia-kernel-dkms Version: 331.67-1 The nvidia-current-uvm.ko is not built and so OpenCL is not available on GNU/Debian. I'm using GNU/Debian unstable and kernel 3.14 (but I had the same issue with 3.13). Building nvidia-current-uvm.ko manually solves the issue. I have seen this reported for Ubuntu but not for Debian. What I have done to fix the issue is: # cd /usr/src/nvidia-current-331.67/ # vi dkms.conf Add at then end: # uvm BUILT_MODULE_NAME[1]=nvidia-uvm DEST_MODULE_NAME[1]=${PACKAGE_NAME}-uvm BUILT_MODULE_LOCATION[1]=uvm/ DEST_MODULE_LOCATION[1]=/updates/dkms MAKE[0]+=; make -C uvm module KERNEL_UNAME=${kernelver} KBUILD_EXTMOD=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/uvm CLEAN+=; make -C uvm clean # dkms remove nvidia-current/331.67 -k $(uname -r) # dkms build nvidia-current/331.67 Then reboot, or: # insmod /var/lib/dkms/nvidia-current/331.67/$(uname -r)/x86_64/module/nvidia-current-uvm.ko Note that all the sources are already in Debian source package, just that part of it is not built. -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org