Hi everyone,
After my installation of Proxmox VE 6.2 on my Lenovo T450s, I started to work on Disk Passthrough and PCIe Passthrough.
I follow this guide and successfully passthrough my Windows 10 Bare Metal installed SSD.
https://pve.proxmox.com/wiki/Physical_disk_to_kvm
For the PCIe Passthrough, I follow these guides, but I cannot get most of the PCIe device work. Although I have Vt-d enabled in BIOS and see the IOMMU groups, the Web Console keep say the error " No IOMMU detected, please activate it. ". I found that the Intel HD Graphics 5500 was set to IOMMU Group [-1]. However, I still able to passthrough other device, but only the Realtek RTS5227 PCI Express Card Reader (SD Card Reader) work under this condition.
To check the compatibility issue, I installed Proxmox VE 5.4 and upgrade to 5.4-15. In 5.4-15, the IOMMU error does not exist, and Intel HD Graphics 5500 was set to IOMMU Group [1]. However, I still cannot get other PCIe Device work in Passthrough, only SD Card reader work.
https://pve.proxmox.com/wiki/PCI(e)_Passthrough
https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
Here is my log in Proxmox 5.4-15.
After my installation of Proxmox VE 6.2 on my Lenovo T450s, I started to work on Disk Passthrough and PCIe Passthrough.
I follow this guide and successfully passthrough my Windows 10 Bare Metal installed SSD.
https://pve.proxmox.com/wiki/Physical_disk_to_kvm
For the PCIe Passthrough, I follow these guides, but I cannot get most of the PCIe device work. Although I have Vt-d enabled in BIOS and see the IOMMU groups, the Web Console keep say the error " No IOMMU detected, please activate it. ". I found that the Intel HD Graphics 5500 was set to IOMMU Group [-1]. However, I still able to passthrough other device, but only the Realtek RTS5227 PCI Express Card Reader (SD Card Reader) work under this condition.
To check the compatibility issue, I installed Proxmox VE 5.4 and upgrade to 5.4-15. In 5.4-15, the IOMMU error does not exist, and Intel HD Graphics 5500 was set to IOMMU Group [1]. However, I still cannot get other PCIe Device work in Passthrough, only SD Card reader work.
https://pve.proxmox.com/wiki/PCI(e)_Passthrough
https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
Here is my log in Proxmox 5.4-15.
root@pve:~# lsmod | grep vfio
vfio_pci 45056 1
vfio_virqfd 16384 1 vfio_pci
irqbypass 16384 3 vfio_pci,kvm
vfio_iommu_type1 24576 1
vfio 28672 5 vfio_iommu_type1,vfio_pci
vfio_pci 45056 1
vfio_virqfd 16384 1 vfio_pci
irqbypass 16384 3 vfio_pci,kvm
vfio_iommu_type1 24576 1
vfio 28672 5 vfio_iommu_type1,vfio_pci
root@pve:~# dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.000000] ACPI: DMAR 0x000000009CDD3000 0000A8 (v01 LENOVO TP-JB 00001370 PTEC 00000002)
[ 0.000000] DMAR: IOMMU enabled
[ 0.000000] DMAR: Host address width 39
[ 0.000000] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.000000] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e1ff0505e
[ 0.000000] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.000000] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
[ 0.000000] DMAR: RMRR base: 0x0000009a68e000 end: 0x0000009a6a4fff
[ 0.000000] DMAR: RMRR base: 0x0000009d800000 end: 0x0000009fffffff
[ 0.000000] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.000000] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.000000] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 0.000000] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
[ 0.000000] DMAR-IR: Enabled IRQ remapping in xapic mode
[ 0.780917] DMAR: No ATSR found
[ 0.780964] DMAR: dmar0: Using Queued invalidation
[ 0.780971] DMAR: dmar1: Using Queued invalidation
[ 0.781077] DMAR: Hardware identity mapping for device 0000:00:00.0
[ 0.781084] DMAR: Hardware identity mapping for device 0000:00:02.0
[ 0.781086] DMAR: Hardware identity mapping for device 0000:00:03.0
[ 0.781087] DMAR: Hardware identity mapping for device 0000:00:16.0
[ 0.781088] DMAR: Hardware identity mapping for device 0000:00:19.0
[ 0.781089] DMAR: Hardware identity mapping for device 0000:00:1b.0
[ 0.781090] DMAR: Hardware identity mapping for device 0000:00:1c.0
[ 0.781092] DMAR: Hardware identity mapping for device 0000:00:1c.1
[ 0.781093] DMAR: Hardware identity mapping for device 0000:00:1c.4
[ 0.781094] DMAR: Hardware identity mapping for device 0000:00:1d.0
[ 0.781096] DMAR: Hardware identity mapping for device 0000:00:1f.0
[ 0.781097] DMAR: Hardware identity mapping for device 0000:00:1f.2
[ 0.781098] DMAR: Hardware identity mapping for device 0000:00:1f.3
[ 0.781099] DMAR: Hardware identity mapping for device 0000:00:1f.6
[ 0.781106] DMAR: Hardware identity mapping for device 0000:02:00.0
[ 0.781112] DMAR: Hardware identity mapping for device 0000:03:00.0
[ 0.781119] DMAR: Hardware identity mapping for device 0000:04:00.0
[ 0.781120] DMAR: Setting RMRR:
[ 0.781122] DMAR: Ignoring identity map for HW passthrough device 0000:00:02.0 [0x9d800000 - 0x9fffffff]
[ 0.781123] DMAR: Ignoring identity map for HW passthrough device 0000:00:1d.0 [0x9a68e000 - 0x9a6a4fff]
[ 0.781124] DMAR: Prepare 0-16MiB unity mapping for LPC
[ 0.781125] DMAR: Ignoring identity map for HW passthrough device 0000:00:1f.0 [0x0 - 0xffffff]
[ 0.781163] DMAR: Intel(R) Virtualization Technology for Directed I/O
[ 0.856899] DMAR: 32bit 0000:00:1d.0 uses non-identity mapping
[ 0.856955] DMAR: Setting identity map for device 0000:00:1d.0 [0x9a68e000 - 0x9a6a4fff]
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.000000] ACPI: DMAR 0x000000009CDD3000 0000A8 (v01 LENOVO TP-JB 00001370 PTEC 00000002)
[ 0.000000] DMAR: IOMMU enabled
[ 0.000000] DMAR: Host address width 39
[ 0.000000] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.000000] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e1ff0505e
[ 0.000000] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.000000] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
[ 0.000000] DMAR: RMRR base: 0x0000009a68e000 end: 0x0000009a6a4fff
[ 0.000000] DMAR: RMRR base: 0x0000009d800000 end: 0x0000009fffffff
[ 0.000000] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.000000] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.000000] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 0.000000] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
[ 0.000000] DMAR-IR: Enabled IRQ remapping in xapic mode
[ 0.780917] DMAR: No ATSR found
[ 0.780964] DMAR: dmar0: Using Queued invalidation
[ 0.780971] DMAR: dmar1: Using Queued invalidation
[ 0.781077] DMAR: Hardware identity mapping for device 0000:00:00.0
[ 0.781084] DMAR: Hardware identity mapping for device 0000:00:02.0
[ 0.781086] DMAR: Hardware identity mapping for device 0000:00:03.0
[ 0.781087] DMAR: Hardware identity mapping for device 0000:00:16.0
[ 0.781088] DMAR: Hardware identity mapping for device 0000:00:19.0
[ 0.781089] DMAR: Hardware identity mapping for device 0000:00:1b.0
[ 0.781090] DMAR: Hardware identity mapping for device 0000:00:1c.0
[ 0.781092] DMAR: Hardware identity mapping for device 0000:00:1c.1
[ 0.781093] DMAR: Hardware identity mapping for device 0000:00:1c.4
[ 0.781094] DMAR: Hardware identity mapping for device 0000:00:1d.0
[ 0.781096] DMAR: Hardware identity mapping for device 0000:00:1f.0
[ 0.781097] DMAR: Hardware identity mapping for device 0000:00:1f.2
[ 0.781098] DMAR: Hardware identity mapping for device 0000:00:1f.3
[ 0.781099] DMAR: Hardware identity mapping for device 0000:00:1f.6
[ 0.781106] DMAR: Hardware identity mapping for device 0000:02:00.0
[ 0.781112] DMAR: Hardware identity mapping for device 0000:03:00.0
[ 0.781119] DMAR: Hardware identity mapping for device 0000:04:00.0
[ 0.781120] DMAR: Setting RMRR:
[ 0.781122] DMAR: Ignoring identity map for HW passthrough device 0000:00:02.0 [0x9d800000 - 0x9fffffff]
[ 0.781123] DMAR: Ignoring identity map for HW passthrough device 0000:00:1d.0 [0x9a68e000 - 0x9a6a4fff]
[ 0.781124] DMAR: Prepare 0-16MiB unity mapping for LPC
[ 0.781125] DMAR: Ignoring identity map for HW passthrough device 0000:00:1f.0 [0x0 - 0xffffff]
[ 0.781163] DMAR: Intel(R) Virtualization Technology for Directed I/O
[ 0.856899] DMAR: 32bit 0000:00:1d.0 uses non-identity mapping
[ 0.856955] DMAR: Setting identity map for device 0000:00:1d.0 [0x9a68e000 - 0x9a6a4fff]
root@pve:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/7/devices/0000:00:1c.1
/sys/kernel/iommu_groups/5/devices/0000:00:1b.0
/sys/kernel/iommu_groups/13/devices/0000:04:00.0
/sys/kernel/iommu_groups/3/devices/0000:00:16.0
/sys/kernel/iommu_groups/11/devices/0000:02:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:02.0
/sys/kernel/iommu_groups/8/devices/0000:00:1c.4
/sys/kernel/iommu_groups/6/devices/0000:00:1c.0
/sys/kernel/iommu_groups/4/devices/0000:00:19.0
/sys/kernel/iommu_groups/12/devices/0000:03:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:03.0
/sys/kernel/iommu_groups/10/devices/0000:00:1f.2
/sys/kernel/iommu_groups/10/devices/0000:00:1f.0
/sys/kernel/iommu_groups/10/devices/0000:00:1f.3
/sys/kernel/iommu_groups/10/devices/0000:00:1f.6
/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/9/devices/0000:00:1d.0
/sys/kernel/iommu_groups/7/devices/0000:00:1c.1
/sys/kernel/iommu_groups/5/devices/0000:00:1b.0
/sys/kernel/iommu_groups/13/devices/0000:04:00.0
/sys/kernel/iommu_groups/3/devices/0000:00:16.0
/sys/kernel/iommu_groups/11/devices/0000:02:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:02.0
/sys/kernel/iommu_groups/8/devices/0000:00:1c.4
/sys/kernel/iommu_groups/6/devices/0000:00:1c.0
/sys/kernel/iommu_groups/4/devices/0000:00:19.0
/sys/kernel/iommu_groups/12/devices/0000:03:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:03.0
/sys/kernel/iommu_groups/10/devices/0000:00:1f.2
/sys/kernel/iommu_groups/10/devices/0000:00:1f.0
/sys/kernel/iommu_groups/10/devices/0000:00:1f.3
/sys/kernel/iommu_groups/10/devices/0000:00:1f.6
/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/9/devices/0000:00:1d.0
root@pve:~# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
Subsystem: Lenovo Broadwell-U Host Bridge -OPI [17aa:5034]
Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
Subsystem: Lenovo HD Graphics 5500 [17aa:5037]
Kernel driver in use: vfio-pci
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: Lenovo Broadwell-U Audio Controller [17aa:5034]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
Subsystem: Lenovo Wildcat Point-LP MEI Controller [17aa:5034]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (3) I218-V [8086:15a3] (rev 03)
Subsystem: Lenovo Ethernet Connection (3) I218-V [17aa:2227]
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
Subsystem: Lenovo Wildcat Point-LP High Definition Audio Controller [17aa:5036]
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 [8086:9c9a] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 [8086:9c94] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 [8086:9c98] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03)
Subsystem: Lenovo Wildcat Point-LP USB EHCI Controller [17aa:5034]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc3] (rev 03)
Subsystem: Lenovo Wildcat Point-LP LPC Controller [17aa:5034]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] [8086:9c83] (rev 03)
Subsystem: Lenovo Wildcat Point-LP SATA Controller [AHCI Mode] [17aa:5034]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)
Subsystem: Lenovo Wildcat Point-LP SMBus Controller [17aa:5034]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.6 Signal processing controller [1180]: Intel Corporation Wildcat Point-LP Thermal Management Controller [8086:9ca4] (rev 03)
Subsystem: Lenovo Wildcat Point-LP Thermal Management Controller [17aa:5034]
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
Subsystem: Lenovo RTS5227 PCI Express Card Reader [17aa:5034]
Kernel driver in use: vfio-pci
Kernel modules: rtsx_pci
03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095b] (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5210]
Kernel driver in use: vfio-pci
Kernel modules: iwlwifi
04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940M] [10de:1347] (rev a2)
Subsystem: Lenovo GM108M [GeForce 940M] [17aa:5037]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
Subsystem: Lenovo Broadwell-U Host Bridge -OPI [17aa:5034]
Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
Subsystem: Lenovo HD Graphics 5500 [17aa:5037]
Kernel driver in use: vfio-pci
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: Lenovo Broadwell-U Audio Controller [17aa:5034]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
Subsystem: Lenovo Wildcat Point-LP MEI Controller [17aa:5034]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (3) I218-V [8086:15a3] (rev 03)
Subsystem: Lenovo Ethernet Connection (3) I218-V [17aa:2227]
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
Subsystem: Lenovo Wildcat Point-LP High Definition Audio Controller [17aa:5036]
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 [8086:9c9a] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 [8086:9c94] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 [8086:9c98] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03)
Subsystem: Lenovo Wildcat Point-LP USB EHCI Controller [17aa:5034]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc3] (rev 03)
Subsystem: Lenovo Wildcat Point-LP LPC Controller [17aa:5034]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] [8086:9c83] (rev 03)
Subsystem: Lenovo Wildcat Point-LP SATA Controller [AHCI Mode] [17aa:5034]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)
Subsystem: Lenovo Wildcat Point-LP SMBus Controller [17aa:5034]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.6 Signal processing controller [1180]: Intel Corporation Wildcat Point-LP Thermal Management Controller [8086:9ca4] (rev 03)
Subsystem: Lenovo Wildcat Point-LP Thermal Management Controller [17aa:5034]
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
Subsystem: Lenovo RTS5227 PCI Express Card Reader [17aa:5034]
Kernel driver in use: vfio-pci
Kernel modules: rtsx_pci
03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095b] (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5210]
Kernel driver in use: vfio-pci
Kernel modules: iwlwifi
04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940M] [10de:1347] (rev a2)
Subsystem: Lenovo GM108M [GeForce 940M] [17aa:5037]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau