Intel's Mesa Drivers Enable "TBMIR" Tile-Based Rendering

Written by Michael Larabel in Intel on 28 October 2023 at 12:29 PM EDT. 5 Comments
INTEL
A shiny feature landed on Friday for the Intel open-source OpenGL and Vulkan drivers within Mesa 24.0: Tile-Based Immediate Mode Rendering (TBIMR).

This tile-based immediate mode rendering (TBIMR) functionality works with Intel Gen12.5 graphics and newer. This Mesa code has been successfully tested on DG2/Alchemist Arc Graphics as well as upcoming Meteor Lake integrated graphics.

Intel Arc Graphics


The merge request explains of TBIMR:
"This series introduces the basic driver infrastructure required to take advantage of the tile-based immediate mode rendering (TBIMR) functionality of current Intel platforms (DG2 or MTL are currently supported). Current platforms have a tile sequencer hardware sitting between primitive setup and rasterization, which is able to buffer triangles (and some state setup commands like push constants) in batches as they're processed by the geometry stages. A tile walk can be triggered by various conditions (typically transparently by the hardware when the batch fills up or there is a pipeline stall due to a data dependency), which replays the batch repeatedly dispatching the buffered geometry to the rasterizer one tile at a time."

Where it gets exciting is the performance benefits for memory bandwidth bound workloads:
"... which can reduce bandwidth usage by 10% to 30%, which can improve performance in memory bandwidth-bound workloads that are able to buffer enough primitives for the rasterization reordering to be effective. The Aztec Ruins benchmark (either VK or GL) is particularly effective illustrating this: At 4K with high settings it improves by about ~13% with TBIMR enabled on Arc A750 (improvement is over 16% on MTL), but the improvement drops to about 0% at 1080p, since the benchmark becomes mostly CPU-bound at lower resolution, so reducing bandwidth consumption isn't guaranteed to improve performance."

This TBIMR tile-based rendering for Gen12.5+ graphics is now in Mesa 24.0-devel for Intel Iris Gallium3D and ANV Vulkan drivers ahead of the stable debut in Q1.
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