News: 0001530596

  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)

AMD Open-Sources GMLIB For RadeonSI Driver - Working On HDR Video Support

([Radeon] 5 Hours Ago AMD GMLIB)


Merged today for Mesa 25.1 is introducing a new previously AMD-internal library to the open-source RadeonSI Gallium3D driver dubbed GMLIB. This GMLIB code is being used by RadeonSI in conjunction with Radeon GPUs having the Video Processing Engine (VPE) hardware to deal with HDR video on Linux.

GMLIB is now being used by the RadeonSI driver to generate 3DLUT to carry out tonemapping. This is for AMD GPUs with the VPE hardware block as in effect a copy engine and can handle HDR conversions. VPE is initially found with Ryzen AI 300 series SoCs. Last year during XDC was [1]this presentation by AMD engineer Harry Wentland on VPE.

There he noted that the VPE support for constructing a tone-mapping 3DLUT isn't open-sourced yet... But that appears to be what is now addressed today with GMLIB introduced to Mesa.

Along with adding GMLIB for RadeonSI, the merged code today adds VPE support for HDR input and the VPE handling for tonemapping. See [2]this merge for those interested in more details. It's great seeing the Linux desktop finally catching up on the [3]HDR front with a lot of new code being merged the past several weeks across many projects.



[1] https://indico.freedesktop.org/event/9/contributions/354/attachments/188/262/20240912%20VPE%20v0.8%20-%20final.pdf

[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33731

[3] https://www.phoronix.com/search/HDR



nyanmisaka

jonkoops

nyanmisaka

jonkoops

Danny3

nyanmisaka

ColdDistance

schmidtbag

Linus: Hi! I thought it was you.
I've been watching you from way off... You're looking great!
Snoopy: That's nice to know.
The secret of life is to look good at a distance.