Public bug reported: ** Steps to Reproduce: ** 1. Perform a fresh installation of Ubuntu Gnome 14.04 64-bit on a clean PC 2. Using the "Additional Drivers" application, install latest NVidia driver (331) 3. Reboot 4. Install latest Darktable (1.4) from Ubuntu's repositories 5. In Terminal, run "darktable -d opencl"
** Actual Result: ** In Ubuntu Gnome 14.04, using the NVidia 331 driver, Darktable won't run with OpenCL support. The following debug output is observed in the terminal: [opencl_init] opencl related configuration options: [opencl_init] [opencl_init] opencl: 1 [opencl_init] opencl_library: '' [opencl_init] opencl_memory_requirement: 768 [opencl_init] opencl_memory_headroom: 300 [opencl_init] opencl_device_priority: '*/!0,*/*/*' [opencl_init] opencl_size_roundup: 16 [opencl_init] opencl_async_pixelpipe: 0 [opencl_init] opencl_synch_cache: 0 [opencl_init] opencl_number_event_handles: 25 [opencl_init] opencl_micro_nap: 1000 [opencl_init] opencl_use_pinned_memory: 0 [opencl_init] opencl_use_cpu_devices: 0 [opencl_init] opencl_avoid_atomics: 0 [opencl_init] opencl_omit_whitebalance: 0 [opencl_init] [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. [pixelpipe_process] [thumbnail] using device -1 [pixelpipe_process] [thumbnail] using device -1 ** Expected Result: ** Software using OpenCL should continue to work as it did in Ubuntu 13.10. ** Notes: ** Graphics card: GeForce GTX 680 (Gigabyte GV-N680OC-2GD) Encuontered on Ubuntu Gnome 14.04, 64 bit. Likely occurs on regular Ubuntu (not Ubuntu Gnome) as well. This issue also occurs when running NVidia 331 Update, NVidia Legacy 304 as well as Nouveau. This issue did not occur on Ubuntu Gnome 13.10. Bug filed in Darktable: http://www.darktable.org/redmine/issues/9913#change-24936 ** Troubleshooting: ** The following files and directories relating to OpenCL were found on the test system: locate -i libopencl /usr/lib/i386-linux-gnu/libOpenCL.so.1 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/share/doc/nvidia-libopencl1-331 /usr/share/doc/nvidia-libopencl1-331/changelog.Debian.gz /usr/share/doc/nvidia-libopencl1-331/copyright /var/cache/apt/archives/nvidia-libopencl1-331_331.38-0ubuntu7_amd64.deb /var/lib/dpkg/info/nvidia-libopencl1-331.list /var/lib/dpkg/info/nvidia-libopencl1-331.md5sums /var/lib/dpkg/info/nvidia-libopencl1-331.postinst /var/lib/dpkg/info/nvidia-libopencl1-331.postrm /var/lib/dpkg/info/nvidia-libopencl1-331.shlibs installed the packages "opencl-headers" and "nvidia-profiler", but that made no difference. Manually edited /etc/ld.so.conf to include the directories found containing the OpenCL libraries (from the list above). Ran ldconfig. No difference. Output of clinfo: clinfo: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information available (required by clinfo) E: -30 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: xorg 1:7.7+1ubuntu8 ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan 8 19:32:30 PST 2014 GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None CurrentDesktop: GNOME Date: Tue Apr 22 17:59:29 2014 DistUpgraded: Fresh install DistroCodename: trusty DistroVariant: ubuntu DkmsStatus: bbswitch, 0.7, 3.13.0-24-generic, x86_64: installed nvidia-331-updates, 331.38, 3.13.0-24-generic, x86_64: installed ExtraDebuggingInterest: Yes, if not too technical GraphicsCard: NVIDIA Corporation GK104 [GeForce GTX 680] [10de:1180] (rev a1) (prog-if 00 [VGA controller]) Subsystem: Gigabyte Technology Co., Ltd Device [1458:353c] InstallationDate: Installed on 2014-04-20 (2 days ago) InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=c651e8be-8145-4f89-9f68-919286e646bb ro quiet splash SourcePackage: xorg Symptom: display UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/20/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 080015 dmi.board.name: JW-A870T-UC3 dmi.board.vendor: JW Technology dmi.board.version: V1.0 dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd05/20/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnJWTechnology:rnJW-A870T-UC3:rvrV1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. version.compiz: compiz N/A version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.52-1 version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0-4ubuntu5 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0-4ubuntu5 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2 xserver.bootTime: Tue Apr 22 17:30:17 2014 xserver.configfile: default xserver.errors: open /dev/fb0: No such file or directory xserver.logfile: /var/log/Xorg.0.log xserver.outputs: xserver.version: 2:1.15.1-0ubuntu2 ** Affects: xorg (Ubuntu) Importance: Undecided Status: New ** Tags: 331 amd64 apport-bug darktable nvidia opencl performance trusty ubuntu ** Attachment added: "Screenshot showing Darktable's startup log" https://bugs.launchpad.net/bugs/1311362/+attachment/4093253/+files/darktable-opencl-log.gif -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311362 Title: Ubuntu Gnome 14.04 - NVidia 331 - OpenCL broken (using Darktable) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1311362/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs