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. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  2. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  3. AMD Radeon R9 285 Tonga Performance On Linux
  4. Apotop Wi-Copy
Latest Linux Articles
  1. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
  2. MSI: Update Your BIOS From The Linux Desktop
  3. NVIDIA vs. AMD 2D Linux Drivers: Catalyst Is Getting Quite Good At 2D
  4. 15-Way GPU Comparison With Mesa 10.3 + Linux 3.17
Latest Linux News
  1. Phoronix Test Suite 5.4 M3 Is Another Hearty Update
  2. GParted 0.20 Improves Btrfs Support
  3. EXT4 In Linux 3.18 Has Clean-ups, Bug Fixes
  4. Emacs 24.4 Has Built-In Web Browser, Improved Multi-Monitor Support
  5. NVIDIA's NVPTX Support For GCC Is Close To Being Merged
  6. KDE's KWin On Wayland Begins Using Libinput
  7. Khronos Releases OpenVX 1.0 Specification
  8. Linux Kernel Working Towards GNU11/C11 Compatibility
  9. Ubuntu 15.04 Is Codenamed After A Monkey: Vivid Vervet
  10. Following GCC, Clang Looks To Default To C11
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. Users/Developers Threatening Fork Of Debian GNU/Linux
  3. HOPE: The Ease Of Python With The Speed Of C++
  4. Bye bye BSD, Hello Linux: A Sys Admin's Story
  5. NVIDIA Presents Its Driver Plans To Support Mir/Wayland & KMS On Linux
  6. AMD Is Restructuring Again, Losing 7% Of Employees
  7. Open-Source AMD Fusion E-350 Support Takes A Dive
  8. Upgrade to Kaveri, very slow VDPAU performance