Bug 1642854 Comment 23 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Only for RGB content like games. For YCbCr/YUV content, which is what we're aiming for here, you additionally need the matrix coefficients and range (and in theory chroma location) as specified in ITU-T Rec. 273 - i.e. for HDR10 you want the PQ curve (`XX_COLOR_MANAGER_V4_TRANSFER_FUNCTION_ST2084_PQ`) and the BT2020 primaries (`XX_COLOR_MANAGER_V4_PRIMARIES_BT2020`) from the color protocol in combination with BT2020/limited range (`WP_COLOR_REPRESENTATION_V1_COEFFICIENTS_BT2020`/`WP_COLOR_REPRESENTATION_V1_RANGE_LIMITED`) from the color representation protocol.

But the color representation protocol won't make it into Gnome 48 anyways (I only added some initial plumbing for the KMS properties [here](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4204)) and the error is not too bad. Once the protocol lands - likely in 49 - it should be an easy addition. I just wanted to give you a heads-up.

Some context:
 - Weston implementation https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1682
Only for RGB content like games. For YCbCr/YUV content, which is what we're aiming for here, you additionally need the matrix coefficients and range (and in theory chroma location) as specified in ITU-T Rec. 273 - i.e. for HDR10 you want the PQ curve (`XX_COLOR_MANAGER_V4_TRANSFER_FUNCTION_ST2084_PQ`) and the BT2020 primaries (`XX_COLOR_MANAGER_V4_PRIMARIES_BT2020`) from the color protocol in combination with BT2020 coefficients/limited range (`WP_COLOR_REPRESENTATION_V1_COEFFICIENTS_BT2020`/`WP_COLOR_REPRESENTATION_V1_RANGE_LIMITED`) from the color representation protocol.

But the color representation protocol won't make it into Gnome 48 anyways (I only added some initial plumbing for the KMS properties [here](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4204)) and the error is not too bad. Once the protocol lands - likely in 49 - it should be an easy addition. I just wanted to give you a heads-up.

Some context:
 - Weston implementation https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1682

Back to Bug 1642854 Comment 23