Mesa Lands Fixes For HDR With Vulkan Drivers
([Mesa] 14 Minutes Ago
Mesa Vulkan + HDR Fixes)
- Reference: 0001589826
- News link: https://www.phoronix.com/news/Mesa-Vulkan-HDR-Fixes
- Source link:
Merged overnight to Mesa 26.0-devel and likely to be back-ported for the upcoming Mesa 23.3 release are a few fixes around high dynamic range (HDR) support within the common Vulkan windowing system integration (WSI) / display code.
Mario Kleiner sent out what he says are three important bug fixes to the HDR support for Mesa's Vulkan drivers with the WSI/display back-end. These fixes, which were tested with the AMD RADV driver, include:
- Enable HDR even if a Vulkan client app doesn't call vkSetHdrMetadataEXT(), but just selects a HDR colorspace for the swapchain.
- Accept HdrMetadata with luminance levels of 0 nits - Standard says these are valid and mean "undefined/unknown" for the video sink.
- Restore SDR mode again when the swapchain gets destroyed - At least some drivers, e.g., amdgpu, need a full atomic modeset for switching between SDR and HDR modes.
These Mesa Vulkan HDR fixes are now [1]merged for Mesa 26.0 Git users and in time to the Mesa 23.3 series.
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37880
Mario Kleiner sent out what he says are three important bug fixes to the HDR support for Mesa's Vulkan drivers with the WSI/display back-end. These fixes, which were tested with the AMD RADV driver, include:
- Enable HDR even if a Vulkan client app doesn't call vkSetHdrMetadataEXT(), but just selects a HDR colorspace for the swapchain.
- Accept HdrMetadata with luminance levels of 0 nits - Standard says these are valid and mean "undefined/unknown" for the video sink.
- Restore SDR mode again when the swapchain gets destroyed - At least some drivers, e.g., amdgpu, need a full atomic modeset for switching between SDR and HDR modes.
These Mesa Vulkan HDR fixes are now [1]merged for Mesa 26.0 Git users and in time to the Mesa 23.3 series.
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37880