Skip to content

Half of the image is misrendered in darkroom with AMD ROCm OpenCL driver and high-resolution images #19491

@zakwilson

Description

@zakwilson

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

When I try to edit an 80mp raw, the right half of the image is rendered as shown in the screenshot. This does not occur with lower resolution files.

Disabling OpenCL makes the problem go away. Cropping or zooming makes the problem go away. Toggling the white balance and highlight reconstruction modules can make it go away. Turning on highlight reconstruction without white balance makes the right half of the image turn black.

The glitches do not appear in exported jpegs.

Steps to reproduce

  1. Enable OpenCL support
  2. Select the AMD ROCm driver
  3. Import this file (ORF, 60mb)
  4. Open the file in the darkroom view

Expected behavior

Darktable should render the entire image

Logfile | Screenshot | Screencast

Image

dt.log

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

5.2.1

What OS are you using?

Linux

What is the version of your OS?

Manjaro (recently updated)

Describe your system

Thinkpad P14s with Ryzen 6850u and Radeon 680M. 32Gb shared RAM.

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Radeon 680M, 32Gb (shared), ROCm 6.4.3

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions