<div dir="ltr"><div><div><div><div><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">I think I made myself misunderstood, <br></span></span></div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br>1 - Host is Linux kernel 4.9.7 .<br><br></span></span></div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">Linux ubuntu 4.4 is the guest.<br><br></span></span></div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">The patch in 4.11 is relevant to guest machine or host machine ?<br></span></span></div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br></span></span></div><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">2 - yes.<br></span></span></div><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br>Regards,<br></span></span></div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">Nicolas<br></span></span><div><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br></span></span><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-"><br><br></span></span></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-02 14:41 GMT+01:00 Manuel Ullmann <span dir="ltr"><<a href="mailto:ullman.alias@posteo.de" target="_blank">ullman.alias@posteo.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
in theory kernel 4.4 does not support vfio-igd yet, but since it works<br>
for Broadwell/Skylake, Ubuntu seems to have backported the patches.<br>
<br>
There was a fix released for Kabylake, that will be introduced in kernel<br>
v4.11. Interesting by the way, that it works to some extent. I’ve seen<br>
that screen division by three also on a bare-metal Win10 machine, but I<br>
don’t know, what hardware that had. Fixed it by rebooting into a Linux<br>
Mint iso and subsequently rebooting back into Windows. So two questions:<br>
<br>
1. Does the fix for Kabylake help, that will be<br>
   introduced in kernel 4.11?<br>
    <a href="https://lkml.org/lkml/2017/1/19/458" rel="noreferrer" target="_blank">https://lkml.org/lkml/2017/1/<wbr>19/458</a><br>
2. Is this reproducible on a cold reboot?<br>
<br>
You will most likely require the Kabylake fix, but I also would be<br>
interested, whether some tries might have just messed up your GPU<br>
resverved RAM introducing the screen division. I’d assume, that even<br>
when the screen operates normally on cold reboot, the card usage<br>
might be limited due to the missing patch.<br>
<br>
Best regards,<br>
Manuel<br>
<div><div class="h5">> Hello,<br>
> We are using vfio igd passthrough :<br>
> Win10 | Linux ubuntu : broadwell IGD / skylake IGD ( intel nuc<br>
> plateforme )<br>
> without problem, igd is working well .<br>
><br>
> Now with the new intel nuc ( kabylake / nuc7i) ,<br>
> Neither windows nor linux recognize intel graphic card.<br>
> Under windows, drivers is on error, and screen is divide into 3<br>
> screens ,<br>
> as under Linux.<br>
><br>
> On linux :<br>
><br>
> neo@ubuntu:~$ lspci -nn<br>
> 00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC<br>
> [Natoma] [8086:1237] (rev 02)<br>
> 00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA<br>
> [Natoma/Triton II] [8086:7000]<br>
> 00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE<br>
> [Natoma/Triton II] [8086:7010]<br>
> 00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB<br>
> [Natoma/Triton II] [8086:7020] (rev 01)<br>
> 00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI<br>
> [8086:7113] (rev 03)<br>
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Device<br>
> [8086:5916] (rev 02)<br>
> 00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit<br>
> Ethernet Controller [8086:100e] (rev 03)<br>
> 00:04.0 Communication controller [0780]: Red Hat, Inc Virtio console<br>
> [1af4:1003]<br>
> 00:05.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB<br>
> 3.0 xHCI Controller [8086:9d2f] (rev 21)<br>
> 00:06.0 Multimedia audio controller [0401]: Intel Corporation Device<br>
> [8086:9d71] (rev 21)<br>
> 00:07.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit<br>
> Ethernet Controller [8086:100e] (rev 03)<br>
> 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d4e] (rev<br>
> 21)<br>
> neo@ubuntu:~$<br>
><br>
> neo@ubuntu:~$ uname -a<br>
> Linux ubuntu 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC<br>
> 2016 x86_64 x86_64 x86_64 GNU/Linux<br>
><br>
> Vm is starting as :<br>
> ( it is important to notice that we are exactly in same condition,<br>
> except broadwell/skylake/kabylake )<br>
><br>
> /usr/bin/qemu-system-x86_64.<wbr>igd -name guest=ubuntu,debug-threads=on -S<br>
> -object<br>
> secret,id=masterKey0,format=<wbr>raw,file=/var/lib/libvirt/<wbr>qemu/domain-2-ubuntu/master-<wbr>key.aes<br>
> -machine pc-i440fx-2.7,accel=kvm,usb=<wbr>off -cpu<br>
> Broadwell-noTSX,hv_time,hv_<wbr>relaxed,hv_vapic,hv_spinlocks=<wbr>0x1fff -bios<br>
> /usr/share/seabios/bios.bin -m 2721 -mem-prealloc -mem-path<br>
> /dev/hugepages/libvirt/qemu -realtime mlock=off -smp<br>
> 2,sockets=1,cores=2,threads=1 -uuid<br>
> 2c5aec33-ae0c-3870-babf-<wbr>d9e26b640248 -nographic -no-user-config -<br>
> nodefaults -chardev<br>
> socket,id=charmonitor,path=/<wbr>var/lib/libvirt/qemu/domain-2-<wbr>ubuntu/monitor.sock,server,<wbr>nowait<br>
> -mon chardev=charmonitor,id=<wbr>monitor,mode=control -rtc base=localtime -<br>
> no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global<br>
> PIIX4_PM.disable_s4=1 -boot strict=on -device<br>
> piix3-usb-uhci,id=usb,bus=pci.<wbr>0,addr=0x1.0x2 -device<br>
> virtio-serial-pci,id=virtio-<wbr>serial0,bus=pci.0,addr=0x4 -drive<br>
> file=nbd:unix:/tmp/ubuntu.ctl,<wbr>format=raw,if=none,id=drive-<wbr>ide0-0-0 -<br>
> device<br>
> ide-hd,bus=ide.0,unit=0,drive=<wbr>drive-ide0-0-0,id=ide0-0-0,<wbr>bootindex=1 -<br>
> drive file=nbd:unix:/tmp/swap.ctl,<wbr>format=raw,if=none,id=drive-<wbr>ide0-0-1<br>
> -device ide-hd,bus=ide.0,unit=1,drive=<wbr>drive-ide0-0-1,id=ide0-0-1 -<br>
> netdev tap,fd=22,id=hostnet0 -device<br>
> e1000,netdev=hostnet0,id=net0,<wbr>mac=ac:de:50:68:49:75,bus=pci.<wbr>0,addr=0x3<br>
> -chardev<br>
> socket,id=charchannel0,path=/<wbr>var/lib/libvirt/qemu/channel/<wbr>target/domain-2-ubuntu/org.<wbr>qemu.guest_agent.0,server,<wbr>nowait<br>
> -device<br>
> virtserialport,bus=virtio-<wbr>serial0.0,nr=1,chardev=<wbr>charchannel0,id=channel0,name=<wbr>org.qemu.guest_agent.0<br>
> -device vfio-pci,host=00:02.0,id=<wbr>hostdev0,bus=pci.0,addr=0x2 -device<br>
> vfio-pci,host=00:14.0,id=<wbr>hostdev1,bus=pci.0,addr=0x5 -device<br>
> vfio-pci,host=00:1f.3,id=<wbr>hostdev2,bus=pci.0,addr=0x6 -netdev<br>
> user,id=user.0,restrict=on,<wbr>hostfwd=tcp:127.0.0.1:5901-:<wbr>5900 -device<br>
> e1000,netdev=user.0 -msg timestamp=on<br>
><br>
> Any suggestions,<br>
> Regards,<br>
> Nicolas Prochazka<br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> vfio-users mailing list<br>
> <a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a><br>
</blockquote></div><br></div>