[Support] SpaceinvaderOne - Macinabox


Recommended Posts

Just wondering if anyone knows what i need to put in at the end of the xml if i have applied the ryzen patch to opencore?

Gathering i don't need all the cpu features as the patch passes through ryzen features?

So what do i need to change to this part of the xml

 

  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=**************************************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

Thanks in advance

Edited by steveBBB
Link to comment
On 12/8/2020 at 8:30 PM, Jagadguru said:

Has anyone ever tried using anything like this https://www.walmart.com/ip/PCI-E-Express-3-Port-1X-Multiplier-Riser-Card-Mining-Cable/269154426

PCI-E Express 3 Port 1X Multiplier Riser Card?

 

My computer only has one port free (besides the GPU port) for MacOS and I would like to put in a fenvi T919 for macOS PC PCI Wifi Card Continuity Handoff BCM94360CD Native Airport WiFi BT 4.0 1750Mbps 5GHz/2.4GHz MIMO 802.11ac Beamforming+ WLAN PCI-E Card in addition to the USB controller card  I'm already passing through.

 

How do these multiplier cards pull off sharing just one PCIe lane?

 

All of the expansion cards in the entire machine I want to use are just are 1x

 

My system should be in the signature (Dell Optiplex 9020)

Hi @Jagadguru

 

Yes. I use these with great success. See here;

 

https://mediaserver8.blogspot.com/2020/04/unraid-discrete-usb-passthrough-to.html

 

and here;

 

https://mediaserver8.blogspot.com/2020/04/mediaserver-83-bifurcation-edition.html

 

You can even assign cards in each slot to different VMs as they can show up in different IOMMU groups.

 

They work using a technology known as PLX. Essentially, theres a traffic cop chip on them that assigns each slot on the expander board a slice of time on the motherboard slot. In effect, this is transparent and the system sees cards populated in the expander as discrete and additional devices. I've encountered no problems using up to 4x USB 3.0 cards in these expansion devices, all assigned to different VMs simultaneously.

 

Edited by meep
  • Thanks 1
Link to comment
10 hours ago, WeiYanZhen said:

Does anyone have problems with the pass-through GPU card?

My environment is:

UNRAID: 6.9.0 RC-1

CPU: Ryzen 5 3600

MB: MSI B450M Mortar MAX

GPU: Radeon 5500XT (just one GPU card)

MacOS VM: BigSur, Catalina

Then follow the video of @SpaceInvaderOne to create a new MacOS VM, and finally I can successfully log in to the OS in VNC mode and put in the EFI configuration file.

 

But when i shutdown the VM and edit the VM setting to passthrough GPU and GPU's audio, it's bring the black screen to me.

 

When my monitor is black, I can only use the WebGUI on the docker of macinabox to check the situation, and it's will show some error msg.

image.thumb.png.7e3daef5b1ba53afd9d2c753119e194d.png

And at this time, there will be a situation where a CPU core is fully loaded.
image.png.710e78053c1ad875bbdeaa77d93145ba.png
I don’t know if it’s the macinabox problem or the opencore problem, because the clover version of macinabox can passthrough GPU normally.

 

Hope someone can help me, or is there a way to go back to the clover version of macinabox, thank you.

 

 

First when posting your xml, post it as code here and not as attachment for kindness to those willing to help 

 

second you are not passing through the gpu

 

Third you need to add to your config.plist vía opencore configurator in the nvram tab a boot arg from the whatevergreen agdpmod=pikera 

 

 

Edited by mSedek
Link to comment
8 hours ago, steveBBB said:

Just wondering if anyone knows what i need to put in at the end of the xml if i have applied the ryzen patch to opencore?

Gathering i don't need all the cpu features as the patch passes through ryzen features?

Thanks in advance

Yo need to add the "special" apple string if you are using the custom ovmfs

 

Forgot yo mention before that an xml tag device, the Apple string is a device

Edited by mSedek
Link to comment
41 minutes ago, mSedek said:

First when posting your xml, post it as code here and not as attachment for kindness to those willing yo help 

 

second you are not passing through the gpu

 

Third you need to add to your config.plist vía opencore configurstor in the nvram tab a boot arg from the whatevergreen adgpmod=pikera 

 

 

Thanks for reply, next time i will post the xml like the code.

 

What do you mean when I don’t have a passthrough GPU?

I have just set the Graphics Card use form view and use the user script to correctly the config, like the pic

image.png.ff1b916705366bbfe6012f683b3fbbc1.png
I have tried the same situation regardless of whether the ROM BIOS is configured or not

And the whatevergreen config "adgpmod=pikera" is already set in opencore config.plist
image.png.928980827b531bf891d58120fb224512.png

I have tried many opencore configurations related to AMD GPU, all of which came from google search, but it seems to be useless at present

I also tried to use Tools->System Device to block GPU-related IOMMU, but it didn’t work.
image.thumb.png.07f6491c79b0417a494fb52975e55e06.png

And Tried the append the vfio-pci.ids on the syslinux.cfg

kernel /bzimage
append vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream,multifunctio vfio-pci.ids=1002:7340,1002:ab38,1002:1479 video=vesafb:off,efifb:off initrd=/bzroot

Finally, attach my passthrough xml config again, thx

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox BigSur</name>
  <uuid>2537655f-133c-4b04-abea-7c4141cfaa6a</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='9'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='10'/>
    <vcpupin vcpu='6' cpuset='5'/>
    <vcpupin vcpu='7' cpuset='11'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/2537655f-133c-4b04-abea-7c4141cfaa6a_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='4' threads='2'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='6' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0xc'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:53:c4:0e'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/Sapphire.RX5500XT.8192.191212.rom'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

Edited by WeiYanZhen
Link to comment
1 hour ago, WeiYanZhen said:

Thanks for reply, next time i will post the xml like the code.

 

What do you mean when I don’t have a passthrough GPU?

I have just set the Graphics Card use form view and use the user script to correctly the config, like the pic

image.png.ff1b916705366bbfe6012f683b3fbbc1.png
I have tried the same situation regardless of whether the ROM BIOS is configured or not

And the whatevergreen config "adgpmod=pikera" is already set in opencore config.plist
image.png.928980827b531bf891d58120fb224512.png

I have tried many opencore configurations related to AMD GPU, all of which came from google search, but it seems to be useless at present

I also tried to use Tools->System Device to block GPU-related IOMMU, but it didn’t work.
image.thumb.png.07f6491c79b0417a494fb52975e55e06.png

And Tried the append the vfio-pci.ids on the syslinux.cfg


kernel /bzimage
append vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream,multifunctio vfio-pci.ids=1002:7340,1002:ab38,1002:1479 video=vesafb:off,efifb:off initrd=/bzroot

Finally, attach my passthrough xml config again, thx


<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox BigSur</name>
  <uuid>2537655f-133c-4b04-abea-7c4141cfaa6a</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='9'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='10'/>
    <vcpupin vcpu='6' cpuset='5'/>
    <vcpupin vcpu='7' cpuset='11'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/2537655f-133c-4b04-abea-7c4141cfaa6a_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='4' threads='2'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='6' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0xc'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:53:c4:0e'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/Sapphire.RX5500XT.8192.191212.rom'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

In the xml you posted the video card passthrough didnt show up, 

  <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/Sapphire.RX5500XT.8192.191212.rom'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'  multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
    </hostdev>

change your passthrough to this and also

 

 

which .rom are you using? get your own or try with others from the same card at tech powerups

Edited by mSedek
Link to comment
51 minutes ago, mSedek said:

In the xml you posted the video card passthrough didnt show up, 


  <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/Sapphire.RX5500XT.8192.191212.rom'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'  multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x28' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
    </hostdev>

change your passthrough to this and also

 

 

which .rom are you using? get your own or try with others from the same card at tech powerups

OK, i use the passthroug config you posted,but it's not worked

It's still show the missing GOP issue, I think this error message is opencore or qemu cannot find the GPU?

My vbios is downloaded from the website Techpowerup

I wonder if you have any good ideas, thanks alot?

image.thumb.png.8c2d31949876a5890fecffc0b813d03f.png

Link to comment
1 minute ago, WeiYanZhen said:

OK, i use the passthroug config you posted,but it's not worked

It's still show the missing GOP issue, I think this error message is opencore or qemu cannot find the GPU?

My vbios is downloaded from the website Techpowerup

I wonder if you have any good ideas, thanks alot?

image.thumb.png.8c2d31949876a5890fecffc0b813d03f.png

try all the bios if none of them works use the tool to download the rom from your card.. and do not make changes to the passthrough with multifunction..

 

Link to comment
17 hours ago, SpaceInvaderOne said:

Just make sure when you have passed through the device that afterwards you have re run the macinabox helper script to fix the xml. 

Usually sticking on the apple logo is down to the missing qemu args at the bottom of the xml template.

hi... i've try it again and i faild again and again.... i'm not sure is there some steps wrong or just i'm unlucky🥺

 

my step at first i bind immo device at unraid system device and reboot unraid

then i choose other pcie device at vm edit view 

after these step i run macinabox_helper user script and fix xml automatic

 

finally i run the mac os big sur vm and faild to start...

 

i can run macos just do not select the pcie device

 

maybe the device is not work for macos? i think...

Link to comment
13 hours ago, WeiYanZhen said:

Does anyone have problems with the pass-through GPU card?

My environment is:

UNRAID: 6.9.0 RC-1

CPU: Ryzen 5 3600

MB: MSI B450M Mortar MAX

GPU: Radeon 5500XT (just one GPU card)

MacOS VM: BigSur, Catalina

Then follow the video of @SpaceInvaderOne to create a new MacOS VM, and finally I can successfully log in to the OS in VNC mode and put in the EFI configuration file.

 

But when i shutdown the VM and edit the VM setting to passthrough GPU and GPU's audio, it's bring the black screen to me.

 

When my monitor is black, I can only use the WebGUI on the docker of macinabox to check the situation, and it's will show some error msg.

image.thumb.png.7e3daef5b1ba53afd9d2c753119e194d.png

And at this time, there will be a situation where a CPU core is fully loaded.
image.png.710e78053c1ad875bbdeaa77d93145ba.png
I don’t know if it’s the macinabox problem or the opencore problem, because the clover version of macinabox can passthrough GPU normally.

 

Hope someone can help me, or is there a way to go back to the clover version of macinabox, thank you.

 

Finally, attach my XML file.

 

Hi, yes I am having this exact issue - I posted my XML in a post at the end of the previous page.

 

I’m using an AMD R7 265 on an ASUS tuf gaming x570 plus with a Ryzen 5 3600x. 
 

This setup works with Catalina using the old version of macinabox, so I assume it must have something to do with the move to opencore from clover,  but nothing I’ve tried works. 


I’m really hoping someone can help find a solution!

Link to comment

I just want to give a big shoutout to @SpaceInvaderOne for his hard work for both version of macinabox! It has simplify the process of running mac in a vm much simpler! He deserves to be appraised and his YouTube channel are very informative for anything unraid and even outside of unraid! Beers coming up @SpaceInvaderOne, thanks again for your amazing work and future works to come! *wink* *wink*

  • Like 1
Link to comment
5 hours ago, Helmonder said:

Any advice on what GPU to add to unraid to make it work a bit more smooth ?  Not to expensive..

Will not use it for anything but this...

I am running on a Supermicro X11SSM-F Version 1.01 with an Intel® Xeon® CPU E3-1230 v6 @ 3.50GHz

nvidia gt 710 works out the box and you can get on ebay for about $30 to $40

Link to comment
3 hours ago, jamesy829 said:

I just want to give a big shoutout to @SpaceInvaderOne for his hard work for both version of macinabox! It has simplify the process of running mac in a vm much simpler! He deserves to be appraised and his YouTube channel are very informative for anything unraid and even outside of unraid! Beers coming up @SpaceInvaderOne, thanks again for your amazing work and future works to come! *wink* *wink*

Your welcome. Thanks for your kind comments. Glad you like macinabox :)

 

  • Like 2
Link to comment
6 hours ago, mysciencefriend said:

Hi, yes I am having this exact issue - I posted my XML in a post at the end of the previous page.

 

I’m using an AMD R7 265 on an ASUS tuf gaming x570 plus with a Ryzen 5 3600x. 
 

This setup works with Catalina using the old version of macinabox, so I assume it must have something to do with the move to opencore from clover,  but nothing I’ve tried works. 


I’m really hoping someone can help find a solution!

 

8 hours ago, mSedek said:

try all the bios if none of them works use the tool to download the rom from your card.. and do not make changes to the passthrough with multifunction..

 

Was wondering if maybe your card has dual bios and can switch.  https://forums.macrumors.com/threads/cmp-5-1-opencore-catalina-installed-rx-580-but-no-boot-scren.2236992/

Link to comment
7 hours ago, susnow said:

hi... i've try it again and i faild again and again.... i'm not sure is there some steps wrong or just i'm unlucky🥺

 

my step at first i bind immo device at unraid system device and reboot unraid

then i choose other pcie device at vm edit view 

after these step i run macinabox_helper user script and fix xml automatic

 

finally i run the mac os big sur vm and faild to start...

 

i can run macos just do not select the pcie device

 

maybe the device is not work for macos? i think...

Try passing the same device to another vm a windows or linux to see if it is the hardward just not passing through or is os specific.

Link to comment
52 minutes ago, SpaceInvaderOne said:

 

Was wondering if maybe your card has dual bios and can switch.  https://forums.macrumors.com/threads/cmp-5-1-opencore-catalina-installed-rx-580-but-no-boot-scren.2236992/

Ahhh oh man it turns out all I needed to do was specify a vbios rom in the VM config.  I got tripped up because the VM I set up using the old macinabox didn't require one.

 

Thanks so much!

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.