[SOLVED] iGPU Split Passthrough (Intel Integrated Graphics) not working

gzbenson

New Member
Oct 25, 2022
12
1
3
I am using 8 x 12th Gen Intel(R) Core(TM) i3-12100 (1 Socket) .

PVE's kenerl verison : Linux 5.15.104-1-pve #1 SMP PVE 5.15.104-2 (2023-04-12T11:23Z)
PVE Manager Version: 7.4-3

follow the wiki : Mediated Devices (vGPU, GVT-g)

added
-- /etc/modules

# Modules required for PCI passthrough
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
vfio_mdev
# Modules required for Intel GVT-g Split
kvmgt

added
-- /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on i915.enable_gvt=1 drm.debug=0"

# update-initramfs -u -k all

Checked configuration after reboot

dmesg | grep -e VT-d -e IOMMU -e DMAR
[ 0.011703] ACPI: DMAR 0x0000000074388000 000088 (v02 INTEL EDK2 00000002 01000013)
[ 0.011743] ACPI: Reserving DMAR table memory at [mem 0x74388000-0x74388087]
[ 0.073367] DMAR: IOMMU enabled
[ 0.177424] DMAR: Host address width 39
[ 0.177426] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.177429] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.177432] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.177434] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[ 0.177437] DMAR: RMRR base: 0x0000007c000000 end: 0x000000807fffff
[ 0.177440] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.177441] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.177442] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.178953] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.310636] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.361789] DMAR: No ATSR found
[ 0.361790] DMAR: No SATC found
[ 0.361791] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.361792] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.361793] DMAR: IOMMU feature nwfs inconsistent
[ 0.361793] DMAR: IOMMU feature dit inconsistent
[ 0.361794] DMAR: IOMMU feature sc_support inconsistent
[ 0.361795] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.361796] DMAR: dmar0: Using Queued invalidation
[ 0.361798] DMAR: dmar1: Using Queued invalidation
[ 0.362018] DMAR: Intel(R) Virtualization Technology for Directed I/O
[ 12.720483] i915 0000:00:02.0: [drm] VT-d active for gfx access

But i cant found the mdev_supported_types in '/sys/bus/pci/devices/0000:00:02.0/
ls: cannot access '/sys/bus/pci/devices/0000:00:02.0/mdev_supported_types/': No such file or directory

try to config the VM , i cant use the option mdev
1682585656694.png

1682585694979.png


why i can not use the mDev funtion , somthing wrong for my proxmox setting or bios setting or hardware problem ?
 
Last edited:
Yes , 5th ~ 10th Intel iGPU support gvt-g , 12th cpu should use sriov

I upgrade the kernel version to 6.2.9 , installed the i915-sriov-dmks driver , already seem 7 VFs vGPU ...
I should have read my own link more carefully :p but glad you solved it
 
I can't set "Mdev type" (it's greyed out) with a 7th gen i5 (iGPU HD Graphics 620)... that should be fully supported.
Code:
intel_iommu=on i915.enable_gvt=1
already is in grub, modules are added in /etc/modules.

I had this working before, now I can't seem to be able to bring it back. Any tips?
 
after adding those lines to grub, did you run grub-update? Also, after addding the modules
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

# Intel GVT-g Split
kvmgt
to /etc/modules did you run update-initramfs -u -k all? Did you reboot afterwards? After having done all that, you can run cat /prc/cmdline to see which params are sent to the kernel. You can also run lsmod | grep kvmgt to see if the kvmgt module is being loaded. Please show me the output of these two commands as well as the output of pveversion -v
 
Hi, thank you, ultimately I disabled HW acceleration in Jellyfin (that's why I wanted split GPU passthrough) as on my i5 7200U the difference in speeds and power draw are so minimal, it's not worth the effort (I don't need lots of concurrent transcoding).

Now I got perfect setup - Jellyfin working, Win 10/11 with full GPU and audio passthrough, all working as expected:
https://forum.proxmox.com/threads/a...-ethernet-how-pass-through.128404/post-561804
 
  • Like
Reactions: noel.

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!