Help Setting up gpu passthrough

mggk

New Member
Nov 25, 2019
1
0
1
31
Hello !

I try to setup a gpu passthrough on my Proxmox 6.

My system is running an Intel CPU (https://ark.intel.com/content/www/f...-4670k-processor-6m-cache-up-to-3-80-ghz.html)

I've read the setup guide in the proxmox wiki.
And enabled the Intel Virtualization technology in my BIOS. (For info, i couldn't find an IOMMU specific option in my BIOS).

I've done the following modifications to my grub file

Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

Then updated the grub and rebooting the server.
Code:
update-grub
reboot

At reboot i've type the IOMMU check command :
Code:
root@pve:~# dmesg | grep -e DMAR -e IOMMU
[    0.075822] DMAR: IOMMU enabled

Added the vfio modules :
Code:
root@pve:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

THe interrupt remapping looks to be not supported on my system, so i've added the unsafe interrupt module setting :
Code:
root@pve:~# cat /etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1

Checking iommu_groups looks like there's nothing
Code:
root@pve:~# find /sys/kernel/iommu_groups/ -type l
root@pve:~#

And when i try to add a PCI device, i got this error :
Code:
No IOMMU detected, please activate it.See Documentation for further information.

Does anyone have an idea on how to to GPU passtrough on this sysmtem ? Or is it definitively dead ?

Thanks for your help and answers :)