QXL Gallium3D Wrapper Driver Is Brought Up

Posted by Michael Larabel on March 20, 2013

After a QXL KMS DRM driver was finally published for improving the desktop virtualization experience with Red Hat's Linux virtualization stack in conjunction with SPICE on QEMU, a Gallium3D wrapper driver is now being talked about.

Before getting too excited, however, this wrapper driver is about only optimizing the 3D experience for ultimately passing calls to Gallium3D's Softpipe / LLVMpipe software-based drivers. This isn't about passing calls onto any hardware driver/GPU on the VM's host system for an accelerated experience, as is an option when using VMware's virtualization products or Oracle VirtualBox. This new initiative is just about being more efficient with less overhead in running LLVMpipe when the QXL DRM driver is loaded.

QXL is the virtual GPU for Red Hat's SPICE rendering protocol for use in their virtualization stack. Aside from the new DRM/KMS driver, for basic 2D with X.Org has been the basic QXL DDX driver for some time, but when it comes to QXL 3D there hasn't been much love... However, for a long time there have been real Gallium3D aspirations.

David Airlie of Red Hat wrote about this new QXL wrapper work in a mailing list thread for Mesa developers. "So we have this virtual GPU with nothing approaching a 3D engine, so we are currently running llvmpipe with drisw on it. However this incurs some overheads that now that we have a kernel driver, I believe we can remove. The main overheads are putimage for all rendering from a 3D compositor and getimage calls for all texture-from-pixmap operations. So implementing a dri2 qxl driver that wraps llvmpipe operations using the sw winsys wrapper, seemed like a good idea."

So while this is a step forward for improving the desktop virtualization experience, using LLVMpipe is still a long ways from the GPU-capable VirtualBox and VMware solutions. For the near future at least, VMware's proprietary products are the only serious solution for those needing Linux desktop 3D guest support.

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. Intel GPU Driver Tries To Rip Out FBDEV Support
  2. Ubuntu Announces Carrier Advisory Group
  3. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  4. Handbrake 0.9.9 Supports OpenCL Offloading
  5. Planetary Annihilation Plans To Come To Linux
  6. LLVM 3.3 Officially Released
  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