Intel N150 GPU passthrough

michele.scapini

New Member
Jan 11, 2025
1
0
1
Hi guys,
I recently bought a Beelink mini pc EQ14 with Intel N150 CPU.
I joined this mini pc in my 2 node cluster (with a qdevice as witness) and i want to move some VM there.
one of this VM is a debian 12.8 with plex media server and a GPU for hw transcode.
right now on the other node i have a Nvidia Quadro P620, but i'm pretty sure that the new igpu on the N150 can do the same job with less and less power (i have new devices as media player, so i can use the transcode only when i'm in mobility and i use the playback over WAN connection, so 1 or max 2 stream with transcoding).
on the node where i installed the P620 in 5 minutes i enabled the GPU passthrough without any issue, but on the new beelink is 2 days that i try commands over commands without success.
i'm trying to add the iGPU on a windows test vm, on device manager i see the intel gpu but with code 43.
on BIOS the IOMMU is enabled
i tried using the kernel 6.8 and 6.11 (now i'm on 6.11
the IOMMU is enabled on systemd-boot
root@scp-hvm02:~# dmesg | grep -e DMAR -e IOMMU
[ 0.017909] ACPI: DMAR 0x0000000075596000 000088 (v02 INTEL EDK2 00000002 01000013)
[ 0.017942] ACPI: Reserving DMAR table memory at [mem 0x75596000-0x75596087]
[ 0.070891] DMAR: IOMMU enabled
[ 0.164251] DMAR: Host address width 39
[ 0.164253] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.164261] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[ 0.164264] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.164269] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[ 0.164272] DMAR: RMRR base: 0x0000007c000000 end: 0x000000803fffff
[ 0.164276] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.164278] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.164280] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.165911] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.412024] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.505645] DMAR: No ATSR found
[ 0.505647] DMAR: No SATC found
[ 0.505649] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.505651] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.505653] DMAR: IOMMU feature nwfs inconsistent
[ 0.505654] DMAR: IOMMU feature dit inconsistent
[ 0.505656] DMAR: IOMMU feature sc_support inconsistent
[ 0.505658] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.505660] DMAR: dmar0: Using Queued invalidation
[ 0.505665] DMAR: dmar1: Using Queued invalidation
[ 0.506111] DMAR: Intel(R) Virtualization Technology for Directed I/O

this is the cmdline
root@scp-hvm02:~# cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt intel_pstate=disable initcall_blacklist=sysfb_init

this is the modprobe vfio.conf
root@scp-hvm02:~# cat /etc/modprobe.d/vfio.conf
options vfio-pcs ids=8086:46d4

this is the lspci -nnkv

root@scp-hvm02:~# lspci -nnkv
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [Intel Graphics] [8086:46d4] (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Intel Corporation Alder Lake-N [Intel Graphics] [8086:7270]
Flags: bus master, fast devsel, latency 0, IRQ 144, IOMMU group 0
Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: vfio-pci
Kernel modules: i915

this is the vm conf

root@scp-hvm02:~# cat /etc/pve/qemu-server/100.conf
agent: 1
bios: ovmf
boot: order=sata0
cores: 4
cpu: host
efidisk0: datastoreVM:vm-100-disk-0,size=128K
hostpci0: 0000:00:02,pcie=1,x-vga=1
ide0: none,media=cdrom
machine: pc-q35-9.0
memory: 5120
meta: creation-qemu=9.0.2,ctime=1729608597
name: scp-admin1
net0: virtio=BC:24:11:C0:4D:66,bridge=vmbr1,tag=254
numa: 0
onboot: 1
ostype: win11
sata0: datastoreVM:vm-100-disk-1,size=64G
scsihw: virtio-scsi-pci
smbios1: uuid=564d64c6-58e0-4172-0c14-80e97ed86b01
sockets: 1
startup: order=4,up=10,down=10
vga: none
vmgenid: 7501b140-abbb-4fb1-b896-834e87b4fe4b

can you tell me where i'm wrong on the config?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!