VOOZH about

URL: https://www.phoronix.com/news/Mesa-Vulkan-HDR-Fixes

⇱ Mesa Lands Fixes For HDR With Vulkan Drivers - Phoronix


👁 Phoronix

Mesa Lands Fixes For HDR With Vulkan Drivers

Written by Michael Larabel in Mesa on 7 November 2025 at 05:47 AM EST. 7 Comments
Merged overnight to Mesa 26.0-devel and likely to be back-ported for the upcoming Mesa 25.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 merged for Mesa 26.0 Git users and in time to the Mesa 25.3 series.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.