Hello,
I’m trying to setup a fresh install of Proxmox 5.0 on Kaby Lake and I would like to configure a VM with IGD (graphics) passthrough for Windows 10 and several CT for Linux.
Computer is Zotac Xbox CI549 based on i5-7300U zotac.com/us/product/mini_pcs/ci549-nano.
It should be more or less the same story for the lastest Intel NUC generation.
A standard install is working properly and now I would like to use HDMI output for a VM with Windows 10.
I have read all these informations :
pve.proxmox.com/wiki/Pci_passthrough
forum.proxmox.com/threads/guide-intel-intergrated-graphic-passthrough.30451/
redhat.com/archives/vfio-users/2017-April/msg00032.html
My setup is like this:
- Fresh install Proxmox 5.0 community edition with the latest packages
- Boot in Legacy mode (with UEFI mode I’ve errors during the setup, for example no access to the VGA Rom)
- Grub
- vim /etc/default/grub
- change GRUB_CMDLINE_LINUX_DEFAULT line to GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifbff,vesafbff"
- save and quit
- update-grub
- Blacklist module
- vim /etc/modprobe.d/pve-blacklist.conf
- add these lines
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
- save and quit
- VFIO
- vim /etc/modules
- add these lines
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
- save and quit
- Vga adapter
- lspci -n -s 00:02
- lspci command display 00:02.0 0300: 8086:5916 (rev 02)
- vim /etc/modprobe.d/vfio.conf
- add this line
options vfio-pci ids=8086:5916
- save and quit
- Initramfs
- update-initramfs -u
- Create a VM (id = 100) with a Windows 10 iso as primary boot
- Change the setup for the VM
- vim /etc/pve/qemu-server/100.conf
- add these lines
machine: pc-i440fx-2.2
args: -device vfio-pci,host=00:02.0,addr=0x02
vga: none
- save and quit
- Reboot the server
- Start VM 100
- No errors, video output is initialised (clear screen) just after the VM 100 is started but the screen remains black.
- dmesg result is below :
Any advices are welcome !
Is someone has a working configuration for IGD (graphics) passthrough on Kaby Lake ?
Thanks
I’m trying to setup a fresh install of Proxmox 5.0 on Kaby Lake and I would like to configure a VM with IGD (graphics) passthrough for Windows 10 and several CT for Linux.
Computer is Zotac Xbox CI549 based on i5-7300U zotac.com/us/product/mini_pcs/ci549-nano.
It should be more or less the same story for the lastest Intel NUC generation.
A standard install is working properly and now I would like to use HDMI output for a VM with Windows 10.
I have read all these informations :
pve.proxmox.com/wiki/Pci_passthrough
forum.proxmox.com/threads/guide-intel-intergrated-graphic-passthrough.30451/
redhat.com/archives/vfio-users/2017-April/msg00032.html
My setup is like this:
- Fresh install Proxmox 5.0 community edition with the latest packages
- Boot in Legacy mode (with UEFI mode I’ve errors during the setup, for example no access to the VGA Rom)
- Grub
- vim /etc/default/grub
- change GRUB_CMDLINE_LINUX_DEFAULT line to GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifbff,vesafbff"
- save and quit
- update-grub
- Blacklist module
- vim /etc/modprobe.d/pve-blacklist.conf
- add these lines
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
- save and quit
- VFIO
- vim /etc/modules
- add these lines
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
- save and quit
- Vga adapter
- lspci -n -s 00:02
- lspci command display 00:02.0 0300: 8086:5916 (rev 02)
- vim /etc/modprobe.d/vfio.conf
- add this line
options vfio-pci ids=8086:5916
- save and quit
- Initramfs
- update-initramfs -u
- Create a VM (id = 100) with a Windows 10 iso as primary boot
- Change the setup for the VM
- vim /etc/pve/qemu-server/100.conf
- add these lines
machine: pc-i440fx-2.2
args: -device vfio-pci,host=00:02.0,addr=0x02
vga: none
- save and quit
- Reboot the server
- Start VM 100
- No errors, video output is initialised (clear screen) just after the VM 100 is started but the screen remains black.
- dmesg result is below :
[ 227.122914] device tap100i0 entered promiscuous mode
[ 227.129030] vmbr0: port 2(tap100i0) entered blocking state
[ 227.129032] vmbr0: port 2(tap100i0) entered disabled state
[ 227.129104] vmbr0: port 2(tap100i0) entered blocking state
[ 227.129105] vmbr0: port 2(tap100i0) entered forwarding state
[ 228.345459] vfio_ecap_init: 0000:00:02.0 hiding ecap 0x1b@0x100
[ 227.129030] vmbr0: port 2(tap100i0) entered blocking state
[ 227.129032] vmbr0: port 2(tap100i0) entered disabled state
[ 227.129104] vmbr0: port 2(tap100i0) entered blocking state
[ 227.129105] vmbr0: port 2(tap100i0) entered forwarding state
[ 228.345459] vfio_ecap_init: 0000:00:02.0 hiding ecap 0x1b@0x100
Any advices are welcome !
Is someone has a working configuration for IGD (graphics) passthrough on Kaby Lake ?
Thanks