Just to record my situation. Finally i get the Intel integrated graphics passthru and output to a monitor (a TV) through HDMI but still don't get HDMI audio work.
I don't use the UEFI to install Win10 (the latest 1903 version works, i also tried 1703 but failed, i guess due to the integrated graphics driver, i don't know just guess), just use the default SeaBIOS, i don't know why, but it works.
PVE 5.4-3
CPU: i5 4690k
Motherboard: Colorful B85K-HD V22
/etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifb:off"
root@pve:~# update-grub
/etc/modprobe.d/blacklist.conf
Code:
# blacklist nvidiafb
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
root@pve:~# lspci
Code:
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
root@pve:~# lspci -n -s 00:02
Code:
00:02.0 0300: 8086:0412 (rev 06)
/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=8086:0412
/etc/modprobe.d/kvm.conf
Code:
options kvm ignore_msrs=1
root@pve:~# update-initramfs -u
root@pve:~# reboot
/etc/pve/qemu-server/<YOUR VM ID>.conf
Code:
args: -device 'vfio-pci,host=00:02.0,addr=0x02,x-igd-gms=1'
bootdisk: sata0
cores: 4
hostpci0: 00:1b.0
ide2: local:iso/Windows10_1903.iso,media=cdrom
memory: 8196
name: Win10
net0: e1000=02:95:FE:77:B7:47,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: local-lvm:vm-106-disk-0,size=30G
scsihw: virtio-scsi-pci
smbios1: uuid=be2bec92-23cd-4637-ac16-9d6d3523642d
sockets: 1
usb0: host=3-2,usb3=1
usb1: host=3-3,usb3=1
usb2: host=3-7
usb3: host=3-8
usb4: host=3-10
vga: none
vmgenid: f99e2477-44fd-422a-a8f7-346438dbce9b