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. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  2. Intel Pentium G3258 On Linux
  3. SilverStone Precision PS10
  4. ASRock Z97 Extreme6
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. Open-Source AMD Hawaii Support Should Now Be Working!
  2. KDE Developers Continue Working Toward Wayland Support
  3. Ubuntu 14.04.1 LTS Released
  4. Linux Developers Jump Quickly On ACPI 5.1, Helps Out ARM
  5. Pkg 1.3.0 Released To Improve Package Management On FreeBSD
  6. GOG.com Officially Starts Rolling Out Linux Games
  7. Fedora 21 Has Been Delayed By Three Weeks
  8. Mono Begins To Focus On Performance, Assembles A Team
  9. Oracle Linux 7 Released Today As Its RHEL7 Clone
  10. Unigine Develops City Traffic System, A Driving Simulator
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  3. Radeon related kernel bug??
  4. how the US intellegentia operates:
  5. AMD Publishes Open-Source Linux HSA Kernel Driver
  6. Next-Gen OpenGL To Be Announced Next Month
  7. Open-Source Radeon Performance Boosted By Linux 3.16
  8. Remote gui not accessible in Phoronix Test Suite 5.2