Skip to content

[AUTOPILOT] VFIO Passthrough Not working, even if VFIO-PCI Devices are detected #213

@Hydroponic-Gardener

Description

@Hydroponic-Gardener

Describe the Issue

Upon finally setting up VFIO-PCI using Autopilot, I've tried to start a GPU passthrough. But when I try to run the "autopilot", it just says "No VFIO-PCI Devices found".

The GRUB config line: GRUB_CMDLINE_LINUX_DEFAULT="vfio-pci.ids=8086:1912 intel_iommu=on iommu=pt video=efifb:off quiet splash modprobe.blacklist=i915"

Results:

Image

Reproduce the Issue

Setup the kernel using the built-in tools
Regenerate GRUB
Reboot
Attempt to use AUTOPILOT to set it up
"No VFIO-PCI Devices Found" error

Expectation

VFIO-PCI Device, being my iGPU to be detected. Which it worked with the Audio Output from intel's iGPU

Operating System

Fedora 43

Kernel

6.18.2-200.nobara.fc43.x86_64

Processor

i7-6700

RAM (in GB)

64

GPU(s)

Passthrough: iGPU (Intel HD 530). Main: Nvidia GTX 1660

Version

v0.13.4

Branch

main

Generated Script File

#!/usr/bin/env bash
# shellcheck disable=SC2054

#
#   APC-RUN_27-12-2025_19-28-11
#
#   THIS FILE WAS GENERATED USING AUTOPILOT.
#
#   To boot this script, run the following command:
#   $ ./boot.sh
#

#
#	boot.sh
#	Created by Coopydood as part of the ultimate-macOS-KVM project.
#
#	Profile: https://github.com/Coopydood
#	Repo: https://github.com/Coopydood/ultimate-macOS-KVM
#
#	Adapted from OSX-KVM among others.
#	Greetz to TheNickDude, Dortania, kholia, foxlet, and other contributors :]
#


ID="macOS"
NAME="macOS 15"
FILE="boot.sh"

ULTMOS=0.13.4
IGNORE_FILE=0
REQUIRES_SUDO=0
VFIO_PTA=0
VFIO_DEVICES=0
GEN_EPOCH=1766860091
FEATURE_LEVEL=11
VERBOSE=1
DISCORD_RPC=1
DISCORD_RPC_IMG="default"

SCREEN_RES="1920x1080"

ALLOCATED_RAM="16G"
CPU_SOCKETS="1"
CPU_CORES="2"
CPU_THREADS="4"
CPU_MODEL="Haswell-noTSX"
CPU_FEATURE_ARGS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"

REPO_PATH="/run/media/hydroponicgardener/9deb333b-caee-4fde-afbe-216de9e46750/DockerOSX/ultimate-macOS-KVM-main"
VM_PATH="/run/media/hydroponicgardener/9deb333b-caee-4fde-afbe-216de9e46750/DockerOSX/ultimate-macOS-KVM-main"
OVMF_DIR="/run/media/hydroponicgardener/9deb333b-caee-4fde-afbe-216de9e46750/DockerOSX/ultimate-macOS-KVM-main/ovmf"

VFIO_ID_0="$USR_VFIO_ID_0"
VFIO_ID_1="$USR_VFIO_ID_1"
VFIO_ROM="$USR_VFIO_ROM"

USB_DEVICES="$USR_USB_DEVICES"

NETWORK_DEVICE="virtio-net"
MAC_ADDRESS="00:16:cb:00:21:09"

OS_ID="Sequoia"

HDD_PATH="$VM_PATH/HDD.qcow2"
DISK_TYPE="SSD"

#   You should not have to touch anything below this line, especially if you
#   don't really know what you're doing. It'll probably break something.

args=(
-global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off
-enable-kvm -m "$ALLOCATED_RAM" -cpu "$CPU_MODEL",kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$CPU_FEATURE_ARGS"
-machine q35
-boot menu=on,splash-time=5
#-device usb-ehci,id=ehci
#-device qemu-xhci,id=xhci
-usb -device usb-kbd -device usb-tablet 
#USB_DEV_BEGIN
#USB_DEV_END
-smp threads="$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS"
-device pcie-root-port,bus=pcie.0,slot=1,x-speed=16,x-width=32
#VFIO_DEV_BEGIN
#VFIO_DEV_END
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
-drive if=pflash,format=raw,readonly=on,file="$OVMF_DIR/OVMF_CODE.fd"
-drive if=pflash,format=raw,file="$OVMF_DIR/OVMF_VARS.fd"
-smbios type=2
-audio driver=sdl,model=virtio
-device ich9-ahci,id=sata
-drive id=OpenCore,if=none,format=qcow2,file="$VM_PATH/boot/OpenCore.qcow2"
-drive id=HDD,if=none,file="$HDD_PATH",format=qcow2
-device ide-hd,bus=sata.2,drive=OpenCore,bootindex=1
-device ide-hd,bus=sata.3,drive=HDD,rotation_rate=1

############## REMOVE THESE LINES AFTER MACOS INSTALLATION ###############
-drive id=BaseSystem,if=none,file="$VM_PATH/BaseSystem.img",format=raw
-device ide-hd,bus=sata.4,drive=BaseSystem
##########################################################################

-netdev user,id=net0 -device "$NETWORK_DEVICE",netdev=net0,id=net0,mac="$MAC_ADDRESS"
-device qxl-vga,vgamem_mb=128,vram_size_mb=128    
-monitor stdio
-virtfs local,path=/run/media/hydroponicgardener/9deb333b-caee-4fde-afbe-216de9e46750/DockerOSX/files/,mount_tag=hostshare,security_model=none,id=hostshare
#-display none
#-vga qxl

################ UNCOMMENT IF YOU WANT TO USE VNC MONITOR ################
#-vnc 0.0.0.0:1,password=on -k en-us
##########################################################################

)

while getopts d: flag
do
    case "${flag}" in
        d) DISCORD_RPC=${OPTARG};;
    esac
done

if [ $VERBOSE = 1 ]
then
echo
echo \ \ \──────────────────────────────────────────────
echo \ \ \ \ \ $FILE
echo \ \ \ \ \ $ID $OS_ID
echo
echo \ \ \ \ \ Built with ULTMOS v$ULTMOS
echo \ \ \ \ \ Using $CPU_MODEL CPU model
if [ $REQUIRES_SUDO = 1 ]
then
echo \ \ \ \ \ Superuser privileges enabled
fi
if [ $VFIO_PTA = 1 ]
then
echo \ \ \ \ \ Passthrough enabled
else
echo \ \ \ \ \ Passthrough disabled
fi
if [ $DISCORD_RPC = 1 ]
then
echo \ \ \ \ \ Discord RPC enabled
else
echo \ \ \ \ \ Discord RPC disabled
fi
echo \ \ \──────────────────────────────────────────────
echo
fi

if [ $DISCORD_RPC = 1 ]
then
"$REPO_PATH/scripts/drpc.py" --os "$OS_ID" --pt $VFIO_DEVICES --wd "$REPO_PATH" --show "$DISCORD_RPC_IMG" &
fi

qemu-system-x86_64 "${args[@]}"

if [ $DISCORD_RPC = 1 ]
then
pkill -f drpc.py
fi

Generated XML File (if applicable)

Generated Log File

ULTMOS VPTA LOG 29-12-2025 19:28:37
──────────────────────────────────────────────────────────────
[19:28:37.949][ INFO ]:  ULTMOS v0.13.4
[19:28:37.949][ INFO ]:   
[19:28:37.949][ INFO ]:  Name       : VFIO Passthrough Assistant
[19:28:37.949][ INFO ]:  File       : vfio-passthrough.py
[19:28:37.949][ INFO ]:  Identifier : VPTA
[19:28:37.949][ INFO ]:  Vendor     : Hyperchromiac, Coopydood
[19:28:37.949][ INFO ]:   
[19:28:37.949][ INFO ]:  Logging to ./logs/VPTA_RUN_29-12-2025_19-28-37.log
[19:28:37.951][ WAIT ]:  Detecting VFIO-PCI devices...
[19:28:38.016][ INFO ]:  Detected 1 VFIO-PCI devices
[19:28:38.018][ WAIT ]:  Main Menu >> Awaiting input from user
[19:28:42.397][ INFO ]:  User has selected 'Passthrough VFIO-PCI devices'
[19:28:42.399][ WAIT ]:  Select VFIO-PCI devices >> Awaiting input from user
[19:28:49.611][ INFO ]:  User has selected ID 00:1f.3
[19:28:49.613][ WAIT ]:  Select VFIO-PCI devices >> Awaiting input from user
[19:28:52.438][ INFO ]:  User has finished selecting VFIO-PCI devices
[19:28:52.439][ INFO ]:  0 GPUs detected.
[19:28:52.439][ INFO ]:  Validate VFIO-PCI devices >> User has selected a total of 1 VFIO-PCI devices
[19:28:52.440][ WAIT ]:  Validate VFIO-PCI devices >> Awaiting input from user...
[19:28:55.312][ INFO ]:  User has opted to not follow through with their current VFIO-PCI devices
[19:28:55.315][ WAIT ]:  Detecting VFIO-PCI devices...
[19:28:55.375][ INFO ]:  Detected 1 VFIO-PCI devices
[19:28:55.377][ WAIT ]:  Main Menu >> Awaiting input from user
[19:28:57.676][ INFO ]:  User has selected 'Main Menu'

ULTMOS VPTA LOG 29-12-2025 19:49:35
──────────────────────────────────────────────────────────────
[19:49:35.407][ INFO ]:  ULTMOS v0.13.4
[19:49:35.407][ INFO ]:   
[19:49:35.407][ INFO ]:  Name       : VFIO Passthrough Assistant
[19:49:35.407][ INFO ]:  File       : vfio-passthrough.py
[19:49:35.407][ INFO ]:  Identifier : VPTA
[19:49:35.407][ INFO ]:  Vendor     : Hyperchromiac, Coopydood
[19:49:35.407][ INFO ]:   
[19:49:35.407][ INFO ]:  Logging to ./logs/VPTA_RUN_29-12-2025_19-49-35.log
[19:49:35.409][ WAIT ]:  Detecting VFIO-PCI devices...
[19:49:35.473][ FATAL ]: User's machine does not have any stubbed VFIO-PCI devices.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingPendingThe issue or pull request is being reviewed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions