kvm-guest-drivers-windows icon indicating copy to clipboard operation
kvm-guest-drivers-windows copied to clipboard

VirtIO GPU DOD vs QXL

Open benbaker76 opened this issue 2 years ago • 9 comments

Is the VirtIO GPU DOD controller superior to the QXL controller? Is there any information you can provide in regard to the viogpudo driver and the performance differences?

Is there a signed version available to download?

Can you add support for these resolutions?

benbaker76 avatar Oct 25 '21 15:10 benbaker76

As display only drivers both virtio-dod and qxl-dod are almost the same. I don't have any performance numbers to compare viogpudod vs. qxldod, but I did some GPU benchmark comparing viogpudod vs. in-box MSFT driver, and the differences were extremely small.
As for me virtio gpu dod is a base for the future improvement and extension to
a Full Graphics or Render-Only WDDM driver https://docs.microsoft.com/en-us/windows-hardware/drivers/display/wddm-driver-and-feature-caps

Regarding to the signed drivers, you can try our latest drivers at https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.208-1/ All Win10 drivers there are attestation signed by Microsoft which should be enough to use those drivers in UEFI setups.

Yes, it shouldn't be a problem to add the most of the resolutions from that list. But just in case if you don't know, virtio-gpu provides dynamic resolutions changing mechanism that supported by Windows driver. You just need to add and run some binaries inside of your VM https://bugzilla.redhat.com/show_bug.cgi?id=1923886#c4 There only one restriction. The maximum size of the frame-buffer for Win10 platforms is 16MB at the moment which means that Height x Width should be less or equal 4MB We have another issue opened for tracing this problem https://github.com/virtio-win/kvm-guest-drivers-windows/issues/560

Best, Vadim.

vrozenfe avatar Oct 26 '21 00:10 vrozenfe

I was reading kraxel's blog post virtio-gpu and qemu graphics in 2021 regarding the new virtio-vga and virtio-vga-gl devices in qemu 6.1.

Second, blob resource support for the simple virtio-vga device is in progress, and it will bring support shared resource mappings to qemu. This will accelerate the display path due to less or no copying of pixel data.

Will the "blob resource support" improve the performance of this driver?

benbaker76 avatar Nov 08 '21 16:11 benbaker76

You are probably asking about https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Unfortunately, this feature will not be able to improve 2d rendering on Windows VMs

vrozenfe avatar Nov 08 '21 20:11 vrozenfe

As for me virtio gpu dod is a base for the future improvement and extension to a Full Graphics or Render-Only WDDM driver

Is any plan for this? I really need a full graphics WDDM driver because DOD driver's capability is so limited, more and more applications i can't run in VM(e.g. some application request VMR9).

BruceMok avatar Feb 09 '22 01:02 BruceMok

@BruceMok Sorry, the full graphics driver (with DirectX support) is not on a visible horizon.

YanVugenfirer avatar Feb 09 '22 13:02 YanVugenfirer

@BruceMok Sorry, the full graphics driver (with DirectX support) is not on a visible horizon.

@YanVugenfirer There are any open issue to track when this is added? Even if it takes a few years I'm interested in waiting, because I can't use GPU passthrough so this is the only thing that still holds me to VirtualBox.

matheuswillder avatar May 27 '22 12:05 matheuswillder

@matheuswillder I don't think there is an open issues. You can added.

In any case, technically QXL is not virtio-win driver and not managed in this repo, although our installer includes it. This is a project page: https://gitlab.freedesktop.org/spice/win32/qxl-wddm-dod

For virtio-gpu you can create an issue here.

YanVugenfirer avatar May 27 '22 14:05 YanVugenfirer

Okay thank you for the explanation. I searched before but only found #742 asking about 3D Acceleration in Windows 7. I opened a new issue about this here #773. Please feel free to suggest a better title for it if what I've created isn't good or if it's inaccurate (English is not my main language).

matheuswillder avatar May 27 '22 20:05 matheuswillder

@matheuswillder Thanks! The title looks OK.

YanVugenfirer avatar May 28 '22 16:05 YanVugenfirer