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

So I tried replicating this with a VM, or at least getting the VM to load the appropriate driver and get it all running, but over the last couple days I haven’t had success getting the passed in i915 driver within the VM to load in and work.

Yesterday I went as far as compiling a custom kernel, but uh, that ran into some issues as well - mostly that I accidentally ran out of disk space on the VM (make sure you have at least 40GB if you wanna do a custom kernel, lol). But after getting that resolved, I still couldn’t install the custom kernel anyway.

I think that the problem is that I tried installing the i915-sriov-dkms driver first (before the custom kernel) and now that the kernel is changing, there’s incompatibility there? I haven’t played with the Linux Kernel on this level ever before, so I’m not really sure what I’m doing.

I’m still interested in figuring this out, but so far haven’t had success. Time is definitely a limiting factor here, but I wanted to report back with my experience so far.

I might nuke this VM and start over with something clean and see where I get.


Notes:

Replicating the LXC experience:

Tried installing the linux intel driver as in the LXC container above

Resulted in the driver not being able to load. I can see a device at /dev/dri/RenderD128, but it doesn’t initialize.

Kernel Build

(github) strongtz/i915-sriov-dkms:Readme#Linux-guest-installation-steps

During installation of the linux kernel compiled with the

CONFIG_INTEL_MEI_PXP=m
CONFIG_DRM_I915_PXP=y

parameters set as described, it fails to install. The output (truncated):

make -j4 KERNELRELEASE=6.1.76-sriov -C /lib/modules/6.1.76-sriov/build M=/var/lib/dkms/i915-sriov-dkms/6.1.0-20/build KVER=6.1.76-sriov...............(bad exit Status: 2)
Error! Bad return status for module build on kernel: 6.1.76-sriov (x86_64)
Consult /var/lib/dkms/i915-sriov-dkms/6.1.0-20/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel 6.1.46-sriov failed!

VM Info:

  • Debian 12 (bookworm) base from 12.5.0 ISO disk
  • 4GB ram, not ballooning
  • 4 cores (kernel building seems to only use a single thread, so it’s not speed limited)
  • q35
  • UEFI, Secure boot in Proxmox UEFI BIOS turned OFF
1 Like