Bug#964810: gimp: Unable to start gimp in debian unstable

felipe zeden at riseup.net
Wed Jul 29 14:37:51 BST 2020

On 7/29/20 5:07 AM, Simon McVittie wrote:
> Control: reassign -1 libllvm10,libllvm9,libllvm7
> Control: forcemerge 852746 -1
> Control: affects 852746 + gimp
> On Thu, 16 Jul 2020 at 12:26:26 -0300, zeden wrote:
>> $ gimp
>> : CommandLine Error: Option 'polly' registered more than once!
>> LLVM ERROR: inconsistency in registered CommandLine options
> On Wed, 29 Jul 2020 at 00:55:02 -0300, felipe wrote:
>> After investigating further, I found the problematic package to be mesa-opencl-icd.
>> After removing the package above, gimp works again.
> This looks like the same issue as #852746. The workaround appears to be
> to avoid installing more than one OpenCL implementation at the same time:
> - If you have an AMD GPU, install mesa-opencl-icd
> - If you have an NVIDIA GPU and are using the proprietary driver,
>   install nvidia-opencl-icd or one of the nvidia-*-opencl-icd packages
> - If you have an Intel integrated GPU, install beignet-opencl-icd or
>   intel-opencl-icd

I use and AMD polaris card with amdgpu and mesa drivers.

Previously I only had mesa-opencl-icd and ocl-icd-libopencl1 which is pulled by mesa-opencl-icd.

Trying to remove ocl-icd-libopencl1 prompts me to install nvidia-opencl packages.

It seems bug #954849 has a pretty similar bug, but found the problem while using libreoffice's opencl implementation.

More information about the Pkg-llvm-team mailing list