Project

General

Profile

Bug #12541

Intel "NEO" opencl drivers broken

Added by Damian D. Martinez Dreyer 9 days ago. Updated 2 days ago.

Status:
Closed: upstream
Priority:
Low
Assignee:
Category:
OpenCL
Target version:
Start date:
01/11/2019
Due date:
% Done:

0%

Affected Version:
git stable branch
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

OpenCL is enabled and causing artifacts.
Darktable is crashing on various occasions and reliably when selecting Parametric mask in Profiled Noise Reduction module.
The command line states "double free or corruption (out)".

The related sidecar file is attached as well as an artifact example.
clinfo file is attached.

DSC01550.ARW.xmp - Sidecar file (6.23 KB) Damian D. Martinez Dreyer, 01/11/2019 05:56 PM

clinfo - Opencl info (10.8 KB) Damian D. Martinez Dreyer, 01/11/2019 06:09 PM

artifacts.jpg (419 KB) Damian D. Martinez Dreyer, 01/11/2019 06:13 PM


Related issues

Duplicated by darktable - Bug #12283: PPG OpenCL results in overt desaturation and loss of contrast Closed: upstream 08/06/2018

History

#1 Updated by Roman Lebedev 9 days ago

  • Subject changed from OpenCl causing crashes and artifacts to Intel "NEO" opencl drivers broken

Damian D. Martinez Dreyer wrote:

OpenCL is enabled and causing artifacts.
Darktable is crashing on various occasions and reliably when selecting Parametric mask in Profiled Noise Reduction module.
The command line states "double free or corruption (out)".

The related sidecar file is attached as well as an artifact example.
clinfo file is attached.

There is no opencl on intel.
beignet is still blacklisted, and is even deprecated nowadays.
You should report it upstream to them, it is their bug.
And, perhaps "NEO" should be added to https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h#L27

#2 Updated by Pascal Obry 8 days ago

  • Status changed from New to Closed: won't fix

Agreed, I'll blacklist.

#3 Updated by Pascal Obry 8 days ago

  • Target version set to Future
  • Assignee set to Pascal Obry

#6 Updated by Roman Lebedev 8 days ago

  • Duplicated by Bug #12283: PPG OpenCL results in overt desaturation and loss of contrast added

#7 Updated by Roman Lebedev 8 days ago

  • Status changed from Closed: won't fix to Closed: upstream

#8 Updated by R - 7 days ago

Damian D. Martinez Dreyer wrote:

OpenCL is enabled and causing artifacts.
Darktable is crashing on various occasions and reliably when selecting Parametric mask in Profiled Noise Reduction module.
The command line states "double free or corruption (out)".

The related sidecar file is attached as well as an artifact example.
clinfo file is attached.

I have been using the NEO drivers without issue on almost daily builds of master for quite sometime now. I ran into some issues like this before I discovered that you have to regenerate the opencl kernels sometimes after updating the neo drivers. Now, on archlinux, whenever the neo drivers get updated, I rm -rf ~/config/darktable/cached_kernels_for_IntelRGen9HDGraphicsNEO. Have not observed a problem since doing this.

#9 Updated by Damian D. Martinez Dreyer 2 days ago

Thank you for the insight R. I can confirm, this workaround seems to lead to a stable darktable with opencl on my platform.
(The kernels were located below ~/.cache/darktable in my case).

I have also opened an issue upstream. Please see https://github.com/intel/compute-runtime/issues/125

Also available in: Atom PDF