What Will Happen To xf86-video-nv In 2010?
Thanks to the surprise push this morning of the Nouveau driver for the Linux 2.6.33 kernel, this free software, reverse-engineered NVIDIA driver stack is on its way to being used in a lot more Linux systems and distributions. The xf86-video-nouveau X.Org driver will still need to have a release in the coming months, but in 2010 it looks like this driver stack will be working its way into many more Linux distributions. Fedora was the first to ship Nouveau by default, Ubuntu has plans to use Nouveau in Ubuntu 10.04 LTS, and with the mainlining of the Nouveau DRM the flood gates have essentially been broken open for the other vendors to pickup these latest bits once this kernel has been formally released.
While the Gallium3D driver to provide 3D/OpenGL acceleration (along with OpenCL, OpenVG, OpenGL ES and other accelerated APIs through the state tracker interface) will not be released right away as this is where the bulk of the development is still taking place, the Nouveau driver already has many advantages over what it is replacing: xf86-video-nv. The xf86-video-nv driver is NVIDIA's attempt at an open-source driver in the way of just providing very basic user mode-setting for their hardware and limited 2D acceleration. That's about it for the features of this driver with no RandR 1.2 support or any other DDX features found in most other drivers.
Besides adding in new PCI IDs and other small maintenance work that happens to this driver infrequently, not a lot of major work happens to this driver in starch contrast to the Intel and ATI DDX. In total for 2009 there has been just 30 commits to the xf86-video-nv Git repository and those commits touched just a few hundred lines of code, but even most of that work was just adding some product prefixes to some build warnings that are generated and then dropping older symbol lists that are now unused. In 2008 there were 48 commits to this driver, but most of that work too was just simple changes. If this wasn't bad enough, the code in xf86-video-nv driver is obfuscated, even though there isn't a lot of IP tucked away within this feature-limited driver. The xf86-video-nv driver just doesn't have any future compared to the Nouveau driver.
With the Nouveau driver, for all supported GPU generations going back to the NV04 there is completed 2D EXA acceleration, X Render acceleration (except for the NV04/05 where its not physically possible), X-Video acceleration, RandR 1.2 support, kernel mode-setting, console restore support, NouveauFB, and suspend-and-resume support. Being worked on still is TV-Out, dual-link DVI, and power management support.
A few months back when we interviewed NVIDIA's Andy Ritger we asked him about the situation for this driver:
Q: Are there any plans in place to provide new features within the xf86-video-nv driver or to better engage with the Nouveau developers for some open-source support?
But what will NVIDIA do once a majority of the Linux distributions are shipping with Nouveau support? This will likely be in 2010. X.Org 7.6 is scheduled to be released in October of 2010 and a stable release of xf86-video-nouveau should certainly make it out by then, at which point the xf86-video-nouveau will likely be accepted as part of the X.Org package set and this would mean the demotion of the xf86-video-nv driver since there cannot be two drivers providing support for the same hardware.
The xf86-video-nv driver may find some life past Linux though with *BSD and OpenSolaris users until the TTM memory manager and other interfaces are ported over to their kernels which would allow the Nouveau driver to then function on those platforms, but even there NVIDIA's binary driver is available and is widely used.
What will NVIDIA do once there are no major users of the xf86-video-nv driver? (Granted, our 2009 Linux Graphics Survey already shows more -nouveau users than -nv, but both percentages are quite low right now.) We asked NVIDIA this morning how they plan to handle the situation, but so far there have been no comments. There are a few possibilities for what could happen:
- NVIDIA just outright quits committing any code at all to the xf86-video-nv driver and it goes the way of the XGI Linux driver and others.
- NVIDIA continues adding basic mode-setting support for new GPUs to this driver knowing that it is not widely being used, but that the Nouveau developers will likely look over this code for possible information in supporting new ASICs under their driver (although most of the Nouveau driver is developed through clean-room reverse engineering of the NVIDIA binary driver). This is the approach NVIDIA would use if they wish to not be associated at all with the Nouveau project.
- NVIDIA begins contributing basic support for new hardware to the Nouveau driver. This, of course, would be ideal.
- NVIDIA begins supporting the Nouveau project in some capacity other than code contributions.
- NVIDIA just provides no open-source contributions at all for new hardware.
What NVIDIA will actually do though is not yet known and may not even be known internally at NVIDIA Corp if they are waiting to see how the Nouveau situation pans out and how quickly it is adopted. It will be interesting to see how NVIDIA handles this situation especially as Intel and AMD continue to play quite well with the open-source Linux community with documentation drops, supporting developers, and continuing to advance their free software drivers at a brisk pace.
Share with us what you think NVIDIA will end up doing in this situation.
Latest Linux Hardware Reviews
Latest Linux Articles
Latest Linux News
Latest Forum Discussions