[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] dedicated vga passthru problem with Intel igd at skylake


  • To: xen-users <xen-users@xxxxxxxxxxxxx>
  • From: Oliver Rath <oliver@xxxxxxxxxxxx>
  • Date: Fri, 12 Apr 2019 22:43:08 +0200
  • Autocrypt: addr=oliver@xxxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQENBFHJVI8BCACze64SNFpWE+6etnnUDOeR46jc4tzsaIsXVsm7G5GxZ7ACnh4Ua44L1axY gFRfZYOI6ry3t8WnXtrsdAJufCTl5zGNS51lmZHoNsCu8qq8wIlaFiV5tKo/cbZjzhmvcfl8 9z8jBmV1VZwA4bmdR7Q3PkEnvX7ziRAMUMRBEju8/zJXtd2wLf3P8XXF1MrX3yOCszMYHcP8 JdcB86WhRNN6ozsiSmb5VLXPhJeaYkpyeJFq00DzRR8eXRTZbFksGTjrSOhmA2+V/Fnyzqks rpaTo77HrHbealqSCafiJsa8KxZi29PMThAzvM5/BBHLMCo2UwmxGkIYSGTZNlKYyEYXABEB AAG0IU9saXZlciBSYXRoIDxvbGl2ZXJAZ3JlZW51bml0LmRlPokBVQQTAQIAPwIbIwYLCQgH AwIGFQgCCQoLBBYCAwECHgECF4AWIQRRF4xJV/qb39xYQLWdeXIRwUt6jQUCWyIlOgUJCzoE KwAKCRCdeXIRwUt6jd0bCACG3A/qeqUZT2Hb9Wpt/7/00Hv9bLO88KcWi1YNR6bEUe789Ppr sS43SM/Wj1uq7GQE820GAXwTCgD501KMK3ufpvyF+naqYP7DbcZ3B40gbpteJ1mG47y2wvBr 9fmlsDViuDfbfLHLeGI/n0xes6PmR1wv5myGEZjfx8Wa+ab8Ts6TmSjyUgCHgrXg/Aq6T1jP 1ep9UvcLTk4Stp/ezsOJ+FRoZKw5Wx9nOEhLiBRBtcykHV+KA6pbJBh/oPNmSX0PZWrgB5Sc mh5V53Wfp3pE3NmjSYzQgf3H3dHOaWcf0x2p0DNCe1cVW6fXurfoT5BNDLXwqf7GCgjAFhfT /tSmuQENBFHJVI8BCADRNaYXVY48ytKLzTS2nHo9MhmziZuhT5loVhe/gwksLNSm/DzxMp2U rC2wxVSjU5yxlXnJZ2r7wb37vMfJ0A395tIHMA/SZuA1DejSmMNxztl9HSyftRTvh0gQYIcj i9tZwFjCl62Nqxg2cRDpKXBxEiszNlJpSwIZbrjtDDaR7H/aZGQNrbqFdRIUOogzLPaxQPxV Dij0HHTs5r485HDKfD3YsHMf9M42C8fISXNFeUk83tnMpdPtzX04GiUZerCHWB6day80nrgn sCeGB5e8BhPi12y5UFEjuKvj3YvChdRKEGTM4nDdT+gLmFPteaZT5ydgaQytCegX4u2GQo2p ABEBAAGJATwEGAECACYCGwwWIQRRF4xJV/qb39xYQLWdeXIRwUt6jQUCWyIlQAUJCzoEMQAK CRCdeXIRwUt6jR7ZB/4593EwUfu1cweALZBhFtx0g20a7jVvP/1VfrW3edK8W+t95jmyUaVd Gw82bdWVmSE0E1uDb+enle2NsdSSaPq+0IAoRFl+YCqcEz76QMf3gcGjnBfmyNqUOBsr3juT A+vlWvsUuFBdPpKF9UUMEmnas7ukO+FdZC7RxdQnA9RnlXgfM3cgR8bu2lqrtsB//uRqfB8b Sjf0QejdsvgsdgmLoPSxRYIKuMNBtnk/YbpAR5YHOzPzKmP5l25B8CnpFXmAJdOLvDXvKUSQ QNwzFev5qdiv0nw2TUeeVyKEJQXYMeRX4QLU5zZ0utAoPdsR1xX8tm3jnJYpm/U63OWPQFw4
  • Delivery-date: Fri, 12 Apr 2019 20:44:28 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: preference=signencrypt

Hi list,

I try to passthrough the dedicate GPU (not a virtual part like xengt) to a xen DomU with Windows 10 (32bit) inside. Following the hints from the internet I try to passthrough the real Card as secondary to the internel qemu based gpu, but this gets an error:

# xl create /root/windows.cfg
Parsing config from /root/windows.cfg
libxl: error: libxl_qmp.c:341:qmp_handle_error_response: Domain 4:received an error message from QMP server: Need to enable igd-passthru if you're trying to passthrough IGD GFX
libxl: error: libxl_pci.c:1300:libxl__add_pcidevs: Domain 4:libxl_device_pci_add failed: -3
libxl: error: libxl_create.c:1575:domcreate_attach_devices: Domain 4:unable to add pci devices
libxl: error: libxl_domain.c:1038:libxl__destroy_domid: Domain 4:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 4:Unable to destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 4:Destruction of domain failed

Starting the DomU with igd (or "1") as primary card starts without an error, but in the vnc-window stands: "Guest has not initialized the display (yet)" without change, so that I assume, that the vm freezes.

The configuration is:

type='hvm'
vcpus=4
memory = 4096
name = "win10"
vif = [ 'type=ioemu,bridge=xenbr0,model=e1000' ]
disk = ['/dev/dmivg/xen-win10,,hda,w','/root//Win10_1809Oct_German_x32.iso,,hdc,cdrom']
#disk = ['/dev/dmivg/xen-win10,raw,hda,w','/root/intel-gfx.iso,,hdc,cdrom']
device_model_version = 'qemu-xen'
device_model_override = '/usr/local/lib/xen/bin/qemu-system-i386'
boot="c"
#serial='pty'
localtime=1
vnc=1
gfx_passthru='1'
pci=['00:02.0,permissive=1']

The only difference is setting gfx_passthru="0" for starting the vm to install the intel gfx drivers. Setting this to "igd" resulted the same as "1".  Isolating the GPU via "xl pci-assignable-add 00:02.0" works fine. The machine is a i5-6400T CPU with this GPU only:

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)

The result of

# xl pci-assignable-list
0000:00:02.0

Seems working with pciback module correctly.

I tried two different Configurations:

  • Xen-4.12 with Vanilla Kernel 5.0.7
  • Xen-4.10 with XenGT-Patches and Linux-4.17+ (including xengt kernel-modul) from xengt-sources

Both configurations got the same results.

Is it possible to passthrough this IGD VGA as dedicated card into xen? How can I install the drivers (setting igd to secondary)?

If you need more detailed information, please feel free to contact me!

Tfh!

Oliver




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.