Project

General

Profile

Bug #12353

Thumbnail and export artifacts with OpenCL and Radeon HD7870

Added by Matthias Fetzer 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
OpenCL
Target version:
-
Start date:
10/06/2018
Due date:
% Done:

0%

Affected Version:
2.4.4
System:
Debian
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I've had quite a few problems getting OpenCL to work on my system. Have a look here.
At the moment I am using proprietary driver 18.20 OpenCL only and open source radeon driver for the rest.
Using "export GPU_FORCE_64BIT_PTR=1" OpenCL gets detected by darktable and is used as well but produces serious artifacts in thumbnails and exported images (see attached files).
Artifacts are even produced with all modules disabled in darkroom. With OpenCL disabled everything works as expected.

Is there anything I can try to get rid of those artifacts other than disabling OpenCL?

Thank you in advance!

darktable_opencl_thumbnail_2018-10-06 12-14-23.png (90.3 KB) Matthias Fetzer, 10/06/2018 01:27 PM

darktable_opencl.log Magnifier (29 KB) Matthias Fetzer, 10/06/2018 01:27 PM

darktablerc (21.1 KB) Matthias Fetzer, 10/06/2018 01:27 PM

DSC_8198.jpg (786 KB) Matthias Fetzer, 10/06/2018 01:27 PM

DSC_8198.NEF (11.2 MB) Matthias Fetzer, 10/06/2018 01:27 PM

History

#1 Updated by Matthias Fetzer about 2 months ago

Unfortunately the problem persists on Manjaro with proprietary driver version 18.30.

#2 Updated by Simon Raffeiner about 1 month ago

I'm using Arch Linux with AMDGPU-PRO 18.30 on a Radeon RX570 and there are no issues, so at least this doesn't seem to be a generic AMD/OpenCL issue.

Any ideas why you have to set GPU_FORCE_64BIT_PTR=1 to get darktable to see the card? This parameter only seems to tell the GPU driver to use 64 bit pointers so an application can allocate the full video memory if you have 4 GB or more, but your card only has 2 GB of VRAM. darktable can work with 2GB of VRAM (at least it did so for a year with my GTX950), so I wonder why it doesn't offer the card without the environment variable?

Also available in: Atom PDF