On 11/15/20 3:28 PM, GianLuca Sarto wrote:
> thanks, Šarūnas,
> 
> I have two Darktable systems, based on Lenovo TS140, one with AMD, the
> other with Nvidia Quadro 400.
> Neither of the two manage OpenCL..
> 
> 0.039390 [opencl_init] found opencl runtime library 'libOpenCL'
> 0.039412 [opencl_init] opencl library 'libOpenCL' found on your system
> and loaded
> 0.042560 [opencl_init] found 1 platform
> 0.042582 [opencl_init] found 1 device
> 0.042727 [opencl_init] device 0 `Quadro 400' has sm_20 support.
> 0.042778 [opencl_init] discarding device 0 `Quadro 400' due to
> insufficient global memory (511MB).

Too small video memory for useful OpenCL.

> I would like to upgrade one of the two systems to a 4K display, so was
> already decided to purchase a new video card.
> 
> Is there a tested solution that works out of the box, or a list of DT
> OpenCL compliant cards for Linux?

I don't know whether such a list exists[1]. The more memory and more
parallel processing units (“GPU cores”) a video card has, the more
useful it will be for OpenCL processing. The useful minimum these days
might be 2GB, but I would look for 4GB and more.

“Out of the box” would probably only happen if you buy a computer from a
company that sells them configured with Linux. Whether you install AMD
or Nvidia GPU, there will be additional steps.

In case of AMD, Linux kernel already supports AMD cards with the open
source ‘amdgpu’ module, so that part will be “out of the box”. OpenCL
support will have to come from either 1) open source ROCm or 2)
proprietary AMDGPU-PRO.

In case of Nvidia, Linux kernel's ‘nouveau’ module will need to be
replaced with the proprietary ‘nv’ one from Nvidia, plus OpenCL part
from the same Nvidia. Ubuntu has them in standard repositories. One can
also use Nvidia repositories for perhaps slightly newer software.

Intel appears to have a completely open source system, but usable GPUs
are still to come.

-- 
Šarūnas Burdulis
math.dartmouth.edu/~sarunas

· https://useplaintext.email ·



Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to