Skip to content

Poor performance when looking at higher-quality previews #1372

Open

Description

@themaxpe

By default, preview quality is very low. When changing a setting the preview quality lowers more. However, when the preview is set to high-res the performance becomes awful, near unusable, with stuttering. By contrast, Lightroom renders at full-resolution (an option not even available in Lightcraft), and seems to render much faster (with far fewer slow-downs).

Activity

  1. radialmonster commented on Oct 13, 2026

    @radialmonster
    Contributor

    Thanks. Could you tell me a few things so I can tell where it slows down:

    • the photo (camera model, megapixels) and your GPU,
    • what "high-res" means here: the preview quality setting in Settings, or zooming to 100%,
    • whether it is smooth with GPU rendering off.

    The pieces that touch zoomed and 64 MP renders are in open PRs (#1235 keeps zoomed 64 MP raws decoded on the GPU, #1302 renders one job at a time per view, #1320 decodes 64 MP raws faster). They are not in a release yet.

  2. themaxpe commented on Oct 13, 2026

    @themaxpe
    Author

    The photos are taken on a Sony A7III 24MP, at 6000x4000. The app struggles on both an RTX 3060ti AND an RX6900XT, ruling out a vendor-bias. High-res means setting the preview to as high a setting as possible (5120px). Changing GPU rendering has no noticeable effect - it still struggles.

  3. radialmonster commented on Oct 13, 2026

    @radialmonster
    Contributor

    Thanks, that helps. Since the GPU setting makes no difference on two different cards, the time is probably going into decoding and developing the raw, not into drawing it.

    Here is what the Preview size setting changes, from the code (crates/ui-egui/src/region.rs:96):

    • Automatic: the whole-photo view is rendered at the size it is shown, from a 2560 px version of the raw. When you zoom in, only the part on screen is rendered on top, at up to the photo's own pixels, so you do get full resolution at 100 %.
    • 3840 or 5120: for a view bigger than 2560 px, the whole photo is developed from the full 24 MP raw at the view's size, after every change. While a slider moves you see a smaller draft (the drop in quality you noticed), then the full size is rendered again.

    So 5120 only differs from Automatic when the view is wider than 2560 screen pixels, as on a 4K or 5K display, or 1440p with display scaling. That is also where Automatic looks soft at fit, since it stops at 2560 there.

    Could you tell me:

    • your display resolution and Windows scaling,
    • whether 3840 is usable, and whether Automatic with zoom to 100 % feels smooth?

    That tells us whether it is the full-size render that is slow or something else. PR #1302 (one render at a time per view, so renders during a drag don't pile up) is the closest open work. It is not in a release yet.

  4. radialmonster commented on Nov 8, 2026

    @radialmonster
    Contributor

    I timed this on current main with an A7 III raw (your DSC04867.ARW from #1370 and a second A7 III file), in a 5120 × 2880 window, on a desktop GPU (RTX 3090), comparing Preview size Automatic with 5120.

    What I saw:

    • With 5120, the whole photo is rendered at about 3900 px wide instead of 2560. While a slider moves, each step still shows up within about two frames (around 37 ms, against about 22 ms on Automatic).
    • After you let go of the slider, the full-size render takes about 170 ms with 5120, against about 22 ms on Automatic. That's the visible "soft, then sharp" jump.
    • Luminance noise reduction is the slow one with either setting: only about 3 of 30 slider steps get drawn while dragging (200 to 280 ms each).
    • The app's own frame time stayed at a few milliseconds, so the window itself doesn't freeze; what you see is the picture catching up.

    So on this machine 5120 costs more but isn't near unusable. A 3060 Ti is slower than the card I used, so the same work takes longer there, but probably not enough to explain "near unusable" on its own. It also doesn't explain why turning GPU rendering off made no difference for you.

    To narrow it down, could you say:

    • your display resolution and Windows scaling (5120 only changes anything when the photo area is wider than 2560 screen pixels),
    • which LightCraft version you're on,
    • whether it stutters with every slider, or mostly with Noise Reduction, Texture or Clarity,
    • whether the stutter is while dragging, or after you let go.

    If this solves it, please close the issue, thanks! If not, feel free to reply with more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions