News: 0001589826

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Mesa Lands Fixes For HDR With Vulkan Drivers

([Mesa] 14 Minutes Ago Mesa Vulkan + HDR Fixes)


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



Terence, this is stupid stuff:
You eat your victuals fast enough;
There can't be much amiss, 'tis clear,
To see the rate you drink your beer.
But oh, good Lord, the verse you make,
It gives a chap the belly-ache.
The cow, the old cow, she is dead;
It sleeps well the horned head:
We poor lads, 'tis our turn now
To hear such tunes as killed the cow.
Pretty friendship 'tis to rhyme
Your friends to death before their time.
Moping, melancholy mad:
Come, pipe a tune to dance to, lad.
-- A. E. Housman