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

[vfio-users] issues about windows GPU drivers update after passthrough



    Yesterday my windows 10 guest suddenly turned to black screen, and after rebooting windows 10, GPU didn't work. 
I find that the GPU drivers has been updated to the newest version by windows 10 automatically and it doesn't work.
And windows 7 has the same thing. However if I install the windows 10 into the host machine derectly, the GPU driver 
can be updated to the newest version. If somebody encounter this problem?

environment :
Intel Core i3-6100U @ 2.30GHz
Intel Corporation Sky Lake Integrated Graphics 520
DP output
Ubuntu 16.04 server
Host kernel 4.8
qemu 2.7.0

configuration:
  • /boot/config-4.8.6
    CONFIG_VFIO_IOMMU_TYPE1=m
    CONFIG_VFIO=m
    CONFIG_VFIO_PCI=m
    CONFIG_VFIO_PCI_IGD=y
    CONFIG_VFIO_PCI_VGA=y
    CONFIG_FW_CFG_SYSFS=y 
    CONFIG_FW_CFG_SYSFS_COMLINE=y
    CONFIG_INTEL_IOMMU_DEFAULT_ON=y
  • /boot/grub/grub.cfg
            /boot/vmlinuz-4.8.6 root=… quiet splash intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 $vt_handoff modprobe.blacklist=i915 video=vesafb:off video=efifb:off  
  • modprobe vfio-pci vfio vfio_iommu_type1 
  • /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
options kvm allow_unsafe_assigned_interrupts=1
options kvm_intel emulate_invalid_guest_state=0
options vfio_iommu_type1 allow_unsafe_interrupts=1
  • lspci -nks 
00:02.0 0300: 8086:1916 (rev 07)
DeviceName:  Onboard IGD
Subsystem: 8086:0000
Kernel driver in use: vfio-pci
Kernel modules: i915
  • qemu cmdline bash
sudo /usr/bin/qemu-system-x86_64 \
-name pq \
-cpu host \
-machine pc,accel=kvm,usb=off \
-m 3072 \
-smp 4,sockets=1,cores=4,threads=1 \
-device vfio-pci,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2 \
-nographic \
-vga none \
-drive file=/home/ruijie/win7_guan2.base,if=none,id=drive-ide0-0-1,format=qcow2,cache=writeback \
-device ide-hd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-netdev user,id=hostnet0 \
-device e1000,netdev=hostnet0,id=net0,mac=52:54:00:1a:0d:64 \
-device intel-hda,id=sound0 \
-device usb-ehci,id=ehci0 \
-device usb-tablet,id=input0 \
-monitor tcp:172.21.137.52:4444,server,nowait \
-device hda-micro,id=sound0-codec0,bus=sound0.0,cad=0 \
-device vfio-pci,host=00:14.0,id=xhci0 \
-device vfio-pci,host=00:14.2,id=xhci1 \
-vnc 172.21.137.52:5  


 


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