I just finished install the newly released ProxmoxVE 6.2 due to a inadvertent resize of the / which had led to my computer crumbled down. After a series of settings to enable pci-e passthrough, a few issues appeared as below:
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="vfio-pci.ids=1002:67ff,1002:aae0,1106:3483,8086:a170 nomodeset iommu=pt pcie_acs_override=downstream,multifunction i915_enable.gvt=1 kvm.ignore_msrs=1 irqpoll drm.debug=0 intel_iommu=on,igfx_off"
/etc/modules
kvmgt vfio vfio_mdev vfio_pci vfio_iommu_type1 vfio_virqfd
/etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:67ff,1002:aae0,1106:3483,8086:a170
options vfio_iommu_type1 allow_unsafe_interrupts=1
options kvm_intel nested=1
options kvm ignore_msrs=Y
Anyone please help me out of this issue?
Thanks in advance.
UPDATE on Jun.1, 2020
After a series of attempts, I finally worked out that the issue was associated with the kernel parameter: nomodeset (or i915.modeset=0 as equivalent for Intel UHD)
- pveproxy webUI reports "No IOMMU detected, please activate it.See Documentation for further information." when trying to add some device to guest vms. As can be seen in the screenshot,
Code:
lspci -Dnnk
- Intel gvt-g doesn't work at all. The /sys/bus/pci/devices/0000:00:02.0/mdev_supported_types folder doesn't show up after rebooting the machine and pveproxy webUI reports a weird IOMMU Group number '-1' for this device. The i915 driver has been loaded with the Intel UHD 630 graphics unit.
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="vfio-pci.ids=1002:67ff,1002:aae0,1106:3483,8086:a170 nomodeset iommu=pt pcie_acs_override=downstream,multifunction i915_enable.gvt=1 kvm.ignore_msrs=1 irqpoll drm.debug=0 intel_iommu=on,igfx_off"
/etc/modules
kvmgt vfio vfio_mdev vfio_pci vfio_iommu_type1 vfio_virqfd
/etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:67ff,1002:aae0,1106:3483,8086:a170
options vfio_iommu_type1 allow_unsafe_interrupts=1
options kvm_intel nested=1
options kvm ignore_msrs=Y
Anyone please help me out of this issue?
Thanks in advance.
UPDATE on Jun.1, 2020
After a series of attempts, I finally worked out that the issue was associated with the kernel parameter: nomodeset (or i915.modeset=0 as equivalent for Intel UHD)
Last edited: