NVIDIA NVK Is An Open-Source Mesa Vulkan Driver Ready For Modern Green GPUs
The driver was sprung to life by Jason Ekstrand, along with Karol Herbst and Dave Airlie at Red Hat. Currently, there’s only the nouveau drivers for NVIDIA in Mesa and while they are there, they don’t exactly work all that great. As Jason puts it, the nouveau drivers have several features missing, run buggy, and don’t even support certain cards. As such, there’s a need for a new open-source driver that works well and also supports a bigger stack of modern hardware, that’s where NVK comes in. Simply put, NVK is an open-source Vulkan driver for NVIDIA hardware (GPUs) in Mesa. It’s similar to RADV (Radeon Vulkan) which are AMD’s open-source Mesa Vulkan drivers. Jason & his team’s goals are set to make NVK the new reference Vulkan driver within Mesa and for that purpose, they are going to make NVK as modern as possible. Talking about the progress of NVK, the team states that the drivers have been in development for a few months now and are passing 98% of the Vulkan CTS with a very basic feature set. RADV runs at 50% so the overall progress is around 20-25% as of right now in terms of features. The architecture is also said to be in pretty good shape and we can hope that the final version takes its time to offer the best possible performance. Jason Ekstrand The NVK (NVIDIA Vulkan) drivers will be targetting GeForce RTX 20 (Turing) GPUs and beyond so RTX 30 (Ampere) and RTX 40 (Ada Lovelace) are also planned. There are patches for older GPUs such as Kepler, Maxwell, and Pascal but those are still incomplete. NVK hasn’t been upstreamed to Mesa yet but given the amount of work that’s been put into it, we aren’t that far away from it happening.
Can I contribute?
Absolutely! The project lives in the nvk/main branch of the nouveau/mesa repo on freedesktop.org. You can find and file merge requests here. You can also join us on the #nouveau-vk channel on OFTC. If you do wish to contribute, I strongly recommend getting a Turing or newer GPU. Fortunately, the GPU shortage seems to be over and, since Turing is 4 years old now, they’re pretty easy to get your hands on these days.
What’s going to happen to the OpenGL drivers?
First off, no one is going to be deleting them so they’ll continue working as well as they ever have. However, there are some significant issues with the current gallium drivers and, as is the story with the rest of the nouveau stack, no one has put the time into fixing them. Many of those issues aren’t obvious when using nouveau to drive a desktop and a few simple applications. Once we get re-clocking sorted on Turing+ with GSP firmware and people attempt serious gaming, those bottlenecks will quickly take center stage. We will need a solution to this long-term. News Source: Gaming On Linux, Phoronix