after realizing my problems with pci passthrough came from the pve kernel i gave the kernel v6.1 a try and got pci passthrough my iGPU working!
i was heavily guided by
with
now vainfo worked for me and i can transcode videos in hardware.
i was heavily guided by
- https://pve.proxmox.com/wiki/PCI(e)_Passthrough
- https://3os.org/infrastructure/prox...mox-configuration-for-gvt-g-split-passthrough
- https://gist.github.com/pulsejet/4d81c1356703b2c8ba19c1ca9e6f6e50
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on i915.enable_gvt=1 iommu=pt pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu"
- install kernel 6.1
Code:
sudo apt install pve-kernel-6.1 - black list i915 on host, in any conf file below /etc/modprobe.d
blacklist i915 install i915 /usr/bin/false - in /etc/modules add (yes, i needed kvmgt even if i don't use GVT-g)
Code:# Modules required for PCI passthroughvfio vfio_iommu_type1 vfio_pci vfio_virqfd # Modules required for Intel GVT-g Split kvmgt - run
Code:
update-grub && update-initramfs -u -k all - reboot host
- create VM (the follwing settings worked for me)
- machine (hardware): (i440fx)
- bios: (ovmf)
- add PCI device (with all functions and rom bar)
- start vm
- run
Code:sudo apt update sudo apt upgrade sudo apt install build-essentials - run this script: https://gist.github.com/pulsejet/4d81c1356703b2c8ba19c1ca9e6f6e50
you may safely remove the ffmpeg part
now vainfo worked for me and i can transcode videos in hardware.
Last edited: