Yet another iGPU passthrough thread, but pls help!

stegg

New Member
Oct 5, 2025
4
0
1
Italy
Long time lurker, first time poster, i.e. I am a noob.
I have a Lenovo mini pc with I5-13500.
I already looked at *a lot* of tutorials over the last few days and for the love of god I am unable to get a passthrough to a VM to run Jellyfin.
I altrady set iommu on grub, the update etc, nothing works.
I altrady reinstalled Proxmox multiple times to guarantee a blank fresh state.
On a fresh Proxmox install, when I write on host console
ls /dev/dri
I get the expected renderD128 result which would allow me to run Jellyfin with full Quicksync transcode.
but, after patching grub or even following the widely-suggested LongQT tutorial
https://github.com/LongQT-sea/intel-igpu-passthru
and using the correct rom file, my iGPU disappears from both host and guest and the ls /dev/dri result is always
ls: cannot access '/dev/dri': No such file or directory
I usually use Community Script to install a VM with Ubuntu 22, 24, 25 no differences observed. I can start the VM but always no iGPU is passed.
I even tried another machine, a HP mini pc with Intel Ultra 235T but got the same, no passthru.
With this machine it was even worse, I was never able to start the VM, got always this error log

Header
Proxmox
Virtual Environment 9.2.3
Node 'pve2'
Logs
()
generating cloud-init ISO
kvm: -device vfio-pci,host=0000:00:02.0,id=hostpci0,bus=pci.0,addr=0x10,romfile=/usr/share/kvm/igd.rom: info: OpRegion detected on Intel display 7d67.
kvm: -device vfio-pci,host=0000:00:02.0,id=hostpci0,bus=pci.0,addr=0x10,romfile=/usr/share/kvm/igd.rom: vfio 0000:00:02.0: Cannot create LPC bridge due to existing device at 1f.0
TASK ERROR: start failed: QEMU exited with code 1



Anyone can help me, what am I missing?
 
here is my /etc/pve/qemu-server/102.conf

Code:
agent: 1
args: -set device.hostpci0.x-igd-lpc=on
bios: ovmf
boot: order=scsi0
cipassword: (snip)
ciupgrade: 0
ciuser: root
cores: 4
cpu: host
efidisk0: local-lvm:vm-102-disk-0,size=4M
hostpci0: 0000:00:02.0,legacy-igd=1,romfile=igd.rom
ipconfig0: ip=192.168.1.249/24,gw=192.168.1.1,ip6=auto
localtime: 1
machine: pc
memory: 8192
meta: creation-qemu=11.0.0,ctime=(snip)
name: debian-jellyfin
net0: virtio=(snip),bridge=vmbr0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-102-disk-1,discard=on,size=100G,ssd=1
scsi1: local-lvm:vm-102-cloudinit,media=cdrom
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=(snip)
tablet: 0
tags: community-script
vga: none
vmgenid: (snip)
 
Check this module: https://github.com/strongtz/i915-sriov-dkms

When following the instructions you can create "virtual gpus" to passthrough into your VM.
Works fine for me on both i915 and xe drivers, you just need to have the same in Host and VM.

Caveat: use machine type q35 to enable the passthroug of PCI-E devices.
Thank you! a tutorial I didn't see before, and not an ai slop. I will definitely try tonight.
Meanwhile I have this very stupid question: it's unclear to me when I have to install igpu drivers: just after a fresh proxmox installation? or after I configure all of this? and before of after creating the VM?
 
You install the DKMS on Proxmox first and enable VFs as per the tutorial. Then you create the VM, which has one of the virtual GPUs passed through. Finally you install the same DKMS driver on the VM.

With this approach there is also no need to replace ROM files or similar, everything needed is included in the DKMS.
 
  • Like
Reactions: stegg
Try installing the full kernel. Type something like this into the terminal, then press Tab to see which kernels are available:
Code:
sudo apt update && sudo apt install linux-generic
 
Last edited: