I’m trying to play around with some AI/LLM stuff. opencl is screwed up, I can’t even run clinfo. It just hangs indefinitely. maybe because i have three different libraries installed? I try setting paths, but it doesn’t make a difference. I try to uninstall the intel library and I get a bunch of dependency errors. (I have a 6700xt)
I think it was all working a while ago after I installed rocm, but then there was a system update, and that broke it? not sure if that’s what did it.
ldconfig -p | grep -i opencl
libpi_opencl.so (libc6,x86-64) => /opt/intel/oneapi/compiler/latest/linux/lib/libpi_opencl.so
libomptarget.rtl.opencl.so (libc6,x86-64) => /opt/intel/oneapi/compiler/latest/linux/lib/libomptarget.rtl.opencl.so
libOpenCL.so.1 (libc6,x86-64) => /opt/rocm/lib/libOpenCL.so.1
libOpenCL.so.1 (libc6,x86-64) => /opt/intel/oneapi/compiler/latest/linux/lib/libOpenCL.so.1
libOpenCL.so.1 (libc6,x86-64) => /usr/lib/libOpenCL.so.1
libOpenCL.so (libc6,x86-64) => /opt/rocm/lib/libOpenCL.so
libOpenCL.so (libc6,x86-64) => /opt/intel/oneapi/compiler/latest/linux/lib/libOpenCL.so
libOpenCL.so (libc6,x86-64) => /usr/lib/libOpenCL.so
BS86
May 18, 2023, 7:11am
2
on AMD, you only need to install rocm-opencl-runtime
for OpenCL. If you already installed something else, remove it.
1 Like
I’m running into trouble
ryzen5700x ~]$ pactree -r intel-oneapi-compiler-dpcpp-cpp-runtime
intel-oneapi-compiler-dpcpp-cpp-runtime
├─intel-oneapi-mkl
│ └─python-pytorch-opt-rocm
│ └─python-torchvision-rocm
└─intel-oneapi-openmp
├─intel-oneapi-compiler-shared-opencl-cpu
└─intel-oneapi-compiler-shared-runtime
└─intel-oneapi-compiler-dpcpp-cpp-runtime
ryzen5700x ~]$ sudo pacman -R intel-oneapi-compiler-shared-runtime intel-oneapi-compiler-dpcpp-cpp-runtime
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing intel-oneapi-compiler-dpcpp-cpp-runtime breaks dependency 'intel-oneapi-compiler-dpcpp-cpp-runtime' required by intel-oneapi-mkl
:: removing intel-oneapi-compiler-dpcpp-cpp-runtime breaks dependency 'intel-oneapi-compiler-dpcpp-cpp-common' required by intel-oneapi-openmp
try
pacman -Rdd intel-oneapi-compiler-shared-runtime intel-oneapi-compiler-dpcpp-cpp-runtime
1 Like
I think it’s working fine now. thanks!
edit: having some occasional/rare graphic glitches since last night. hopefully nothing but a rare quirk.
1 Like
system
Closed
May 20, 2023, 12:07pm
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.