1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

A Virtual KMS Driver For QEMU Comes, Again

Linux Kernel

Published on 02 May 2012 02:03 PM EDT
Written by Michael Larabel in Linux Kernel
8 Comments

A virtual Cirrus KMS driver has once again appeared for providing kernel mode-setting support for virtualized guests using QEMU.

It was more than one year ago that a virtual Cirrus KMS driver was published by Red Hat's Matthew Garrett for use with QEMU/KVM virtualization, rather than just having the xf86-video-cirrus DDX driver to use. Back then the driver was working fairly well from my initial testing, but it never ended up being merged about or heard about again... Until today.

David Airlie has published an updated virtual Cirrus Linux KMS driver intended for use with QEMU. From the mailing list, "This is the initial driver for emulated cirrus GPU found in qemu. This driver only supports the emulated GPU and doesn't attempt to bind to any real cirrus GPUs. This driver is intended to be used with xf86-video-modesetting in userspace. This follow the same design as ast and mgag200, and is based on work done by Matthew Garrett previously. This GPU has no hw cursor, and it can't scanout 32-bpp, only packed 24-bpp. i.e. it sucks."

This virtual kernel mode-setting driver for the Linux kernel is just around 2,000 lines of code and will presumably be set for merging into the Linux 3.5 kernel. The xf86-video-cirrus isn't being adapted to handle the Cirrus DRM driver, but rather is intended to just work with the generic xf86-video-modesetting DDX.

This is just the latest basic KMS driver to be published by Red Hat. In recent weeks there's been a Matrox KMS driver and the AST KMS driver. After moving to ship DRI2-only drivers in Fedora 17, Red Hat is looking to ship KMS-only drivers in future versions of Red Hat Enterprise Linux.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Pentium G3258 On Linux
  2. SilverStone Precision PS10
  3. ASRock Z97 Extreme6
  4. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
Latest Linux Articles
  1. X.Org Server 1.16 Officially Released With Terrific Features
  2. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  3. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
  4. Linux 3.16 File-System Tests On A Hard Drive
Latest Linux News
  1. GCC 5.0 Is Expected Next Year
  2. PHP5's Successor Might Be PHP7
  3. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  4. AMDKFD Driver Still Evolving For Open-Source HSA On Linux
  5. GStreamer 1.4.0 Released; OpenGL Improvements, New Features
  6. New Intel GLAMOR Code Is Taking Shape & Running Fast
  7. LLVM 3.5 Gets A Tentative Release Date
  8. EFF Aims To Launch An Open Wireless Router
  9. Linux 3.16-rc6 Kernel Released
  10. It's Now Made Easier Porting Jolla's Sailfish OS To New Android Phones
Latest Forum Discussions
  1. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Next-Gen OpenGL To Be Announced Next Month
  4. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  5. AMD Publishes Open-Source Linux HSA Kernel Driver
  6. KDE Plasma 5 Officially Released
  7. Vote For GOG To Make Galaxy Open Source
  8. TSC Problem on Gigabyte GA-X79-UP4 (rev 1.1)