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

Gallium3D Compute Infrastructure Is On Approach

Mesa

Published on 22 March 2012 10:09 PM EDT
Written by Michael Larabel in Mesa
10 Comments

The Gallium3D compute infrastructure, which is the underlying work for supporting OpenCL over this open-source graphics driver architecture, is on approach for landing in the very near future. This has been one damn good day for open-source Linux graphics drivers following the earlier Nouveau surprise announcements.

Francisco Jerez is a Nouveau developer for the past few months has been working on an X.Org EVoC project for running OpenCL with the open-source Nouveau driver. His project was based upon the earlier work of the Clover OpenCL state tracker, the OpenCL work done last year for Google's Summer of Code, and other work by various individuals on bringing up OpenCL/GPGPU computing over Mesa/Gallium3D. Francisco was successful with his work and has made it possible to execute OpenCL with Nouveau Gallium3D (even prior to Radeon Gallium3D doing OpenCL), but the Mesa/Gallium3D bits have yet to land in the mainline tree. That's now beginning to change with the publishing of the first part of the patch-set for inclusion.

As Francisco Jerez began his e-mail message, "This patch series is part of the ongoing work to put together a compute stack on top of Gallium3D."

He's broken this work into six parts (or building blocks as he calls it) and consist of the Gallium3D API and TGSI changes, other fixes and additions to the Gallium3D helper libraries, the OpenCL state tracker itself, an implementation of the R600 Gallium3D driver that works with AMD's LLVM back-end, an implementation of this Nouveau NV560 driver that works with another NV50/NC0 code-generator, and then finally is an LLVM back-end that will be used with LLVM's Clamg to translate compute programs from the OpenCL language and into TGSI, the IR used by the Gallium3D drivers.

Francisco has sent off the first component (the Gallium3D API and TGSI changes) as part of this first message while the second block (the other Gallium3D prerequisite changes) has already been sent in too. For the OpenCL state tracker, he's landed all of that work into a new Gallium-Compute branch of Mesa.

The remaining portions (the R600g and NV50 driver implementations of the compute infrastructure and then the LLVM back-end for translating the OpenCL into TGSI) is still considered "immature" so he's not trying to push that at the moment, but the non-mainline form of these changes are publicly available.

So it looks like at least for Mesa 8.1 we will have the necessary Gallium3D/TGSI changes land plus the Clover/OpenCL state tracker. Hopefully the bits implementing the compute support for R600g and NV50 (and ideally NVC0) will be ready in time too for the summer update to Mesa. It's terrific to see that nearly four years after OpenCL 1.0 was ratified, it's finally coming about in an open-source way for GPUs on the Linux desktop.

For Radeon Evergreen owners who want to begin playing with open-source OpenCL acceleration, there is a guide available.

It's not been just one day great for open-source graphics drivers, but rather an entire week with the release of Intel Haswell code, initial support for the very interesting PowerVR-killer Intel Valleyview Atom SoC, and AMD finally having out Radeon HD 7000 series / Trinity Fusion APU open-source Linux support. The Linux 3.4 kernel pull also was accepted today with many interesting features and advancements.

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: