Intel Arc770 PCI Passthrough Troubles: BAR 2 Cant Reserve

TheStig

New Member
Jan 10, 2023
1
0
1
Greetings,

I have followed many tutorials on these forums as well as other resources and I cannot seem to get this to work. Right now the main issue is Bar 2 Cant Reserve. I think thats the main issue at least.

Host Specs:
CPU: 13700k
GPU: Arc 770
RAM: 32gb
Storage: ZFS/mirrored 480gb intel 3500's

VM:
Windows 11 Pro
8gb RAM (temporary)
12 "cores"

I have seen people post some commands so I will try to post some that I can remember, but please ask for whatever you need to help :)

/etc/kernel/cmdline
Code:
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio-pci.ids=8086:56a0 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu

lsipci -k (my only dGPU)
Code:
03:00.0 VGA compatible controller: Intel Corporation Device 56a0 (rev 08)
        Subsystem: Intel Corporation Device 1020
        Kernel driver in use: vfio-pci

IOMMU Group
Code:
IOMMU Group 17:
        03:00.0 VGA compatible controller [0300]: Intel Corporation Device [8086:56a0] (rev 08)

dmesg | grep -e DMAR -e IOMMU
Code:
[    0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[    0.010821] ACPI: DMAR 0x0000000074A7E000 000088 (v02 INTEL  EDK2     00000002      01000013)
[    0.010848] ACPI: Reserving DMAR table memory at [mem 0x74a7e000-0x74a7e087]
[    0.131074] DMAR: IOMMU enabled
[    0.299157] DMAR: Host address width 39
[    0.299157] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.299160] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[    0.299161] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.299162] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[    0.299165] DMAR: RMRR base: 0x0000007c000000 end: 0x000000807fffff
[    0.299167] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.299167] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.299168] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.300638] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.489999] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    0.545608] DMAR: No ATSR found
[    0.545609] DMAR: No SATC found
[    0.545609] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.545610] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.545610] DMAR: IOMMU feature nwfs inconsistent
[    0.545610] DMAR: IOMMU feature dit inconsistent
[    0.545611] DMAR: IOMMU feature sc_support inconsistent
[    0.545611] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.545612] DMAR: dmar0: Using Queued invalidation
[    0.545614] DMAR: dmar1: Using Queued invalidation
[    0.547915] DMAR: Intel(R) Virtualization Technology for Directed I/O

/etc/default/grub
Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream,multifunction video=vesa:off vfio-pci.ids=8086:56a0 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu initcall_blacklist=sysfb_init"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
GRUB_CMDLINE_LINUX=""

/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=8086:56a0 disable_vga=1

/etc/pve/qemu-server/101.conf
Code:
agent: 1
bios: ovmf
boot: order=virtio0;net0;ide0
cores: 12
cpu: host
efidisk0: local-zfs:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:03:00,pcie=1,x-vga=1
ide0: none,media=cdrom
machine: pc-q35-7.1
memory: 8192
meta: creation-qemu=7.1.0,ctime=1675545127
name: win11
net0: virtio=1E:46:2E:7B:3C:FD,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=8c2cb9a8-13be-4cea-80b9-1f55b269b611
sockets: 1
tpmstate0: local-zfs:vm-101-disk-1,size=4M,version=v2.0
vga: none
virtio0: local-zfs:vm-101-disk-2,iothread=1,size=64G
vmgenid: 007c53d4-3797-4c10-95a0-b13a38248949
 
Last edited: