[Spice-devel] WDDM driver for Win7?

Vans S vans_163 at yahoo.com
Tue Sep 13 02:14:15 UTC 2016


That table answers it. Thanks 谢昆明.  I think I need to make a separate discussion now about the flicker, I managed to record video using a physical camera showing the flicker. But any screen recorder soft in the guest does not capture it. 

    On Monday, September 12, 2016 9:13 PM, 谢昆明 <xiekm at yunchao.com> wrote:
 

 WDDM on windows 10 does not produce the flickers but the mouse is not as snappy as windows 7.  I think this could perhaps be due to Win10 itself.  I read that WDDM is supported from Vista and onward, why cant the qxl-wddm-dod driver work for windows 7 as well, maybe I am doing something wrong or there is a simple fix?
> qxl-wddm-dod  can't install at Windows 7 which  is Kernel Mode Display-Only Driver (KMDOD, Display only), and only can be installed at Win8 and above.
Windows Vista introduced WDDM 1.0Windows 7 supports major additions to WDDM known as WDDM 1.1;Windows 8 includes WDDM 1.2

WDDM 1.2 introduces new types of graphics drivers, targeting specific scenarios as described below:   
   - WDDM Full Graphics Driver: This is the full version of the WDDM graphics driver that supports hardware accelerated 2-D and 3-D operations. This driver is fully capable of handling all the render, display, and video functions. WDDM 1.0 and WDDM 1.1 are full graphics drivers. All Windows 8 client systems must have a full graphics WDDM 1.2 device as the primary boot device.
   - WDDM Display Only Driver: This driver is supported only as a WDDM 1.2 driver and enables IHVs to write a WDDM based kernel-mode driver that is capable of driving display-only devices. Windows handles the 2-D or 3-D rendering by using software-simulated GPU. Display-only devices are not allowed as the primary graphics device on client systems.
   - WDDM Render Only Driver: This driver is supported only as a WDDM 1.2 driver and enables IHVs to write a WDDM driver that supports rendering functionality only. Render-only devices are not allowed as the primary graphics device on client systems.
This table summarizes driver model versus the supported driver categories:
| Driver model/driver category | Full graphics | Display only | Render only |
| WDDM 1.0 (Windows Vista) | Yes | No | No |
| WDDM 1.1 (Windows 7) | Yes | No | No |
| WDDM 1.2 (Windows 8) | Yes | Yes | Yes |


  ------------------ Original ------------------From:  "Vans S"<vans_163 at yahoo.com>;Date:  Tue, Sep 13, 2016 00:44 AMTo:  "Frediano Ziglio"<fziglio at redhat.com>; Cc:  "spice-devel at lists.freedesktop.org"<spice-devel at lists.freedesktop.org>; Subject:  Re: [Spice-devel] WDDM driver for Win7? WDDM on windows 10 does not produce the flickers but the mouse is not as snappy as windows 7.  I think this could perhaps be due to Win10 itself.  I read that WDDM is supported from Vista and onward, why cant the qxl-wddm-dod driver work for windows 7 as well, maybe I am doing something wrong or there is a simple fix?

Im not sure how I can record it, because when I try there is no flickers.  To reproduce exactly, install QEMU + SPICE + spice-gtk from stable repos on Fedora 24 (or compile latest from source (freedesktop sources for spice), both produce the flicker.  Use Windows 7 SP1 32bit as the guest, and use the QXL XDDM driver from freedesktop spice. 

Use remote-viewer or the html5 client as the remote client.

Open task manager Performance tab and look at CPU Usage box.  It will flicker every update. This same flicker happens when you mouse over things like devices in device manager and when browsing.

To make the flicker go away, uninstall the QXL driver using device manager, or boot up the vm with VMWare or SDL driver.


 

    On Monday, September 12, 2016 12:22 PM, Frediano Ziglio <fziglio at redhat.com> wrote:
 

 > Is there a way to get the WDDM driver to work on Win7?

> I am having annoying flicker issues with the XDDM driver, where parts of the
> display that refresh (such as a moving chart) produces seizure inducing
> flickering on just that part of the display. I am assuming its some "what
> changed" algorithm QXL driver is using to only render changed parts of the
> video memory.

> I want to test with WDDM driver fixes this.

> Just a note that no driver, or vmware svga II driver produces no flickering,
> but then spice has other troubles like with mouse lag.


There is no actual WDDM driver for Windows 7 but perhaps would be better to
fix/improve the actual driver instead of trying another one.

Are you able to try current WDDM driver with a recent version of Windows
(like Windows 10) and see if the flickering is still present?

How can we reproduce the issue? Which application are you using?
Can you post a small video of the issue?

Frediano


   

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160913/59fcc94b/attachment.html>


More information about the Spice-devel mailing list