Gallium3D Compute Comes For Nouveau NVC0

Written by Michael Larabel in Nouveau on 5 July 2013 at 11:54 AM EDT. 1 Comment
NOUVEAU
While the reverse-engineered Nouveau graphics driver has limited support for OpenCL/GPGPU support, it's been mainly capped to older "NV50" graphics cards. Published today though for review are patches for the Fermi "NVC0" hardware to expose compute support as well as the hardware performance counters.

Samuel Pitoiset, working on the Nouveau driver as a GSoC project, added NVC0 compute support as needed for exposing the MP performance counters on NVIDIA GeForce 400/500 "Fermi" graphics cards. A 716 line patch adds in the Gallium3D compute support by leveraging the existing Gallium3D compute infrastructure. The support is basically the ability to launch a compute kernel with Nouveau on this more recent NVIDIA GeForce architecture.

Before getting too excited though, this is just very basic compute support and will not be really useful yet for end-users. The code is also under an "RFC" (Request For Comments) flag and will likely go through a few revisions before being merged into mainline Mesa, which might not happen until after Mesa 9.2 has been branched.

His second patch implements MP performance counters for NVC0 to NVC8. The NVC8 hardware is the GeForce GTX 560/570/580/590. This patch is just 440 lines of new code.

More details on the Nouveau/NVIDIA performance counter exploration can be found via Samuel Pitoiset's blog.
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