1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

The State, Direction Of The PSCNV Nouveau Fork

Nouveau

Published on 27 October 2010 10:23 PM EDT
Written by Michael Larabel in Nouveau
38 Comments

Christopher Bergström of PathScale has passed along a note detailing some of the recent progress made by the Nouveau team and their developers working on PSCNV, their Nouveau driver fork. This includes 2D beginning to work on the GeForce 400 "Fermi" graphics hardware, open-source 3D for Fermi still being worked on, and a pool of documentation is beginning to form for the NVIDIA hardware by the open-source community. Here's the details in full.
1) pscnv for 2D Fermi is stable for one of our devs using it (I don't think it's been tested with gnome/kde though)
2) If you can find or figure out how to do a proper 2D benchmark then I'd bet we're faster. (by how much I don't know)
3) We still have a lot of work for some of the Fermi internals, but good progress is being made (If by any luck or magic it'll be "ready" by the end of the year)
4) 3D is still work-in-progress and most of the people on our team really dislike gallium so this may not improve unless someone steps up to help
5) The NV50 shader compiler was retargeted to NVC0 (This is mostly for testing purposes and gallium is of such low quality that I discourage the code from ever seeing the light of day)
6) With any luck or magic we'll soon have a complete set of timing data for nvidia.ko vs pscnv.ko at the instruction level. (I don't know of all of it will be public, but we'll likely post a summary of results)
7) We're putting together a lot of good docs - http://github.com/pathscale/pscnv/wiki/_pages

The important part of #5 is that they unified the shader/compute context with Fermi. This way as long as we're not causing a low level performance regression it only comes down to implementation of everything on top of it.. (eg is the shader compiler doing a good job.. is the CUDA generated code working as expected.. etc)

For those not familiar with PSCNV, as said in the introduction it's a fork of the Nouveau kernel driver being done by PathScale, the company that specializes in compilers. PathScale previously said they would port Nouveau to OpenSolaris (thought the state of this work is presently unknown) and they have also offered to buy Fermi graphics cards for open-source developers interested in working on the support.

With the PSCNV kernel driver they have replaced the TTM kernel memory manager used by Nouveau with their own custom memory management solution. While TTM is living upstream in the Linux kernel along with GEM (the Graphics Execution Manager), PathScale wanted to do away with the TTM management since it offers no security or memory protection, TTM moves buffer objects around without notice (causing problems for OpenCL, CUDA, etc), and TTM is difficult to port to other operating systems. Nouveau also does command submission and synchronization within kernel-space, which is something opposed by the PSCNV developers due to extra kernel trips.

Unlike upstream Nouveau that seems to provide some level of support for all of NVIDIA's graphics cards past and present, PSCNV is particularly focusing upon the NV50 GPUs and newer. The NV50 ASICs (the GeForce 8 series) is well supported and newer while it's the GeForce GTX 400 "Fermi" support that's currently being tackled. Support for pre-NV50 ASICs may work, but it's not a target for the PSCNV developers.

According to the PSCNV GitHub page where much of this information can be found, the video memory management is done (GART though is not), there is PFIFP/PGRAPH setup and command submission completed, and other areas are still a work in progress. These include PFIFO/PGRAPH error handling, accelerated X.Org Server KMS support, and power management. They also have a TODO list of tasks.

In the email to Phoronix, Bergström also laid out for what he hopes the PSCNV / Nouveau development communities will tackle next calendar year. This hopeful work includes OpenGL 4 support, codec and video support, greater portability (*BSD, OpenSolaris, and potentially ReactOS), and to provide a highly-optimized shader compiler.

Seeing OpenGL 4.0 support in any open-source Linux driver is perhaps quite ambitious with all of the current drivers being stuck at OpenGL 2.1 or less until OpenGL 3.x support in Mesa is figured out and coded (there's legal issues potentially holding it up), but if the support comes to fruition in 2011 for OGL4 that would be terrific.

More information to come soon.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. HOPE: The Ease Of Python With The Speed Of C++
  2. Use Ubuntu MATE 14.10 Make it an official distro.
  3. Users/Developers Threatening Fork Of Debian GNU/Linux
  4. Debian Is Back To Discussing Init Systems, Freedom of Choice
  5. AMD Radeon VDPAU Video Performance With Gallium3D
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  8. Linux hacker compares Solaris kernel code: