mpv icon indicating copy to clipboard operation
mpv copied to clipboard

[Linux Wayland] add support for target-colorspace-hint=auto when using gpu-next

Open Headcrabed opened this issue 7 months ago • 3 comments

Expected behavior of the wanted feature

Currently, target-colorspace-hint=auto only works with d3d11 backend.

So when using linux wayland+gpu-next with target-colorspace-hint=auto, mpv cannot detect whether HDR support is enabled on the monitor and always output HDR content, so that tonemapping would be applied by compositor rather than mpv itself.

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

Headcrabed avatar May 04 '25 05:05 Headcrabed

There's no way to implement this on vulkan/wayland. If the compositor advertises HDR colorspaces, that's what will be used.

Dudemanguy avatar May 05 '25 00:05 Dudemanguy

There's no way to implement this on vulkan/wayland. If the compositor advertises HDR colorspaces, that's what will be used.

@Dudemanguy Actually this is possible: https://gitlab.freedesktop.org/pq/color-and-hdr/-/issues/43

Headcrabed avatar May 05 '25 00:05 Headcrabed

Huh OK I guess that works then.

Dudemanguy avatar May 05 '25 02:05 Dudemanguy

Fixed by #16512

kasper93 avatar Jul 11 '25 21:07 kasper93