<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,Alex</div><div>    Recently, I bought another platform with  i3-6100U to passthrough the GPU. The platform has only DP or HDMI output. I am very happy to success to passthrough igd and the usb controller. However, when the windows7 safe mode interface happens, the GUI is divided into three parts. And the keyboard is invalid. After the windows7 desktop occurs, the GPU and usb devices can run very perfectly. Did you meet this problem?</div><div><img src="cid:73b9bc9e$3$15756cb6ce3$Coremail$fulaiyang$163.com" style="line-height: 1.7; width: 992px; height: 649px;" orgwidth="992" orgheight="649" data-image="1"><img src="cid:270e646d$4$15756cb6ce3$Coremail$fulaiyang$163.com" style="line-height: 1.7; width: 998px; height: 731px;" orgwidth="998" orgheight="731" data-image="1"></div><div><br></div><div style="line-height: 23.7999992370605px;"><b style="line-height: 23.7999992370605px;"><span lang="EN-US" class="" style="font-size: 14pt;">environment :</span></b></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div style="line-height: 23.7999992370605px;"><span class=""><div style="line-height: 23.7999992370605px;">Intel Core i3-6100U @ 2.30GHz</div></span></div><div><span class=""><div style="line-height: 23.7999992370605px;">Intel Corporation Sky Lake Integrated Graphics </div><div>Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller</div><div style="line-height: 23.7999992370605px;"><b>DP output</b></div></span></div><div style="line-height: 23.7999992370605px;"><span class=""><div style="line-height: 23.7999992370605px;">Ubuntu 16.04 LTS <b>DESKTOP</b></div></span></div><div style="line-height: 23.7999992370605px;"><span class=""><div style="line-height: 23.7999992370605px;">Host kernel 4.7.2 x86_64 GNU/Linux</div></span></div><div style="line-height: 23.7999992370605px;"><span class=""><div style="line-height: 23.7999992370605px;">qemu 2.7.0</div></span></div></blockquote><div style="line-height: 23.7999992370605px;"><span class=""><div style="line-height: 23.7999992370605px;"><br></div><div style="line-height: 23.7999992370605px;"><b style="line-height: 23.7999992370605px;"><span lang="EN-US" class="" style="font-size: 14pt;">configuration:</span></b></div><div style="line-height: 23.7999992370605px;"><ul><li><span style="line-height: 23.7999992370605px;"><b>/boot/config-4.6.6</b></span></li></ul></div></span></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><span style="line-height: 23.7999992370605px;">    </span><span style="line-height: 23.7999992370605px;">CONFIG_VFIO_IOMMU_TYPE1=m<br></span><span style="line-height: 23.7999992370605px;">    CONFIG_VFIO=m<br></span><span style="line-height: 23.7999992370605px;">    CONFIG_VFIO_PCI=m<br></span><span style="line-height: 23.7999992370605px;">    CONFIG_VFIO_PCI_IGD=y<br></span><span style="line-height: 23.7999992370605px;">    CONFIG_VFIO_PCI_VGA=y<br></span><span style="line-height: 23.7999992370605px;">    CONFIG_FW_CFG_SYSFS=y <br></span><span style="line-height: 23.7999992370605px;">    CONFIG_FW_CFG_SYSFS_COMLINE=y</span><div><span class="">    CONFIG_INTEL_IOMMU_DEFAULT_ON=y</span></div></blockquote><span class="" style="line-height: 1.7;"><ul><li><span class="" style="line-height: 1.7;"><span style="line-height: 23.7999992370605px;"><b class=""></b></span></span><span style="line-height: 23.7999992370605px;"><b>/boot/grub/grub</b></span><span style="line-height: 23.7999992370605px;"></span><span style="line-height: 23.7999992370605px;"><b>.cfg</b></span></li></ul></span><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><div><span style="line-height: 23.7999992370605px;">            </span><span style="line-height: 23.7999992370605px;">/boot/vmlinuz-4.6.6 root=бн quiet splash intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 $vt_handoff modprobe.blacklist=i915 video=vesafb:off video=efifb:o</span><span style="line-height: 23.7999992370605px;" class="">ff  </span></div><div><ul><li><span style="line-height: 23.7999992370605px;"><b>modprobe vfio-pci vfio vfio_iommu_type1 pci_stub</b></span></li><li><b style="line-height: 23.7999992370605px;">dmesg</b></li></ul></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="">[    0.000000] ACPI: DMAR 0x00000000BCE8C130 0000CC (v01 INTEL  SKL      00000001 INTL 00000001)<br></span><span class="">[    0.000000] DMAR: IOMMU enabled<br></span><span class="">[    0.058391] DMAR: Host address width 39<br></span><span class="">[    0.058392] DMAR: DRHD base: 0x000000fed90000 flags: 0x0<br></span><span class="">[    0.058402] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e3ff0505e<br></span><span class="">[    0.058403] DMAR: DRHD base: 0x000000fed91000 flags: 0x1<br></span><span class="">[    0.058407] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da<br></span><span class="">[    0.058409] DMAR: RMRR base: 0x000000bc2d1000 end: 0x000000bc2f0fff<br></span><span class="">[    0.058410] DMAR: RMRR base: 0x000000bd800000 end: 0x000000bfffffff<br></span><span class="">[    0.058411] DMAR: ANDD device: 9 name: \_SB.PCI0.UA00<br></span><span class="">[    0.058413] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1<br></span><span class="">[    0.058414] DMAR-IR: HPET id 0 under DRHD base 0xfed91000<br></span><span class="">[    0.058415] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.<br></span><span class="">[    0.058416] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.<br></span><span class="">[    0.059827] DMAR-IR: Enabled IRQ remapping in xapic mode<br></span><span class="">[    5.456749] DMAR: ACPI device "device:68" under DMAR at fed91000 as 00:1e.0<br></span><span class="">[    5.456756] DMAR: No ATSR found<br></span><span class="">[    5.457052] DMAR: dmar0: Using Queued invalidation<br></span><span class="">[    5.457060] DMAR: dmar1: Using Queued invalidation<br></span><span class="">[    5.457077] DMAR: Setting RMRR:<br></span><span class="">[    5.457104] DMAR: Setting identity map for device 0000:00:02.0 [0xbd800000 - 0xbfffffff]<br></span><span class="">[    5.457128] DMAR: Setting identity map for device 0000:00:14.0 [0xbc2d1000 - 0xbc2f0fff]<br></span><span class="">[    5.457135] DMAR: Prepare 0-16MiB unity mapping for LPC<br></span><span class="">[    5.457153] DMAR: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]<br></span><span class="">[    5.457163] DMAR: Intel(R) Virtualization Technology for Directed I/O<br></span><span class="">[   30.971566] DMAR: DRHD: handling fault status reg 2<br></span><span class="">[   30.971574] DMAR: [DMA Write] Request device [00:02.0] fault addr 0 [fault reason 02] Present bit in context entry is clear<br></span><span class="">[   30.972223] DMAR: DRHD: handling fault status reg 3<br></span><span class="">[   30.972228] DMAR: [DMA Read] Request device [00:02.0] fault addr be380000 [fault reason 06] PTE Read access is not set<br></span><span class="">[   30.972799] DMAR: DRHD: handling fault status reg 3<br></span><span class="">[   30.972803] DMAR: [DMA Read] Request device [00:02.0] fault addr be380000 [fault reason 06] PTE Read access is not set<br></span><span class="">[   30.973377] DMAR: DRHD: handling fault status reg 3</span></blockquote><span style="line-height: 1.7;"><ul><li><span style="line-height: 1.7;"><b>lspci -nks </b></span></li></ul></span><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div style="line-height: 23.7999992370605px;">00:02.0 0300: 8086:1906 (rev 07)</div><div style="line-height: 23.7999992370605px;"><span class="Apple-tab-span" style="white-space: pre;">      </span>Subsystem: 1b0a:01c6</div><div style="line-height: 23.7999992370605px;"><span class="Apple-tab-span" style="white-space: pre;">    </span>Kernel driver in use: vfio-pci</div><div style="line-height: 23.7999992370605px;"><span class="Apple-tab-span" style="white-space: pre;">  </span>Kernel modules: i915</div><div><div>00:14.0 0c03: 8086:9d2f (rev 21)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Subsystem: 8086:7270</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Kernel driver in use: vfio-pci</div></div></blockquote><ul style="line-height: 23.7999992370605px;"><li><span style="line-height: 1.7;"><b>qemu cmdline bash</b></span></li></ul><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div>sudo /usr/bin/qemu-system-x86_64 \</div><div>-name pq \</div><div>-cpu host \</div><div>-machine pc,accel=kvm,usb=off \</div><div>-m 3072 \</div><div>-smp 4,sockets=1,cores=4,threads=1 \</div><div>-device vfio-pci,host=00:02.0,id=hostdev0,x-igd-opregion=on,bus=pci.0,addr=0x2 \</div><div>-nographic \</div><div>-vga none \</div><div>-drive file=/home/ruijie/win7_guan2.base,if=none,id=drive-ide0-0-1,format=qcow2,cache=writeback \</div><div>-device ide-hd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \</div><div>-netdev user,id=hostnet0 \</div><div>-device e1000,netdev=hostnet0,id=net0,mac=52:54:00:1a:0d:64 \</div><div>-device intel-hda,id=sound0 \</div><div>-device usb-ehci,id=ehci0 \</div><div>-device usb-tablet,id=input0 \</div><div>-monitor tcp:172.21.137.52:4444,server,nowait \</div><div>-device hda-micro,id=sound0-codec0,bus=sound0.0,cad=0 \</div><div>-device vfio-pci,host=00:14.0,id=xhci0 \</div><div>-device vfio-pci,host=00:14.2,id=xhci1 \</div><div>-vnc 172.21.137.52:5<span style="line-height: 1.7;">  </span></div></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>