LLVMpipe & Compiz 0.9 Still Don't Play Along

Posted by Michael Larabel on August 19, 2010

LLVMpipe is an especially interesting Gallium3D driver since it allows accelerating the state trackers atop any modern CPU, but for any close to decent level of performance when using OpenGL you need a hefty multi-core CPU (here's some LLVMpipe benchmarks just from last week) that supports the latest SSE4 instructions as well. While some OpenGL games will run with LLVMpipe and the performance of this driver that leverages the Low-Level Virtual Machine is much faster and better than Mesa's old software rasterizer or the Gallium3D Softpipe driver, Compiz nor the GNOME Shell (and most other compositing window managers) yet work with this driver.

LLVMpipe fails with the GNOME Shell and Compiz 0.8 because the LLVM+Gallium3D driver doesn't yet implement the GLX_EXT_texture_from_pixmap extension, which is needed for these desktop compositing window managers. Attempting to use the current LLVMpipe driver with such compositing managers will either result in a black/white screen or other show-stopping artifacts.

Eventually the LLVMpipe driver should support the texture-from-pixmap extension and a number of weeks back an initial implementation of this GLX extension was added to Mesa's Software Rasterizer. This may become more important once GNOME 3.0 ships with the GNOME Shell / Mutter and more Linux desktop users expect a composited experience regardless of whether there is a proper graphics driver or not, but with using LLVMpipe it will cost you some CPU cycles.

As was pointed out in our forums, with Compiz 0.9 the GLX_EXT_texture_from_pixmap support is no longer a hard requirement for Compiz. While using the texture-from-pixmap extension is the most efficient path for an OpenGL window compositor, with Compiz 0.9 comes a "copy mode" plug-in (called "copytex") that is not quite as fast with its copying of pixmap content to texture approach. Besides dropping the hard requirement against the proper GLX extension, this method also allows pixmaps bigger than the maximum texture size supported by the driver/GPU. However, even still Compiz 0.9 still isn't playing along well with the latest Git code.

When trying out the very latest Git code for Compiz and Mesa/Gallium3D/LLVMpipe from last weekend, there is progress in that it longer a solid-colored screen that appears when launching Compiz. However, the window decorations are not rendered and the overall experience still isn't usable. At least though we are heading in the right direction and we'll be continuing in our LLVMpipe/Gallium3D experiments.

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. Benchmarking The Intel P-State, CPUfreq Changes
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Logitech Begins Supporting Linux Users
  5. Modern Intel Gallium3D Driver Still Being Toyed With
  6. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  7. GCC 4.8.1 Compiler Due To Be Out Next Week
  8. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  9. Linux's "Ondemand" Governor Is No Longer Fit
  10. Firefox 22 Beta Enables WebRTC Support
  11. OpenSUSE 13.1 Milestone 1 Released
Latest Forum Talk
  1. Logitech Begins Supporting Linux Users
  2. Benchmarking The Intel P-State, CPUfreq Changes
  3. Modern Intel Gallium3D Driver Still Being Toyed...
  4. DNF Still Advancing As Experimental Yum For Fedora
  5. Openbenchmarking.org main page is damaged
  6. X3: Albion Prelude Released For Linux Gamers
  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