Skip to content

vo_gpu_next: follow reference white system setting - #18123

Merged
kasper93 merged 7 commits into
mpv-player:masterfrom
kasper93:ref_luma
Jun 27, 2026
Merged

vo_gpu_next: follow reference white system setting#18123
kasper93 merged 7 commits into
mpv-player:masterfrom
kasper93:ref_luma

Conversation

@kasper93

Copy link
Copy Markdown
Member

No description provided.

This is mostly useful for SDR mode where previously we would output 203
nits, which on Windows is considered HDR, because reference white is
fixed at 80 nits in SDR mode. Which in turn causes additional
tone-mapping when using scRGB output.

Note that for SDR transfers this doesn't change the luminance, but
instead causes more aggressive tone-mapping, might not be fully
expected. But maybe we should follow system setting for better of for
worse.

Fixes: mpv-player#17850
Not fully, because when ICC profile is embeded in content, libplacebo
will override our luminance, this will be fixed separately.
Comment thread video/out/gpu/d3d11_helpers.c
Comment thread video/out/d3d11/context.c
@kasper93

Copy link
Copy Markdown
Member Author

This is glued without libplacebo support, which in itself would be bigger change. It does what is expected, we might need to adjust default, but let see what people say. I expect quick feedback :)

@kasper93
kasper93 merged commit 62f1494 into mpv-player:master Jun 27, 2026
34 of 37 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.

2 participants