Nouveau TGSI Shader Cache Enabled In Mesa 17.1 Git
Written by Michael Larabel in Mesa on 23 March 2017 at 05:57 AM EDT. 3 Comments
Building off the work laid by Timothy Arceri and others for enabling a TGSI (and hardware) shader cache in the RadeonSI Gallium3D driver as well as R600g TGSI shader cache due to the common infrastructure work, the Nouveau driver is now leveraging it to enable the TGSI shader cache for Nouveau Gallium3D drivers.

Nouveau NV50/NVC0 can now benefit from the TGSI shader cache. But keep in mind TGSI is just the Gallium3D IR, which caching helps somewhat but isn't as beneficial as caching the final compiled shader for the given GPU. In the context of Nouveau, their main performance blocker isn't on the Gallium3D side but is the lack of proper re-clocking support within the Nouveau DRM driver.

Wiring up the Nouveau TGSI shader cache only took about 30 lines of code due to the common infrastructure work already in Mesa. The support landed with this commit. I'll probably run some tests to see the performance impact, but I'm not overly optimistic considering the main performance blocker is with re-clocking. Nevertheless this is another feature you will be able to find in Mesa 17.1.
Related News
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 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 automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week