[Support] SpaceinvaderOne - Macinabox


Recommended Posts

On 6/30/2021 at 7:58 AM, ghost82 said:

I'm afraid, still not supported, even in beta 4 11.5, nor in beta 2 monterey 12.0.


Hello ghost,

 

Considering that there’s still no 6700 xt driver is it possible to fool the os and make it think it’s a different gpu, one that is supported? If this is possible please share the method and also it it can harm my gpu. Thanks. 

Link to comment
3 hours ago, Ernie11 said:


Hello ghost,

 

Considering that there’s still no 6700 xt driver is it possible to fool the os and make it think it’s a different gpu, one that is supported? If this is possible please share the method and also it it can harm my gpu. Thanks. 

No, it's not possible. You need a driver to load and there is no driver for that gpu. Spoofing works if the driver lacks the specific model but it works when loaded, and unfortunately that is not the case for the 6700xt.

Link to comment
13 hours ago, ghost82 said:

No, it's not possible. You need a driver to load and there is no driver for that gpu. Spoofing works if the driver lacks the specific model but it works when loaded, and unfortunately that is not the case for the 6700xt.

🤕 

 

ok thanks

Link to comment
On 7/20/2021 at 2:17 PM, ghost82 said:

You need to be patient...there are traces in the code of the 6700xt..sooner or later it will be added, I'm quite sure.

navi22.png.d5fb5dd3ffe378994a00c1f0d6b4777c.png


I know I know I have to be patient. It’s just that my Mac Pro died and I’m Macless right now. Will keep my hopes up and checking the betas. Thanks 

Link to comment
On 6/30/2021 at 6:18 PM, privateer said:

Think I'm in the same place as you. I am running 11.2.1 - updated today to 11.4 and now I'm in a boot loop.

 

In 11.2 I had adjusted my cores, RAM, and some light edits to allow the iMessage service to work. Believe this was the config.plist. It took me a while to get everything up and running the first time for Big Sur.

 

Now I get a bootloop (but can still boot the old image). I'm new to Hackintosh. Can you give me some more basic steps and info about this new Penryn patch and what else I would need to do to allow the upgrade to be successful?

 

Thanks!

I had 11.2 with GT710 working fine, updated to 11.5 now login screen is not accepting mouse clicks. If I switch to VNC, everything works fine. I am using the same opencore vers as 11.2. I know 11.5 is new but the issue seems really odd. 

Link to comment
23 minutes ago, Hartless said:

Im having an issue where i can get the VM running but when I run the base system it will load a 1/3 of the way then reset back to this screen. ive checked the XML and ran he script provided. just at a loss.

 

 

image.thumb.png.57a952ce33e4c17fda459a9b62bf295c.png

Apply my pull request as described here:

https://github.com/SpaceinvaderOne/Macinabox/pull/49#issuecomment-873745079

 

You may need also this:

 

Edited by ghost82
Link to comment

Hi - I am trying to passthrough an amd wx4100 graphics card to my Mac VM, but it always gets stuck on a black screen with one thread max to 100%. The VM works fine with VNC, but when I passthrough a graphics card I get a black screen. I have tried it creating a new Mac VM with my vbios ROM, but it still wouldn't work. I tried the graphics card with a Windows VM and it works fine. I am not really sure whats going wrong as everything worked fine a couple of weeks ago. Have any of you had similar issues when trying to passthrough gpus? Am I not passing through the gpu correctly? Is it because of the gpu's bus? I would really appreciate it if you have any suggestions on how to proceed.

Thanks

 

EDIT:

I got it to work by changing the GPU and audio bus to bus='0x00'. I read somewhere that macOS doesn't like it when you use other buses.

 

XML:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox Mojave</name>
  <uuid></uuid>
  <description>MacOS Mojave</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="Mojave.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='12'/>
    <vcpupin vcpu='2' cpuset='4'/>
    <vcpupin vcpu='3' cpuset='14'/>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='16'/>
    <vcpupin vcpu='6' cpuset='8'/>
    <vcpupin vcpu='7' cpuset='18'/>
  </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/50ad9e1d-6b5f-4620-a4a6-1474f68e60bf_VARS-pure-efi.fd</nvram>
  </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'/>
  </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='raw' cache='writeback'/>
      <source file='/mnt/disk2/domains/Macinabox Mojave/macos_disk.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <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='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='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>
    <interface type='bridge'>
      <mac address='52:54:00:8f:a9:e9'/>
      <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='0x05' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/vbios/wx4100.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='0x05' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x248a'/>
        <product id='0x8367'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </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>

 

Logs:

-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-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=0xb,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x3 \
-device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
-device pcie-root-port,port=0xa,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x2 \
-device pcie-pci-bridge,id=pci.6,bus=pci.1,addr=0x0 \
-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/disk2/domains/Macinabox Mojave/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.2,drive=libvirt-1-format,id=sata0-0-2,bootindex=1,write-cache=on \
-netdev tap,fd=33,id=hostnet0 \
-device e1000-82545em,netdev=hostnet0,id=net0,mac=52:54:00:8f:a9:e9,bus=pci.3,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=34,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:05:00.0,id=hostdev0,bus=pci.4,addr=0x0,romfile=/mnt/user/isos/vbios/wx4100.rom \
-device vfio-pci,host=0000:05:00.1,id=hostdev1,bus=pci.5,addr=0x0 \
-device usb-host,hostbus=1,hostaddr=3,id=hostdev2,bus=usb.0,port=2 \
-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
2021-07-27 20:32:02.303+0000: Domain id=3 is tainted: high-privileges
2021-07-27 20:32:02.303+0000: Domain id=3 is tainted: custom-argv
2021-07-27 20:32:02.303+0000: Domain id=3 is tainted: host-cpu
char device redirected to /dev/pts/1 (label charserial0)

 

Edited by aalyaqoub
Link to comment

I was able to boot into Macinabox just fine, but when I decided to passthrough a GPU after all setups, I couldn't boot.
Rx580, gigabyte 4gb. I can only get it to show anything if I put a vbios in. 
The procedure:
Passthrough GPU with vbios
Run helper script
Boot
Select "bigsur" drive

get stuck on apple logo til it reboots.

Is there any known fix for this? Should I try a different version like Catalina? Thank you 

Link to comment

are there instructions on how to remove all this ?

 

when i choose to "remove VM and disks" i get :

 

Execution error

Requested operation is not valid: cannot undefine domain with nvram

 

thanks :)

 

update after googling :

 

virsh undefine --nvram "name of VM" , then i was able to remove VM and disks

 

Edited by RacerX10
Link to comment
  • 2 weeks later...

Hi,

 I did a quick look to see if this was addressed before but  google did not return any useful info. Is it possible to run the MacOs image from an NVME? I saw spaceinvader's video on running windows from an NVME drive but, well, it was windows and, unless it is already set up for doing so, this would require  come clover/opencore  configuration. Has anybody acheived this? 

Of course if there is a guide somewhere, feel free to link it.

 

thank you in advance for your help.

Link to comment
10 minutes ago, RenatoEurope said:

Is it possible to run the MacOs image from an NVME?

as far as the nvme controller is compatible with mac os, yes, and there's no difference compared to a win vm.

You may want to use the nvmefix kext to properly apply power values to the nvme if you install mac os on the nvme; otherwise just mount the nvme disk in unassigned device and put the mac os image there (it's not clear if you want to install it on nvme or you want to put an image on the nvme).

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

as far as the nvme controller is compatible with mac os, yes, and there's no difference compared to a win vm.

You may want to use the nvmefix kext to properly apply power values to the nvme if you install mac os on the nvme; otherwise just mount the nvme disk in unassigned device and put the mac os image there (it's not clear if you want to install it on nvme or you want to put an image on the nvme).

I already have it running on unraid, I was planning to mirror the disk image into the nvme drive using dd, I have the controller that can be assigned to the vm and then I will need to tell the vm to use that as the bootable disk.  Well, at least that's the plan .

for the nvmefix to be loaded, do I just need to put it in the kext directory or do I need to add it to the config.plist?

Link to comment
12 hours ago, masterdot said:

I have a problem with the apple id connection... 

I did regenerate the serial several times and did try different models, but everytime i get the message: communication to service not possible.

Any idea what might help? Thanks in advance!

It was discussed a few pages back.
See here; https://forums.unraid.net/topic/84601-support-spaceinvaderone-macinabox/page/84/?tab=comments#comment-1011949

 

Link to comment

I tried to search but I didn't found anything. Has anyone been able to passthough an iGPU from intel? everything works fine with a discrete gpu but i would like to try to only work with the iGPU from an intel 6700k so an intel graphics 530, or even having both, a discrete gpu (580 for example) + the iGPU.

Is this possible?

On windows I can passthough the igpu fine without doing anything

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.