IGVT-g: Difference between revisions

imported>Gnidorah
No edit summary
imported>Gnidorah
No edit summary
Line 1: Line 1:
Intel GVT-g is a full GPU virtualization solution with mediated pass-through which allows host and multiple guests to share same Intel integrated videocard. Guest gets a near-native graphics peformance.
Intel GVT-g is a full GPU virtualization solution with mediated pass-through which allows host and multiple guests to share same Intel integrated videocard. Guest gets a near-native graphics peformance.


Win7-32 / Win7-64 / Win8.1-64 /Win10-RS1-64 are validated. Install recent Intel driver into the guest.
Win7-32 / Win7-64 / Win8.1-64 /Win10-RS1-64 are validated.


== Hardware Requirements ==
== Hardware Requirements ==
Line 57: Line 57:
== Configure KVM ==
== Configure KVM ==


Support for local display is present in Qemu 2.12. Only BIOS (SeaBIOS) machine is supported, UEFI (OVMF) is not supported.
Support for local display is present in Qemu 2.12.


=== Bare Qemu ===
=== Bare Qemu ===
Line 97: Line 97:
Finally use sudo virt-viewer --attach win10
Finally use sudo virt-viewer --attach win10


== Issues with libvirtd ==
== FAQ ==


* No video output
* No video output


Change main adapter type from QXL to say Cirrus
Possible solutions


* Still no video output
(libvirtd) Change main adapter type from QXL to say Cirrus


Ensure that mdev's hostdev device is the first or bump device.hostdev0 index
use BIOS (SeaBIOS) machine, UEFI (OVMF) is not supported


* "Element domain has extra content: qemu:commandline" error after editing via virsh
ensure that the recent Intel graphics driver is installed in the guest


You forgot to add <nowiki>xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'</nowiki>
* (libvirtd) "Element domain has extra content: qemu:commandline" error after editing via virsh


* no drm render node available
you forgot to add <nowiki>xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'</nowiki>


in virt-manager change spice display render node from auto to available one
* (libvirtd) "no drm render node available" error in virt-manager
 
in virt-manager change SPICE display render node from auto to available one
 
* "write_loop: No space left on device" error when creating mdev device
 
check dmesg output for gvt related error, most likely there is not enough VRAM


== Used sources ==
== Used sources ==


* [https://www.kraxel.org/blog/2018/04/vgpu-display-support-finally-merged-upstream/ <em>vgpu display support</em> on a contributor (kraxel)'s blog] - this guide misses info that Windows guests do require x-igd-opregion=on parameter and also that QXL goes into conflict
* [https://www.kraxel.org/blog/2018/04/vgpu-display-support-finally-merged-upstream/ <em>vgpu display support</em> on a contributor (kraxel)'s blog] - this guide misses info that Windows guest requires x-igd-opregion=on parameter and also that QXL may go into conflict
* https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide - obsoleted guide, but some parts are useful
* https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide - obsoleted guide, but some parts are useful
* https://github.com/intel/gvt-linux/wiki/Dma_Buf_User_Guide - obsoleted guide, but some parts are useful
* https://github.com/intel/gvt-linux/wiki/Dma_Buf_User_Guide - obsoleted guide, but some parts are useful