Hello,
I’m experiencing issues with OpenCL not being detected on my system, specifically after installing DaVinci Resolve from the AUR. I would appreciate any guidance or suggestions to resolve this issue.
System Information:
- GPU Model: NVIDIA GeForce GTX 660
- Operating System: 23.1.0
- Kernel Version: 6.1.64-1-MANJARO
- DE/WM: KDE Plasma
Problem Description:
DaVinci Resolve, installed via the AUR, is not detecting my GPU for CUDA/OpenCL processing. Runningclinfo
shows no platforms, indicating an issue with OpenCL detection.
Steps Taken:
- Installed DaVinci Resolve from the AUR.
- Encountered GPU processing mode error in DaVinci Resolve.
- Updated and reinstalled various packages, including Pango and
appstream-qt
. - Installed CUDA Toolkit (version 12.3, then switched to 11.1 to match NVIDIA driver compatibility).
- Ran the
davinci-resolve-checker
script, which indicated an issue with OpenCL not detecting any platforms. - Reinstalled NVIDIA drivers (
video-nvidia-470xx
) and OpenCL (opencl-nvidia
). - Tried adjusting the
LD_LIBRARY_PATH
environment variable to include the path wherelibOpenCL.so
is located.
Command Outputs:
nvidia-smi
output:
Sat Dec 2 13:22:37 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.223.02 Driver Version: 470.223.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| 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 ... Off | 00000000:03:00.0 N/A | N/A |
| 40% 39C P8 N/A / N/A | 414MiB / 1991MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
clinfo
output:
Number of platforms 0find / -name libOpenCL.so
output:
/home/username/.cache/yay/cuda-11.1/src/builds/cuda_cudart/targets/x86_64-linux/lib/libOpenCL.so
/opt/cuda-11.1/targets/x86_64-linux/lib/libOpenCL.so
/usr/lib/libOpenCL.so
Additional Observations:
- OpenGL appears to be functioning correctly (
glxinfo -B
andglxgears
tests run without issues). - The issue seems specific to OpenCL’s interaction with the NVIDIA driver.
Request for Help:
I’m looking for advice on troubleshooting this OpenCL issue further or any configuration steps I might have missed. If anyone has experienced similar issues or has insights specific to the NVIDIA GeForce GTX 660 or the Manjaro setup, your input would be greatly appreciated.
Thank you in advance for your help