Intel iGPU pass through issue

m@u

New Member
Nov 4, 2024
1
0
1
Hi everyone, I have a HP 800 G5 with i7-9700 with integrated 630 graphics and would like to pass through the iGPU from host machine to a VM/LXC container running Ubuntu.

The reason that I mentioned both VM and LXC container, because I tried both but haven't been successful yet. At the moment I am trying with a VM and I did the following on the host machine:

1. install -y intel-opencl-icd
2. update /etc/default/grub - GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt i915.enable_gvt=1"
3. iommu enabled
iommu_enabled.png

4. updated /etc/default/grub and updated grub
5. updated /etc/modules
etc_modules.png

6. update-initramfs -u -k all
7. lsmod | grep vfio
lsmod|grep_vfio.png

8. blacklisted intel drivers
black_list.png

9. created /etc/modprobe.d/i915.conf --> added line ->> options i915 enable_guc=3
10. blacklisted drivers
11. added vfio file --> options vfio-pci ids=8086:XXXX
12. kernel driver in use
kernel_driver.png

For the VM I have the following:

1731232685124.png

When I start the VM it gets stuck at boot, and when I run dmesg | grep -i -e DMAR -e IOMMU I get the following:

1731232918561.png

Help will be greatly appreciated.

Regards
Matt