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.

Latest Linux Hardware Reviews
  1. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  2. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  3. Overclocking The AMD AM1 Athlon & Sempron APUs
  4. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. FreeBSD Advances For ARM, Bhyve, Clang
  2. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  3. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  4. QEMU 2.0 Released With ARM, x86 Enhancements
  5. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  6. R600 Gallium3D Disables LLVM Back-End By Default
  7. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  8. Fedora Workstation Is Making Me Quite Excited
  9. Maynard: A Lightweight Wayland Desktop
  10. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  11. KDE 4.13 Is Being Released Today With New Features
  12. Trying Out Radeon R9 290 Graphics On Open-Source
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Radeon 8000M problematic on Linux?
  4. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  5. Suspected PHP Proxy Issue
  6. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  7. Change installation destination from home directory
  8. Bye bye BSD, Hello Linux: A Sys Admin's Story