New FOSS Nvidia drivers enhance capabilities for Haiku and Linux
- Collabora announced two new FOSS drivers, NVK and Zink, in late 2022 to improve Nvidia graphics capabilities.
- The Haiku kernel Nvidia driver NVRM is based on Nvidia's code release and integrates with NVK for enhanced performance.
- The developments in these drivers herald a new era for hardware-accelerated graphics in Haiku and Linux systems.
In late 2022, Collabora, a UK open-source collective, announced the development of two new free and open-source software (FOSS) drivers for Nvidia GPUs, NVK and Zink. These drivers were significant improvements to the graphics capabilities for various operating systems, including Linux and Haiku OS. The development of NVK aimed to provide a Vulkan interface specifically designed for Nvidia's Turing-family GPUs, while Zink operated as a hardware-accelerated solution, translating OpenGL calls to Vulkan. This enhancement was particularly notable for users running software that relied heavily on OpenGL. The advancements in these drivers stemmed from Nvidia's decision to release more of its GPU source code in 2022. This move offered developers the necessary tools and codebase to construct reliable FOSS drivers, which had previously been difficult due to the limited availability of supporting materials from Nvidia. As part of this initiative, the new Haiku kernel Nvidia driver, called NVRM, began to take shape, utilizing aspects of this NVK implementation to promote better graphics performance on Haiku OS. Haiku has long required enhancements to its graphics drivers due to its roots as an open-source recreation of BeOS and the limitations from the software-based rendering that plagued its graphics performance. The introduction of these drivers marked a watershed moment for Haiku and its user experience. Historically, the lack of efficient graphic drivers meant that sophisticated graphics and video playback in Haiku were primarily achieved through software rendering, which was far less efficient than hardware acceleration. The efforts of X512, a key developer involved in integrating NVK with the NVRM driver, demonstrated a pivotal advancement as well. By successfully wiring NVK's implementation of Vulkan to the newly developed NVRM driver, X512 significantly improved the graphics-rendering capabilities of Haiku OS, thus bridging some gaps that had existed for many years. Mesa, another important player in the graphics driver ecosystem, is essential for managing the integration and functionality of these new drivers. While traditionally known for its role within the Linux graphics stack, Mesa also supports cross-platform implementations of OpenGL and Vulkan for multiple operating systems. This integration is vital, as other non-Nvidia graphics drivers mainly rely on Mesa, making it a cornerstone of the graphics experience within both the Linux and FreeBSD environments. The last few months have seen various discussions in the community about the state of these drivers and ongoing commitments from developers to enhance the graphics experience further. Given the increasing demands for robust graphics performance, especially with the rise of more graphically intense applications, the developments in Nvidia’s FOSS drivers herald a new era for graphics within open-source operating systems.