Repository navigation
Closed
Description
Context
The review burndown (#4156) and target-white work (#4498) call for RGBW/RGBWW allocation evidence, but the live managed source currently delegates loadAndScaleRGBW and loadAndScaleRGBWW to the legacy PixelController. EmitterProfile describes only R/G/B chromaticities, luminances, response curves, and electrical terms. Thus a bound profile cannot currently solve and emit measured W/WW drives through the managed pipeline.
Proposal
Extend the owned profile and streaming solver to represent physical white emitters and route RGBW/RGBWW channel encoding through their solved drives. Define white-emitter gamut, target-neutral, response, power, and quantization semantics together; preserve legacy output when no compatible profile is bound.
Acceptance criteria
- Capture a focused RED test: with an RGBW or RGBWW channel and a profile whose white emitters materially affect the optimum, show that bound-profile wire bytes are still the legacy bytes and do not match a float64 measured-emitter reference. Implement the integration and turn that test GREEN.
- Cover RGBW and RGBWW independently, including a selected target white, non-identical white chromaticities, nonlinear response, low-light dither, and out-of-gamut requests.
- Admit/reject profiles by emitter topology, keep owned data valid across rebind and source lifetime changes, and maintain no-profile legacy byte identity.
- Include modeled electrical demand and final emitted-frame accounting, with representative tier size/performance measurements. Hardware accuracy remains gated by Color pipeline P10: hardware measurement gate and program closure #4044.
Decisions
- Track this separately from fix(color): make target-white overrides affect managed rendering #4498: making the existing RGB override effective is a small three-emitter fix; adding physical W/WW emitters changes schema, solver, encoding, and power accounting.
- Treat RGBW/RGBWW as a prerequisite for any fix(color): make target-white overrides affect managed rendering #4498 or feat(power): complete the shared managed-channel power prepass and frame bound #4499 acceptance claim about managed white-emitter channels, rather than treating a legacy fallback as managed coverage.
Related issues
- Meta: color-pipeline review findings burndown (R1–R10, D1) #4156 R7, fix(color): make target-white overrides affect managed rendering #4498, feat(power): complete the shared managed-channel power prepass and frame bound #4499, Color pipeline P7: gamut mapping and device solve (incl. RGBW) #4041, Color pipeline P10: hardware measurement gate and program closure #4044.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Sep 23, 2026
The physical RGBW/RGBWW managed-emitter path merged in #4533 (profile schema, wide solve, target-white handling, response LUTs, wire output, modeled emitter demand, tests, and benchmark). The ESP32-S3 Blink bloat gate passed at 383,139 B against 383,140 B. This issue remains open intentionally: its final emitted-frame electrical-bound criterion is not established by the unity-demand estimate and belongs to the shared-scalar/final-frame implementation in #4499. Close #4515 only after that criterion has focused final-output evidence.
zackees commentedon Sep 23, 2026
Completed by the physical wide-emitter path in merged PR #4533 and the final-frame electrical accounting in merged PR #4542. The latter adds focused RGBW/RGBWW encoded-frame budget and every-dither-phase bound tests, plus host and capture-only ESP32-C6 throughput evidence. Profile admission, target-white, nonlinear response, rebind/lifetime, and legacy-byte tests landed with #4533. This closes the software criterion only; measured light/color accuracy remains explicitly gated by P10 #4044.