Clinfo and codes using openCL hangs forever after last update

Hey! after updating my manjaro system, all codes using openCL do not work and running clinfo hangs forever. Any help would be appreciated.

$ nvidia-smi
Wed Apr 12 19:27:30 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1080 Ti      Off| 00000000:01:00.0  On |                  N/A |
| 49%   50C    P0               65W / 250W|    855MiB / 11264MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA GeForce GTX 1080 Ti      Off| 00000000:02:00.0 Off |                  N/A |
| 46%   29C    P8               10W / 250W|      6MiB / 11264MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1132      G   /usr/lib/Xorg                               689MiB |
|    0   N/A  N/A      1493      G   xfwm4                                         4MiB |
|    0   N/A  N/A      1988      G   ...4494142,18257989225652864408,131072      155MiB |
|    0   N/A  N/A      2457      G   qtcreator                                     2MiB |
|    1   N/A  N/A      1132      G   /usr/lib/Xorg                                 4MiB |
+---------------------------------------------------------------------------------------+

Hey,
this appears to be a problem with the intel-oneapi ICD. A quick-and-dirty solution would be (re)moving the file at
/etc/OpenCL/vendors/intel-oneapi-compiler-shared-opencl-cpu.icd .
This should fix it. Just be aware you don’t need it for something else or just keep a backup of the file.

best regards,
Daniel :slight_smile:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.