Intel i915 sr-iov mode for Flex 170 + Proxmox PVE Kernel 6.5

Is this at all possible on the intel arc 310? I dont need a lot of power just run 2 windows vms with accelerated graphics.

if intel (develops & ) releases a working firmware, very possible. :wink:

I got it working on my Intel Nuc NUC13ANKi5. iGPU works in Proxmox, a Debian Guest and the docker containers in the Debian Guest.

I can’t post the commands here as it includes links … anyone interested pm me.

Should be able to post links now, if not let me know

Is your setup unique to SR-IOV? Or can older intel iGPUs achieve similar?

I am using 8th Gen intel / UHD 630, it seems you are dedicating that GPU to this one VM? Or have I misunderstood?

The Intel i5-1135G7 is Tiger Lake. I misspoke on my previous post.

Na you can go another Route for your IGPU

You can assign them with GVT-g and not sriov.

GVT-g Works from haswell and up to 10th gen afaik. In Unraid there is a Plugin to assign Parts of the GPU for acceleration to VM‘s

Ok thanks for pointing that out.

I’m using Proxmox. I’ll have to search for a guide on GVT-G.

I actually have an unraid server but I’m in progress of migrating all the services to Proxmox.

"The 11th Generation of Intel® Core Processors works with SR-IOV (Single Root IO Virtualization), that is a new virtualization feature supported in hardware starting from Intel® Iris® Xe and in some of our discrete cards.

Gen9 (i.e. Graphics powering 6th through 9th generation Intel processors) is the last generation of the software-based vGPU solution GVT-G (Intel® Graphics Virtualization Technology –g)."

https://www.intel.com/content/www/us/en/support/articles/000058558/graphics.html

Hey guys - I’ve worked through the guide on my MS-01 and have been able to activate SR-IOV for the iGPU in Proxmox. However, I’m struggling to enable the driver on an Ubuntu guest VM. I can see the passed-through iGPU on the guest, but I’m unsure how to install the driver and enable it - the guide on the strongtz/i915-sriov-dkms github page is very limited, and I think I’m missing some key details. Many of the guides online describe using a Windows guest, so I’m a bit stuck.

  • Does anyone have a guide to install/enable the strongtz/i915-sriov-dkms driver in Ubuntu?
  • Does the Kernel version in the guest need to match the proxmox host?
  • Does the Ubuntu guest kernel need to be downgraded from 6.8 (if so,how?), or are the issues with 6.8 just limited to proxmox?

Thanks all!

Hi @minez - you sound like you’re in a similar position to this thread - give it a read and see if that helps you out.

It specifically addresses iGPU vfio functions passed to a guest VM (in this case, for the purposes of hardware-accelerated transcoding in Jellyfin).

I915 SR-IOV on i9-13900H (Minisforum MS-01) Proxmox PVE Kernel 6.5 - Jellyfin Full Hardware Accelerated LXC

There was a PR merged by Intel to the backport/main repository, now with support for kernel version 6.8
Built the out-kernel-tree module on Proxmox 8.2.2 and Ubuntu 24.04 as client.

1 Like

Hi,

Two days ago, I received a Flex 170 for testing. We’d like to use it in a productive environment for CAD (low budget, so NVIDIA is not an option).

I’m testing it on a Minisforum ar900i board with an i9-13900HX processor. However, I can’t get it running. I tried Kernel 6.5.13-6-pve and 6.8 as well.

My GRUB line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7 i915.force_probe=56c0"

dmesg | grep -i i915 (The Intel Flex is the 3rd from below, ID 03:00.0

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-6-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7 i915.force_probe=56c0
[    0.118983] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-6-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7 i915.force_probe=56c0
[    3.137827] i915: unknown parameter 'max_vfs' ignored
[    3.139086] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.139105] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.139143] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    3.139785] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.140400] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[    3.142924] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[    3.146012] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.29.2
[    3.146015] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    3.148253] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[    3.148579] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    3.148580] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    3.149035] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    3.149506] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[    3.149636] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    3.184808] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    3.186250] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.186870] i915 0000:03:00.0: Force probing unsupported Device ID 56c0, tainting kernel
[    3.186894] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    3.187540] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

I always encounter the problem that the Flex 170 drivers are not supported by the kernel, and forcing them doesn’t help. Could you provide details on which drivers you used exactly? I have tried quite a few, but none of them worked for me.

Passing Through the IGPU however, worked without any problems.

1 Like

Did you try the i915 driver from the guide at the top of this post? (I’ve not been following to see if it’s in this Proxmox kernel.)

K3n.

2 Likes

It appears that the problem lies with the SR-IOV implementation on my motherboard not functioning properly. Initially, after installing Flex, the system failed to boot. During the early stages of debugging, I reset my motherboard settings and accidentally forgot to reactivate SR-IOV.

Once I noticed this, I attempted to reactivate SR-IOV, but the hardware wouldn’t boot at all—not even into the BIOS. However, when I unplug the Flex card, everything works fine, and SR-IOV functions correctly with my Nvidia Tesla M10.

I have tried various BIOS settings to resolve the issue, but I’ve had no success in getting it to work.