Hello all. I just started tinkering with proxmox, and am trying to pass the integrated graphics to an Ubuntu VM.
I can't quite get it to work, so I'd like some help troubleshooting what's wrong.
This is running on a Minisforum TH50 (cpu: i5-11320h).
Essentially, I've tried every method I can for enabling the IOMMU, but adding a pci device to a VM through the management interface gives me the "No IOMMU detected, please activate it.See Documentation for further information" message.
I should note that my BIOS does not have a IOMMU or VT-d option, but Minisforum has said for other products that this feature is forced on and hidden in the BIOS. I've sent support an email asking if that is true for the TH50 as well, but I figured I'd still post this here in case I missed something else.
This is my kernel command line:
I haven't changed any other line in
I'm pretty sure I can get rid of the
The output of
and the output of
The "Skip IOMMU disabling for graphics" seems important, but I don't know what it means.
I also installed
Have I made any glaring mistakes? If not, what should my next steps be?
Thanks
I can't quite get it to work, so I'd like some help troubleshooting what's wrong.
This is running on a Minisforum TH50 (cpu: i5-11320h).
Essentially, I've tried every method I can for enabling the IOMMU, but adding a pci device to a VM through the management interface gives me the "No IOMMU detected, please activate it.See Documentation for further information" message.
I should note that my BIOS does not have a IOMMU or VT-d option, but Minisforum has said for other products that this feature is forced on and hidden in the BIOS. I've sent support an email asking if that is true for the TH50 as well, but I figured I'd still post this here in case I missed something else.
This is my kernel command line:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet vfio-pci.ids=8086:9a49 intel_iommu=on "
/etc/default/grub
I'm pretty sure I can get rid of the
vfio-pci.ids=8086:9a49
part of the kernel command line, since it doesn't seem to apply that driver anyway (as below)The output of
lspci -nnkv -s 00:02
:
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake GT2 [Iris Xe Graphics] [8086:9a49] (rev 03) (prog-if 00 [VGA controller])
Subsystem: Device [1e50:800d]
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at 607d000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable- Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel modules: i915
and the output of
dmesg | grep -i iommu
:
Code:
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.30-2-pve root=/dev/mapper/pve-root ro quiet vfio-pci.ids=8086:9a49 intel_iommu=on
[ 0.040428] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.30-2-pve root=/dev/mapper/pve-root ro quiet vfio-pci.ids=8086:9a49 intel_iommu=on
[ 0.040467] DMAR: IOMMU enabled
[ 0.685431] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.723207] iommu: Default domain type: Translated
[ 0.723207] iommu: DMA domain TLB invalidation policy: lazy mode
The "Skip IOMMU disabling for graphics" seems important, but I don't know what it means.
I also installed
kvm-ok
, which gives this result:
Code:
INFO: /dev/kvm exists
KVM acceleration can be used
Have I made any glaring mistakes? If not, what should my next steps be?
Thanks