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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. NVIDIA Driver Soon Likely To Support EGL, Mir
  2. OpenMandriva Goes Into Alpha Form, Russian-Based
  3. NVIDIA Brings Their Linux Driver To ARM
  4. D Language Still Showing Promise, Advancements
  5. Planetary Annihilation Released For Linux Gamers
  6. Gentoo Starts Work On KDE-Wayland Support
  7. NVIDIA To License Its Kepler GPU Technology
  8. KDE's KWin Made Lots Of Progress In 4.11
  9. Ubuntu Announces Carrier Advisory Group
  10. Qt 5.1 Release Candidate 1 Has Arrived
  11. In-Fighting Continues Over Mir On Non-Unity Ubuntu
Latest Forum Talk
  1. Ubuntu Announces Carrier Advisory Group
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Gentoo Starts Work On KDE-Wayland Support
  4. OpenMandriva Goes Into Alpha Form, Russian-Based
  5. D Language Still Showing Promise, Advancements
  6. NVIDIA Driver Soon Likely To Support EGL, Mir
  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