Hello, I have tried to find a solution in the forums here or on the web but all solutions done by others are not working for my setup.
I am new to Proxmox.
It all started with watching videos on Youtube about how awesome and easy it is to use Proxmox to run a MacOS VM. We all have different hardware that we are working with and this is the issue for someone like me, i cannot just follow the steps others have done from A to Z, I have to either jump steps or add steps for my particular hardware.
Things I have done:
.
I am new to Proxmox.
It all started with watching videos on Youtube about how awesome and easy it is to use Proxmox to run a MacOS VM. We all have different hardware that we are working with and this is the issue for someone like me, i cannot just follow the steps others have done from A to Z, I have to either jump steps or add steps for my particular hardware.
Things I have done:
- I followed the official tutorial --> https://pve.proxmox.com/wiki/Pci_passthrough
- Enable the IOMMU (systemd-boot, Intel CPU) -->
[ 0.043989] DMAR: IOMMU enabled
- Required Modules
- IOMMU Interrupt Remapping -->
[ 0.125129] DMAR-IR: Enabled IRQ remapping in x2apic mode
- Verify IOMMU Isolation (All Xeon processor support them (E3,E5)) Installed in the PC is the Xeon E3-1241 v3 -->
/sys/kernel/iommu_groups/7/devices/0000:00:1c.0 /sys/kernel/iommu_groups/5/devices/0000:00:1a.0 /sys/kernel/iommu_groups/3/devices/0000:00:16.0 /sys/kernel/iommu_groups/3/devices/0000:00:16.3 /sys/kernel/iommu_groups/11/devices/0000:03:00.0 /sys/kernel/iommu_groups/1/devices/0000:00:01.0 /sys/kernel/iommu_groups/1/devices/0000:01:00.0 /sys/kernel/iommu_groups/1/devices/0000:01:00.1 /sys/kernel/iommu_groups/8/devices/0000:00:1c.3 /sys/kernel/iommu_groups/6/devices/0000:00:1b.0 /sys/kernel/iommu_groups/4/devices/0000:00:19.0 /sys/kernel/iommu_groups/2/devices/0000:00:14.0 /sys/kernel/iommu_groups/10/devices/0000:00:1f.2 /sys/kernel/iommu_groups/10/devices/0000:00:1f.0 /sys/kernel/iommu_groups/10/devices/0000:00:1f.3 /sys/kernel/iommu_groups/0/devices/0000:00:00.0 /sys/kernel/iommu_groups/9/devices/0000:00:1d.0
- Determine your PCI card address, and configure your VM -- >
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GL [Quadro K2200] (rev a2) 01:00.1 Audio device: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] (rev a1)
Config file -->
hostpci0: 0000:01:00.0,pcie=1,romfile=NVIDIA.QuadroK2200.4096.140922_1.rom hostpci1: 0000:01:00.1,pcie=1,romfile=NVIDIA.QuadroK2200.4096.140922_1.rom [*]
- dmesg errors -->
[ 2180.667640] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x1e@0x258 [ 2180.811649] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x19@0x900 [ 2180.955193] vfio-pci 0000:01:00.0: BAR 3: can't reserve [mem 0xf0000000-0xf1ffffff 64bit pref] [ 2181.099083] resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window] [ 2181.385639] caller pci_map_rom+0x7f/0x1f0 mapping multiple BARs [ 2181.526912] vfio-pci 0000:01:00.0: No more image in the PCI ROM
- BAR 3: can't reserve [mem] error, added kernel commandline option -->
video=efifb:off
- I removed the ROM file because the guide says : you usually do not need the ROM-file dumping mentioned at the end
- GPU Passthrough /etc/modprobe.d/vfio.conf -->
options vfio-pci ids=10de:13ba,10de:0fbc disable_vga=1
- Blacklisted the drivers in /etc/modprobe.d/pve-blacklist.conf -->
blacklist radeon blacklist nouveau blacklist nvidia blacklist nvidiafb
- UEFI bootable rom, To be UEFI compatible, you need a "type 3" in the result.
I have used the nvflash command to obtain the rom and rom-parser to verify it -->
./rom-parser /usr/share/kvm/NVIDIA.QuadroK2200.4096.140922_1.rom Valid ROM signature found @600h, PCIR offset 190h PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 13ba, class: 030000 PCIR: revision 0, vendor revision: 1 Valid ROM signature found @fc00h, PCIR offset 1ch PCIR: type 3 (EFI), vendor: 10de, device: 13ba, class: 030000 PCIR: revision 3, vendor revision: 0 EFI: Signature Valid, Subsystem: Boot, Machine: X64 Last image
- If i try to obtain the rom file with the linux echo command, rom-parser shows and error -->
Error, ran off the end
- I reflashed a verified and checked GPU rom back on the K2200 just to make sure.
- USB Passthrough, done, added USB v1.0 keyboard/mouse
- VT-d enabled in Bios
- Enable the IOMMU (systemd-boot, Intel CPU) -->
- I created a Recovery dmg file for Monterrey
- I created the MacOS VM with settings from youtube videos, i tried different settings.
- Installed Monterrey and booted, starts without opencore.iso, detached both .img and .iso, and The VM runs no trouble with Display : VMware compatible,, When set to (none) and try to see if the K2200 is passedthrough,, all i see is a black screen on the connected screen.
.
Last edited: