Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

iGPU Passthrough - Intel Haswell

Featured Replies

I'm having problems to passthrough my Intel i7-4770 integrated graphics device to Windows 10 VM.

 

Processor: Intel Core i7-4770

Processor Graphics: Intel HD Graphics 4600

Motherboard: ASUS Z87-DELUXE (Bios v.2103)

Memory: 16 GB

PCI 1 - EVGA  GTX 1070

PCI 2 - ASUS GTX 650 (non UEFI Bios) 

 

BIOS

- Intel VT-x: Enabled

- Intel VT-d: Enabled

- SATA: AHCI

- Primary Display: iGPU

- iGPU Memory: Auto

- Render Standby: Disabled

- iGPU Multi-Monitor: Enabled

 

unRAID 6.3.3

- PCIe ACS Override: Yes

 

VM Template: Windows 10 
- i440FX

- SeaBIOS

- Graphics Card: (00:02:00) Intel...

 

https://forums.lime-technology.com/topic/50806-igd-device-assignment-to-vms/#comment-500618

 

Results:

- Black Screen

- VM Freezes (no boot, no access) 

- one Processor locks in 100%

 

I've tried several different configurations but I got the same results...

Black Screen and the VM freezes before loading anything...

 

I was successful passing through the GTX1070 and the GTX650 to VMs...

But the Intel iGPU, when selected, freezes the VM...

 

Does anyone have an step-by-step recommendation to enable iGPU Passthrough...

 

(I'll try to attach the unRAID log/info as soon as possible) 

Edited by VSan

  • Author
Model: Custom
M/B: ASUSTeK COMPUTER INC. - Z87-DELUXE
CPU: Intel® Core™ i7-4770 CPU @ 3.40GHz
HVM: Enabled
IOMMU: Enabled
Cache: 256 kB, 1024 kB, 8192 kB
Memory: 16 GB (max. installable capacity 32 GB)
Network: bond0: fault-tolerance (active-backup), mtu 1500
 eth0: not connected
 eth1: 100 Mb/s, full duplex, mtu 1500
Kernel: Linux 4.9.19-unRAID x86_64
OpenSSL: 1.0.2k
Uptime: 



IOMMU group 0
	[8086:0c00] 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
IOMMU group 1
	[8086:0c01] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
IOMMU group 2
	[8086:0c05] 00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06)
IOMMU group 3
	[8086:0412] 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
IOMMU group 4
	[8086:0c0c] 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
IOMMU group 5
	[8086:8c31] 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
IOMMU group 6
	[8086:8c3a] 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
IOMMU group 7
	[8086:153b] 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 04)
IOMMU group 8
	[8086:8c2d] 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
IOMMU group 9
	[8086:8c20] 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
IOMMU group 10
	[8086:8c10] 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
IOMMU group 11
	[8086:8c12] 00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d4)
IOMMU group 12
	[8086:8c16] 00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d4)
IOMMU group 13
	[8086:8c26] 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
IOMMU group 14
	[8086:8c44] 00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 04)
	[8086:8c22] 00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
IOMMU group 15
	[10de:1b81] 01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
	[10de:10f0] 01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
IOMMU group 16
	[10de:0fc6] 02:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)
	[10de:0e1b] 02:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
IOMMU group 17
	[1b21:0612] 04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
IOMMU group 18
	[10b5:8608] 05:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 19
	[10b5:8608] 06:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 20
	[10b5:8608] 06:04.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 21
	[10b5:8608] 06:05.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 22
	[10b5:8608] 06:06.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 23
	[10b5:8608] 06:07.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 24
	[10b5:8608] 06:08.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 25
	[10b5:8608] 06:09.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
IOMMU group 26
	[10ec:8168] 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
IOMMU group 27
	[14e4:43b1] 0b:00.0 Network controller: Broadcom Limited BCM4352 802.11ac Wireless Network Adapter (rev 03)
IOMMU group 28
	[1b21:0612] 0d:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)

CPU Thread Pairings

This displays a list of CPU thread pairings.

cpu 0 <===> cpu 4
cpu 1 <===> cpu 5
cpu 2 <===> cpu 6
cpu 3 <===> cpu 7

USB Devices

This displays the output of the lsusb command. The numeric identifiers are used to configure PCI pass-through.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 003 Device 003: ID 0b05:17cf ASUSTek Computer, Inc. 
Bus 003 Device 004: ID 045e:00dd Microsoft Corp. Comfort Curve Keyboard 2000 V1.0
Bus 003 Device 005: ID 0781:556b SanDisk Corp. 
Bus 003 Device 006: ID 1b1c:0c04 Corsair 
Bus 003 Device 007: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 003 Device 008: ID 045e:0797 Microsoft Corp. Optical Mouse 200
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub

SCSI Devices

This displays the output of the lsscsi command. The numeric identifiers are used to configure PCI pass-through.

Note that linux groups ATA, SATA and SAS devices with true SCSI devices.

[0:0:0:0]    disk    SanDisk  Cruzer Edge      1.26  /dev/sda   8.00GB
[1:0:0:0]    cd/dvd  HL-DT-ST BD-RE  WH14NS40  1.01  /dev/sr0        -
[3:0:0:0]    disk    ATA      ST31000528AS     CC49  /dev/sdb   1.00TB

Edited by VSan

  • Author

<domain type='kvm'>
  <name>Win10_Intel_IGD</name>
  <uuid>56b160e3-4187-72bd-5a6a-3ce089398c4e</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>5242880</memory>
  <currentMemory unit='KiB'>5242880</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>6</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='2'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='5'/>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='3' threads='2'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Win10_Intel_IGD/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/pt_windows_10_enterprise_version_1703_updated_march_2017_x64_dvd_10196082.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/virtio-win-0.1.126-2.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:f2:55:80'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x045e'/>
        <product id='0x00dd'/>
      </source>
      <address type='usb' bus='0' port='1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x045e'/>
        <product id='0x0797'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>
 

unRAID 01.png

unRAID 02.png

  • Author

May 4 00:06:41 Tower dnsmasq[3071]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
May 4 00:06:41 Tower dnsmasq-dhcp[3071]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
May 4 00:06:41 Tower dnsmasq-dhcp[3071]: DHCP, sockets bound exclusively to interface virbr0
May 4 00:06:41 Tower dnsmasq[3071]: reading /etc/resolv.conf
May 4 00:06:41 Tower dnsmasq[3071]: using nameserver 192.168.0.1#53
May 4 00:06:41 Tower dnsmasq[3071]: using nameserver 192.168.1.1#53
May 4 00:06:41 Tower dnsmasq[3071]: read /etc/hosts - 2 addresses
May 4 00:06:41 Tower dnsmasq[3071]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
May 4 00:06:41 Tower dnsmasq-dhcp[3071]: read /var/lib/libvirt/dnsmasq/default.hostsfile
May 4 00:06:41 Tower kernel: virbr0: port 1(virbr0-nic) entered disabled state
May 4 00:07:39 Tower kernel: vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
May 4 00:07:39 Tower kernel: br0: port 2(vnet0) entered blocking state
May 4 00:07:39 Tower kernel: br0: port 2(vnet0) entered disabled state
May 4 00:07:39 Tower kernel: device vnet0 entered promiscuous mode
May 4 00:07:39 Tower kernel: br0: port 2(vnet0) entered blocking state
May 4 00:07:39 Tower kernel: br0: port 2(vnet0) entered forwarding state
May 4 00:07:39 Tower acpid: input device has been disconnected, fd 6
May 4 00:07:39 Tower acpid: input device has been disconnected, fd 7
May 4 00:07:40 Tower kernel: usb 3-5: reset low-speed USB device number 4 using xhci_hcd
May 4 00:07:40 Tower kernel: usb 3-14: reset low-speed USB device number 8 using xhci_hcd
May 4 00:07:41 Tower kernel: usb 3-5: reset low-speed USB device number 4 using xhci_hcd
May 4 00:07:41 Tower kernel: usb 3-14: reset low-speed USB device number 8 using xhci_hcd
May 4 00:07:42 Tower kernel: kvm: zapping shadow pages for mmio generation wraparound
May 4 00:08:01 Tower kernel: vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
May 4 00:16:15 Tower kernel: br0: port 2(vnet0) entered disabled state
May 4 00:16:15 Tower kernel: device vnet0 left promiscuous mode
May 4 00:16:15 Tower kernel: br0: port 2(vnet0) entered disabled state
May 4 00:16:15 Tower kernel: input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.0/0003:045E:0797.0008/input/input12
May 4 00:16:15 Tower kernel: hid-generic 0003:045E:0797.0008: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:14.0-14/input0
May 4 00:16:15 Tower kernel: input: Microsoft Comfort Curve Keyboard 2000 as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/0003:045E:00DD.0009/input/input13
May 4 00:16:15 Tower kernel: hid-generic 0003:045E:00DD.0009: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Comfort Curve Keyboard 2000] on usb-0000:00:14.0-5/input0
May 4 00:16:15 Tower kernel: input: Microsoft Comfort Curve Keyboard 2000 as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.1/0003:045E:00DD.000A/input/input14
May 4 00:16:15 Tower kernel: hid-generic 0003:045E:00DD.000A: input,hidraw6: USB HID v1.11 Device [Microsoft Comfort Curve Keyboard 2000] on usb-0000:00:14.0-5/input1
May 4 00:16:15 Tower kernel: vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem

  • Author

2017-05-04 03:07:39.084+0000: starting up libvirt version: 2.4.0, qemu version: 2.7.1, hostname: Tower
LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/local/sbin/qemu -name guest=Win10_Intel_IGD,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-Win10_Intel_IGD/master-key.aes -machine pc-i440fx-2.7,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off -cpu host,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vendor_id=none -m 5120 -realtime mlock=off -smp 6,sockets=1,cores=3,threads=2 -uuid 56b160e3-4187-72bd-5a6a-3ce089398c4e -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-Win10_Intel_IGD/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-hpet -no-shutdown -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 -device ich9_Intel_IGD/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device vfio-pci,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2 -device usb-host,hostbus=3,hostaddr=4,id=hostdev1,bus=usb.0,port=1 -device usb-host,hostbus=3,hostaddr=8,id=hostdev2,bus=usb.0,port=2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Domain id=1 is tainted: high-privileges
Domain id=1 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2017-05-04T03:16:15.349721Z qemu-system-x86_64: terminating on signal 15 from pid 2916
2017-05-04 03:16:15.950+0000: shutting down, reason=destroyed

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.