Godot's Vulkan Backend Seeing Better Performance, 10~20% Reduction In Frame Times

Written by Michael Larabel in Linux Gaming on 19 April 2024 at 01:00 PM EDT. 6 Comments
The Godot game engine has spent the past number of months collaborating with Google and The Forge to bring performance optimizations to their Vulkan back-end. While the immediate focus was on bettering Godot's Vulkan performance for Android mobile devices, this work will ultimately benefit all Vulkan platforms/users.

Since November Godot has been working with Google and The Forge to enhance their Vulkan support. Some of the accomplished work includes utilizing unified memory architecture (UMA) buffers where possible, replacing large push constants with dynamic uniform buffers, optimizing descriptor sets and descriptor set batching, and optimizing swapchain operations. There's also been some Android-specific work such as supporting the Android Thermal API and Swappy frame-pacing with the Google AGDK.

Godot project screenshot

In testing on mobile devices, the improved code is showing a consistent 10~20% lower GPU frame-time.

The work is currently maintained in a separate code branch and there is this big pull request with the optimizations made over the past several months. Cleaning up the code for mainlining and verifying no regressions may end up taking some months so this work will likely land across the Godot 4.3 and Godot 4.4 releases.

More details on the work of this Vulkan collaboration with Google and The Forge can be found via the Godot Engine blog.
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