LLVMpipe Gallium3D Is Used In Fedora 15

Posted by Michael Larabel on March 10, 2011

Fedora 15 is gearing up to be another great release from the Red Hat camp with new features like Linux power management improvements, full systemd integration, SPICE support for virt-manager, and consistent network device naming, among many other features. When it comes to open-source graphics drivers, Fedora tends to be on the leading edge of development seeing as Red Hat employs some of the key developers like David Airlie and Jerome Glisse. With Fedora 15, besides shipping with all of the latest kernel / X / Mesa bits, there is one interesting change that's gone largely unnoticed from their feature lists, etc.

This change is the defaulting to LLVMpipe when no other Mesa hardware drivers are available. LLVMpipe becomes the default to replace Mesa's classic software rasterizer.

LLVMpipe is a Mesa Gallium3D driver we have talked about much before as it leverages LLVM (the Low-Level Virtual Machine compiler infrastructure) to provide a much better CPU-based software rasterizer -- i.e. running OpenGL on your CPU -- that's a night and day difference between it and the classic "swrast" in Mesa.

LLVMpipe though does require a high-end CPU to do anything in terms of even running ioquake3-era games at a low resolution off your CPU. But at least it does more than Mesa's classic software rasterizer, which has problems churning out even one or two frames per second on even the best CPUs. Gallium3D LLVMpipe is being optimized over time and while it's still not really usable to end-users as CPU-based solution that's comparable to the software driver on Microsoft Windows, LLVMpipe is also useful to developers for debugging drivers and ruling out hardware drivers vs. core Mesa / Gallium3D bugs.


Obviously it's best to be just using a hardware graphics driver to actually take advantage of your GPU, but for hardware that's not yet supported or is broken with the open-source drivers, you will now find yourself on the Gallium3D LLVMpipe driver with Fedora 15. That was the case for me this week when trying out Fedora 15 Alpha on an Intel Sandy Bridge notebook from System76 that sports a NVIDIA GeForce GTX 485M graphics processor.

There is Fermi (GeForce 400/500 series) support in the open-source Nouveau Gallium3D driver for OpenGL acceleration and 2D/X-Video acceleration within the Nouveau kernel DRM, but accelerated support currently requires loading out-of-tree firmware/microcode. Thus when booting up Fedora 15 Alpha, I had kernel mode-setting without acceleration, so LLVMpipe popped into action. At least it's a Sandy Bridge notebook where the processor is obviously a screamer.

Unfortunately, LLVMpipe doesn't yet support running the GNOME Shell or Compiz. Those compositing window managers should be able to run off the CPU with LLVMpipe, but the GLX_EXT_texture_from_pixmap extension is not yet supported. So it's not a huge feature at this point, but it's a welcome change to see over the classic Mesa software rasterizer.

Fedora 15 is the first distribution I've come across where LLVMpipe is now the default fall-back.

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. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. The Wayland Situation: Facts About X vs. Wayland
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. Ubuntu Announces Carrier Advisory Group
  5. Intel Haswell HD Graphics 4600 vs. AMD Radeon...
  6. Planetary Annihilation Plans To Come To Linux
  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