The On-Disk Shader Cache For Mesa's Intel Driver Has Been Revived

Written by Michael Larabel in Mesa on 21 June 2016 at 10:39 AM EDT. 10 Comments
Timothy Arceri of Collabora has prepped the latest version of his massive patch-set for providing an on-disk shader cache for Mesa, albeit focused for now on the Intel DRI driver.

With these "V3" patches of the on-disk shader cache, Arceri explained of the positive impact, "The big update is I've added all stages but compute and tested with a few games and everything seems to be working well so far. Enabling shader cache with the Shadow of Mordor benchmark make things noticeably smoother and helps consitently keep the min FPS at 15 on my Skylake, were as without it can be anywhere between 4-15...The elemental demo which Dave pointed out as also doing a bunch of compiles during the demo is also smoother especially on the second run but its really slow on my Skylake regardless."

It's great to see geometry and tessellation shaders now supported by this on-disk cache along with the other work. Hopefully it will be able to be merged to Mesa soon for appearing in the Mesa 12.0+1 release this September, while the on-disk shader cache work dates back a few years now in patch form.

More details on this latest version of the Mesa on-disk shader cache patches can be found via this mailing list thread.
Related News
About The Author
Michael Larabel

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, LinkedIn, or contacted via

Popular News This Week