An LLVM-Based Intel GPU 3D Driver Won't Come Soon

Posted by Michael Larabel on February 03, 2013

This weekend in Brussels I heard about the state of Intel's initiative for migrating to an LLVM-based shader compiler for their open-source Mesa 3D driver to replace their existing custom compiler embedded within the driver. Unfortunately, the state of this LLVM-based compiler is rather meager.

Last August I wrote about how Intel was aiming for a higher performant driver and as part of that to switch to an LLVM-based shader compiler for a big performance win. After being unconvinced by LLVM and its IR for years, Intel Open-Source Technology Center developers last year expressed plans to switch to using an LLVM compiler rather than their own custom creation they have been maintaining for years.

They wanted to use LLVM since most projects in this area are using the open-source compiler infrastructure in some fashion. They want to take advantage of the LLVM IR, LLVM's optimizations, and other existing code rather than continuing to re-create their own code in this area.

I hadn't heard anything about an Intel LLVM compiler since last year in San Diego when it was originally talked about, so this weekend in Brussels at FOSDEM I asked Ian Romanick, Intel's lead Mesa developer, about this project.

While Intel has lots of open-source graphics driver developers working on their graphics stack, the LLVM shader compiler for their graphics driver isn't coming along. As for why there isn't any experimental Intel Mesa branch with an LLVM compiler or any other news on the topic is that this new compiler is no longer aggressively being pursued.

It turns out that LLVM integration is more of a nightmare than anticipated. Switching to an LLVM shader compiler in place of their in-house solution that's been assembled over the years is messy and the effort seems more or less stalled. It looks like eventually an LLVM-based compiler will come to their open-source 3D driver, but some day and not anytime soon.

Also in terms of Beignet or any other open-source OpenCL/GPGPU support for Intel on Linux, there isn't anything to officially report on at this time.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. Using Six Monitors With AMD's Open-Source Linux...
  3. Logitech Begins Supporting Linux Users
  4. OpenSUSE Considers Replacing LXDE With E17
  5. Sumo Lounge Emperor
  6. NetBSD 6.1 Brings In More Features
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite