darktable is a free, open-source raw photo developer, and it can use your graphics card to speed up editing and exports through OpenCL. On most Windows PCs with a modern NVIDIA, AMD or Intel GPU it should switch on by itself, but when it doesn't, the settings and fixes are spread across several pages of the user manual. This guide pulls them together.
It's based on the darktable 5.6 user manual's OpenCL and processing-preferences pages, darktable's install page and its GitHub releases page, all checked on 4 December 2026.
What you need
A suitable graphics card. The manual says "Most modern graphics cards from NVIDIA, Intel or AMD come with full OpenCL support", and that a "minimally-sufficient amount of graphics memory (1GB+)" must be available for darktable to use the GPU.
The GPU maker's own driver. The manual explains that the OpenCL compiler "is normally shipped as part of the proprietary graphics driver", so a current NVIDIA, AMD or Intel driver is the starting point. If your driver install is in a mess, our guide to clean-installing graphics drivers with DDU is worth following first.
darktable 5.6.2 for Windows. darktable's install page lists darktable-5.6.2-win64.exe for standard x64 PCs and darktable-5.6.2-woa64.exe for Windows on Arm. According to the release notes, the win64 package "requires at least Windows 10" and the woa64 package "requires at least Windows 11".
Step 1: Install darktable and open the OpenCL settings
Download the Windows installer from darktable's install page and run it.
Open darktable, go to the preferences and choose the processing tab.
Find the OpenCL section.
The manual says OpenCL support is "activated in darktable if all the above steps were successful" (finding the library, checking the card and compiling its OpenCL kernels). If the activate OpenCL support option is greyed out, the manual says that means OpenCL initialisation failed. Skip to the troubleshooting section below.
Step 2: Turn on OpenCL and check your devices
If the option isn't greyed out, make sure activate OpenCL support is ticked. The manual says it "can be switched on and off at any time and takes immediate effect (default on)".
Further down the same section, OpenCL drivers lists the OpenCL drivers darktable has found. The manual says darktable must only have one active driver per hardware device, and that you can explicitly disable a driver here if you suspect it's malfunctioning.
Step 3: Pick a scheduling profile
The OpenCL scheduling profile setting decides how darktable shares work between the CPU and GPU. The manual describes three choices:
Profile | What it does (per the manual) | Best for |
|---|
default | The GPU processes the centre image view; the CPU processes the navigation preview in parallel | A reasonably fast CPU with a moderately fast GPU |
very fast GPU | Both the centre view and the preview are processed on the GPU, one after the other | A GPU that "strongly outperforms the CPU" |
multiple GPUs | Any idle GPU is used, but not the CPU | Several GPUs of similar performance |
darktable tries to choose the right profile on first start-up, or when it detects a change in your GPU set-up, so you only need to change this if you want to override it. If your graphics card is a big step up from your processor, very fast GPU is the profile the manual recommends.
Step 4: Set how much memory darktable can use
In the CPU / memory section of the same tab, the darktable resources setting controls how much system and GPU memory darktable takes. The manual's figures are:
small: roughly 20% of system memory and 40% of GPU memory
default: roughly 60% of system memory and 70% of GPU memory, recommended if you aren't exporting a lot of images, have at least 16GB of system memory and 4GB of GPU memory, and also run other applications at the same time
large: roughly 75% of system memory and 90% of GPU memory, which the manual calls "the best option if you are only using darktable on your system and/or are exporting a lot of images"
There's also an OpenCL fast mode option. The manual says it makes the compiler use aggressive optimisation "for better performance with reduced precision while having some very subtle quality loss", so leave it off if you want maximum quality.
Step 5: Check it's working
The manual says most modules can use OpenCL, but to "feel a real difference" you should try demanding modules like diffuse or sharpen and denoise (profiled). For hard numbers, it suggests starting darktable with -d opencl -d perf, which prints processing times for each module and each OpenCL kernel after every pixelpipe run.
The manual also says that, apart from small rounding errors, CPU and GPU results "are designed to be identical", and that if a GPU calculation fails darktable will normally fall back to the CPU automatically.
Troubleshooting: OpenCL won't switch on
The manual's advice for problems is:
Get a debug log. Start darktable from a command prompt with darktable -d opencl. Look for the line that begins [opencl_init] FINALLY ..., which says whether OpenCL is available. If not, look above it for messages like could not be detected or could not be created. The separate darktable-cltest tool runs the same check and then closes.
Remove duplicate OpenCL drivers. Installing several OpenCL drivers for the same hardware "must strictly be avoided", according to the manual. On Windows it specifically warns about the Microsoft OpenCLon12 driver installed by the OpenCL Compatibility Pack. You can check which drivers darktable sees, and disable one, under preferences > processing > OpenCL drivers.
Fix version mismatches. If darktable says a context could not be created, the manual says that often means the graphics driver and OpenCL library don't match. Its advice: when in doubt, do a clean reinstall of the graphics driver, and reboot after a driver update.
Not enough graphics memory. If darktable says no OpenCL-capable card was found, or that the card's memory is too low and it has been discarded, the manual's blunt answer is that "you might need to buy a new card". See our best graphics cards roundup if it comes to that.
Crashes at start-up. If OpenCL is so broken that darktable crashes, start it with --disable-opencl to skip OpenCL altogether.
If nothing works, don't panic: the manual points out that "there is nothing in darktable that only runs on GPU" and that its CPU code "is also highly optimized for performance".
A note on darktable's AI features
darktable 5.6 added optional AI features, such as an AI object mask tool. The processing preferences page says the OpenCL section "is unrelated to the AI features' GPU acceleration", which is set up separately in the AI preferences. According to the 5.6.0 release notes, most Windows users don't need to install anything extra for AI GPU acceleration, because it's already bundled.
For other free raw developers, see our best free RAW photo editors for Windows, and our darktable vs RawTherapee comparison if you're choosing between the two best-known options. A colour-accurate screen matters too: see our best monitors for photo editing.