Gallium3D Gets A Heads-Up Display For Information
Written by Michael Larabel in Mesa on 25 March 2013 at 11:02 AM EDT. 29 Comments
The latest accomplishment of Marek Olšák is developing a "heads-up display" for Gallium3D DRI2 drivers for showing off various attributes of the current system state like the frame-rate and CPU load.

Marek developed a new Gallium3D module to draw transparent graphs and data on top of whatever OpenGL applications are running. This allows an overlay of system vitals like the frame-rate, CPU load, number of pixels rendered, and other interesting technical information over any application. The work also allows for drivers to expose driver-specific information too.

Showing this Gallium3D HUD with a patched version of Mesa is as easy as setting values for the GALLIUM_HUD environment variable. "So basically I'd like to be able to display as much useful info in the HUD as possible. We should definitely add some ioctls for querying useful stats from the kernel DRM/TTM and be able to see in real time what happens in Mesa and the kernel. It's pretty easy - just expose a new query through the gallium interface and the HUD will automatically pick it up."

The Gallium3D Heads-Up Display (HUD) was published by Marek on Friday and currently consists of five patches on the Mesa mailing list. Here's what this new Gallium3D feature looks like:

About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,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 automated benchmarking software. He can be followed via Twitter or contacted via

Related Mesa News
Popular News
Trending Reviews & Featured Articles