VOOZH about

URL: https://www.phoronix.com/news/AMD-GMLIB-RadeonSI-HDR-Video

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


👁 Phoronix

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

Written by Michael Larabel in Radeon on 27 February 2025 at 06:58 AM EST. 14 Comments
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 this presentation by AMD engineer Harry Wentland on VPE.

👁 AMD VPE slide


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.

👁 AMD VPE slide


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

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.