[SOLVED] iGPU intel 620 PCI passthrough on Intel NUC7i5DNH

massimogtsg

New Member
Oct 10, 2024
2
1
3
Dear Proxmox community,

I've been trying to passthrough the iGPU of a Intel NUC7u5DNH to a Debian VM without success.

lspci gives the following:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02).
dmesg detects and adds the PCI device
[ 0.366384] iommu: Default domain type: Passthrough (set via kernel command line)
[ 0.433734] pci 0000:00:02.0: Adding to iommu group 0
The VM config file:
Code:
root@pve:~# cat /etc/pve/qemu-server/100.conf
bios: seabios
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
hostpci0: 0000:00:02
ide2: local:iso/debian-live-12.7.0-amd64-standard.iso,media=cdrom,size=1498496K
machine: pc-i440fx-4.2
memory: 6096
meta: creation-qemu=9.0.2,ctime=1728314541
net0: virtio=BC:24:11:7A:2B:A1,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-0,discard=on,iothread=1,size=64G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=9e41d096-c739-42ee-a432-796d87601df8
sockets: 1
vga: none
vmgenid: 4a1eb654-921d-4379-853d-762c2885f885

/etc/modprobe.d/blacklist.conf
Code:
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915

cat /etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=8086:5916 disable_vga=1

The HDMI output gets highjacked the moment I boot the VM. I also detect the iGPU 620 inside the VM as an intel 620. The monitor, however, still detects no output signal. What am I doing wrong?
 
Hi,

Can you try to get rid of the `blacklist i915` from the blacklist.conf, since the iGPU passthrough to work, the VM needs to load the i915 driver inside the VM.
 
i also have an NUC7. Using a Windows 11 vm i can see the hardware showing up in device manager using RDP. I can install the driver... but i dont get any screen output. It just stays black and after couple of seconds screen displays "No Signal"

/etc/default/grub
Code:
intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction initcall_blacklist=sysfb_init video=simplefb:off video=vesafb:off video=efifb:off video=vesa:off disable_vga=1 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu

/etc/modules
Code:
vfio"
vfio_iommu_type1"
vfio_pci"

00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics 640 [8086:5926] (rev 06)
/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=8086:5926 disable_vga=1

/etc/modprobe.d/i915.conf
Code:
softdep i915 pre: vfio-pci
softdep snd_hda_intel pre: vfio-pci
softdep snd_hda_codec_hdmi pre: vfio-pci

PVE: 8.4.0
Kernels: 6.8.12-9, 6.8.12-5, 6.5.13-5, 6.5.13-3 (tried these kernels)

any help would be appriciated
 

Attachments

  • 1752392503071.png
    1752392503071.png
    4.3 KB · Views: 1
HDMI video via Display port to a ubuntu-25.10 VM Kernel 6.15 works out out of the box for me.
Other Kernels above 6.8 appear to need

Passing through sound is an outstanding task for me. Which appear to have been an issue since Kernel 5.15. Some have had better luck with i440FX instead of Q35 but that fix didn't work for me.

PS:
Tested on i5-1235U not your processor
 
Last edited: