Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] SpaceinvaderOne - Macinabox

Featured Replies

Its still broken, just tried to install a new Catalina image.

  • Replies 3.4k
  • Views 796.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • SpaceInvaderOne
    SpaceInvaderOne

    23 Sept 2024   Basic usage instructions.   Overview   Macinabox is now self-contained and no longer requires any helper scripts. It is designed to send notifications thro

  • SpaceInvaderOne
    SpaceInvaderOne

    Finally the new Macinabox is ready. Sorry for the delay work has been a F******G B*****D lately taking all my time.   So It also has a new template so please make sure to make sure your temp

  • SpaceInvaderOne
    SpaceInvaderOne

    New Macinabox almost complete. Should be out soon. Hoping for the end of next week or shortly there after Will have a few new features such as Ventura and Sonoma support Also the companion User Sc

Posted Images

 

59 minutes ago, Mason736 said:

Its still broken, just tried to install a new Catalina image.

I just setup catalina and it worked fine. Getting screwed up video w/ VNC after I upped it to 6 cores though...

Update, its working.  My mistake, I deleted the docker, for some reason the image file was still there.  After I removed the image fine, and reinstalled the docker, its working.

Hi, installed successfully however when I come to start the VM I get the following message:

 

image.png.b461bebce53b0e12d21fa8a4f4f70f30.png

1 hour ago, r8z0r1 said:

Hi, installed successfully however when I come to start the VM I get the following message:

 

image.png.b461bebce53b0e12d21fa8a4f4f70f30.png

Changing `/boot/config/network.cfg` to `/boot/config/network.cfg.bak` on the flash drive worked for me.

I've been unsuccessful in passing through a 1070ti to a High Sierra install via this docker. 

 

Can anyone who has successfully done this with an NVIDIA card let me know what you've done with Clover Configurator to get this working?

 

I've:

  • Installed remote software
  • Opened Configurator and check NvidiaWeb, ensured I was using 14,1 Mac model
  • Used the script to install the drives as SpaceInvader suggested

...but the install still doesn't see the card. The NVIDIA software is there and the drivers are installed. 

 

I've had this card passed through to previous High Sierra installs using the "old school" SpaceInvader method, but I can't get Macinabox working. 

I am unable to connect an iPhone to this VM. Everything else working. External HDD will connect. Only thing that will not connect is the iPhone. My iPhone DOES connect to a Windows 10 VM. Does anyone else experience this issue?

Hi all,

 

Fairly new to VMs in unraid. Thanks in advance for the help. 
 

Ive got a AMD wx5100 passed through, but it doesn’t display video. I haven’t changed any config or clover or anything. Is there a step by step of things I need to do to get this to display video? 
 

thanks again guys. 

On 3/15/2020 at 3:00 AM, wbsmolen said:

Just coming into this thread...is your bios resolution the same as clover? that's required.

 

vnc back into macOS, edit clover resolution to match your monitors NATIVE resolution (under gui section).

 

Hit esc rapidly while booting back up so you get into the OVMF menu and change target resolution to match.

Thanks for the feedback.

Am I in the right place to set the resolution in Clover?

 

image.thumb.png.5d1502c2a463f4584cfc7e94917b2553.png

Edited by newmember

hi, thank you for this tutorial video, the os mac Catalina is working fine when select video type vnc if i want to change the video type to local cart type NVIDIA GeForce GTX 1060 3GB (01:00.0) the os mac not work i remove the cpu passthrough , so this the xml file for vm can you check it please 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>MacinaboxCatalina</name>
  <uuid>004233fd-da22-4162-8adc-71465284e8f3</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="default.png" os="Catalina"/>
  </metadata>
  <memory unit='KiB'>13107200</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>6</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='5'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='6'/>
    <vcpupin vcpu='4' cpuset='3'/>
    <vcpupin vcpu='5' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/004233fd-da22-4162-8adc-71465284e8f3_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>

  </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>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/Clover.qcow2'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/Catalina-install.img'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/macos_disk.img'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <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' multifunction='on'/>
    </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='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </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='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>
    <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>
    <interface type='bridge'>
      <mac address='52:54:00:ba:5e:56'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x01' 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='0x01' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc534'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x24ae'/>
        <product id='0x6000'/>
      </source>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
</domain>

 

2 hours ago, YaserGh said:

NVIDIA GeForce GTX 1060

There are no web drivers for 10series cards for catalina available and propably never will be. Last MacOS with support for Nvidia cards is High Sierra. 😒

1 hour ago, bastl said:

There are no web drivers for 10series cards for catalina available and propably never will be. Last MacOS with support for Nvidia cards is High Sierra. 😒

Thank you my dear,

hello everyone

 

i installed catalina on a nuc8i3beh

 

eveything work fine except appleid and adding more ram: https://d.pr/i/JkQkCJ

 

i tried the instructions in youtube video to modify xml, when i do this, my screen bug on relaunch/startup with multiple apple

 

if anybody have an idea

 

thanks in advance

18 hours ago, newmember said:

Thanks for the feedback.

Am I in the right place to set the resolution in Clover?

 

image.thumb.png.5d1502c2a463f4584cfc7e94917b2553.png

No. Force stop and then start the vm. hit esc rapidly on the bios boot logo screen to open bios settings. from there, go to device manager and change ovmf's resolution to match clover (1920x1080 default)

@neow scroll back to page 11 for screen fix info and you may need to change your network adapter to 'e1000-82545em' to get appleid working

hey

I really love this docker, but the problem is that I can't sign in with me apple id. I keep getting the error"There was an error connecting to the Apple ID server."

 

is there a way to let me login ?

9 hours ago, fr05ty said:

@neow scroll back to page 11 for screen fix info and you may need to change your network adapter to 'e1000-82545em' to get appleid working

hello thanks

 

first i tried 1000-82545em -> no network at all after this

then i looked at screen fix, this is way to much complicated for me but thank you sir

 

i will wait a macinabox for noob :)

All of a sudden my mouse don't work anymore through in the VNC/browser. I can use the keyboard, but mouse don't work (I can see the curser) It works perfect in my Windows VM.

 

Any ideas?

On 3/28/2020 at 3:27 PM, wbsmolen said:

No. Force stop and then start the vm. hit esc rapidly on the bios boot logo screen to open bios settings. from there, go to device manager and change ovmf's resolution to match clover (1920x1080 default)

Thank you

 

I found it easier to start the boot up to the 

 

 

Then I found the OVMF setting as you has described.

It was set to 1920X1080  before I updated the CPU from 2 to 4

It was now set to 640X480.

 

 

image.thumb.png.16f54cc03291881233ce8bcae5bc4253.png

 

Then I updated it to 1920X1080,

Then 'commit changes and exit.

 

When I go back to the OVMF screen the 'preferred resolution' is updated

 

image.thumb.png.9147e766ea4479865a12a6988fbc8ff6.png

 

 

ESC to exit

Restart

 

The first restart and I had he same 640X480 resolution.

I stopped the VM

Started the VM and good to go.

 

 

Checking back:

 

  <memory unit='KiB'>16252928</memory>
  <currentMemory unit='KiB'>16252928</currentMemory>

 

  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='2' threads='2'/>

 

This shows up as Dual Core and 2 Cores = 4 Cores total

 

image.png.21ea1e2b50b10064d30dd12a0b7d9a09.png

 

 

 

Thanks for the assistance.

 

 

 

 

 

 

 

hi, Super videos and Docker.

i am trying to pasthru gpu but no luck.

can anyone help me please ? i can't seem to find the solution my self.

i only have 1 gpu no onboard.

 

Setup

M/B: Micro-Star International Co., Ltd. B350 TOMAHAWK (MS-7A34) Version 1.0 - s/n: I116128406

BIOS: American Megatrends Inc. Version 1.OQ. Dated: 11/15/2019

CPU: AMD Ryzen 7 1800X Eight-Core @ 3600 MHz

HVM: Enabled

IOMMU: Enabled

Cache: 768 KiB, 4096 KiB, 16384 KiB

Memory: 16 GiB DDR4 (max. installable capacity 128 GiB)

Network: bond0: fault-tolerance (active-backup), mtu 1500
 eth0: 1000 Mbps, full duplex, mtu 1500

Kernel: Linux 4.19.107-Unraid x86_64

OpenSSL: 1.1.1d

 

VM Logg:


-blockdev '{"driver":"file","filename":"/mnt/user/OSX/MacinaboxCatalina/macos_disk.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-hd,bus=ide.4,drive=libvirt-1-format,id=sata0-0-4,write-cache=on \
-netdev tap,fd=35,id=hostnet0 \
-device vmxnet3,netdev=hostnet0,id=net0,mac=52:54:00:6d:e5:83,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=37,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-device 'vfio-pci,host=0000:29:00.0,id=hostdev0,bus=pci.3,multifunction=on,addr=0x0,romfile=/mnt/user/isos/Radeon Rx550 4gb.rom' \
-device vfio-pci,host=0000:29:00.1,id=hostdev1,bus=pci.3,addr=0x0.0x1 \
-device vfio-pci,host=0000:25:00.0,id=hostdev2,bus=pci.5,addr=0x0 \
-usb \
-device usb-kbd,bus=usb-bus.0 \
-device '************************' \
-smbios type=2 \
-cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-03-31 08:02:40.225+0000: Domain id=2 is tainted: high-privileges
2020-03-31 08:02:40.225+0000: Domain id=2 is tainted: custom-argv
2020-03-31 08:02:40.225+0000: Domain id=2 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-03-31T08:02:40.284428Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.285444Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.286222Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.287015Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.287842Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.289092Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.290048Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.290920Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.291780Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.292591Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.293419Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-31T08:02:40.294286Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
usb_desc_get_descriptor: 1 unknown type 33 (len 10)
usb_desc_get_descriptor: 1 unknown type 33 (len 10)
usb_desc_get_descriptor: 1 unknown type 33 (len 10)
usb_desc_get_descriptor: 1 unknown type 33 (len 10)

 

 

VM Config:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>8b5f7fc9-e0bd-46e6-aeee-0915667611a5</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="MacOS" icon="/mnt/user/domains/MacinaboxCatalina/icon/catalina.png" os="Catalina"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>12</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='9'/>
    <vcpupin vcpu='4' cpuset='2'/>
    <vcpupin vcpu='5' cpuset='10'/>
    <vcpupin vcpu='6' cpuset='3'/>
    <vcpupin vcpu='7' cpuset='11'/>
    <vcpupin vcpu='8' cpuset='4'/>
    <vcpupin vcpu='9' cpuset='12'/>
    <vcpupin vcpu='10' cpuset='5'/>
    <vcpupin vcpu='11' cpuset='13'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <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>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/OSX/MacinaboxCatalina/Clover.qcow2'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/OSX/MacinaboxCatalina/Catalina-install.img'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/OSX/MacinaboxCatalina/macos_disk.img'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <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' multifunction='on'/>
    </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='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </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='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:6d:e5:83'/>
      <source bridge='br0'/>
      <model type='vmxnet3'/>
      <address type='pci' domain='0x0000' bus='0x01' 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='0x29' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/Radeon Rx550 4gb.rom'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x29' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x25' slot='0x00' function='0x0'/>
      </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='isa-applesmc,osk=REMOVED'/>
    <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 chFresh

Hi,

 

Has anyone succeeded in passing a 5700 XT through to the MacInABox VM? It works great when I run it with VNC, but when I pass through my graphics card I get the Clover screen, then it glitches out when it shows the Apple boot screen and I never get a desktop. I've tried tweaking some options in Clover, but so far no luck. Any assistance would be appreciated if anyone has gotten this working.

 

Thank you

@newmember I had that same problem with the screen. A few bits of info had not gotten fixed in the XML. It's in this post:

 

 

These lines

  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/64fb8168-c7cf-4563-8466-30409f6c1da9_VARS-pure-efi.fd</nvram>
  </os>

should have been these lines:

  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_VARS.fd</nvram>
  </os>

 

On 3/29/2020 at 7:20 AM, neow said:

first i tried 1000-82545em -> no network at all after this

 

You need it to be e1000-82545em...you forgot the first e. 

23 hours ago, vcolombo said:

Hi,

 

Has anyone succeeded in passing a 5700 XT through to the MacInABox VM? It works great when I run it with VNC, but when I pass through my graphics card I get the Clover screen, then it glitches out when it shows the Apple boot screen and I never get a desktop. I've tried tweaking some options in Clover, but so far no luck. Any assistance would be appreciated if anyone has gotten this working.

 

Thank you

Brother with a 5700XT waiting for a smarter bother to show us the way.

1 minute ago, dboris said:

Brother with a 5700XT waiting for a smarter bother to show us the way.

+1

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.