Skip to content

Is it possible to turn off EDR on Apple non-XDR displays? #8

@Vvorcun

Description

@Vvorcun

Hi! First of all - huge thanks for your work! This issue is related to displays like Apple Studio Display and built-in display on MacBook Air M1. On Intel Macs there's "Allow extended dynamic range" in settings, while on Apple Silicon there's no native way to disable EDR. As far as I understand, Apple's EDR gets turned on when app with wantsExtendedDynamicRangeContent set to true is started - as long as maximumPotentialExtendedDynamicRangeColorComponentValue is higher than 1.0 (on MacBook Air M1 it is set to 2.0). There's a setPotentialHeadroom symbol on SkyLight.framework, though my knowledge is kinda limiting me - I wasn't able to find a proper solution yet. So... Is there a way to use setPotentialHeadroom symbol from SkyLight.framework (or something else) to write maximumPotentialExtendedDynamicRangeColorComponentValue (since I believe that's how EDR gets turned off on Intel Macs)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions