Skip to content

Daylight magenta colour cast on hi3518ev200 + OV2735 (RAW10): recent master vs majestic 2026-04-20 #281

@moontwister

Description

@moontwister

Required information

  • SoC: hi3518ev200 (hi3516cv200 / cv200 family)
  • Sensor: OV2735 (MIPI, RAW10), board = TP-Link Kasa KC110
  • Bad: full no-shim firmware built with majestic fix-hisi-vb-pool1-raw10-undersized+e9ff50d (and earlier master builds)
  • Good: full firmware with majestic master+d11ba3c, 2026-04-20

Distinct from #279 (JPEG pool, fixed — thanks) and #280 (IQ profile, which I walked back). Handing this to you because I couldn't isolate it cleanly and you can git-bisect with source.

Issue description

On the no-shim/master build the daylight image has a magenta cast — owner-confirmed by eye, not just stats. The full d11ba3c (2026-04-20) build is clean in the same conditions.

Tight A/B, same scene, ~minutes apart, analog gain 1× on both (so it isn't gain noise):

build /image.jpg RGB mean AWB R/G/B gain CoTemp exposure (Line)
d11ba3c (good) [108, 110, 122] balanced 0x201 / 0x111 / 0x1fc 3773 8
e9ff50d (bad) [137, 95, 144]G ~40 below R/B 0x23f / 0x111 / 0x1ee 3389 2

The JPEG also balloons ~61 KB → ~700 KB purely from the cast/texture. Bayer (BGGR) and the colour matrix (CCM) are byte-identical between the two; the differences are the AWB R-gain, the convergence point, and a ~4× shorter exposure (Line 2 vs 8) on master for the same scene.

What I ruled out (controlled tests)

What I could NOT isolate

I tried a majestic-binary bisect (your versioned lite URLs, swapped in from /tmp) but it's confounded — the known-good d11ba3c binary also looked bad when run via binary-swap on the candidate rootfs, so the method isn't clean (rootfs / partially-matched .ini / start-method). So all I can say solidly is full e9ff50d build = magenta, full d11ba3c (04-20) build = good, and the cause is at the full-build level — possibly the majestic binary, possibly the newer opensdk/ISP libs in the candidate rootfs (it was built from current HEAD), or a combination.

Ask

Could you git bisect the master ISP/AWB path on a cv200 + RAW10 sensor between 2026-04-20 and now, or point me at full builds (or a known-good majestic SHA for cv200) to test on the KC110? The KC110 is on the bench; happy to flash specific candidates and report image quality (I'll have the owner judge the live feed — pixel stats across reflashes proved unreliable here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions