Zink OpenGL-On-Vulkan Ready To Switch To Lazy Descriptors - Big Performance Win

Written by Michael Larabel in Mesa on 19 July 2022 at 06:31 PM EDT. 23 Comments
MESA
Mesa's Zink OpenGL-on-Vulkan implementation is finally ready to enable lazy descriptors by default, which in turn will mean better performance for this generic OpenGL implementation across many games/applications.

Zink's lazy descriptor handling is to ultimately replace the Vulkan descriptor caching currently used by this Mesa code. The "lazy" descriptors end up meaning much better performance for a variety of OpenGL workloads and after a year of maturing there are no known performance regressions.

Zink lazy descriptor benchmarks I ran last August were already looking great for some games at the time:




Since those benchmarks last year Zink has evolved into even better shape and ready to see lazy descriptors enabled by default.

Mike Blumenkrantz working for Valve on Zink has blogged about the milestone:
"When combined with extreme bucket allocating, this methodology ends up being more performant than caching.

And sometimes by significant margins.

In Minecraft, for example, you might see a 30-50% FPS increase. In a game like Tomb Raider (2013) it’ll be closer to 10-20%.

But, most likely, there won’t be any scenario in which FPS goes down."

This merge request is pending for Mesa to enable lazy descriptors by default. Hopefully it will still merge in time for the Mesa 22.2 feature freeze soon. Once branched I'll be working on some fresh Zink OpenGL-on-Vulkan performance benchmarks.
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