Nvidia BETA branch 580.65.06 Released
NVIDIA BETA Branch 580.65.06 Released: A Deep Dive into Enhancements and Fixes for Linux Users
At revWhiteShadow, we are thrilled to announce the release of the NVIDIA BETA branch driver version 580.65.06, a significant update packed with crucial bug fixes and notable enhancements designed to elevate your computing experience, particularly for Linux users. This latest iteration addresses a spectrum of issues impacting stability, performance, and compatibility across a variety of applications and hardware configurations. We have meticulously analyzed the release notes and are here to provide you with an in-depth look at what this new BETA driver brings to the table, aiming to deliver the most comprehensive and insightful overview to help you understand its implications.
Revolutionary Fixes for Vulkan and Graphics Stability
One of the most impactful advancements in the NVIDIA BETA branch 580.65.06 is the comprehensive suite of fixes targeting Vulkan applications. The graphics driver has been significantly refined to prevent common and frustrating issues.
Addressing Vulkan Hangs During Swapchain Destruction
We’ve identified and resolved a critical bug that could instigate Vulkan application hangs. This issue specifically manifested when swapchains were being destroyed following a lost device event. Such events, often triggered by driver resets or hardware interruptions, could leave applications in an unresponsive state. The fix implemented in this BETA release ensures a more robust handling of these scenarios, preventing unexpected freezes and ensuring smoother transitions even in demanding graphical environments. This is particularly beneficial for gaming and professional 3D rendering workflows where seamless operation is paramount.
Enhancing DRM Operations and Interrupt Handling
Further strengthening the Direct Rendering Manager (DRM) capabilities, NVIDIA has addressed a bug that could lead to atomic commit and other DRM operations incorrectly reporting success. Previously, these operations might have reported success even when they failed due to the handling of an interrupt. This subtle yet significant flaw could lead to unexpected behavior and data corruption in applications relying on precise graphics state management. The fix, detailed in GitHub issue #832, ensures that the driver accurately reflects the status of DRM operations, bolstering the reliability of the entire graphics pipeline. This is crucial for users who rely on advanced display configurations and low-level graphics control.
Resolving GTK 4 Crashes with Vulkan Backend on Wayland
For developers and users leveraging the Wayland display server protocol with the Vulkan backend for GTK 4 applications, a critical stability improvement has been introduced. A persistent bug that caused these applications to crash has been identified and rectified. This fix is particularly important for the growing adoption of Wayland, offering a more stable and reliable experience for modern desktop environments and applications built with GTK 4. The smooth integration of Vulkan with Wayland is a key component of future desktop graphics, and this patch is a significant step forward.
Stabilizing llama.cpp with Vulkan Backend
In the burgeoning field of AI and machine learning, the llama.cpp project has gained significant traction. For users employing the Vulkan backend within llama.cpp, a bug causing intermittent crashes upon exit has been resolved. This particular fix, linked to GitHub issue #10528, ensures that the computational power of NVIDIA GPUs can be utilized more reliably for large language model inference and other AI tasks. This stability improvement allows for uninterrupted experimentation and deployment of AI solutions, making NVIDIA hardware a more dependable choice for this cutting-edge technology.
New Feature Integrations and Compatibility Improvements
Beyond bug fixes, the NVIDIA BETA branch 580.65.06 introduces new features and broadens compatibility, enhancing the overall user experience.
Support for the Fifo-v1 Wayland Protocol
A notable addition is the added support for the fifo-v1 Wayland protocol on Vulkan. This integration signifies NVIDIA’s commitment to advancing the Wayland ecosystem. The fifo-v1
protocol is designed to improve the efficiency and latency of how applications communicate with the display server, especially in scenarios involving real-time rendering and compositing. This forward-looking support ensures that NVIDIA hardware is well-equipped to handle the future of Linux desktop graphics.
Enhanced GPU Clock Value Reporting
For users who rely on precise performance monitoring, the nvidia-settings, NVML (NVIDIA Management Library), and nvidia-smi (NVIDIA System Management Interface) utilities have received an important update. The GPU clock value reporting has been revised to display clocks before thermal and idle slowdowns. This change brings the reporting mechanism into closer alignment with the equivalent functionality on Windows operating systems. This consistency is invaluable for benchmarking, performance tuning, and troubleshooting, providing a more accurate and comparable view of GPU performance across different platforms. Understanding these nuances in clock speeds is vital for optimizing workloads.
Improved Compatibility with Bigscreen Beyond Head-Mounted Displays
The VR community will be pleased to learn about the fixed compatibility with Bigscreen Beyond Head-Mounted Displays. The Bigscreen Beyond is a unique and highly anticipated VR headset, and ensuring seamless integration with NVIDIA hardware is crucial for its users. This update demonstrates NVIDIA’s dedication to supporting emerging VR technologies and providing an uncompromised virtual reality experience. This fix allows VR enthusiasts to fully leverage their NVIDIA GPUs with this innovative display.
Resolving Black Screen Issues on HDMI Displays
A frustrating problem for some users involving HDMI displays has been addressed. A bug that could lead to a black screen when setting specific modes on these displays has been fixed. This resolves a critical display output issue, ensuring that users can confidently connect and configure their HDMI monitors without encountering display blackouts. This is a fundamental fix for broad usability and accessibility.
Rectifying Blank/Frozen Screens with Specific Display Configurations
Further enhancing display stability, a bug that caused blank or frozen screens under particular conditions has been resolved. This issue occurred when nvidia-drm was loaded with both the modeset=1
and fbdev=1
parameters, using Maxwell or Pascal series GPUs, and when more than one display device of differing resolutions were connected. This complex scenario often arises in multi-monitor setups and the fix ensures reliable operation across diverse display arrangements and older, yet still capable, GPU architectures.
Addressing nvidia-suspend.service Failures with Low System Memory
System stability during suspend and resume cycles has been improved. A bug that caused the nvidia-suspend.service to fail when available system memory was low has been fixed. This ensures that the graphics driver can gracefully handle power states even under memory-constrained conditions, preventing system hangs or failures when the system needs to conserve resources. This is vital for laptops and systems with limited RAM.
Performance Optimizations and Latency Reductions
The BETA driver also introduces performance-enhancing features aimed at reducing latency and improving overall system responsiveness.
RMIntrLockingMode Enabled by Default for Reduced Stutter
A significant performance-related change is the enabling of RMIntrLockingMode by default. This feature, originally introduced in the r570 series, is designed to reduce stutter, particularly in virtual reality applications. Stuttering can significantly detract from immersive experiences, and RMIntrLockingMode helps to smooth out frame delivery by optimizing how the driver handles interrupt requests. While it can be disabled via a kernel module parameter (NVreg_RegistryDwords=RMIntrLockingMode=0
), its default enablement signifies NVIDIA’s focus on improving VR performance.
Experimental Feature for Low Latency Display Interrupts
An experimental feature has been implemented to further reduce time spent in the interrupt top half for low latency display interrupts. This involves deferring specific interrupt handling work until a later time. This feature is disabled by default and can be enabled by loading the nvidia.ko
module with the NVreg_RegistryDwords=RmEnableAggressiveVblank=1
kernel module parameter. The goal of this feature is to minimize the CPU’s involvement in time-sensitive display interrupts, potentially leading to even lower latency and smoother animation. As an experimental feature, we recommend careful testing before enabling it in production environments.
Fixing Blank Rendering in Single-Buffered GLX Applications on Xwayland
Users running single-buffered GLX applications on Xwayland will benefit from a fix that prevented blank rendering in such scenarios. This resolves an issue that could lead to graphical corruption or a complete lack of output for certain legacy OpenGL applications when running under the Xwayland compatibility layer on Wayland.
Addressing Kernel Use-After-Free on Pre-Turing GPUs
For users with NVIDIA GPUs based on architectures prior to Turing, a critical bug that could cause a kernel use-after-free has been rectified. Use-after-free vulnerabilities are serious memory corruption issues that can lead to system instability and security risks. This fix is vital for maintaining the security and stability of older, yet still widely used, GPU hardware.
Resolving Stalling and Black Screens with Reverse PRIME
The functionality of NVIDIA as a PRIME Display Offload sink (often referred to as “Reverse PRIME”) has been improved. A bug that could cause OpenGL applications and compositors to stall when utilizing this feature, potentially leading to a black screen, has been fixed. This is crucial for users who leverage NVIDIA GPUs for rendering on external displays managed by integrated graphics or other GPUs.
Mitigating Increasing Memory Usage After Suspend/Resume Cycles
A subtle but impactful issue related to memory usage has been resolved. A bug that caused increasing memory usage in X11 OpenGL and Vulkan applications after suspend/resume cycles has been fixed. This memory leak could degrade system performance over time, especially for users who frequently suspend and resume their systems. The fix ensures that memory is properly managed, preventing performance degradation.
Fixing Crashes in 32-bit x86 Applications on Recent glibc Builds
For users running 32-bit x86 applications on recent builds of glibc (GNU C Library), a critical bug that could cause crashes on dlopen() has been fixed. The dlopen()
function is used for dynamically loading shared libraries, and a failure in this process can lead to application instability. This fix ensures compatibility for older 32-bit applications running on modern Linux distributions.
Conclusion: Embracing the BETA for a Smoother Experience
The NVIDIA BETA branch driver 580.65.06 represents a substantial step forward in refining the Linux graphics experience. With fixes addressing critical issues in Vulkan, Wayland, AI workloads, and display output, alongside performance enhancements and broader compatibility, this release is a compelling update for a wide range of users.
We at revWhiteShadow encourage those who are comfortable testing BETA releases to explore these improvements. Your feedback is invaluable in the ongoing development process. This driver demonstrates NVIDIA’s commitment to innovation and user satisfaction, pushing the boundaries of what’s possible with Linux graphics. We will continue to monitor these developments closely and provide you with the most up-to-date information. Remember to always back up your system before installing any BETA drivers.