I recently migrated to a new Linux workstation with OpenCL capability, and Darktable 3.0.2 from the OpenSUSE 15.1 distro repository. The Local Contrast Module (LC) is broken and produces ugly, extreme 'shading' and artifacts in local laplacian mode that makes it unusable. The problem manifests on viewing images previously developed on my old laptop with LC enabled (same DT version but no OpenCL) as well as developing on the workstation. Everything else in DT (and other apps) that I use in my workflow is working as normal on the workstation.  OpenCL compiled and loaded with no errors. There are no runtime error messages, normal or with debug.  Disabling OpenCL fixes the Local Contrast module and it works as expected. I've tried rebuilding locallaplacian.cl.bin, which again compiled and loaded without error, but the problem remains. 

Appears to a be bug in OpenCL code.  Any ideas/help?

Thanks

Workstation info:
System:    Host: photoworkstation Kernel: 5.7.6-2.g1549350-default x86_64 bits: 64 compiler: gcc v: 10.1.1
           Desktop: Gnome 3.26.2 wm: gnome-shell dm: GDM 3.26.2.1 Distro: openSUSE Leap 15.1
Machine:   Type: Desktop Mobo: ASRock model: X570 Phantom Gaming 4, PCIe 4.0
           UEFI: American Megatrends v: P2.30 date: 01/13/2020
CPU:       Topology: 12-Core model: AMD Ryzen 9 3900X bits: 64 type: MT MCP arch: Zen 2 L2 cache: 6144 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 182399
           Speed: 2206 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 2200 2: 2199 3: 3599 4: 2058
           5: 2200 6: 2199 7: 2193 8: 3593 9: 3595 10: 3589 11: 2794 12: 1866 13: 2199 14: 1860 15: 3600 16: 3595
           17: 2059 18: 3595 19: 3604 20: 3600 21: 2795 22: 1866 23: 1866 24: 3597
Memory:    Dual-channel 32Gb, 2 x 16Gb DDR4 3200MHz, CAS=14, TEAMGROUP 8 Kit, Samsung B-Die
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
           vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 0b:00.0 chip ID: 1002:7340
           Display: x11 server: X.Org 1.20.3 compositor: gnome-shell driver: amdgpu,ati
           unloaded: fbdev,modesetting,radeon,vesa resolution: 1: 2560x1440~60Hz 2: 3840x2160~60Hz s-dpi: 96
           OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.3.2 compat-v: 3.1 direct render: Yes

darktable --version this is darktable 3.0.2
compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support enabled, API version 5.0.2
  Colord support enabled
  gPhoto2 support enabled
  GraphicsMagick support enabled
  OpenEXR support enabled

OpenCL:  installed from AMD AMDGPU-PRO package
[opencl_init] device 0: gfx1012
     GLOBAL_MEM_SIZE:          8176MB
     MAX_WORK_GROUP_SIZE:      256
     MAX_WORK_ITEM_DIMENSIONS: 3
     MAX_WORK_ITEM_SIZES:      [ 1024 1024 1024 ]
     DRIVER_VERSION:           3075.10 (PAL,LC)
     DEVICE_VERSION:           OpenCL 2.0 AMD-APP (3075.10)
The OpenCL build log shows no errors.

___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to