Hello, I am trying to achieve passthrough for Jellyfin docker container runing on a VM
My minipc is:
https://www.amazon.es/dp/B0DW92WJN7
With: Twin Lake-N150
Proxmox VE:
So I set up the IOMMU and blacklist I915 driver:
Then:
After reboot:
After VM Reboot:
What I am missing tho ??
My minipc is:
https://www.amazon.es/dp/B0DW92WJN7
With: Twin Lake-N150
Proxmox VE:
Code:
Linux minipc 6.5.13-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-5 (2024-04-05T11:03Z) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Oct 8 13:16:48 CEST 2025 on pts/0
root@minipc:~# uname -a
Linux minipc 6.5.13-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-5 (2024-04-05T11:03Z) x86_64 GNU/Linux
So I set up the IOMMU and blacklist I915 driver:
Code:
root@minipc:~# cat /etc/modprobe.d/blacklist.conf
blacklist i915
root@minipc:~#
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction video=efifbff video=vesaff vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=i915,radeon,nouveau,nvidia,nvidiafb,nvidia-gpu"
Code:
root@minipc:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.11.11-2-pve
Found initrd image: /boot/initrd.img-6.11.11-2-pve
Found linux image: /boot/vmlinuz-6.8.12-15-pve
Found initrd image: /boot/initrd.img-6.8.12-15-pve
Found linux image: /boot/vmlinuz-6.8.12-10-pve
Found initrd image: /boot/initrd.img-6.8.12-10-pve
Found linux image: /boot/vmlinuz-6.8.12-9-pve
Found initrd image: /boot/initrd.img-6.8.12-9-pve
Found linux image: /boot/vmlinuz-6.5.13-5-pve
Found initrd image: /boot/initrd.img-6.5.13-5-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
root@minipc:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.11.11-2-pve
dropbear: WARNING: Invalid authorized_keys file, SSH login to initramfs won't work!
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
root@minipc:~# reboot
root@minipc:~#
Code:
root@minipc:~# lspci | grep -i intel | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [Intel Graphics]
root@minipc:~# lspci -n -s 00:02.0
00:02.0 0300: 8086:46d4
root@minipc:~# qm set 110 -hostpci0 00:02.0,pcie=1,rombar=1
update VM 110: -hostpci0 00:02.0,pcie=1,rombar=1
root@minipc:~# qm config 110
agent: 1
boot: order=scsi0;net0
cores: 2
cpu: x86-64-v2-AES,flags=+aes
efidisk0: local-lvm:vm-110-disk-1,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 00:02.0,pcie=1,rombar=1
machine: q35
memory: 10000
meta: creation-qemu=9.2.0,ctime=1748603774
name: ubuntu
net0: virtio=BC:24:11:7C:6B:79,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-110-disk-0,iothread=1,size=128G
scsihw: virtio-scsi-single
smbios1: uuid=3aa09563-20ea-4866-b657-89bd1ec80142
sockets: 2
vmgenid: f09365e4-4bb1-42b0-b908-e5d95ae8d200
root@minipc:~#
Code:
karim@ubuntu:~$ lspci | grep -i intel
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: Intel Corporation Alder Lake-N [Intel Graphics]
karim@ubuntu:~$ ls -la /dev/dri/
total 0
drwxr-xr-x 3 root root 80 Oct 8 11:10 .
drwxr-xr-x 21 root root 4040 Oct 8 11:10 ..
drwxr-xr-x 2 root root 60 Oct 8 11:10 by-path
crw-rw---- 1 root video 226, 0 Oct 8 11:10 card0