One Line Patch Doubles Mesa NVK Performance For Talos Principle... To 18 FPS

Written by Michael Larabel in Nouveau on 11 December 2023 at 12:40 PM EST. 10 Comments
NOUVEAU
A patch merged this weekend for Mesa 24.0-devel is helping the performance of the open-source NVK Vulkan driver for NVIDIA GPUs but the performance remains well short still of the proprietary NVIDIA Linux graphics driver stack.

The patch providing a speed boost for NVK is to enable loop unrolling for NAK, the Rust-written shader compiler that continues to be worked on for the Nouveau/NVK driver stack. Enabling loop unrolling up to a value of 32 iterations is enough to double the NVK performance in some instances.

M Henning who authored the change commented that the game The Talos Principle jumped from 9 to 18 FPS on her system.

NVK doubling the performance


Another user in the merge request commented that running Valheim on his GeForce RTX 4090M configuration was enough to boost the frame-rates from 45 to 70~80 FPS.

The improvement is a step in the right direction but due to ongoing work in both the Nouveau DRM kernel driver and NVK/NAK Mesa code it's likely to still be a ways before the performance is potentially semi-comparable to the proprietary NVIDIA Linux driver or competitive to the open-source AMD Radeon and Intel Arc Linux graphics drivers.
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