Skip to content

Conversation

@UjinT34
Copy link
Contributor

@UjinT34 UjinT34 commented Jan 2, 2026

Describe your PR, what does it fix/add?

Changes global and per-monitor TF settings to a enum to avoid confusion and allows setting global to sRGB and per-monitor to gamma22 (previously this exact combo wasn't possible)
default or 0 - HL default, currently gamma22
auto - for global same as default, monitor uses global
gamma22 or 1 - gamma22
gamma22force or 2 - global gamma22 and remap srgb to gamma22, monitor - gamma22
srgb or 3 - srgb

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

Legacy numeric values and values meant for one of the settings only won't be mentioned in the wiki.
Configs with render:cm_sdr_eotf = 3 and monitorv2:sdr_eotf = 0 (or unset) should be changed to use monitorv2:sdr_eotf = srgb if this is the desired setting (probably not)

Is it ready for merging, or does it need work?

Ready

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants