Skip to content

feat(ocio): warn when the OCIO display doesn't match the macOS presentation - #162

Merged
mcoliver merged 1 commit into
feat/ocio-auto-display-viewfrom
feat/ocio-display-warnings
Oct 26, 2026
Merged

mcoliver merged 1 commit into
feat/ocio-auto-display-viewfrom
feat/ocio-display-warnings

Conversation

@mcoliver

@mcoliver mcoliver commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #154. Stacked on #161 (it uses #161's presentation mode). Merge #161 first and this retargets to main.

Choosing a display that the presentation surface can't show correctly gave no sign that anything was wrong:

  • ST2084-P3-D65 in HDR PQ: the surface is tagged Rec.2100, so P3 values are read as Rec.2020 and come out oversaturated.
  • Display P3 in SDR: read as sRGB, so it comes out desaturated.
  • An HDR display in SDR or EDR: wrong levels.

What it does

  • UTV warns when a display is chosen in the menu or turned on through Active and it doesn't fit the presentation mode. The warning names the display to use and appears in the log and as a HUD message on the view for 6 seconds. For example:

    OCIO: ST2084-P3-D65 - Display doesn't match the HDR PQ (Rec.2100) presentation: colors or levels will be wrong. Use Rec.2100-PQ - Display.

  • What fits each mode:
    • SDR and EDR: sRGB, Gamma 2.2 Rec.709 and Rec.1886 Rec.709.
    • PQ: Rec.2100-PQ only.
    • HLG: Rec.2100-HLG only.
  • Only displays from the ACES configs are checked. Displays from other configs, such as studio configs, are never warned about. Nothing is shown off macOS.
  • The existing "no input color space" log warning from fix(ocio): give sources an OCIO input while an OCIO display is in use #160 now also shows on the view, with the file name rather than the node name.

Tested

On the dev build on macOS, through the menu's own code path:

Presentation Display chosen Warns?
PQ ST2084-P3-D65 yes
PQ Rec.2100-PQ no
SDR Display P3 yes
SDR Rec.1886 Rec.709 no
EDR Display P3 HDR yes
HLG Rec.2100-PQ yes

There were no exceptions from the HUD message.

Still to do for #154: a persistent warning in the OCIO menu (after #159), the status line and the pipeline panel.

…tation (#162)

Choosing a display that the presentation mode's surface can't show right
gave no sign that anything was wrong: ST2084-P3-D65 in HDR PQ
presentation is read as Rec.2020 and oversaturated, Display P3 in SDR is
read as sRGB and desaturated, and an HDR display in SDR or EDR gets the
wrong levels.

Warn in the log and on the view when the display is chosen or turned on
and it's an ACES config display that doesn't fit the presentation,
naming the one to use. Displays from other configs are never warned
about. A source the OCIO display can't find an input color space for now
also shows its warning on the view, by file name.

Part of #154.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver
mcoliver force-pushed the feat/ocio-auto-display-view branch from bbade8e to a592c82 Compare October 26, 2026 02:48
@mcoliver
mcoliver force-pushed the feat/ocio-display-warnings branch from b016ab5 to 55ef990 Compare October 26, 2026 02:48
@mcoliver
mcoliver merged commit 55ef990 into feat/ocio-auto-display-view Oct 26, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant