[ANNOUNCE] Intel GVT-g ISO for 2017-Q2 Release
by Xu, Terrence
Hi all,
We are pleased to release the Intel GVT-g ISO which contains all the 2017-Q2 updates for both KVMGT and XenGT. The setup guide is embedded in ISO, please refer to README file for more details.
This update consists of:
- GVT-g upgraded to new architecture which has been upstreamed from kernel 4.10.
- Supported server platforms: Intel(r) Xeon(r) E3_v4 and E3_v5 with Intel Graphics processor.
- Supported client platforms: Intel(r) Core(tm) 5th generation (code name: Broadwell) and 6th generation (code name: Skylake).
- Validated Guest OS: Windows7 32bit, Window7 64bit, Windows8.1 64bit, Windows10 64bit and Linux.
- GVT-g only supports remote display not local display by this release.
- Remote protocol: only guest-side remoting protocol is supported, host-side remoting connection like SPICE is working in progress. For example, user can use X11VNC for Guest Linux VM or TightVNC for Guest Windows VM.
KVMGT specific:
- QEMU version upgraded to 2.9 from 2.3 (There is no any specific code changes in QEMU for KVMGT, so people could directly use upstream QEMU as an alternative).
XenGT specific:
- Xen version upgraded to 4.9 from 4.6.
- QEMU version upgraded to 2.9 from 2.3.
Refer to Q2'17 KVMGT and XenGT release notes for more details.
ISO download link:
https://download.01.org/GVT-g/2017Q2/
Official GVT-g portal:
https://01.org/igvt-g
If you have any questions, please subscribe to join the mailing list:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to learn more about GVT-g project:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to contribute/review latest GVT-g upstream patches:
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Note: The KVMGT and XenGT project should be considered a work in progress. As such it is not a complete product nor should it be considered one. Extra care should be taken when testing and configuring a system to use the KVMGT and XenGT project.
Thanks
Terrence
Tel: +86-21-6116 5390
MP: +86-1356 4367 024
Mail: terrence.xu(a)intel.com
_______________________________________________
GVT-g mailing list
iGVT-g(a)lists.01.org
https://lists.01.org/mailman/listinfo/igvt-g
3 years, 6 months
Intel GVT in not working on Xen
by Asharaf Perinchikkal
Hi All,
We are trying bring up xen 4.8 1 on 4th Generation Intel® Core™ i7 with Graphics Virtualization Technology(GVT) support.
We are running two guest OS Automotive grade linux and Ubuntu 16.04 on Ubuntu 16.04 as host OS with Kernal Version 4.12.0-rc5+ on both guest and host. The Guests are up and running. But it seems graphics virtualization is not working, frame per seconds(fps) for some graphic application is very low[fps=3-5].
We followed all steps mentioned in setup guide [https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide] and details are given below. Request support to resolve the issue.
Hardware
#############
Intel® Core™ i7-4790 CPU @ 3.60GHz × 8 - 4th Generation
Xen
#############
host@d1609:~$ sudo xl info
host : d1609
release : 4.12.0-rc5+
version : #1 SMP Mon Jun 19 12:14:28 IST 2017
machine : x86_64
nr_cpus : 8
max_cpu_id : 7
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 2
cpu_mhz : 3591
hw_caps : b7ebfbff:77faf3ff:2c100800:00000021:00000001:000027ab:00000000:00000100
virt_caps : hvm hvm_directio
total_memory : 8100
free_memory : 3889
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 8
xen_extra : .1
xen_version : 4.8.1
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder dom0_mem=4096M iommu=1 dom0_max_vcpus=8 dom0_vcpus_pin=1 loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1,0x03f8,0 console=com1 xencons=ttyS0
cc_compiler : gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
cc_compile_by : root
cc_compile_domain :
cc_compile_date : Tue Jun 20 13:47:59 IST 2017
build_id : 8ac4caed0016281d350e7916000ee6e0f8e7abda
xend_config_format : 4
host@d1609:~$
Host Kernal
############
Kernal source : https://github.com/01org/gvt-linux
Kernal Version : 4.12.0-rc5+
Kernal Config :-
467:CONFIG_XEN=y
468:CONFIG_XEN_PV=y
469:CONFIG_XEN_PV_SMP=y
470:CONFIG_XEN_DOM0=y
471:CONFIG_XEN_PVHVM=y
472:CONFIG_XEN_PVHVM_SMP=y
473:CONFIG_XEN_512GB=y
474:CONFIG_XEN_SAVE_RESTORE=y
475:# CONFIG_XEN_DEBUG_FS is not set
476:CONFIG_XEN_PVH=y
806:CONFIG_PCI_XEN=y
829:CONFIG_XEN_PCIDEV_FRONTEND=m
1828:# CONFIG_NET_9P_XEN is not set
2145:CONFIG_XEN_BLKDEV_FRONTEND=y
2146:CONFIG_XEN_BLKDEV_BACKEND=m
2364:CONFIG_XEN_SCSI_FRONTEND=m
2891:CONFIG_NETXEN_NIC=m
3353:CONFIG_XEN_NETDEV_FRONTEND=y
3354:CONFIG_XEN_NETDEV_BACKEND=m
3754:CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
3891:CONFIG_HVC_XEN=y
3892:CONFIG_HVC_XEN_FRONTEND=y
3937:CONFIG_TCG_XEN=m
4579:CONFIG_XEN_WDT=m
5720:CONFIG_XEN_FBDEV_FRONTEND=m
6699:# CONFIG_MMC_SDHCI_XENON is not set
7078:# Xen driver support
7080:CONFIG_XEN_BALLOON=y
7081:CONFIG_XEN_SELFBALLOONING=y
7082:CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
7083:CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT=512
7084:CONFIG_XEN_SCRUB_PAGES=y
7085:CONFIG_XEN_DEV_EVTCHN=m
7086:CONFIG_XEN_BACKEND=y
7087:CONFIG_XENFS=m
7088:CONFIG_XEN_COMPAT_XENFS=y
7089:CONFIG_XEN_SYS_HYPERVISOR=y
7090:CONFIG_XEN_XENBUS_FRONTEND=y
7091:CONFIG_XEN_GNTDEV=m
7092:CONFIG_XEN_GRANT_DEV_ALLOC=m
7093:CONFIG_SWIOTLB_XEN=y
7094:CONFIG_XEN_TMEM=m
7095:CONFIG_XEN_PCIDEV_BACKEND=m
7096:CONFIG_XEN_SCSI_BACKEND=m
7097:CONFIG_XEN_PRIVCMD=m
7098:CONFIG_XEN_ACPI_PROCESSOR=y
7099:CONFIG_XEN_MCE_LOG=y
7100:CONFIG_XEN_HAVE_PVMMU=y
7101:CONFIG_XEN_EFI=y
7102:CONFIG_XEN_AUTO_XLATE=y
7103:CONFIG_XEN_ACPI=y
7104:CONFIG_XEN_SYMS=y
7105:CONFIG_XEN_HAVE_VPMU=y
7044:CONFIG_VFIO_IOMMU_TYPE1=y
7045:CONFIG_VFIO_VIRQFD=y
7046:CONFIG_VFIO=y
7047:# CONFIG_VFIO_NOIOMMU is not set
7048:CONFIG_VFIO_PCI=y
7049:CONFIG_VFIO_PCI_VGA=y
7050:CONFIG_VFIO_PCI_MMAP=y
7051:CONFIG_VFIO_PCI_INTX=y
7052:CONFIG_VFIO_PCI_IGD=y
7053:CONFIG_VFIO_MDEV=y
7054:CONFIG_VFIO_MDEV_DEVICE=y
9089:CONFIG_KVM_VFIO=y
5570:CONFIG_DRM_I915_GVT=y
5571:# CONFIG_DRM_I915_GVT_KVMGT is not set
Host Grub
############
multiboot ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts} dom0_mem=4096M iommu=1 dom0_max_vcpus=8 dom0_vcpus_pin=1 loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1,0x03f8,0 console=com1 xencons=ttyS0
echo '$(echo "$lmessage" | grub_quote)'
module ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args} i915.enable_gvt=1 intel_iommu=igfx_on iommu=1 i915.hvm_boot_foreground=0 i915.enable_vgtbuffer=1 i915.propagate_monitor_to_guest=0 i915.vgt=1 i915.hang_threshold=300 i915.enable_hangcheck=0 i915.enable_reset=1 xencons=ttyS0 console=ttyS0
hvm configuration file
######################
hvm configuration file /etc/xen/agl-i7.hvm is given below:
builder='hvm'
vcpu = 2
memory = 1024
name = "AGLGuest"
vif = [ 'type=ioemu,mac=00:23:F7:34:69:9B,bridge=xenbr0,model=e1000' ]
kernel="/home/host/backup/bzImage_xen_64"
disk = ['phy:/dev/vg1/agl-guest-1,xvda,rw']
extra = 'root=/dev/xvda console=hvc0'
device_model_version='qemu-xen'
boot="dnc"
serial='pty'
xenconsole='ttyS0'
usb=1
usbdevice='tablet'
viridian=1
sdl = 1
vnc = 1
keymap='en-us'
vgt=1
vgt_low_gm_sz=64
vgt_high_gm_sz=384
vgt_fence_sz=4
soundhw="ac97
Thanks & Regards
Asharaf P.
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------
3 years, 8 months
[GVT-g] [Intel-gfx] [ANNOUNCE] 2017-Q2 release of XenGT (Intel GVT-g for Xen)
by Xu, Terrence
Hi all,
We are pleased to announce an update of Intel GVT-g for Xen.
Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel processor graphics. A virtual GPU instance is maintained for each VM, with part of performance critical resources directly assigned. The capability of running native graphics driver inside a VM, without hypervisor intervention in performance critical paths, achieves a good balance among performance, feature, and sharing capability. GVT-g for Xen hypervisor is XenGT.
Repositories
- Xen : https://github.com/01org/igvtg-xen (tag: 2017-q2-xengt-stable-4.9)
- Kernel: https://github.com/01org/gvt-linux/ (tag: 2017-q2-gvt-stable-4.11)
- Qemu: https://github.com/01org/igvtg-qemu (tag: 2017-q2-stable-2.9.0)
This update consists of:
- GVT-g upgraded to new architecture which has been upstreamed from kernel 4.10.
- QEMU version upgraded to 2.9 from 2.3.
- Xen version upgraded to 4.9 from 4.6.
- Supported server platforms: Intel(r) Xeon(r) E3_v4 and E3_v5 with Intel Graphics processor.
- Supported client platforms: Intel(r) Core(tm) 5th generation (code name: Broadwell) and 6th generation (code name: Skylake).
- Validated Guest OS: Windows7 32bit, Window7 64bit, Windows8.1 64bit, Windows10 64bit and Linux.
- GVT-g only supports remote display not local display by this release.
- Remote protocol: only guest-side remoting protocol is supported, host-side remoting connection like SPICE is working in progress. For example, user can use X11VNC for Guest Linux VM or TightVNC for Guest Windows VM.
Limitation or known issues:
- GVT-g can support maximum 7 Guest VMs due to host graphics resource limitation. When user runs 7 VMs simultaneously, host OS can only run in text mode.
- In order to support Guest Windows7 32bit VM, user is recommended to add vgt_low_gm_sz=128 in HVM file because Guest Windows7 32bit VM needs more graphics resource than other Guest VM.
- In order to support Guest VM high resolution and screen resolution adjustable in Guest Windows8.1 64bit VM and Guest Windows10 64bit VM, user is recommended to configure vgt_low_gm_sz=64 / 128 / 256 / 512 in HVM file to get larger VM aperture size.
- In corner case, Guest Windows 8.1 64bit VM may be killed automatically by Xen when Guest VM runs into TDR. This issues happens only on Broadwell platform.
- In corner case, Guest Windows VMs may be killed automatically by Xen when user shutdowns the last launched Guest Windows VM. This issues happens only on Broadwell platform.
- In corner case, Guest Linux VM virtual display screen may freeze and not be able to recover when Guest VM runs into a TDR, but the Guest VM is still running and alive which can be accessed through SSH.
Setup guide:
https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide
This is the first GVT-g community release based on new Upstream architecture design, refer to the following document for new architecture introduction:
https://01.org/igvt-g/documentation/intel-gvt-g-new-architecture-introduc...
Please subscribe to join the mailing list if you want to learn more about GVT-g project:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to contribute/review latest GVT-g upstream patches:
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Official GVT-g portal:
https://01.org/igvt-g
More information about background, architecture and others about Intel GVT-g, can be found at:
https://01.org/igvt-g
https://www.usenix.org/conference/atc14/technical-sessions/presentation/tian
http://events.linuxfoundation.org/sites/events/files/slides/XenGT-Xen%20S...
http://events.linuxfoundation.org/sites/events/files/slides/XenGT-Xen%20S...
https://01.org/xen/blogs/srclarkx/2013/graphics-virtualization-xengt
Note:
The XenGT project should be considered a work in progress. As such it is not a complete product nor should it be considered one. Extra care should be taken when testing and configuring a system to use the XenGT project.
Thanks
Terrence
Tel: +86-21-6116 5390
MP: +86-1356 4367 024
Mail: terrence.xu(a)intel.com
_______________________________________________
iGVT-g mailing list
iGVT-g(a)lists.01.org
https://lists.01.org/mailman/listinfo/igvt-g
3 years, 8 months
[GVT-g] [Intel-gfx] [ANNOUNCE] 2017-Q2 release of KVMGT (Intel GVT-g for KVM)
by Xu, Terrence
Hi all,
We are pleased to announce an update of Intel GVT-g for KVM.
Intel GVT-g for KVM (a.k.a. KVMGT) is a full GPU virtualization solution with mediated pass-through, starting from 5th generation Intel Core(TM) processors with Intel processor graphics. A virtual GPU instance is maintained for each VM, with part of performance critical resources directly assigned. The capability of running native graphics driver inside a VM, without hypervisor intervention in performance critical paths, achieves a good balance among performance, feature, and sharing capability.
Repositories:
- Kernel: https://github.com/01org/gvt-linux/ (tag: 2017-q2-gvt-stable-4.11)
- Qemu: https://github.com/01org/igvtg-qemu (tag: 2017-q2-stable-2.9.0)
This update consists of:
- GVT-g upgraded to new architecture which has been upstreamed from kernel 4.10.
- QEMU version upgraded to 2.9 from 2.3 (There is no any specific code changes in QEMU for KVMGT, so people could directly use upstream QEMU as an alternative).
- Supported server platforms: Intel(r) Xeon(r) E3_v4 and E3_v5 with Intel Graphics processor.
- Supported client platforms: Intel(r) Core(tm) 5th generation (code name: Broadwell) and 6th generation (code name: Skylake).
- Validated Guest OS: Windows7 32bit, Window7 64bit, Windows8.1 64bit, Windows10 64bit and Linux.
- GVT-g only supports remote display not local display by this release.
- Remote protocol: only guest-side remoting protocol is supported, host-side remoting connection like SPICE is working in progress. For example, user can use X11VNC for Guest Linux VM or TightVNC for Guest Windows VM.
Limitation or known issues:
- GVT-g can support maximum 7 Guest VMs due to host graphics resource limitation. When user runs 7 VMs simultaneously, host OS can only run in text mode.
- In order to support Guest Windows7 32bit VM, user can only uses vGPU type1, type2, type4 not type8 because Guest Windows7 32bit VM needs more graphics resource than other Guest VM.
- Some 3rd party applications/tools like GPU_Z, Passmark 9.0 may read/write GPU MSR directly, it will trigger VM BSOD since those MSRs are unhandled registers in KVMGT. The workaround is to set MSR read /write ignore flag to 1 in host grub file by adding "kvm.ignore_msrs=1".
- In corner case, Guest Linux VM virtual display screen may freeze and not be able to recover when Guest VM runs into a TDR, but the Guest VM is still running and alive which can be accessed through SSH.
Setup guide:
https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide
This is the first GVT-g community release based on new Upstream architecture design, refer to the following document for new architecture introduction:
https://01.org/igvt-g/documentation/intel-gvt-g-new-architecture-introduc...
Please subscribe to join the mailing list if you want to learn more about GVT-g project:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to contribute/review latest GVT-g upstream patches:
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Official GVT-g portal:
https://01.org/igvt-g
More information about background, architecture and others about Intel GVT-g, can be found at:
http://www.linux-kvm.org/images/f/f3/01x08b-KVMGT-a.pdf
https://www.usenix.org/conference/atc14/technical-sessions/presentation/tian
Note:
The KVMGT project should be considered a work in progress. As such it is not a complete product nor should it be considered one. Extra care should be taken when testing and configuring a system to use the KVMGT project.
Thanks
Terrence
Tel: +86-21-6116 5390
MP: +86-1356 4367 024
Mail: terrence.xu(a)intel.com
_______________________________________________
iGVT-g mailing list
iGVT-g(a)lists.01.org
https://lists.01.org/mailman/listinfo/igvt-g
3 years, 8 months
what can I do with GPU crashes/resets
by Nick S
Hi everybody,
I am looking for suggestions how to troubleshoot my guest VM crashing or
freezing host GPU.
I am running the kernel from the gvt-stable-4.11 branch. When I run a
certain game inside my virtual machine, it results in a GPU crash or reset
message in dmesg output and a direct-x error in the host. It usually runs
for several minutes and then produces the following dmesg output:
[ 495.290792] [drm] GPU HANG: ecode 9:0:0x85ddfffb, reason: Hang on render
ring, action: reset
[ 495.290794] [drm] GPU hangs can indicate a bug anywhere in the entire
gfx stack, including userspace.
[ 495.290795] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
[ 495.290796] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[ 495.290797] [drm] The gpu crash dump is required to analyze gpu hangs,
so please always attach it.
[ 495.290798] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 495.290856] drm/i915: Resetting chip after gpu hang
[ 495.291399] [drm] RC6 on
[ 495.306556] [drm] GuC firmware load skipped
I am looking for suggestions how can I troubleshoot this. Is the code from
gvt-stable-4.11 already merged into the upstream kernel so that I can file
that bug report dmesg suggests?
Thank you,
Nick
3 years, 8 months
Crystal Well / Haswell support
by Ahmad Jagot
Hello,
What would be involved in bringing Haswell support back to iGVT-g?
I personally have 2 Haswell-era systems bought specifically for playing
with this technology. Unfortunately, it seems this is no longer possible,
making my investment rather worthless.
It is much harder to find machines (especially laptops) with
newer-generation, eDRAM-equipped 'Iris Pro' class graphics -- hardware
ideally suited to graphics virtualization -- whereas the similarly capable
Iris Pro 5200 GPU is still very accessible (eg. in Apple hardware).
I realize this is not the first time this has been raised (
https://lists.01.org/pipermail/igvt-g/2017-January/001075.html) -- Would
Intel therefore be willing to bring back support for Haswell-era GPUs?
Kind regards,
Ahmad
3 years, 9 months