Unofficial NVDRIVER-Windows Project Sets Out to Lift Feature Limits on NVIDIA GPUs
The article's text, from Joho no Todai's page.
The first commit in NVDRIVER-Windows, a project to build an independent GPU driver for Windows, is dated December 3. The project is written in Rust.
It builds on the Linux version of NVDRIVER, which has been tested on a Tesla V100. The plan is to share OS-independent Rust code for GPU memory management, command submission, and readings such as temperature and power draw.
The project targets GPUs from Maxwell, including the GeForce GTX 750, through Blackwell, including GeForce RTX 50-series cards, and the Rubin generation for data centers. Kepler and earlier GPUs are outside its scope.
Windows uses the Windows Display Driver Model (WDDM). According to Microsoft's documentation, the operating system's graphics kernel manages GPU memory and schedules work. The kernel-mode driver handles communication between the graphics kernel and the GPU. The user-mode driver supports application rendering through Direct3D.
NVDRIVER-Windows plans to build both drivers. Its goals include Windows desktop output, multiple displays, rendering in games that use Direct3D 11 or 12, Vulkan, or OpenGL, and CUDA compute workloads.
The published roadmap has four phases. The first sets up a Rust development environment with the Windows Driver Kit (WDK) and testing in virtual machines. The second covers GPU initialization, memory management, CUDA compute, and readings such as temperature and clock speeds.
The third phase adds desktop display output, variable refresh rate, and support for multiple displays. The fourth adds game rendering and video encoding and decoding through the GPU's built-in NVENC and NVDEC engines, followed by performance comparisons in games and CUDA.
Hardware testing begins with an RTX 5090
According to the December 5 development notes, the developer successfully loaded the kernel-mode driver in a Windows VM with a physical GeForce RTX 5090 assigned to it. The developer also disabled and reenabled the driver and reported no blue screens during the load tests.
The developer is also working to initialize the GSP, the processor that manages the GPU internally. An error occurred during startup, and the developer is investigating. The test environment also runs a separate virtual GPU as a fallback for display output.
Getting Windows to load the driver and communicate with the GPU is a milestone. Going from GPU initialization to display output, gaming, and CUDA will require verifying each feature on real hardware.
The developer says communication involving user-mode drivers for Direct3D and Vulkan has also been tested without physical hardware. The compatibility table tracks code verification and hardware testing separately. It also has space for performance comparisons with NVIDIA's official Windows driver.
Getting the driver to load is meaningful progress. Once everyday software runs correctly, that work could give users a choice of drivers.
What determines how many videos can be encoded at once?
One of the more interesting goals of NVDRIVER-Windows is to lift software-imposed feature restrictions.
The project lists enabling Resizable BAR by default on platforms that support it, removing the NVENC session limit, offering unrestricted access to hardware information, and enabling direct GPU-to-GPU communication over PCI Express where the hardware supports it.
NVIDIA's Video Codec SDK 13.1 documentation explains that NVENC limits the number of concurrent encoding sessions based on GPU classification.
For GPUs NVIDIA classifies as qualified, the number depends on resources such as encoder throughput, system memory, and video memory. For non-qualified GPUs, including GeForce cards, the combined limit across all non-qualified GPUs in a PC is 12 sessions, even if the system has several such cards.
People encoding several videos at once may be unable to use all the processing power or memory available to them. Even with another non-qualified GPU installed, the driver-imposed session cap can still be the first limit they hit.
NVDRIVER-Windows aims to let people use features up to the limits of their hardware without a cap based on product classification. Without that cap, spare GPU capacity and memory could translate into more simultaneous jobs. It will be interesting to see how many the driver can handle in practice.
What it takes to become a daily-use driver
Distribution also poses a challenge for Windows drivers. Microsoft's driver signing policy generally requires new kernel-mode drivers to be signed through its developer portal. NVDRIVER-Windows describes testing with test signing during development.
The developer is also pursuing an independent implementation without republishing NVIDIA's existing code or firmware in the repository. The design loads the signed firmware needed to operate the GPU from the user's environment. Some of the driver will still rely on existing firmware as the independent implementation expands.
NVIDIA highlights launch-day game support and tuning for creative work among the features of its official drivers. An independent driver also needs to run people's everyday games and applications reliably while making good use of the GPU.
The project's installation guide says the driver is still under development and advises people to keep the official driver installed on computers they use every day. A general release will require hardware and stability testing as well as a way to distribute the driver that meets signing requirements.
Some users prioritize the stability of the official driver. Others want to use as many of their GPU's features as possible. I hope both can choose the driver that suits them while keeping the software they already rely on.
