This guide explains how to set up OpenCL hardware acceleration for Affinity applications on Linux. OpenCL enables GPU-accelerated processing for improved performance in Affinity Photo, Designer, and Publisher.
- AffinityOnLinux installer has been run and Affinity applications are installed
- Your GPU drivers are properly installed
- You have administrator (sudo) access
NVIDIA GPUs: ✅ OpenCL works well with proper driver installation. No known issues.
AMD GPUs:
Intel GPUs:
Install the appropriate OpenCL drivers for your GPU and distribution:
sudo pacman -S opencl-nvidiasudo pacman -S opencl-amd apr apr-util
yay -S libxcrypt-compatsudo dnf install rocm-opencl apr apr-util zlib libxcrypt-compat libcurl libcurl-devel mesa-libGLU -yAfter installing the drivers, verify that OpenCL is detected:
# Check if OpenCL devices are available
clinfoIf clinfo is not installed, you can install it:
Arch Linux:
sudo pacman -S clinfoFedora/Nobara:
sudo dnf install clinfoThe AffinityOnLinux installer automatically configures vkd3d-proton for OpenCL support. The necessary DLLs (d3d12.dll and d3d12core.dll) are automatically copied to each Affinity application directory during installation.
To verify that OpenCL is working in Affinity applications:
- Launch any Affinity application (Photo, Designer, or Publisher)
- Go to Edit → Preferences → Performance
- Check the Hardware Acceleration section
- You should see your GPU listed and OpenCL enabled
If OpenCL is not detected in Affinity applications:
- Verify OpenCL drivers are installed correctly using
clinfo - Ensure your GPU drivers are up to date
- Try restarting your system after installing OpenCL drivers
- Check that vkd3d-proton DLLs are present in the Affinity application directory:
ls ~/.AffinityLinux/drive_c/Program\ Files/Affinity/*/d3d12*.dll
If you experience performance issues with OpenCL:
- Consider using vkd3d-proton or DXVK instead (automatically configured by the installer)
- Check GPU temperature and ensure adequate cooling
- Verify that your GPU is not being throttled
If you have an AMD or Intel GPU and experience OpenCL issues:
- We cannot provide support for AMD/Intel GPU OpenCL issues as we do not have access to these GPUs for testing
- Use vkd3d-proton or DXVK instead, which are automatically configured by the installer
- See Hardware Acceleration for more information
If you prefer to use Lutris for managing Affinity applications:
- Install vkd3d-proton through ProtonPlus
- Configure Lutris:
- Open the application's configuration settings
- Navigate to Runner Options
- Select vkd3d-proton as the vkd3d version
- Disable DXVK
- Launch Affinity applications through Lutris
- Hardware Acceleration Guide - Overview of acceleration options
- Known Issues - Common problems and solutions
- GitHub Issues - Report problems or ask questions