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. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. 17-Way Linux Graphics Card Comparison With Civilization Beyond Earth
  2. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  3. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  4. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
Latest Linux News
  1. Fedora Doesn't Yet Enable F2FS File-System Support
  2. XZ 5.2 Adds New Multi-Threaded Options
  3. Intel 2.99.917 X.Org Driver Released, 3.0 Release Finally Near
  4. Server-Side XCB Is Being Discussed For The X.Org Server
  5. Adreno A4xx Rendering With Freedreno Takes Shape
  6. Linux 3.19-rc1 Kernel Released Ahead Of Schedule
  7. X.Org Server 1.16.3 Released To Fix Security Issues
  8. Linux 3.19 Merge Window Closes Ahead Of Schedule
  9. MIPS R6 Architecture Now Supported By GCC
  10. LowRISC To Feature Tagged Memory & Minion Cores
Latest Forum Discussions
  1. FPS capped on Linux (AMD fglrx drivers)
  2. Maker3D - create your 3D RPG
  3. Need some hand holding with upgrading xserver
  4. Speeding up systemd networking service
  5. Major Performance Breakthrough Discovered For Intel's Mesa Driver
  6. Looking for an nVidia GPU, but not sure how well they are supported.
  7. Are there an app using HSA ?
  8. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems