Nouveau Page-Flipping For NV50/Fermi Is Flipped On

Written by Michael Larabel in Nouveau on 11 February 2011 at 10:32 AM EST. 7 Comments
NOUVEAU
While we are only half-way into the Linux 2.6.38 kernel development cycle with there still being a number of weeks before its formal release, there is already a reason to look forward to the Linux 2.6.39 kernel if you use -- or plan to utilize -- the open-source Nouveau graphics driver for NVIDIA graphics cards. What's there to be excited over is page-flipping being enabled by defaultfor the NVIDIA GeForce 400/500 "Fermi" and GeForce 8/9/100/200/300 "NV50" graphics cards.

Hitting the Git repository this week where the Nouveau DRM (Direct Rendering Manager) code for the Linux kernel is developed are two prominent commits alongside several other NV50 and NVC0 "Fermi" commits. This commit enables Nouveau KMS page-flipping for the NV50 class, which covers lots of hardware currently in use out there. This commit that came in shortly thereafter enables page-flipping for the NVC0/Fermi graphics cards.

There's been kernel mode-setting support for the GeForce 400 "Fermi" graphics cards for a couple of kernel releases now, but it's not until the Linux 2.6.38 kernel that there's actually the necessary support in the DRM driver for supporting 3D acceleration (and also needing the latest Mesa code on the user-space side). For now, this support also requires using external, out-of-tree firmware/microcode for the NVC0/Fermi acceleration. With the Linux 2.6.39 kernel, there's now page-flipping. It wasn't until recently that the open-source ATI driver even had KMS page-flipping in its mainline code-base.

Page flipping, of course, dramatically improves performance. Not only does it improve the performance by just changing the pointer between the front and back buffers rather than copying the entire contents back and forth, but this is also designed to lead to tear-free screen updating.

Ideally, by the time the Linux 2.6.39 kernel merge window opens there will be more advancements for the Nouveau project and the other open-source graphics drivers on Linux.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week