Features/QXLKMSSupport

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(update status before alpha FESco meeting)
Line 13: Line 13:
 
* Name: [[User:alon| Alon Levy]]
 
* Name: [[User:alon| Alon Levy]]
  
<!-- Include you email address that you can be reached should people want to contact you about helping with your feature, status is requested, or  technical issues need to be resolved-->
 
 
* Email: <alevy@redhat.com>
 
* Email: <alevy@redhat.com>
  
 
== Current status ==
 
== Current status ==
* Targeted release: [[Releases/18 | Fedora 18 ]]  
+
* Targeted release: [[Releases/19 | Fedora 19 ]]  
* Last updated: 8-13-2012
+
* Last updated: 9-15-2012
 
* Percentage of completion: 70%
 
* Percentage of completion: 70%
  
Alpha (14th of August) will not have a testable version.
+
=== History===
 
+
* First proposed for F18.
I plan to have it testable at the next milestone - beta, 18th of September.
+
* Missed alpha. Alpha (14th of August) will not have a testable version.
 +
* Planned for beta. I plan to have it testable at the next milestone - beta, 18th of September.
 +
* Postponed to F19
  
 
No other features are dependent on it, and the fallback is to continue using the existing user space driver.
 
No other features are dependent on it, and the fallback is to continue using the existing user space driver.
 
<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
 
  
 
== Detailed Description ==
 
== Detailed Description ==
The current spice GPU driver for Linux guests is an X.org only driver. A kernel modesetting driver needs to be developed along with a new X.org driver that runs on top of it.
+
The current spice GPU driver for Linux guests is an X.org only driver. A kernel modesetting driver needs to be developed along with a new X.org driver that runs on top of it. This will allow it to work with the modesetting DDX driver and will require a new ioctl interface to update the qxl DDX driver to work on it. The driver needs to support all revisions of the qxl device.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Line 38: Line 37:
 
<!-- What work do the developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
 
<!-- What work do the developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
 
* Develop a basic modesetting driver for QXL GPU
 
* Develop a basic modesetting driver for QXL GPU
 +
** partially done
 
* Develop an acceleration/memory management interface for QXL GPU.
 
* Develop an acceleration/memory management interface for QXL GPU.
 +
** partially done
 
* Develop a new X.org driver on top of the new interfaces.
 
* Develop a new X.org driver on top of the new interfaces.
 +
** needs work
  
 
== How To Test ==
 
== How To Test ==

Revision as of 18:40, 15 September 2012


Contents

QXL/Spice KMS Driver

Summary

Currently the QXL driver is X.org only, a KMS driver is required to move forward with projects like spice 3D, and also to allow more features to be show in virt environments like plymouth.

Owner

  • Email: <alevy@redhat.com>

Current status

  • Targeted release: Fedora 19
  • Last updated: 9-15-2012
  • Percentage of completion: 70%

History

  • First proposed for F18.
  • Missed alpha. Alpha (14th of August) will not have a testable version.
  • Planned for beta. I plan to have it testable at the next milestone - beta, 18th of September.
  • Postponed to F19

No other features are dependent on it, and the fallback is to continue using the existing user space driver.

Detailed Description

The current spice GPU driver for Linux guests is an X.org only driver. A kernel modesetting driver needs to be developed along with a new X.org driver that runs on top of it. This will allow it to work with the modesetting DDX driver and will require a new ioctl interface to update the qxl DDX driver to work on it. The driver needs to support all revisions of the qxl device.

Benefit to Fedora

Fedora acts closer to native hardware inside spice VMs.

Scope

  • Develop a basic modesetting driver for QXL GPU
    • partially done
  • Develop an acceleration/memory management interface for QXL GPU.
    • partially done
  • Develop a new X.org driver on top of the new interfaces.
    • needs work

How To Test

  • Test inside a virtual machine with QXL support, via virt-manager: create a new vm with qxl video (default of 64MiB) and spice.
    • plymouth should show up along with smooth booting.
    • X should work as usual.

User Experience

  • There should be no regressions from the non kms driver experience.
  • If the qxl module isn't loaded (compiled out or forced not to load via kernel command line) driver should work as usual without kms.
  • Older drivers will not be supported when kms module is loaded. Fedora will update the kernel side by side with xf86-video-qxl so this won't be a problem.

Dependencies

  • kernel changes - drivers/gpu/drm/qxl
  • X.org changes - updated xf86-video-qxl

Contingency Plan

Do nothing, stay as we are now.

Documentation

See spice-space

Release Notes

Fedora 18 now ships a new qxl kernel driver that supports kernel mode setting.

Comments and Discussion