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. 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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Freedreno Gallium3D Now Banging The Adreno A3XX
  2. Jolla Announces Their First Phone
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. NetBSD 6.1 Brings In More Features
  5. Using Six Monitors With AMD's Open-Source Linux Driver
  6. Benchmarking The Intel P-State, CPUfreq Changes
  7. FreeBSD Still Working On Next-Gen Package Manager
  8. DNF Still Advancing As Experimental Yum For Fedora
  9. Logitech Begins Supporting Linux Users
  10. Modern Intel Gallium3D Driver Still Being Toyed With
  11. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
Latest Forum Talk
  1. Jolla Announces Their First Phone
  2. Logitech Begins Supporting Linux Users
  3. Logitech supports linux!
  4. Freedreno Gallium3D Now Banging The Adreno A3XX
  5. The Cost Of Ubuntu Disk Encryption
  6. Features Being Developed For KDE 4.11 Desktop
  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