- Install build tools:
apt install build-essential dkms git/pacman -S base-devel dkms git. - Install the kernel and headers for desired version:
apt install linux-headers-$(uname -r)/pacman -S linux-headers. - Clone the repository:
git clone https://github.com/strongtz/i915-sriov-dkms.git. - Add the module to DKMS:
dkms add ./i915-sriov-dkms. - Install the module with DKMS:
dkms install i915-sriov-dkms/2026.05.03. - If you have secureboot enabled, and
dkms installtells you it created a self-signed certificate for MOK and you have not installed the host's certificate yet, install the certificate generated by dkms withmokutil --import /var/lib/dkms/mok.pub. - Once finished, the kernel commandline needs to be adjusted:
nano /etc/default/gruband changeGRUB_CMDLINE_LINUX_DEFAULTtointel_iommu=on i915.enable_guc=3 i915.max_vfs=7, or add to it if you have other arguments there already. - Update
grubandinitramfsby executingupdate-grubandupdate-initramfs -u/ for Arch Linuxgrub-mkconfig -o /boot/grub/grub.cfgandmkinitcpio -P. - Optionally use
sysfsutilsto set the number of VFs on boot. Installsysfsutils, then doecho "devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7" > /etc/sysfs.conf, - Reboot the system.
Leaving VFs exposed to the host can lead to system instability and software conflicts. VFs provide no functional benefit to the host environment; their sole purpose is to serve guest virtual machines. To ensure host stability and performance, it is highly recommended to block these VFs from the host operating system.
To apply this configuration, follow the Block VFs Setup Guide.
If secure boot support is required for you, please enable UEFI secure boot before installing i915-sriov-dkms. Note: Only applicable to Ubuntu, PVE, or other distributions based on Debian. Arch Linux users please refer to the Arch Linux Wiki.
To apply this configuration, follow the UEFI Secure Boot Setup Guide.
Depending on how you installed the dependencies or package, use the appropriate command:
Remove the package with dpkg -P i915-sriov-dkms
Remove the package with pacman -R i915-sriov-dkms
Remove the dkms module with dkms remove i915-sriov-dkms/2026.05.03