Jump to content

Proxmox VE OSX Guide discussion


fabiosun

Recommended Posts

  • Supervisor
7 hours ago, iGPU said:

I spent a few days trying to passthru the GPU. All variations suggested on this thread didn't help. Most other things were relatively easy to pass but I was stymied with the GPU. Finally it worked: thanks to reading PAVO's GitHub. I was not booting Proxmox into UEFI mode, but standard mode. (Mea Culpa!) Once I switched methods, the GPU easily passed and did not require a GPU-rom file nor any unbinding code. This UEFI boot issue needs to be high-lighted for those of us who over look details. 😉

 

***

 

One odd behavior I noted on this build is that high capacity USB connected drives open very slowly (the window opens quickly but is empty and only after 20 sec or more, do the contents appear in the window). Finder functionality seems otherwise okay.

 

I've now been working on getting IORegistryExplorer info organized with better SSDT and DeviceProperties; mostly labelling, cosmetic issues (like assigning XHC, XHCI, etc). Hackintool does not see any USB ports but from what I see, there is no more than 10 USB ports on a given USB device, so I think no kexts or UIAC SSDTs are required to limit ports.

 

***

 

Next, I started work on the GB Titan Ridge PCIe card. I flashed modified firmware onto it (I have these flashed cards working well on the X299 and on-board TB on a Z390 mobo). Unfortunately, it does not yet work. Below is the TB tree(s) in first Spoiler. The 8086,15eb is the NHI TB section; the 8086,15ec, the USB TB section. These are normally branches off the main trunk, instead of 2 separate devices. So usual custom SSDT starts to fill out the NHI section, but leaves the USB section as is. So no active TB. We need the whole tree.

 

The problem seems to stem from passing some addresses. To clarify, the card was placed in the PCIe slot farthest from CPU and gave addresses as shown in next Spoiler (your addresses may vary). There are several sections associated with TB cards: the nodes of the TB tree are each at different addresses (and in different IOMMU groups; shown next).

 

As can be seen in the address data, only 4b:00.0 and 53:00.0 are passed based on being able to substitute "vfio-pci" for the Thunderbolt drivers. The other ports, 49:00.0 and 4a:00 when passed in the VM cause a failed start, giving an error: "kvm: -device vfio-pci,host=0000:49:00.0,id=hostpci7,bus=ich9-pcie-port-8,addr=0x0: vfio 0000:49:00.0: failed to open /dev/vfio/58: No such file or directory". (If 49:00.0 is removed and 4a:00.0 is left, then the same error with 4a:00.0 is given; VM start only can occur if both 49 and 4a are removed.)

 

I then tried blacklisting "pcieport", but that did not help. Lots of internet searching also turned up no help: there is no clear indication that anyone has successfully passed TB devices (some posts talk about using TB for eGPU usage, but no one has indicated passing a TB card to use for proper audio or TB drive connections). 

 

There is also a similar problem when trying to pass the Audio section which is something like 25:00.4 (on most of our TRX40 mobos), and also when trying to pass 2 other USB controllers, the two located at 4:00.3 and 25:00.3 (adjacent to Audio controller). When trying to pass 4:00.3, 25:00.3 or the above TB addresses are passed, one cannot start VM. But I think the Audio and USB problems are due to different reasons.

 

When using IORegistryExplorer, the inability to pass the Realtek Audio device and the 2 other USB devices may be that Proxmox is already using them and 'silently' passing them. A section from IORegistryExplorer is shown in the next Spoiler. Here you canl see the Realtek device, with all channels, is being passed via USB. So Proxmox has tight control over these addresses and that is why we cannot pass them? (Personally, I use either external USB or TB devices to process audio, so I don't use the Realtek device.)


Anyhow, getting back to TB, I think it will work if we can get those other 2 sections properly passed. Any ideas?

 

  Reveal hidden contents

GB-TRX40-D-TR-PCI.jpg.fff30832f5858cbf85104b4daea05c29.jpg

 

  Reveal hidden contents


Thunderbolt Addresses:

49:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
        Kernel driver in use: pcieport
4a:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
        Kernel driver in use: pcieport
4a:01.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
        Kernel driver in use: pcieport
4a:02.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
        Kernel driver in use: pcieport
4a:04.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
        Kernel driver in use: pcieport
4b:00.0 System peripheral [0880]: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] [8086:15eb] (rev 06)
        Subsystem: Device [2222:1111]
        Kernel driver in use: vfio-pci
        Kernel modules: thunderbolt
53:00.0 USB controller [0c03]: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] [8086:15ec] (rev 06)
        Subsystem: Device [2222:1111]
        Kernel driver in use: vfio-pci 

 



IOMMU Groups:

IOMMU Group 58 49:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 59 4a:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 60 4a:01.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 61 4a:02.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 62 4a:04.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 63 4b:00.0 System peripheral [0880]: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] [8086:15eb] (rev 06)
IOMMU Group 64 53:00.0 USB controller [0c03]: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] [8086:15ec] (rev 06)

 

 

  Reveal hidden contents

Realtek_USB_GBDesignare.jpg.81e0550895f60586c05a6c4fdee631a7.jpg

 

lspci -tv gives a different view of the TB addresses as compared to other addresses:

  Reveal hidden contents


-+-[0000:60]-+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
 |           +-00.2  Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
 |           +-01.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-02.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-03.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-04.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-05.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-07.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-07.1-[61]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
 |           +-08.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           \-08.1-[62]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
 +-[0000:40]-+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
 |           +-00.2  Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
 |           +-01.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-01.1-[41-48]----00.0-[42-48]--+-03.0-[43]----00.0  Intel Corporation I210 Gigabit Network Connection
 |           |                               +-05.0-[44]----00.0  Intel Corporation I210 Gigabit Network Connection
 |           |                               +-06.0-[45]----00.0  Intel Corporation Device 2723
 |           |                               +-08.0-[46]--+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
 |           |                               |            +-00.1  Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
 |           |                               |            \-00.3  Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
 |           |                               +-09.0-[47]----00.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
 |           |                               \-0a.0-[48]----00.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
 |           +-01.3-[49-5a]----00.0-[4a-5a]--+-00.0-[4b]----00.0  Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018]
 |           |                               +-01.0-[4c-52]--
 |           |                               +-02.0-[53]----00.0  Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018]
 |           |                               \-04.0-[54-5a]--
 |           +-02.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-03.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-04.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-05.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-07.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-07.1-[5b]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
 |           +-08.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           \-08.1-[5c]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
 +-[0000:20]-+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
 |           +-00.2  Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
 |           +-01.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-02.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-03.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-03.1-[21-23]----00.0-[22-23]----00.0-[23]--+-00.0  Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64]
 |           |                                            \-00.1  Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64]
 |           +-04.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-05.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-07.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           +-07.1-[24]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
 |           +-08.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
 |           \-08.1-[25]--+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
 |                        +-00.1  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
 |                        +-00.3  Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller
 |                        \-00.4  Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
 \-[0000:00]-+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
             +-00.2  Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
             +-01.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-01.1-[01]----00.0  Phison Electronics Corporation Device 5016
             +-01.2-[02]----00.0  Phison Electronics Corporation E12 NVMe Controller
             +-02.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-03.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-04.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-05.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-07.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-07.1-[03]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
             +-08.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
             +-08.1-[04]--+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
             |            \-00.3  Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller
             +-14.0  Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
             +-14.3  Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
             +-18.0  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 0
             +-18.1  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 1
             +-18.2  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 2
             +-18.3  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 3
             +-18.4  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 4
             +-18.5  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 5
             +-18.6  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 6
             \-18.7  Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 7

 

 

 

This I mean when I said you made my day 🙂

A positive and helpful approach from other users to find a solution.

 

Uefi problem:

I will put in guide's OP, I didn't think was an important step because in modern system Uefi are always advised .

In my case system boots fine also in CSM and 4g (on/off) but it could be different for others

 

Usb slowness for high capacity drive

I do not have this behaviour so we have to investigate also with other user

 

Thunderbolt part:

I have an old Asus Thunderbolt Ex 3 and I didn't find any clue it could work without a thunderbolt header. So here I can't say any interesting things.

 

vfio-pci:

I did a fresh install from scratch on a clean ssd drive I have noticed a weird thing.

All I need to have system booting fine in Proxmox / OSX is to complete module file in /etc/modprobe.d path to have modules loaded from kernel

No blacklist.conf, no vfio.conf, no other things found on traditional way to set Proxmox ( I have asked in private to some users to test this, a x570 user confirmed these but I can't be sure for different configurations)

 

Internal audio stuff and USB controller (related?) problems:

501049059_ScreenShot2020-05-04at08_57_52.png.5ecd38e1be9038962e3ea0d0e3f900af.png

Above screenshot is the best I can achieve

 

It seems perfect but it isn't so..realtek USB2.0 Audio (internal audio on motherboard) is bad, scratchy and it looses synch during play audio or video viewing

DP audio from Nvidia is perfect.

I am investigating with @tomnic (similar problem for him on a X570 rig) and with @Gengik84with his skills to produce solutions for weird situations 🙂 )

In my try I have noticed the same things you write above:

An impossibility to pass two USB controllers in may case for USB:

04:00.3

23:00.3

And in my rig these "unpassed" stuff produces 4 USB 3.x rear ports non working

I have no tested internal USB 2.0 ports for now

ASmedia USB 3.x ports work well (connected to my Thermaltake X9 case)

 

I have passed fine 23.00.4 (matisse audio controller) but in my opinion it conflicts with a device passed in automatic way from VM basic parameters (I think, not sure, investigating on this)

I have discovered an important thing in my rig yesterday

with all things I can pass on, with audio output connected on green jack of rear motherboard backplate, booting from scratch produce this:

76172936_ScreenShot2020-05-04at09_10_59.png.5a376329ccf522db06ba11e32a221cb5.png

in this situation only DP audio is working perfectly

 

if I disconnect green jack from back, reboot linux and VM I see:

1561312346_ScreenShot2020-05-04at09_12_11.png.429c949e62e0326b922295611f0f5575.png

 

Also in this situation I have a perfect DP audio from Nvidia and a bad and scratchy audio from internal matisse audio controller.

 

in following box you can see my passed parts:

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
        Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus Controller [1462:7c60]
        Kernel driver in use: vfio-pci
        Kernel modules: i2c_piix4, sp5100_tco

01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a801]
        Kernel driver in use: vfio-pci
02:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E12 NVMe Controller [1987:5012] (rev 01)
        Subsystem: Phison Electronics Corporation E12 NVMe Controller [1987:5012]
        Kernel driver in use: vfio-pci

21:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [TITAN Xp] [10de:1b02] (rev a1)
        Subsystem: NVIDIA Corporation GP102 [TITAN Xp] [10de:123e]
        Kernel driver in use: vfio-pci
        Kernel modules: nvidiafb, nouveau
21:00.1 Audio device [0403]: NVIDIA Corporation GP102 HDMI Audio Controller [10de:10ef] (rev a1)
        Subsystem: NVIDIA Corporation GP102 HDMI Audio Controller [10de:123e]
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel
23:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
        Subsystem: Micro-Star International Co., Ltd. [MSI] Starship/Matisse HD Audio Controller [1462:cb60]
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel
44:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
        Subsystem: Micro-Star International Co., Ltd. [MSI] I211 Gigabit Network Connection [1462:7c60]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
45:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
        Subsystem: Micro-Star International Co., Ltd. [MSI] I211 Gigabit Network Connection [1462:7c60]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
46:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
        Kernel driver in use: vfio-pci
46:00.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:1486]
        Kernel driver in use: vfio-pci
46:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:148c]
        Kernel driver in use: vfio-pci
47:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
        Kernel driver in use: vfio-pci
        Kernel modules: ahci
48:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
        Kernel driver in use: vfio-pci
        Kernel modules: ahci
49:00.0 Ethernet controller [0200]: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:07b1] (rev 02)
        Subsystem: Micro-Star International Co., Ltd. [MSI] AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1462:b912]
        Kernel driver in use: vfio-pci
        Kernel modules: atlantic

in this box you can see my PCI Device in VM conf:

hostpci0: 21:00,pcie=1,x-vga=1
hostpci1: 02:00.0 #nvme controller
hostpci10: 00:14.0 #smbus controller
hostpci11: 49:00 #Aquantia ethernet controller
hostpci12: 43:00 #Asmedia USB controller
hostpci2: 44:00 #I211 ethernet controller
hostpci3: 46:00.1 #USB controller
hostpci4: 46:00.3 #USB controller
hostpci5: 47:00 #Sata controller
hostpci6: 48:00 #Satacontroller
hostpci7: 01:00.0 #Nvme controller
hostpci8: 45:00 #I211 ethernet controller
hostpci9: 23:00.4 #matisse audio controller

 

Actual /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

actual /etc/modprobe.d/blacklist.conf

#blacklist nouveau
#blacklist radeon
#blacklist snd_hda_codec_hdmi
#blacklist snd_hda_intel
#blacklist snd_hda_codec
#blacklist snd_hda_core
#blacklist xhci_hcd
#blacklist i2c_piix4
#blacklist sp5100_tco

all commentedl (I try stuff..not useful in my testing..maybe for others it could be?)

 

vfio.conf

#options vfio-pci ids=1022:148c
#options vfio-pci ids=1462:cb60
#options vfio-pci ids=1022:1487

all commented (obviously tested but no useful result for my rig)

 

 

  • Like 1
Link to comment
Share on other sites

  • Supervisor

1780532093_ScreenShot2020-05-04at09_35_46.png.06ad38803bfc172f232b921073022c67.png506657343_ScreenShot2020-05-04at09_35_31.png.bd3d743bf6b814ee92b6ea06b5f45c3f.png

 

this could be our problem with internal audio in my opinion..

but..

I have set a windows VM, with same Proxmox configuration...in windows audio is perfect (in dp and from internal speaker from USB Realtek USB 2.0 audio controller)

So..for this I am not so positive to solve this in OSX 😉

 

  • Like 1
Link to comment
Share on other sites

  • Moderators

 

12 hours ago, fabiosun said:

This I mean when I said you made my day 🙂

A positive and helpful approach from other users to find a solution.

 

Uefi problem:

I will put in guide's OP, I didn't think was an important step because in modern system Uefi are always advised .

In my case system boots fine also in CSM and 4g (on/off) but it could be different for others

 

Usb slowness for high capacity drive

I do not have this behaviour so we have to investigate also with other user

 

Thunderbolt part:

I have an old Asus Thunderbolt Ex 3 and I didn't find any clue it could work without a thunderbolt header. So here I can't say any interesting things.

 

Usb slowness

In my try I have noticed the same things you write above:

An impossibility to pass two USB controllers in may case for USB:

04:00.3

23:00.3

And in my rig these "unpassed" stuff produces 4 USB 3.x rear ports non working

I have no tested internal USB 2.0 ports for now

ASmedia USB 3.x ports work well (connected to my Thermaltake X9 case)

 

 

Thanks for your reply (and esp for all of your help)! The resource you've created here are very much appreciated!

 

As for BIOS, from the start, I had CSM disabled and 4G enabled. Until yesterday, I also kept XMP off, just to keep things as simple as possible.

 

As for Thunderbolt, you can use your card without a TB header with almost any mobo. You only need to jumper (I soldered) two pins on back of card (see Spoiler below). However, to get functionality in macOS, you'll have to flash the chip on the card. I can provide links and help if you're interested (I've collected a repository of modified firmware for different cards and can supply one for your card). If you have the small piece of equipment to flash (bought off Amazon), it is really simple to do. But even without flashing to get macOS functionality, the jumper will still allow you to test passing addresses via VM without a TB header.

 

Spoiler

TB-header.jpg.913c4a92ff16212cb87e1c770391ae29.jpg

 

Your USB setup is very similar to mine even though our mobos are different. I too get 4 USB ports on rear panel activated. They belong to those 2 groups we cannot pass (I think actually from the 4.00 group; I think I can pass 4:00.0, but not 4:00.3). However, my mobo does not have any ASMedia controllers.

 

The USB slowness is odd; I still don't understand why I see it. Once the windows from the USB device have populated with contents, I don't notice the slowness any more. It's as if some buffer needs filling and does so slowly, but once filled, then all behaves rapidly after that. The initial slowness is even displayed by the spinning beachball.

Edited by iGPU
  • Like 1
Link to comment
Share on other sites

  • Moderators

The TB passthru error I'm seeing: "vfio 0000:49:00.0: failed to open /dev/vfio/58: No such file or directory" is curious and may be the problem.

 

The file "58" refers to the IOMMU group, to which address 49:00.0 belongs. In the folder, /dev/vfio/ are many files for the IOMUU groups that are being passed: 13  16  30  31  33  52  53  54  56  57  63  64  66  77  vfio.

 

Running the command, "find /sys/kernel/iommu_groups/ -type l", gives the following (Spoiler). The groups for the un-passables are here:  58 for 49:00, 59 for 4a:00, 60 for 4a:01, 61 for 4a:02, and 62 for 4a:04. Those for the passable TB addresses are also visible: 63 for 4b:00, 64 for 53:00

 

Spoiler

/sys/kernel/iommu_groups/55/devices/0000:43:00.0
/sys/kernel/iommu_groups/17/devices/0000:04:00.3
/sys/kernel/iommu_groups/45/devices/0000:40:07.1
/sys/kernel/iommu_groups/73/devices/0000:60:07.1
/sys/kernel/iommu_groups/35/devices/0000:25:00.3
/sys/kernel/iommu_groups/7/devices/0000:00:07.0
/sys/kernel/iommu_groups/63/devices/0000:4b:00.0
/sys/kernel/iommu_groups/25/devices/0000:20:07.1
/sys/kernel/iommu_groups/53/devices/0000:47:00.0
/sys/kernel/iommu_groups/53/devices/0000:42:09.0
/sys/kernel/iommu_groups/15/devices/0000:03:00.0
/sys/kernel/iommu_groups/43/devices/0000:40:05.0
/sys/kernel/iommu_groups/71/devices/0000:60:05.0
/sys/kernel/iommu_groups/33/devices/0000:25:00.0
/sys/kernel/iommu_groups/5/devices/0000:00:04.0
/sys/kernel/iommu_groups/61/devices/0000:4a:02.0
/sys/kernel/iommu_groups/23/devices/0000:20:05.0
/sys/kernel/iommu_groups/51/devices/0000:42:06.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.0
/sys/kernel/iommu_groups/41/devices/0000:40:03.0
/sys/kernel/iommu_groups/31/devices/0000:23:00.1
/sys/kernel/iommu_groups/3/devices/0000:00:02.0
/sys/kernel/iommu_groups/21/devices/0000:20:03.1
/sys/kernel/iommu_groups/11/devices/0000:00:14.3
/sys/kernel/iommu_groups/11/devices/0000:00:14.0
/sys/kernel/iommu_groups/68/devices/0000:60:02.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/58/devices/0000:49:00.0
/sys/kernel/iommu_groups/48/devices/0000:41:00.0
/sys/kernel/iommu_groups/76/devices/0000:61:00.0
/sys/kernel/iommu_groups/38/devices/0000:40:01.1
/sys/kernel/iommu_groups/66/devices/0000:5c:00.0
/sys/kernel/iommu_groups/28/devices/0000:21:00.0
/sys/kernel/iommu_groups/56/devices/0000:44:00.0
/sys/kernel/iommu_groups/18/devices/0000:20:01.0
/sys/kernel/iommu_groups/46/devices/0000:40:08.0
/sys/kernel/iommu_groups/74/devices/0000:60:08.0
/sys/kernel/iommu_groups/36/devices/0000:25:00.4
/sys/kernel/iommu_groups/8/devices/0000:00:07.1
/sys/kernel/iommu_groups/64/devices/0000:53:00.0
/sys/kernel/iommu_groups/26/devices/0000:20:08.0
/sys/kernel/iommu_groups/54/devices/0000:48:00.0
/sys/kernel/iommu_groups/54/devices/0000:42:0a.0
/sys/kernel/iommu_groups/16/devices/0000:04:00.0
/sys/kernel/iommu_groups/44/devices/0000:40:07.0
/sys/kernel/iommu_groups/72/devices/0000:60:07.0
/sys/kernel/iommu_groups/34/devices/0000:25:00.1
/sys/kernel/iommu_groups/6/devices/0000:00:05.0
/sys/kernel/iommu_groups/62/devices/0000:4a:04.0
/sys/kernel/iommu_groups/24/devices/0000:20:07.0
/sys/kernel/iommu_groups/52/devices/0000:46:00.3
/sys/kernel/iommu_groups/52/devices/0000:46:00.1
/sys/kernel/iommu_groups/52/devices/0000:46:00.0
/sys/kernel/iommu_groups/52/devices/0000:42:08.0
/sys/kernel/iommu_groups/14/devices/0000:02:00.0
/sys/kernel/iommu_groups/42/devices/0000:40:04.0
/sys/kernel/iommu_groups/70/devices/0000:60:04.0
/sys/kernel/iommu_groups/32/devices/0000:24:00.0
/sys/kernel/iommu_groups/4/devices/0000:00:03.0
/sys/kernel/iommu_groups/60/devices/0000:4a:01.0
/sys/kernel/iommu_groups/22/devices/0000:20:04.0
/sys/kernel/iommu_groups/50/devices/0000:42:05.0
/sys/kernel/iommu_groups/12/devices/0000:00:18.3
/sys/kernel/iommu_groups/12/devices/0000:00:18.1
/sys/kernel/iommu_groups/12/devices/0000:00:18.6
/sys/kernel/iommu_groups/12/devices/0000:00:18.4
/sys/kernel/iommu_groups/12/devices/0000:00:18.2
/sys/kernel/iommu_groups/12/devices/0000:00:18.0
/sys/kernel/iommu_groups/12/devices/0000:00:18.7
/sys/kernel/iommu_groups/12/devices/0000:00:18.5
/sys/kernel/iommu_groups/40/devices/0000:40:02.0
/sys/kernel/iommu_groups/69/devices/0000:60:03.0
/sys/kernel/iommu_groups/30/devices/0000:23:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:01.2
/sys/kernel/iommu_groups/59/devices/0000:4a:00.0
/sys/kernel/iommu_groups/20/devices/0000:20:03.0
/sys/kernel/iommu_groups/49/devices/0000:42:03.0
/sys/kernel/iommu_groups/77/devices/0000:62:00.0
/sys/kernel/iommu_groups/10/devices/0000:00:08.1
/sys/kernel/iommu_groups/39/devices/0000:40:01.3
/sys/kernel/iommu_groups/67/devices/0000:60:01.0
/sys/kernel/iommu_groups/29/devices/0000:22:00.0
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/57/devices/0000:45:00.0
/sys/kernel/iommu_groups/19/devices/0000:20:02.0
/sys/kernel/iommu_groups/47/devices/0000:40:08.1
/sys/kernel/iommu_groups/75/devices/0000:60:08.1
/sys/kernel/iommu_groups/37/devices/0000:40:01.0
/sys/kernel/iommu_groups/9/devices/0000:00:08.0
/sys/kernel/iommu_groups/65/devices/0000:5b:00.0
/sys/kernel/iommu_groups/27/devices/0000:20:08.1

 

For some reason, which I'm trying to research, there are no such files created for the problematic addresses, 49:00 and 4a:00. If we can force their creation, maybe we can pass the whole TB device.

Edited by iGPU
  • Like 1
Link to comment
Share on other sites

  • Supervisor
Spoiler

root@pve:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/55/devices/0000:49:00.0
/sys/kernel/iommu_groups/17/devices/0000:04:00.3
/sys/kernel/iommu_groups/45/devices/0000:41:00.0
/sys/kernel/iommu_groups/35/devices/0000:40:01.1
/sys/kernel/iommu_groups/7/devices/0000:00:07.0
/sys/kernel/iommu_groups/63/devices/0000:60:07.0
/sys/kernel/iommu_groups/25/devices/0000:20:07.1
/sys/kernel/iommu_groups/53/devices/0000:44:00.0
/sys/kernel/iommu_groups/15/devices/0000:03:00.0
/sys/kernel/iommu_groups/43/devices/0000:40:08.0
/sys/kernel/iommu_groups/33/devices/0000:23:00.4
/sys/kernel/iommu_groups/5/devices/0000:00:04.0
/sys/kernel/iommu_groups/61/devices/0000:60:04.0
/sys/kernel/iommu_groups/23/devices/0000:20:05.0
/sys/kernel/iommu_groups/51/devices/0000:48:00.0
/sys/kernel/iommu_groups/51/devices/0000:42:0a.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.0
/sys/kernel/iommu_groups/41/devices/0000:40:07.0
/sys/kernel/iommu_groups/31/devices/0000:23:00.1
/sys/kernel/iommu_groups/3/devices/0000:00:02.0
/sys/kernel/iommu_groups/21/devices/0000:20:03.1
/sys/kernel/iommu_groups/11/devices/0000:00:14.3
/sys/kernel/iommu_groups/11/devices/0000:00:14.0
/sys/kernel/iommu_groups/68/devices/0000:62:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/58/devices/0000:60:01.0
/sys/kernel/iommu_groups/48/devices/0000:42:05.0
/sys/kernel/iommu_groups/38/devices/0000:40:03.0
/sys/kernel/iommu_groups/66/devices/0000:60:08.1
/sys/kernel/iommu_groups/28/devices/0000:21:00.1
/sys/kernel/iommu_groups/28/devices/0000:21:00.0
/sys/kernel/iommu_groups/56/devices/0000:4a:00.0
/sys/kernel/iommu_groups/18/devices/0000:20:01.0
/sys/kernel/iommu_groups/46/devices/0000:42:02.0
/sys/kernel/iommu_groups/36/devices/0000:40:01.3
/sys/kernel/iommu_groups/8/devices/0000:00:07.1
/sys/kernel/iommu_groups/64/devices/0000:60:07.1
/sys/kernel/iommu_groups/26/devices/0000:20:08.0
/sys/kernel/iommu_groups/54/devices/0000:45:00.0
/sys/kernel/iommu_groups/16/devices/0000:04:00.0
/sys/kernel/iommu_groups/44/devices/0000:40:08.1
/sys/kernel/iommu_groups/34/devices/0000:40:01.0
/sys/kernel/iommu_groups/6/devices/0000:00:05.0
/sys/kernel/iommu_groups/62/devices/0000:60:05.0
/sys/kernel/iommu_groups/24/devices/0000:20:07.0
/sys/kernel/iommu_groups/52/devices/0000:43:00.0
/sys/kernel/iommu_groups/14/devices/0000:02:00.0
/sys/kernel/iommu_groups/42/devices/0000:40:07.1
/sys/kernel/iommu_groups/32/devices/0000:23:00.3
/sys/kernel/iommu_groups/4/devices/0000:00:03.0
/sys/kernel/iommu_groups/60/devices/0000:60:03.0
/sys/kernel/iommu_groups/22/devices/0000:20:04.0
/sys/kernel/iommu_groups/50/devices/0000:47:00.0
/sys/kernel/iommu_groups/50/devices/0000:42:09.0
/sys/kernel/iommu_groups/12/devices/0000:00:18.3
/sys/kernel/iommu_groups/12/devices/0000:00:18.1
/sys/kernel/iommu_groups/12/devices/0000:00:18.6
/sys/kernel/iommu_groups/12/devices/0000:00:18.4
/sys/kernel/iommu_groups/12/devices/0000:00:18.2
/sys/kernel/iommu_groups/12/devices/0000:00:18.0
/sys/kernel/iommu_groups/12/devices/0000:00:18.7
/sys/kernel/iommu_groups/12/devices/0000:00:18.5
/sys/kernel/iommu_groups/40/devices/0000:40:05.0
/sys/kernel/iommu_groups/30/devices/0000:23:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:01.2
/sys/kernel/iommu_groups/59/devices/0000:60:02.0
/sys/kernel/iommu_groups/20/devices/0000:20:03.0
/sys/kernel/iommu_groups/49/devices/0000:46:00.3
/sys/kernel/iommu_groups/49/devices/0000:46:00.1
/sys/kernel/iommu_groups/49/devices/0000:46:00.0
/sys/kernel/iommu_groups/49/devices/0000:42:08.0
/sys/kernel/iommu_groups/10/devices/0000:00:08.1
/sys/kernel/iommu_groups/39/devices/0000:40:04.0
/sys/kernel/iommu_groups/67/devices/0000:61:00.0
/sys/kernel/iommu_groups/29/devices/0000:22:00.0
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/57/devices/0000:4b:00.0
/sys/kernel/iommu_groups/19/devices/0000:20:02.0
/sys/kernel/iommu_groups/47/devices/0000:42:04.0
/sys/kernel/iommu_groups/37/devices/0000:40:02.0
/sys/kernel/iommu_groups/9/devices/0000:00:08.0
/sys/kernel/iommu_groups/65/devices/0000:60:08.0
/sys/kernel/iommu_groups/27/devices/0000:20:08.1
root@pve:~# 

I see here in my outpu some group I can pass easily..so maybe problems are different.

  • Like 1
Link to comment
Share on other sites

  • Moderators
14 minutes ago, fabiosun said:

@iGPUif you have some things related to Asus TB ex3 thunderbolt I would like to try 🙂

today I have had a bad news..for audio

Received a cheaper USB Audio adapter:

https://www.amazon.it/gp/product/B01J3QGU50/

same problem of internal audio

so for now no solution here

 

 

A bit more expensive, but I'm using this unit from the UK: Audient Evo 4. It works very well.

 

When combined with this SoundControl app to adjust EQ in real time, it's all quite nice. I'm running off either of the 2 USB ports beneath the RJ45 jack on rear panel (the right-most RJ-45 jack, when facing the rear panel).

 

Attached is the bin file for flashing an ASUS TB-EX3. You'll also need to modify an SSDT, but we can address that later.

AlpineRidgeEX3-NVM26-NATA.bin.zip

Edited by iGPU
Link to comment
Share on other sites

  • Supervisor

thank you for this file--it is named like for Titan Ridge but inside I see some referral to Asus card

Have you some link to guide or similar stuff to follow?

 

thank you

 

  • Like 1
Link to comment
Share on other sites

  • Moderators
11 minutes ago, fabiosun said:

thank you for this file--it is named like for Titan Ridge but inside I see some referral to Asus card

Have you some link to guide or similar stuff to follow?

 

thank you

 

 

Here is a flashing link: CH341A .

 

More repository data: here.

 

More importantly for you, specific info for ThunderboltEX 3 here along with how to adjust DROM. This latter step is complicated and I can help later as this step is activating within macOS, which we cannot do until we can pass the device.

 

I just found an old ThunderboltEX 3, so I'll flash it and see how it looks from my end. I think we'll face exact same issues with passing as I see with the Titan Ridge, just with different device ID codes for vfio.conf.

 

If anyone else reading this in interested in flashing, each device needs a different modified firmware to flash, so the firmware for EX 3 ≠ Alpine Ridge ≠ Titan Ridge ≠ native mobo. All are unique, so don't flash what I uploaded to any other TB card or device.

 

 

  • Like 1
Link to comment
Share on other sites

  • Moderators
19 hours ago, Driftwood said:

Anyone tried a Radeon VII?

 

 

I've seen a few posts using Radeon VII (I have this GPU in another build, but water cooled so cannot swap), and will be changing to this GPU from Vega 56 in a few days once the VII has arrived. Also some are using 5700XT which behaves very similarly on macOS to Radeon VII.

Edited by iGPU
  • Like 1
Link to comment
Share on other sites

  • Supervisor

thank you @iGPU.

It is above my Knowledge this..so for now I give up 🙂

For now tb is not mandatory for me..but if you find news or you would like to share your finding I will happy to read it and to post in a future TB section of main guide

 

@Driftwood

It seems most AMD GPU are affected from a bug very annoying

It is called reset bug and it hangs OSX if you restart it

I think people are trying to find a solution for now it seems to be not possible to avoid it

I have no direct experience on it

 

  • Like 1
Link to comment
Share on other sites

@fabiosun Thanks for all your help already! I believe I'm at about the same spot as most of us. The VM is working well, but I have trouble with two USB controllers, Thunderbolt, and audio. I will look into using the TB card with flashed firmware and see if I can provide some feedback on it, hopefully.

 

@iGPU I can really recommend the Radeon VII, besides that I've used it for many builds, the card passed through perfectly fine. I'm using a rom from the Techpowerup VBIOS database. I can test later whether it's even needed. I have no reset / restart bug related to GPU.

 

Oddly enough, after remaking my VM, I now have the problem that I can't reboot otherwise it will get stuck booting around APFS/HFS, and claims my passed through disk (43:00) isn't accessible anymore and I have to >reset the system< rather than the VM. I didn't have this problem before, but due to other issues I had to remake. In other words: I was using a Radeon VII and a passed through 1TB 970 EVO without problems restarting, before this remake. The difference is  that I am now passing through the entire NVME Controller (43:00.0) rathern than /dev/disk/by-id, which you can see in my previous post. Perhaps there lies the difference.

 

I saw some talk about passing through WiFi+BT. macOS doesn't accept Intel WiFi  cards, period. You can get a Dell DW1820A for about €20-25, and use only BrcmPatchRAM (Injector + Data + PRAM3), then it's like having native Airport and BT.

 

I'll post more when I know more, and try to keep the questions limited.

 

  • Like 2
Link to comment
Share on other sites

  • Moderators
4 minutes ago, AllubzV said:

@fabiosun Thanks for all your help already! I believe I'm at about the same spot as most of us. The VM is working well, but I have trouble with two USB controllers, Thunderbolt, and audio. I will look into using the TB card with flashed firmware and see if I can provide some feedback on it, hopefully.

 

@iGPU I can really recommend the Radeon VII, besides that I've used it for many builds, the card passed through perfectly fine. I'm using a rom from the Techpowerup VBIOS database. I can test later whether it's even needed. I have no reset / restart bug related to GPU.

 

Oddly enough, after remaking my VM, I now have the problem that I can't reboot otherwise it will get stuck booting around APFS/HFS, and claims my passed through disk (43:00) isn't accessible anymore and I have to >reset the system< rather than the VM. I didn't have this problem before, but due to other issues I had to remake. In other words: I was using a Radeon VII and a passed through 1TB 970 EVO without problems restarting, before this remake. The difference is  that I am now passing through the entire NVME Controller (43:00.0) rathern than /dev/disk/by-id, which you can see in my previous post. Perhaps there lies the difference.

 

I saw some talk about passing through WiFi+BT. macOS doesn't accept Intel WiFi  cards, period. You can get a Dell DW1820A for about €20-25, and use only BrcmPatchRAM (Injector + Data + PRAM3), then it's like having native Airport and BT.

 

I'll post more when I know more, and try to keep the questions limited.

 

 

Before you flash firmware, you might want to try some other things. I'll explain below in a later post as it is a bit involved, but this new avenue to get TB working isn't working for me and I don't know if it's because I am using flashed firmware. (Unfortunately, my flash programmer died and I've not got a replacement up and running.) Anyhow, I'd also like to see you run some Linux commands to see how your un-modified TB card behaves.

 

I've used Fenzi BT cards, but like having the built in BT work; it is more powerful and keeps a better connection for me. Since I use Ethernet, I don't normally use Wifi and so don't miss having it.

 

As for the Linux TB commands, could you please provide results, when TB card is passed, for "lspci -nnk" and "find /sys/kernel/iommu_groups/ -type l"?

 

Also, does the VM shutdown when trying to pass all sections of the TB, as I described above in this post?

 

Thanks.

  • Like 1
Link to comment
Share on other sites

  • Supervisor

Today I have tested my system only with host as cpu and two patches for kernel

system is stable as before and this is the end for that part of my config

i would like to know from users with a working vm (also am4 chipset) if audio is working well..I mean internal audio. Gpu audio is perfect. I think audio problem is also related to our common problem with some usb controller incongruences

i have also tested an usb audio and the weird thing it is detected as audio usb also in those not passed USB ports...

let me know

🙏

 

  • Like 1
Link to comment
Share on other sites

  • Moderators
9 minutes ago, fabiosun said:

Today I have tested my system only with host as cpu and two patches for kernel

system is stable as before and this is the end for that part of my config

i would like to know from users with a working vm (also am4 chipset) if audio is working well..I mean internal audio. Gpu audio is perfect. I think audio problem is also related to our common problem with some usb controller incongruences

i have also tested an usb audio and the weird thing it is detected as audio usb also in those not passed USB ports...

let me know

🙏

 

 

Do you mean that your argument section is only contains "args: -cpu host" ?

 

Initially, I had both "cpu: Penryn" and "args: -cpu Penryn", then I changed both to "host". It seems I had slightly better test scores with Penryn. Did you notice any differences in that regard?

 

My latest VM config file:

Spoiler

agent: 1

args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -cpu host,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+invtsc,+sse3,+sse4.1,+sse4.2,+popcnt,+adx,+tsc_adjust,+tm,+tm2,+aes,+xsave,+xsaveopt,check

balloon: 0
bios: ovmf
cores: 64
cpu: Penryn
efidisk0: local-lvm:vm-100-disk-1,size=256K
hostpci0: 23:00,pcie=1,x-vga=1
hostpci1: 01:00.0
hostpci2: 44:00.0,pcie=1,rombar=0
hostpci3: 45:00.0,pcie=1,rombar=0
hostpci4: 46:00,pcie=1,rombar=0
hostpci5: 47:00.0,pcie=1,rombar=0
hostpci6: 48:00.0,pcie=1,rombar=0
machine: q35
memory: 30000
name: macOS
numa: 0
onboot: 1
ostype: other
scsihw: virtio-scsi-pci
smbios1: uuid=afd94c53-81ef-4479-a70e-6d9c4aa3f8b8
sockets: 1
vga: none
vmgenid: ec8c8863-1962-4a87-a807-2a01504f0fa9

 

Link to comment
Share on other sites

  • Supervisor

1521054009_ScreenShot2020-05-05at21_59_06.png.6acbc7de18e0eecdbf10fee158313f3f.png

 

with this VM:

Spoiler

agent: 1
args: -smbios type=2 -cpu host,vendor=GenuineIntel,+invtsc
bios: ovmf
boot: d
cores: 64
cpu: host
efidisk0: local-lvm:vm-100-disk-1,size=128K
hostpci0: 21:00,pcie=1,x-vga=1
hostpci1: 02:00.0
hostpci10: 00:14.0
hostpci2: 44:00
hostpci3: 46:00.1
hostpci4: 46:00.3
hostpci5: 47:00
hostpci6: 48:00
hostpci7: 01:00.0
hostpci8: 45:00
hostpci9: 23:00.4
machine: q35
memory: 119808
name: sierra
net0: vmxnet3=12:83:7D:28:45:26,bridge=vmbr0,firewall=1
numa: 1
ostype: other
scsihw: virtio-scsi-pci
smbios1: uuid=43051c32-3e2e-4f80-b7cc-d50def662b0b
sockets: 1
startup: down=20
tablet: 0
usb0: host=0c76:161f
vga: none
vmgenid: 284011f9-380c-4bdf-b57f-08eda8f03bb9

 

  • Like 2
Link to comment
Share on other sites

  • Moderators

To get sorted IOMMU information, do the following.

 

1. nano iommu.sh

2. enter following code, the save (control-X):

#!/bin/bash
shopt -s nullglob
for d in /sys/kernel/iommu_groups/*/devices/*; do 
    n=${d#*/iommu_groups/*}; n=${n%%/*}
    printf 'IOMMU Group %s ' "$n"
    lspci -nns "${d##*/}"
done | sort -V

3. type: chmod +x iommu.sh

4. run: ./iommu.sh

 

My results are in Spoiler below. This sorts the groups and makes looking at the TB section easier.

 

Spoiler

IOMMU Group 0 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 1 00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 2 00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 3 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 4 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 5 00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 6 00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 7 00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 8 00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 9 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 10 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 11 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
IOMMU Group 11 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 12 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 0 [1022:1490]
IOMMU Group 12 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 1 [1022:1491]
IOMMU Group 12 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 2 [1022:1492]
IOMMU Group 12 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 3 [1022:1493]
IOMMU Group 12 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 4 [1022:1494]
IOMMU Group 12 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 5 [1022:1495]
IOMMU Group 12 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 6 [1022:1496]
IOMMU Group 12 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 7 [1022:1497]
IOMMU Group 13 01:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation Device [1987:5016] (rev 01)
IOMMU Group 14 02:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E12 NVMe Controller [1987:5012] (rev 01)
IOMMU Group 15 03:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 16 04:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 17 04:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller [1022:148c]
IOMMU Group 18 20:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 19 20:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 20 20:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 21 20:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 22 20:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 23 20:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 24 20:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 25 20:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 26 20:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 27 20:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 28 21:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1470] (rev c3)
IOMMU Group 29 22:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1471]
IOMMU Group 30 23:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] [1002:687f] (rev c3)
IOMMU Group 31 23:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64] [1002:aaf8]
IOMMU Group 32 24:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 33 25:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 34 25:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
IOMMU Group 35 25:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller [1022:148c]
IOMMU Group 36 25:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
IOMMU Group 37 40:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 38 40:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 39 40:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 40 40:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 41 40:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 42 40:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 43 40:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 44 40:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 45 40:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 46 40:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 47 40:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 48 41:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57ad]
IOMMU Group 49 42:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 50 42:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 51 42:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 52 42:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a4]
IOMMU Group 52 46:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 52 46:00.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
IOMMU Group 52 46:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
IOMMU Group 53 42:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a4]
IOMMU Group 53 47:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 54 42:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a4]
IOMMU Group 54 48:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 55 43:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
IOMMU Group 56 44:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
IOMMU Group 57 45:00.0 Network controller [0280]: Intel Corporation Device [8086:2723] (rev 1a)
IOMMU Group 58 49:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 59 4a:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 60 4a:01.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 61 4a:02.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 62 4a:04.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 63 4b:00.0 System peripheral [0880]: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] [8086:15eb] (rev 06)
IOMMU Group 64 53:00.0 USB controller [0c03]: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] [8086:15ec] (rev 06)
IOMMU Group 65 5b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 66 5c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 67 60:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 68 60:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 69 60:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 70 60:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 71 60:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 72 60:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 73 60:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 74 60:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 75 60:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 76 61:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 77 62:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]

 

  • Like 1
Link to comment
Share on other sites

  • Supervisor

from many time I am testing a minimal set of "old" patches and host in args and also different kind of cpu type in VM

with these two patches it is possible to boot fine also without declaring CPU in vm

I prefer to leave it because I am testing other things 

Performance is the same

 

  • Like 2
Link to comment
Share on other sites

Not getting a Install Mac OS on the OpenCore Boot screen which is really odd. Catalina attempt. both iso's have been uploaded!

conf looks like this:
 

args: -device isa-applesmc,osk="ourhardworkblahblahblah$ smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,check
bios: ovmf
boot: cdn
bootdisk: ide2
cores: 8
cpu: Penryn
efidisk0: local-lvm:vm-100-disk-1,size=4M
ide0: local:iso/macOS86_Catalina.iso,cache=unsafe,size=9G
ide2: local:iso/OpenCore.iso,cache=unsafe
machine: q35
memory: 32000
name: catalina2
net0: vmxnet3=blah:blah:blah:blah,bridge=vmbr0,firewall=1
numa: 0
ostype: other
sata0: local-lvm:vm-100-disk-0,cache=unsafe,size=64G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=blahablahblah...
sockets: 1
vga: vmware
vmgenid: blaha blah blah ....

Edited by Driftwood
missing bit
Link to comment
Share on other sites

@iGPU Happy to be of service!

 

Bloody, you can "only" pass through 16 PCI devices in ProxMox, hah! 

 

Note: I have had my LAN <> TB2 adapter + TB2 <> T3 adapter passed through directly (no other TB-parts, only defined in vfio.conf) as a PCI device. Ports as defined:

 

vfio.conf

# This file contains all the device-ids and vendor-ids of components we want to passthrough to the macOS VM using vfio.
options vfio_iommu_type1 allow_unsafe_interrupts=1
options vfio-pci ids=144d:a808
options vfio-pci ids=1002:66af,1002:ab20
options vfio-pci ids=1022:148c,1022:149c,1022:7901,1022:1487,1022:790b
options vfio-pci ids=14e4:43a3,14e4,1682
options vfio-pci ids=8086:15ea,8086:15eb,8086:15ec,8086:1533
options vfio-pci ids=disable_vga=1



#01:00.0 = 144d:a808 = NVMe SSD Samsung 1 = Win10
#03:00.3 = 1022:148c = USB 3.0 Host Controller
#23:00.0 = 1002:66af = Radeon VII
#23:00.1 = 1002:ab20 = Radeon VII HDMI
#25:00.3 = 1022:148c = USB 3.0 Host Controller
#25:00.4 = 1022:1487 = Onboard Audio
#43:00.0 = 144d:a808 = NVME SSD Samsung 2 = macOS
#44:00.0 = 144d:a808 = NVME SSD Samsung 3 = DATA
#45:00.0 = 8086:1533 = I210 #1
#46:00.0 = 8086:1533 = I210 #2
#47:00.0 = 14e4:43a3 = BCM4350
#48:00.1 = 1022:149c = USB 3.0 Host Controller
#48:00.3 = 1022:149c = USB 3.0 Host Controller
#49:00.0 = 1022:7901 = SATA Controller
#50:00.0 = ? = TB-1 Plug
#58:00.0 = ? = TB-2 Plug
#4a:00.0 = 1022:7901 = SATA Controller
#4b:00.0 = 8086:15ea = TB3
#4c:00.0 = 8086:15ea = TB3
#4c:01.0 = 8086:15ea = TB3
#4c:02.0 = 8086:15ea = TB3
#4c:04.0 = 8086:15ea = TB3
#4d:00.0 = 8086:15eb = TB3 NHI
#55:00.0 = 8086:15ec = TB3 USB

 

IOMMU sorted

root@pve:~# ./iommu.sh
IOMMU Group 0 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 1 00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 2 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 3 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 4 00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 5 00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 6 00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 7 00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 8 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 9 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 10 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
IOMMU Group 10 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 11 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 0 [1022:1490]
IOMMU Group 11 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 1 [1022:1491]
IOMMU Group 11 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 2 [1022:1492]
IOMMU Group 11 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 3 [1022:1493]
IOMMU Group 11 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 4 [1022:1494]
IOMMU Group 11 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 5 [1022:1495]
IOMMU Group 11 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 6 [1022:1496]
IOMMU Group 11 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 7 [1022:1497]
IOMMU Group 12 01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981 [144d:a808]
IOMMU Group 13 02:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 14 03:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 15 03:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller [1022:148c]
IOMMU Group 16 20:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 17 20:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 18 20:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 19 20:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 20 20:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 21 20:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 22 20:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 23 20:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 24 20:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 25 20:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 26 21:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:14a0] (rev c1)
IOMMU Group 27 22:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:14a1]
IOMMU Group 28 23:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 [Radeon VII] [1002:66af] (rev c1)
IOMMU Group 29 23:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 HDMI Audio [Radeon VII] [1002:ab20]
IOMMU Group 30 24:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 31 25:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 32 25:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
IOMMU Group 33 25:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller [1022:148c]
IOMMU Group 34 25:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
IOMMU Group 35 40:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 36 40:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 37 40:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 38 40:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 39 40:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 40 40:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 41 40:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 42 40:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 43 40:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 44 40:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 45 40:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 46 41:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57ad]
IOMMU Group 47 42:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 48 42:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 49 42:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 50 42:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 51 42:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a3]
IOMMU Group 52 42:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a4]
IOMMU Group 52 48:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 52 48:00.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
IOMMU Group 52 48:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
IOMMU Group 53 42:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a4]
IOMMU Group 53 49:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 54 4a:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 54 42:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:57a4]
IOMMU Group 55 43:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981 [144d:a808]
IOMMU Group 56 44:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981 [144d:a808]
IOMMU Group 57 45:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
IOMMU Group 58 46:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
IOMMU Group 59 47:00.0 Network controller [0280]: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 08)
IOMMU Group 60 4b:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 61 4c:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 62 4c:01.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 63 4c:02.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 64 4c:04.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
IOMMU Group 65 4d:00.0 System peripheral [0880]: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] [8086:15eb] (rev 06)
IOMMU Group 66 55:00.0 USB controller [0c03]: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] [8086:15ec] (rev 06)
IOMMU Group 67 5d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 68 5e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 69 60:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 70 60:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 71 60:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 72 60:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 73 60:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 74 60:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 75 60:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 76 60:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 77 60:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 78 61:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 79 62:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]

 

find /sys/kernel/iommu_groups/ -type l

root@pve:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/55/devices/0000:43:00.0
/sys/kernel/iommu_groups/17/devices/0000:20:02.0
/sys/kernel/iommu_groups/45/devices/0000:40:08.1
/sys/kernel/iommu_groups/73/devices/0000:60:05.0
/sys/kernel/iommu_groups/35/devices/0000:40:01.0
/sys/kernel/iommu_groups/7/devices/0000:00:07.1
/sys/kernel/iommu_groups/63/devices/0000:4c:02.0
/sys/kernel/iommu_groups/25/devices/0000:20:08.1
/sys/kernel/iommu_groups/53/devices/0000:49:00.0
/sys/kernel/iommu_groups/53/devices/0000:42:09.0
/sys/kernel/iommu_groups/15/devices/0000:03:00.3
/sys/kernel/iommu_groups/43/devices/0000:40:07.1
/sys/kernel/iommu_groups/71/devices/0000:60:03.0
/sys/kernel/iommu_groups/33/devices/0000:25:00.3
/sys/kernel/iommu_groups/5/devices/0000:00:05.0
/sys/kernel/iommu_groups/61/devices/0000:4c:00.0
/sys/kernel/iommu_groups/23/devices/0000:20:07.1
/sys/kernel/iommu_groups/51/devices/0000:42:06.0
/sys/kernel/iommu_groups/13/devices/0000:02:00.0
/sys/kernel/iommu_groups/41/devices/0000:40:05.0
/sys/kernel/iommu_groups/31/devices/0000:25:00.0
/sys/kernel/iommu_groups/3/devices/0000:00:03.0
/sys/kernel/iommu_groups/21/devices/0000:20:05.0
/sys/kernel/iommu_groups/78/devices/0000:61:00.0
/sys/kernel/iommu_groups/11/devices/0000:00:18.3
/sys/kernel/iommu_groups/11/devices/0000:00:18.1
/sys/kernel/iommu_groups/11/devices/0000:00:18.6
/sys/kernel/iommu_groups/11/devices/0000:00:18.4
/sys/kernel/iommu_groups/11/devices/0000:00:18.2
/sys/kernel/iommu_groups/11/devices/0000:00:18.0
/sys/kernel/iommu_groups/11/devices/0000:00:18.7
/sys/kernel/iommu_groups/11/devices/0000:00:18.5
/sys/kernel/iommu_groups/68/devices/0000:5e:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/58/devices/0000:46:00.0
/sys/kernel/iommu_groups/48/devices/0000:42:02.0
/sys/kernel/iommu_groups/76/devices/0000:60:08.0
/sys/kernel/iommu_groups/38/devices/0000:40:02.0
/sys/kernel/iommu_groups/66/devices/0000:55:00.0
/sys/kernel/iommu_groups/28/devices/0000:23:00.0
/sys/kernel/iommu_groups/56/devices/0000:44:00.0
/sys/kernel/iommu_groups/18/devices/0000:20:03.0
/sys/kernel/iommu_groups/46/devices/0000:41:00.0
/sys/kernel/iommu_groups/74/devices/0000:60:07.0
/sys/kernel/iommu_groups/36/devices/0000:40:01.1
/sys/kernel/iommu_groups/8/devices/0000:00:08.0
/sys/kernel/iommu_groups/64/devices/0000:4c:04.0
/sys/kernel/iommu_groups/26/devices/0000:21:00.0
/sys/kernel/iommu_groups/54/devices/0000:4a:00.0
/sys/kernel/iommu_groups/54/devices/0000:42:0a.0
/sys/kernel/iommu_groups/16/devices/0000:20:01.0
/sys/kernel/iommu_groups/44/devices/0000:40:08.0
/sys/kernel/iommu_groups/72/devices/0000:60:04.0
/sys/kernel/iommu_groups/34/devices/0000:25:00.4
/sys/kernel/iommu_groups/6/devices/0000:00:07.0
/sys/kernel/iommu_groups/62/devices/0000:4c:01.0
/sys/kernel/iommu_groups/24/devices/0000:20:08.0
/sys/kernel/iommu_groups/52/devices/0000:48:00.0
/sys/kernel/iommu_groups/52/devices/0000:48:00.3
/sys/kernel/iommu_groups/52/devices/0000:48:00.1
/sys/kernel/iommu_groups/52/devices/0000:42:08.0
/sys/kernel/iommu_groups/14/devices/0000:03:00.0
/sys/kernel/iommu_groups/42/devices/0000:40:07.0
/sys/kernel/iommu_groups/70/devices/0000:60:02.0
/sys/kernel/iommu_groups/32/devices/0000:25:00.1
/sys/kernel/iommu_groups/4/devices/0000:00:04.0
/sys/kernel/iommu_groups/60/devices/0000:4b:00.0
/sys/kernel/iommu_groups/22/devices/0000:20:07.0
/sys/kernel/iommu_groups/50/devices/0000:42:05.0
/sys/kernel/iommu_groups/79/devices/0000:62:00.0
/sys/kernel/iommu_groups/12/devices/0000:01:00.0
/sys/kernel/iommu_groups/40/devices/0000:40:04.0
/sys/kernel/iommu_groups/69/devices/0000:60:01.0
/sys/kernel/iommu_groups/30/devices/0000:24:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:02.0
/sys/kernel/iommu_groups/59/devices/0000:47:00.0
/sys/kernel/iommu_groups/20/devices/0000:20:04.0
/sys/kernel/iommu_groups/49/devices/0000:42:03.0
/sys/kernel/iommu_groups/77/devices/0000:60:08.1
/sys/kernel/iommu_groups/10/devices/0000:00:14.3
/sys/kernel/iommu_groups/10/devices/0000:00:14.0
/sys/kernel/iommu_groups/39/devices/0000:40:03.0
/sys/kernel/iommu_groups/67/devices/0000:5d:00.0
/sys/kernel/iommu_groups/29/devices/0000:23:00.1
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/57/devices/0000:45:00.0
/sys/kernel/iommu_groups/19/devices/0000:20:03.1
/sys/kernel/iommu_groups/47/devices/0000:42:01.0
/sys/kernel/iommu_groups/75/devices/0000:60:07.1
/sys/kernel/iommu_groups/37/devices/0000:40:01.3
/sys/kernel/iommu_groups/9/devices/0000:00:08.1
/sys/kernel/iommu_groups/65/devices/0000:4d:00.0
/sys/kernel/iommu_groups/27/devices/0000:22:00.0

 

When trying to start the VM with the following config I get

 

kvm: -device vfio-pci,host=0000:4b:00.0,id=hostpci11,bus=pci.2,addr=0x14: vfio 0000:4b:00.0: failed to open /dev/vfio/60: No such file or directory
TASK ERROR: start failed: QEMU exited with code 1

 

/etc/pve/qemu-server/100.conf/

                                                                                                                                /etc/pve/qemu-server/100.conf                                                                                                                                             

#efidisk0%3A local-lvm%3Avm-100-disk-1,size=4M
#ide0%3A local%3Aiso/BaseSystem.iso,size=2094688K,cache=unsafe
#sata0%3A local-lvm%3Avm-100-disk-0,cache=unsafe,size=32G,ssd=1
args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check -device usb-kbd,bus=ehci.0,port=2
balloon: 0
bios: ovmf
boot: c
bootdisk: ide2
cores: 16
hostpci0: 23:00.0,pcie=1,romfile=R7.rom,x-vga=1
#hostpci1: 23:00.1,pcie=1,rombar=0
hostpci2: 43:00.0
hostpci3: 44:00.0
hostpci4: 46:00.0,rombar=0
hostpci5: 47:00.0,rombar=0
hostpci7: 48:00.3,rombar=0
hostpci8: 48:00.1,rombar=0
hostpci9: 25:00.4
#hostpci10: 00:14.0
hostpci11: 4b:00.0
hostpci12: 4c:00.0
hostpci13: 4c:01.0
hostpci14: 4c:02.0
hostpci15: 4c:04.0
hostpci1: 4d:00.0
hostpci10: 55:00.0
#ide2: local:iso/OpenCore.iso,size=150M,cache=unsafe
machine: q35
memory: 122880
name: macOS
numa: 1
ostype: other
scsihw: virtio-scsi-pci
smbios1: uuid=970f1ae9-ccd2-4ac9-8acc-4ad5ef4bba4f
sockets: 3
usb0: host=7-5
vga: none
vmgenid: 696b5681-2597-413d-b96e-b93d1d19977e

 

 

I haven't yet gotten to updating the boot-args to your standards. It's my next task, besides some system overclocking and finetuning 😉

Edited by AllubzV
Link to comment
Share on other sites

@Driftwood - I'm responding here rather than in PM, as it hopefully adds something useful for future people.

 

I was having a breeze the first install following only fabiosun's post(s) initially, but it soon became clear solutions to stuff I was looking for meant editing parts of that initial work. Their great writeup and development of ideas is very useful to read through, as a primary resource.

 

Now, looking at Pavo's repository for quick patches, and Nick Sherlock's fine guides you'll find OpenCore.iso, use that for now it should work fine to start the VM. You will want to grab the Base_System.iso (conver .dmg file) which is 2GB in size. I never got the 9GB installer image to work, only the net download. Make sure you have some LAN connected via VM, because you're missing .kext support right now in OpenCore to passthrough use the LAN ports, probably.I can't tell any other problems looking at your 1##.conf.

 

You can compare your VM config to mine, as I posted above. Just ignore all the hostpci parts for now.

 

If you have the option you can also install macOS on a disk before you use this setup. It's much easier that way it seems to me, as you can skip all the virtual disks if you want, and straight-up passthrough the SATA / NVME drive, and have OpenCore.iso boot into it for you. Then, you can mount the EFI partitions and copy over the OpenCore.iso config, so you can edit and boot from your actual drive, and comment out the OpenCore.iso even, as a fallback if you mess up your editable EFI partition on the drive.

Edited by AllubzV
  • Like 1
  • +1 2
Link to comment
Share on other sites

Thank you mate, I owe you a drink sometime. Now I know where to get started! No updated guides anywhere! 

 

Edit: 

Any users who have downloaded the full “macOS Catalina.app” installer, will already know u need to create a bootable installer for Catalina but it seems OpenCore won't see the full iso made from the app uploaded to proxmox.

However, the bootable image for Catalina (InstallESD.dmg) is located within the full “.app” file. So without wasting time re-downloading the 2Gb InstallESD.dmg file, right-click on “macOS Catalina.app”, select “Show Package Contents” option, and browse to the “Contents/SharedSupport/” folder and rip it from there - then make the img file as previously mentioned in Sherlocks post..

You can alternatively make a bootable installer for macOS Catalina directly created from the “.app” file using Apple's “createinstallmedia” command.

 

Edited by Driftwood
Link to comment
Share on other sites

Quote
2 hours ago, AllubzV said:

@Driftwood - I'm responding here rather than in PM, as it hopefully adds something useful for future people.

 

I was having a breeze the first install following only fabiosun's post(s) initially, but it soon became clear solutions to stuff I was looking for meant editing parts of that initial work. Their great writeup and development of ideas is very useful to read through, as a primary resource.

 

Now, looking at Pavo's repository for quick patches, and Nick Sherlock's fine guides you'll find OpenCore.iso, use that for now it should work fine to start the VM. You will want to grab the Base_System.iso (conver .dmg file) which is 2GB in size. I never got the 9GB installer image to work, only the net download. Make sure you have some LAN connected via VM, because you're missing .kext support right now in OpenCore to passthrough use the LAN ports, probably.I can't tell any other problems looking at your 1##.conf.

 

You can compare your VM config to mine, as I posted above. Just ignore all the hostpci parts for now.

 

If you have the option you can also install macOS on a disk before you use this setup. It's much easier that way it seems to me, as you can skip all the virtual disks if you want, and straight-up passthrough the SATA / NVME drive, and have OpenCore.iso boot into it for you. Then, you can mount the EFI partitions and copy over the OpenCore.iso config, so you can edit and boot from your actual drive, and comment out the OpenCore.iso even, as a fallback if you mess up your editable EFI partition on the drive.

Edited 2 hours ago by AllubzV

 

Great stuff Im into the OS Catalina now... the mission begins...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.