vGPU to VM on 12600K

krost

New Member
Nov 21, 2022
1
0
1
Hi all,

I am trying to virtualize Intel iGPU for multiple VMs for media encode/decode.
I followed this guide but the GPU is only one, and not 7 like it should be:
Code:
root@pve:~# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)

Code:
root@pve:~# dmesg | grep i915
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    0.078494] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
               use xe.force_probe='4680' and i915.force_probe='!4680'
[    5.986058] i915: module verification failed: signature and/or required key missing - tainting kernel
[    6.149732] i915 0000:00:02.0: Running in SR-IOV PF mode
[    6.150479] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    6.150499] i915 0000:00:02.0: vgaarb: deactivate vga console
[    6.150531] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    6.151148] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    6.151729] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[    6.152835] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[    6.156231] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.20.0
[    6.156234] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    6.159238] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads!
[    6.159530] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    6.159531] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    6.159849] i915 0000:00:02.0: [drm] GuC RC: enabled
[    6.160376] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[    6.160463] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    6.183369] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    6.184561] i915 0000:00:02.0: 7 VFs could be associated with this PF
[    6.185013] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    6.185016] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.185226] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    7.334058] i915 0000:00:02.0: not enough MMIO resources for SR-IOV
[    7.426499] i915 0000:00:02.0: [drm] *ERROR* Failed to enable 7 VFs (-ENOMEM)
[    7.521950] i915 0000:00:02.0: not enough MMIO resources for SR-IOV
[    7.616712] i915 0000:00:02.0: [drm] *ERROR* Failed to enable 7 VFs (-ENOMEM)

Did this on a fresh install.The only thing out of place is that there's no SR-IOV in the BIOS. Vt-d is enabled and secure boot disabled, but I can't find any SR-IOV option.
This is my setup:
  • CPU: 12600K
  • MOBO: Gigabyte B760M Gaming X
  • Proxmox VE: 8.2.4 kernel: 6.8.12-1-pve
Chances are that the mobo doesn't support SR-IOV, right?
Any ideas? Thanks!
 
Last edited:

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!