I'm tearing my hair out here...
I have an old-ish Lenovo P710 workstation. I want OpenCL to work on it, so that Darktable will be faster. I don't really know what OpenCL is, but I know that it makes Darktable faster, because I have it on other machines. The P710 came with an ancient NVidia GPU which I was told in another thread would never support OpenCL.
I don't have a lot of money, so I bought a slightly more modern AMD RX 460, which seems to be generally well-supported by Linux. I rebuilt everything with
VIDEO_CARDS="amdgpu radeonsi
and, in general, it works fine. But I'm struggling to get OpenCL to work. I'm using the amdgpu driver and, according to the Gentoo documentation[1],
"OpenCL 2.0 is available via ROCm (dev-libs/rocm-opencl-runtime)"
So I installed this library and its stack of dependencies. But even 'clinfo' crashes:
Code: Select all
$ clinfo
free(): invalid pointer
Aborted
I just want to know the way that works. It doesn't have to be the fastest or shiniest implementation, I don't need to understand it -- it just needs to not crash.
If anybody has got OpenCL working with this kind of GPU, could you please tell me how? Before I hurt myself beating my face on the desk, ideally.
BR, Lars.
[1] https://wiki.gentoo.org/wiki/AMDGPU


