SR-IOV iGPU passthrough (i915) on current kernels?

balthisar

New Member
Jan 29, 2024
10
1
3
I've updated to Proxmox VE 9.1, and I'm successfully passing through my Raptor Lake iGPU to the existing virtual machines, mostly Debian 12 Bookworm instances with 6.5-era kernels and some Windows 11 workstations. These all work fine, and the upgrade has been fine, and the strongtz/i915-sriov-dkms on the new host and the current kernel is just perfect.

I'm encountering issues with newer kernels, though, in that applying the strongtz/i915-sriov-dkms looks like it works on newer guest VM's, but simply doesn't work. My litmus test is ffmpeg, which fails opening the device (for example,
Code:
ffmpeg -hide_banner -init_hw_device qsv=hw -f lavfi -i testsrc -frames 1 -f null -
).

The thing is, I'd like to update my existing VM's, and create new ones with Debian 13 and/or Ubuntu 24.04 or 25.10, but these have been failing on me 100%. Even Debian 12, if I stick to the 6.5.0-0.deb12.4-amd64 kernel, I'm good, but if I create an up to date vm with 6.12.57+deb12-amd64 it things are broken.

I can apply and the dkms package and build ffmpeg blindfolded by now, yet I'm not having success.

Can anyone point a repo or a tutorial or provide a hint on how to get this working on current kernels? Preferably Trixie, but anything I can update will do.

Thanks!