Skip to content

Zooming out produces black artefacts #15416

Closed
@kofa73

Description

Describe the bug

When using ctrl+scroll to zoom out, if rotate and perspective is used with cropping, black areas show up.

Steps to reproduce

  1. Get the image and sidecar from https://tech.kovacs-telekes.org/files/2023-10-14-zoom-out/
  2. Zoom in/out using Ctrl+wheel. For maximum effect, zoom in strongly, move the preview area to the edge of the image, then zoom in.
  3. Observe the artefacts.

Expected behavior

Show no artefacts.

Logfile | Screenshot | Screencast

https://tech.kovacs-telekes.org/files/2023-10-14-zoom-out/capture.mp4

Commit

No response

Where did you install darktable from?

self compiled

darktable version

4.5.0+908~g84906440ed

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 23.04

Describe your system?

X11, Nvidia

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

NVidia 1060/6GB, 525.125.06

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

Same behaviour with OpenCL on and off.
With OpenCL off, I get a huge log on the console, starting with:

157.1727 [dt_interpolation_compute_pixel4c] problem at (607,252) in 25fx348  1157.1728 [dt_interpolation_compute_pixel4c] problem at (608,252) in 25fx348  1157.1728 [dt_interpolation_compute_pixel4c] problem at (609,251) in 25fx348  1157.1728 [dt_interpolation_compute_pixel4c] problem at (607,253) in 25fx348
1157.1728 [dt_interpolation_compute_pixel4c] problem at (608,253) in 25fx348  1157.1728 [dt_interpolation_compute_pixel4c] problem at (609,253) in 25fx348  1157.1728 [dt_interpolation_compute_pixel4c] problem at (607,254) in 25fx348  1157.1729 [dt_interpolation_compute_pixel4c] problem at (608,254) in 25fx348 

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