NVIDIA/AMD Memory Information Extensions For Mesa/Gallium3D

Written by Michael Larabel in Mesa on 2 February 2016 at 09:26 AM EST. 10 Comments
MESA
Marek Olšák's latest Mesa patch series is hooking up support for the vendor-based OpenGL memory information reporting extensions to the Mesa and Gallium3D drivers.

The extensions implemented are GL_NVX_gpu_memory_info and GL_ATI_meminfo as the vendor-specific ways for NVIDIA and ATI/AMD, respectively, for querying the video RAM utilization data on their proprietary drivers. While Mesa has GLX_MESA_query_renderer to support this type of information for modern applications/games, supporting these proprietary extensions is needed for older games/apps that are unlikely to be updated or receive support for this Mesa-specific GL extension.

These memory information extensions are hooked up for the R600g and RadeonSI Gallium3D drivers.

The nearly 200 lines of new code can be found via this patch series. Marek has also posted a patch for glxinfo that would then dump the available memory information when running this information utility.
Related News
About The Author
Michael Larabel

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.

Popular News This Week