I am only one without OpenCL or it is a common problem?
UPDATE: It appears that something removed
/etc/OpenCL/vendors/nvidia.icd, which should have been installed with nvidia-opencl-icd-331, but it doesn't.
It started with BOINC. It refused to calculate Milkyway data specifically fetched for my GPU:
Starting BOINC client version 7.2.42 for i686-pc-linux-gnu ... CUDA: NVIDIA GPU 0: GeForce GT 520 (driver version unknown, CUDA version 6.0, compute capability 2.1, 1023MB, 999MB available, 156 GFLOPS peak) ... Requesting new tasks for CPU and NVIDIA App version needs OpenCL but GPU doesn't support it Scheduler request completed: got 2 new tasks [error] App version uses non-existent NVIDIA GPU [error] Missing coprocessor for task de_modfit_fast_simulated15_136_free_1_14 13455402_27741174_0; aborting
So I decided to check why there is no OpenCL. I couldn't find "official" way to check for OpenCL support, but I found people use darktable:
$ darktable -d opencl [opencl_init] opencl related configuration options: ... [opencl_init] trying to load opencl library: '<system default>' [opencl_init] opencl library 'libOpenCL' found on your system and loaded [opencl_init] could not get platforms: -1001 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
Also tried to detect anything with
$ pyrit list_cores Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ The following cores seem available... #1: 'CPU-Core (SSE2)' #2: 'CPU-Core (SSE2)'
$ clinfo I: ICD loader reports no usable platforms
I still couldn't get why BOINC can't detect version of nVidia driver, so I removed
boinc and installed boinc-nvidia-cuda, but the problem did not go away. I also tried to see if there is anything with
opencl missing, but it seems fine.
The linked question says to install
nvidia-modprobe. I am trying it right now. However, I don't get how this magic pill should work, and if it works - why it is not enabled by default? I also wonder if there should be some
virtual package that does everything necessary to enable OpenCL?