I use an old Lenovo Ideapad 110 laptop when away from home, to run Darktable. yes it is slow, but it manages. However I am sure it would be better if I could OpenCL running. I have done some searching around, and it appears to be too old - or at least I have not found drivers etc for it yet. Any suggestions?
You can always run an OpenCL test by launching C:\Program Files\darktable\bin\darktable-cltest.exe from a command line window, this will give you detailed information on your current OpenCL status.
This is noted on the DT FAQā¦might see what output you getā¦ esp if you can enable itā¦
Itās linux not Windows, but anyway the problem is not whether Darktable can see opencl, the problem is how to install opencl in the first place (or maybe install the required drivers), given the older hardware.
Anyway, for completeness
$ darktable-cltest
[dt_get_sysresource_level] switched to 1 as `defaultā
total mem: 6848MB
mipmap cache: 856MB
available mem: 3424MB
singlebuff: 53MB
OpenCL tune mem: OFF
OpenCL pinned: OFF
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: ādefaultā
[opencl_init] opencl_library: ādefault pathā
[opencl_init] opencl_device_priority: ā/!0,//ā
[opencl_init] opencl_mandatory_timeout: 200
[opencl_init] opencl library ālibOpenCL.so.1ā found on your system and loaded
[opencl_init] could not get platforms: Unknown OpenCL error
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
Would this method work?? Not a Linux guy so likely you wiil get better adviceā¦
Install driver for AMD graphics cards via Driver Manager
If you have an AMD graphics card and you did the steps in the first paragraph āCheck current driver for graphics cardsā then your graphics card probably has been recognized and gives you the option to install an open source driver or a proprietary AMD driver, indicated with fglrx.
Choose the recommended driver (indicated with highest number and Recommended indicator).
Click on Apply changes.
Install latest AMD driver via PPA
Although your AMD graphics card will probably work fine out of the box in Linux Mint, there could be different reasons to install a more recent driver. It is possible to install AMD proprietary drivers that can be downloaded from the AMD drivers page, but in Linux it is a bit of a tricky process. Much easier is to add the available PPA to your operating system.
To add the PPA do the following:
Open a terminal via Ctrl + Alt + T or by search for terminal in the applications menu search bar.
type the following command in the terminal and hit enter:
Searching around I found AMD drivers but the wonāt install due to dependency probems and reading about resolving this I find
" You donāt need and shouldnāt try to install AMD proprietary drivers. There arenāt any AMD proprietary drivers for legacy hardware in Linux and the only drivers that supports such hardware - radeon - is already included iin the kernel."
So, the problem then devolves into getting opencl to see and use the Radeon R3 graphics.
$ darktable-cltest
[dt_get_sysresource_level] switched to 1 as `defaultā
total mem: 6848MB
mipmap cache: 856MB
available mem: 3424MB
singlebuff: 53MB
OpenCL tune mem: OFF
OpenCL pinned: OFF
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: ādefaultā
[opencl_init] opencl_library: ādefault pathā
[opencl_init] opencl_device_priority: ā/!0,//ā
[opencl_init] opencl_mandatory_timeout: 200
[opencl_init] opencl library ālibOpenCLā found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device
[dt_opencl_device_init]
DEVICE: 0: āKABINI (, LLVM 15.0.6, DRM 2.50, 5.15.0-58-generic)ā, NEW
CANONICAL NAME: kabinillvm1506drm250515058generic
PLATFORM NAME & VENDOR: Clover, Mesa
DRIVER VERSION: 23.1.0-devel
DEVICE VERSION: OpenCL 1.1 Mesa 23.1.0-devel (git-cb611b2 2023-02-11 jammy-oibaf-ppa)
DEVICE_TYPE: GPU
*** The OpenCL driver doesnāt provide image support. See also āclinfoā output ***
[opencl_init] no suitable devices found.
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
Iām using ROCm to get openCL on my AMD card, but itās a lot newer than yours and it doesnāt look like it supports your chipset.
Older versions do need an alternate method, such as Clover, but that doesnāt provide what darktable needs.
Thereās Rusticl which is now in Mesa, which is supposed to work with a much broader set of GPUs and specifically looks to support darktable as well. Itās been merged in, but I donāt think thereās any way to use it at the moment without recompiling Mesa.
Basically, it supports many more GPUs (from various manufacturers) and thereās even a Vulkan backend. Itās been merged, but I donāt know how one might try it. Hopefully itāll be picked up by GPUs by default soon. (I also wonder how it would perform versus AMDās ROCm for my video card in darktable too.)
But: This all said, I couldnāt find a way to enable it on a desktop to actually try it out yet.
Itās merged into Mesa, but not built by default. Hopefully thereās a way to use it somehow without having to figure out dependencies and compiling Mesa. Even Mesa trees built from git donāt have it enabled, like this PPA for Ubuntu, which some Mint users use, stating āMesa 22.3.0 note: Sorry, but rusticl requires new dependencies that are not healthy enough at this time to be used. Until the remaining dependencies can be evaluated, it canāt be enabled in the PPA.ā
So: Someday, in the not too distant futureā¦ perhaps even in the timeframe of sometime this year, we all should hopefully have Rusticl. And it will possibly work with your laptop as well (and it might be even more likely if your GPU already does support Vulkan).
But right now, today? Probably not a good chance of it on your laptop.