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. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
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. DNF Still Advancing As Experimental Yum For Fedora
  2. Logitech Begins Supporting Linux Users
  3. Modern Intel Gallium3D Driver Still Being Toyed With
  4. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  5. GCC 4.8.1 Compiler Due To Be Out Next Week
  6. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  7. Linux's "Ondemand" Governor Is No Longer Fit
  8. Firefox 22 Beta Enables WebRTC Support
  9. OpenSUSE 13.1 Milestone 1 Released
  10. DRM Graphics Driver Comes For Dove/Cubox
  11. JADE: An LLVM-Based Video Decoder For MPEG RVC
Latest Forum Talk
  1. X3: Albion Prelude Released For Linux Gamers
  2. Linux's "Ondemand" Governor Is No...
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  5. Modern Intel Gallium3D Driver Still Being Toyed...
  6. Greater Radeon Gallium3D Shader Optimization Tests
  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