[Support] SpaceinvaderOne - Macinabox


2135 posts in this topic Last Reply

Recommended Posts

Thanks for your quick reply.

 

I don't know what SIO is, but let me read more on clover update.

 

I don't have a monitor, but have connected a HDMI dongle (which is working well for a Windows VM with a different GPU).

 

I checked systeminfo in the VM, but nothing shows up under graphics/displays. I don't think HW acceleration is working (but don't know how to check).

 

I have not added any additional kexts beyond what macinabox installed for me. The videos didn't mention this either. Where can I look into this?

Link to post
  • Replies 2.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

PLEASE - PLEASE - PLEASE EVERYONE POSTING IN THIS THREAD IF YOU POST YOUR XML FOR THE VM HERE PLEASE REMOVE/OBSCURE THE OSK KEY AT THE BOTTOM. IT IS AGAINST THE RULES OF THE FORUM FOR OSK K

09 Dec 2020   Basic usage instructions.   Macinabox needs the following other apps to be installed. CA User Scripts (macinabox will inject a user script. This is what fixes th

Do you like this for an icon? I think its appropriate.

Posted Images

55 minutes ago, steve1977 said:

I don't know what SIO is

WHO SIO is :) SIO stands for SpaceInvadersOne, the author of the docker.

56 minutes ago, steve1977 said:

which is working well for a Windows VM with a different GPU

How do you know it's working? windows behaves in a different way than mac os, as far as I know windows sees GPUs also if no monitor is attached.

57 minutes ago, steve1977 said:

I checked systeminfo in the VM, but nothing shows up under graphics/displays. I don't think HW acceleration is working (but don't know how to check).

Check in "About this mac" and you will see if your os is using the GPU or not.

57 minutes ago, steve1977 said:

I have not added any additional kexts beyond what macinabox installed for me. The videos didn't mention this either.

Macinabox should have added lilu and whatevergreen, but I don't know which versions.

Can't you attach a monitor to the vm and see if the gpu works before trying the dongle?

 

Take into account that the aim of the container is to have a basic mac os vm: if you want to passthrough hardware and fine tune it you may have to change settings in the bootloader, settings in the xml of the vm, install additional kexts and make confident with updating kexts/bootloader/drivers.

You need a lot of patience and read, read, read and read again.

 

This topic has a lot of information and these also:

** Hackintosh ** Tips to make a bare metal MacOS

 

**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM

 

Link to post
On 6/6/2020 at 9:51 AM, RockDawg said:

Thanks for the info guys.  I'll try passing through a video card when my HDMI dummy plug shows up.

I purchased a Radeon RX 560 and a HDMI dummy plug.  I think I passed it through to my VM correctly and it booted up, but there is no VNC option in unRAID.  Splashtop shows it as sleeping/offline.  How can I get this to work?  Here is my config:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxMojave</name>
  <uuid>41223569-4768-4167-a4ba-81c4a9c72d08</uuid>
  <description>MacOS Mojave</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="mojave.png" os="Mojave"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='24'/>
    <vcpupin vcpu='2' cpuset='10'/>
    <vcpupin vcpu='3' cpuset='26'/>
    <vcpupin vcpu='4' cpuset='12'/>
    <vcpupin vcpu='5' cpuset='28'/>
    <vcpupin vcpu='6' cpuset='14'/>
    <vcpupin vcpu='7' cpuset='30'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/disks/Temp_Intermediate/domains/MacinaboxMojave/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/disks/Temp_Intermediate/domains/MacinaboxMojave/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='2'/>
    <cache mode='passthrough'/>
  </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/disks/Temp_Intermediate/domains/MacinaboxMojave/Clover.qcow2' index='3'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <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/disks/Temp_Intermediate/domains/MacinaboxMojave/Mojave-install.img' index='2'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <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/disks/Temp_Intermediate/domains/MacinaboxMojave/macos_disk.img' index='1'/>
      <backingStore/>
      <target dev='hde' bus='sata'/>
      <alias name='sata0-0-4'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <alias name='pci.3'/>
      <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'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <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'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:3c:e9:42'/>
      <source bridge='br0'/>
      <target dev='vnet1'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-2-MacinaboxMojave/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x84' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <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>

 

 

Link to post
15 hours ago, ghost82 said:

WHO SIO is :) SIO stands for SpaceInvadersOne, the author of the docker.

How do you know it's working? windows behaves in a different way than mac os, as far as I know windows sees GPUs also if no monitor is attached.

Check in "About this mac" and you will see if your os is using the GPU or not.

Macinabox should have added lilu and whatevergreen, but I don't know which versions.

Can't you attach a monitor to the vm and see if the gpu works before trying the dongle?

 

Take into account that the aim of the container is to have a basic mac os vm: if you want to passthrough hardware and fine tune it you may have to change settings in the bootloader, settings in the xml of the vm, install additional kexts and make confident with updating kexts/bootloader/drivers.

You need a lot of patience and read, read, read and read again.

Oh, Grandmaster SIO 🙂 Truly amazing what he has been doing. Not just with this docker, but in general helping us all to get the best out of Unraid.

 

GPU does not show in "about this mac".

 

I updated lilu and whatevergreen, but unfortunately no change.

 

I connected a monitor to the HDMI port, but also no luck. Nothing shows up.

 

Do I need to install any drivers in Catalina?

 

I have not passed through the GPU rom file (but read this is not needed for MacOS). The GPU is in the second mobo slot (there is a Nvidia in the first slot).

 

Any idea what else I can try to trouble-shoot?

Edited by steve1977
Link to post
26 minutes ago, steve1977 said:

I have not passed through the GPU rom file (but read this is not needed for MacOS). The GPU is in the second mobo slot (there is a Nvidia in the first slot).

 

Any idea what else I can try to trouble-shoot?

I downloaded the rom file and passed it through. Unfortunately, still not working.

Link to post
1 hour ago, steve1977 said:

GPU does not show in "about this mac".

 

I updated lilu and whatevergreen, but unfortunately no change.

 

I connected a monitor to the HDMI port, but also no luck. Nothing shows up.

 

Do I need to install any drivers in Catalina?

This means that GPU is not working in the os, it can be:
1- GPU is working but not the hdmi port

2- GPU is not working because of the bootloader: provide bootloader log file and ioreg file to try to troubleshoot

 

No need additional drivers apart updated lilu and whatevergreen.

 

1 hour ago, steve1977 said:

I downloaded the rom file and passed it through. Unfortunately, still not working.

Do not download any rom file, but dump it from your gpu.

Link to post
5 hours ago, RockDawg said:

but there is no VNC option in unRAID

It's not possible to set both gpu passthrough and vnc in the vm xml.

If you want a gpu passthrough install a vnc server in the os.

5 hours ago, RockDawg said:

Splashtop shows it as sleeping/offline

If it shows offline it means it probably the os is not booting: attach a monitor and boot in verbose mode to see what's happening and attach the bootloader log file.

 

5 hours ago, RockDawg said:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x84' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>

Is this the GPU passthrough part?If this is the case, you are not correctly passing through, you need to passthrough also the audio part and set the bus/slots/functions correctly; read here:

 

virtio for network is bugged, use e1000-82545em

Edited by ghost82
Link to post
3 hours ago, ghost82 said:

This means that GPU is not working in the os, it can be:
1- GPU is working but not the hdmi port

2- GPU is not working because of the bootloader: provide bootloader log file and ioreg file to try to troubleshoot

 

No need additional drivers apart updated lilu and whatevergreen.

 

Do not download any rom file, but dump it from your gpu.

I now know what the issue is. My RX580 in fact is a RX580 2048SP, which doesn't seem to be supported.

 

Someone pointed out that it may work when cross-flashed to RX570. Looking now for some guides to flash the GPU in Unraid.

Link to post
On 6/29/2020 at 2:14 PM, PeteAsking said:

I also have another issue that is not a major problem but just annoying. Every time I shut down the VM and turn it back on the VNC graphics become garbled, like it is trying to display the screen many times in VNC. The way I have to fix it every time I ever turn off the VM, is to boot VM, go into the bios, choose OVMF settings and change resolution to 1920x1080 then save this and reboot. Graphics still garbled at this point. Shut down a second time and repeat the above changing the resolution to 800x600. This time when you boot the VNC graphics are normal and it is 1080p despite being set to 800x600 and I can use VNC as normal. If I ever turn off OSX I must repeat this 2 reboot process to restore the graphics. Its not a major issue as I dont reboot often and of course I avoid doing so unless I have to since its a headache to get the screen working again via vnc. I just wondered if anyone else had this issue and knew why it did it or how to fix it.

 

Kind regards

P

I am surprised nobody else seems to have had this vnc duplicated/garbled display problem I am experiencing. Am I really the only one with this issue? I didnt do anything strange like pass graphics cards or anything. Its basically an unmodified xml other than changing ram size and processors dedicated to it etc. 

Link to post
2 hours ago, PeteAsking said:

I am surprised nobody else seems to have had this vnc duplicated/garbled display problem I am experiencing. Am I really the only one with this issue? I didnt do anything strange like pass graphics cards or anything. Its basically an unmodified xml other than changing ram size and processors dedicated to it etc. 

Did you go into your cloverEFI plist and change the resolution to what you changed it to in the OVMF settings? It needs to at least match to get rid of the garbled screen. 

Link to post
8 minutes ago, david279 said:

Did you go into your cloverEFI plist and change the resolution to what you changed it to in the OVMF settings? It needs to at least match to get rid of the garbled screen. 

No, I do not know how to do this. 

Link to post
Just now, PeteAsking said:

Can you tell me what I have to do?

It is not that simple. You can check out tonymacx86/insanelymac or the hackintosh reddit. You will need a app to mount the efi or do some terminal work to mount it, maybe clover configurator or a mac plist editor. Then you want navigate the EFI to the config.plist for clover and change the clover resolution set in there to match what you set in the OVMF UEFI.

Im starting to think there should be a hackintosh 101 post or it should at least be posted with this thread to give a bit of a introduction to the quirks of dealing with hackintoshes. The hackintosh reddit is a good place to start. I even hate to send you to tonymac for info as they like to censor people who talk VMs or AMD hackintosh builds but they have a lot of information that will be helpful to everybody. .

Link to post

Can't get the VNC option to appear. I've followed the video, installed the Docker container, it's run through downloading the install files just fine. I've stopped and started the array, the Macinabox docker icon is there and says it's started. But when I click on it, I only get the option for 'Webgui' which of course brings me to the video. I never get the option to to click on 'VNC remote'. Is there anything I have to install on Unraid to enable the VNC viewer? What am I missing or doing wrong?? The log file seems to suggest everything completed normally. I took the option for 'full install'. I've tried it multiple times and get the same problem.

Link to post
28 minutes ago, Stuart Richards said:

Can't get the VNC option to appear. I've followed the video, installed the Docker container, it's run through downloading the install files just fine. I've stopped and started the array, the Macinabox docker icon is there and says it's started. But when I click on it, I only get the option for 'Webgui' which of course brings me to the video. I never get the option to to click on 'VNC remote'. Is there anything I have to install on Unraid to enable the VNC viewer? What am I missing or doing wrong?? The log file seems to suggest everything completed normally. I took the option for 'full install'. I've tried it multiple times and get the same problem.

I think you have mis-understood the purpose of `MacinaBox’.    You only get the option to run the VNC viewer when you start your Mac VM.   what the plugin does is generate the files that are required to run a Mac VM - it is not a VM in its own right.

Link to post
9 hours ago, ghost82 said:

It's not possible to set both gpu passthrough and vnc in the vm xml.

If you want a gpu passthrough install a vnc server in the os.

If it shows offline it means it probably the os is not booting: attach a monitor and boot in verbose mode to see what's happening and attach the bootloader log file.

 

Is this the GPU passthrough part?If this is the case, you are not correctly passing through, you need to passthrough also the audio part and set the bus/slots/functions correctly; read here:

 

virtio for network is bugged, use e1000-82545em

 

I watched that video, included the sound card portion of my GPU and made the corrections to my xml.  I also edited the network line (forgot about that).  My unraid is booting in legacy mode.  I also tried to do it on a Win 10 VM I have tunning and it wouldn;t work either.  Same as the MacOS.  Unraid shows the VM as running but Splashtop says it's down.  I don't have an easy way to connect a monitor to the GPU.  Any other way to troubleshoot the issue?

 

Here is the VM log:

 

-no-shutdown \
-boot strict=on \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \
-device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
-device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x7.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
-blockdev '{"driver":"file","filename":"/mnt/disks/Temp_Intermediate/domains/MacinaboxMojave/Clover.qcow2","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device ide-hd,bus=ide.2,drive=libvirt-3-format,id=sata0-0-2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/disks/Temp_Intermediate/domains/MacinaboxMojave/Mojave-install.img","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-hd,bus=ide.3,drive=libvirt-2-format,id=sata0-0-3,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/disks/Temp_Intermediate/domains/MacinaboxMojave/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 e1000-82545em,netdev=hostnet0,id=net0,mac=52:54:00:3c:e9:42,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=36,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:84:00.1,id=hostdev0,bus=pci.4,addr=0x0.0x1 \
-device vfio-pci,host=0000:84:00.0,id=hostdev1,bus=pci.4,multifunction=on,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-07-05 16:28:59.535+0000: Domain id=13 is tainted: high-privileges
2020-07-05 16:28:59.535+0000: Domain id=13 is tainted: custom-argv
2020-07-05 16:28:59.535+0000: Domain id=13 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)

 

Here is my updated Mojave xml:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='13' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxMojave</name>
  <uuid>41223569-4768-4167-a4ba-81c4a9c72d08</uuid>
  <description>MacOS Mojave</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="MacOS" icon="/mnt/disks/Temp_Intermediate/domains/MacinaboxMojave/icon/mojave.png" os="Mojave"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='24'/>
    <vcpupin vcpu='2' cpuset='10'/>
    <vcpupin vcpu='3' cpuset='26'/>
    <vcpupin vcpu='4' cpuset='12'/>
    <vcpupin vcpu='5' cpuset='28'/>
    <vcpupin vcpu='6' cpuset='14'/>
    <vcpupin vcpu='7' cpuset='30'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <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/41223569-4768-4167-a4ba-81c4a9c72d08_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <cache mode='passthrough'/>
  </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/disks/Temp_Intermediate/domains/MacinaboxMojave/Clover.qcow2' index='3'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <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/disks/Temp_Intermediate/domains/MacinaboxMojave/Mojave-install.img' index='2'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <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/disks/Temp_Intermediate/domains/MacinaboxMojave/macos_disk.img' index='1'/>
      <backingStore/>
      <target dev='hde' bus='sata'/>
      <alias name='sata0-0-4'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <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'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x8'/>
      <alias name='pci.1'/>
      <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'/>
      <alias name='pci.2'/>
      <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='0xa'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:3c:e9:42'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-13-MacinaboxMojave/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x84' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x84' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <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>

 

Link to post
6 minutes ago, itimpi said:

I think you have mis-understood the purpose of `MacinaBox’.    You only get the option to run the VNC viewer when you start your Mac VM.   what the plugin does is generate the files that are required to run a Mac VM - it is not a VM in its own right.

 

I understand the plugin facilitates the building of a Mac VM.  I have a running Mac VM thanks to MacinaBox.  My issue is that it is very laggy and slow.  I was told that is because I didn't have a GPU for it.  I was told that even though I only intend to use a VNC client to connect to the VM a GPU will help performance so that is what I am trying to do.  I didn't realize that selecting a GPU for the VM would disable the built in VNC.

 

Either way I have Splashtop installed on the Mac VM and it isn't working either.

Link to post
10 minutes ago, RockDawg said:

 

I understand the plugin facilitates the building of a Mac VM.  I have a running Mac VM thanks to MacinaBox.  My issue is that it is very laggy and slow.  I was told that is because I didn't have a GPU for it.  I was told that even though I only intend to use a VNC client to connect to the VM a GPU will help performance so that is what I am trying to do.  I didn't realize that selecting a GPU for the VM would disable the built in VNC.

 

Either way I have Splashtop installed on the Mac VM and it isn't working either.

If you dont alter the nic to the e1000 then your upload is limited to like 0.5mbit or something stupid. 

Link to post
2 minutes ago, PeteAsking said:

If you dont alter the nic to the e1000 then your upload is limited to like 0.5mbit or something stupid. 

Yeah, I fixed that but either way, I am still just trying to get it to boot.

Link to post
7 minutes ago, ghost82 said:

Clover will not work with stock ovmf files, check paths.

Thanks for that.  I copied over the lines from the xm that worked before I passed through the GPU and it now boots.

 

But - it is still slow and it is not showing a GPU under About This Mac.

Link to post
27 minutes ago, itimpi said:

I think you have mis-understood the purpose of `MacinaBox’.    You only get the option to run the VNC viewer when you start your Mac VM.   what the plugin does is generate the files that are required to run a Mac VM - it is not a VM in its own right.

So how do I actually get to view the virtual machine to run the install? In the video once you start it the menu option changes from 'Webui' to 'VNC Remote' and then you can connect to the machine to run through the install. 

Link to post

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.