Jump to content
SpaceInvaderOne

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

1362 posts in this topic Last Reply

Recommended Posts

And time to play
 
image.thumb.png.f109a4933b930400ed30ed7d8f7166da.png
 
image.thumb.png.c5f44a4814c6ba8454db7a1952722a64.png
What did you do to get it to Catalina?

Sent from my SM-N960U using Tapatalk

Share this post


Link to post

Im using stuff from here 

 

https://github.com/foxlet/macOS-Simple-KVM

 

I used the OVMF stuff and the clover img from there to get it going. Also the script on the git can be used to build the catalina img. Still playing with stuff though. Cant change the OVMF resolution so im stuck at 720. F2 not working. But everything else is ok. 

Share this post


Link to post

After playing around with it the git page gets it booting but the performance is definitly not at the level when using a regular unRAID setup so its back to the drawing board trying to get clover 4900+ installed. 

Share this post


Link to post
Posted (edited)
On 6/26/2019 at 8:24 PM, david279 said:

Anyone have a clover version higher than 4900 running on their VMs? Cant go Catalina with the earlier revisions. 

Yes. I have Catalina Beta running perfectly with Clover 4900+ from https://github.com/kholia/OSX-KVM. It works flawlessly with one of my GT 710's passed though. Curiously it does not work flawlessly on another GT 710 (from a different manufacturer). 

 

EDIT: Both cards work fine. I just had to set the right iMac profile in clover and set the dsdt name (whatever that is).

 

I just cloned this repository and from it used CloverNG.qcow2 as my 3rd disk in my VM. It already contains a Catalina-Beta-ready clover version. 

 

For the install disk I followed the directions on the repository and ran ./fetch.py to download the Catalina Beta .dmg and then ran dmg2img as the instructions said to convert it to vdisk and then create a blank mac_hdd_ng.img for the main disk.

 

From there I stopped following the instructions and  modified the given macOS-libvirt-NG.xml into the following:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='4' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Catalina-VNC</name>
  <uuid>2aca0dd6-cec9-4717-9ab2-0b7b13d111c3</uuid>
  <title>Catalina-VNC</title>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="Apple_vintage_trans.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/Catalina-VNC/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/Catalina-VNC/OVMF_VARS-1024x768.fd</nvram>
  </os>
  <features>
    <acpi/>
    <kvm>
      <hidden state='on'/>
    </kvm>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='1'/>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/Catalina-Beta/CloverNG.qcow2'/>
      <backingStore/>
      <target dev='sda' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/Catalina-Beta/mac_hdd_ng.img'/>
      <backingStore/>
      <target dev='sdb' bus='sata'/>
      <boot order='2'/>
      <alias name='sata0-0-1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Catalina-VNC/BaseSystem.img'/>
      <backingStore/>
      <target dev='sdc' bus='sata'/>
      <boot order='3'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <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='0x1c' 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='0x1e' 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='0x1e' 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='0x1e' 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='0x18'/>
      <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-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x19'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:8e:e2:66'/>
      <source bridge='br0'/>
      <target dev='vnet1'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </interface>
    <input type='keyboard' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='3'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='tablet' bus='usb'>
      <alias name='input2'/>
      <address type='usb' bus='0' port='4'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input3'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc534'/>
        <address bus='3' device='5'/>
      </source>
      <alias name='hostdev0'/>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hub type='usb'>
      <alias name='hub0'/>
      <address type='usb' bus='0' port='1'/>
    </hub>
    <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-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxx'/>
    <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'/>
  </qemu:commandline>
</domain>

That works with VNC. Then I modified it from GPU Passthrough

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Catalina-Beta</name>
  <uuid>9f778493-da3e-4c06-76fb-409d4c37788f</uuid>
  <title>Catalina-Beta</title>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="macOS-catalina.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>7864320</memory>
  <currentMemory unit='KiB'>7864320</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/Catalina-Beta/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/Catalina-Beta/OVMF_VARS-1024x768.fd</nvram>
  </os>
  <features>
    <acpi/>
    <kvm>
      <hidden state='on'/>
    </kvm>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='1'/>
  </cpu>
  <clock offset='utc'/>
  <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/Catalina-Beta/CloverNG.qcow2'/>
      <target dev='sda' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/Catalina-Beta/mac_hdd_ng.img'/>
      <target dev='sdb' bus='sata'/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Catalina-Beta/BaseSystem.img'/>
      <target dev='sdc' bus='sata'/>
      <boot order='3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <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>
    <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='0xa'/>
      <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='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='5' 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='6' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='6'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x01' function='0x0'/>
    </controller>
    <controller type='pci' index='7' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='7'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x02' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:8e:e2:66'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <link state='up'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </interface>
    <input type='keyboard' bus='usb'>
      <address type='usb' bus='0' port='2'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='3'/>
    </input>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
      </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='4'/>
    </hostdev>
    <hub type='usb'>
      <address type='usb' bus='0' port='1'/>
    </hub>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'/>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,vmware-cpuid-freq=on'/>
  </qemu:commandline>
</domain>

 

Edited by Jagadguru

Share this post


Link to post

Are you able to change the resolution for the vnc version. I was never able to change the resolution in the ovmf platform configuration. Hitting f2 or esc at boot would not get me into the menu. I was stuck at 1024x768 for the vnc.

Sent from my SM-N960U using Tapatalk

Share this post


Link to post

Thanks for that link to the git. The OVMF files allowed me to change the resolution so im not stuck in crazy 1024x768 anymore.

Share this post


Link to post
On 6/25/2019 at 4:34 PM, Zer0Nin3r said:

That's great to hear! I just wish I could figure out what causes my system to freeze/hang from time to time. It's really hampering my work progress on Avid.

 

  1. What version of Clover are you running @J.Nerdy?
  2. What hardware profile do you have selected in Clover?

Maybe that is my issue. I'll try to reset the hardware profile to the one that comes pre-selected in the Clover install from @SpaceInvaderOne's video.

1.  5.4.3.1

2. iMac 19,1

 

running AVID through a VM sounds herculean.... what kind of box do you have?

 

Still no sound passed through at all though

 

Share this post


Link to post
6 hours ago, J.Nerdy said:

running AVID through a VM sounds herculean.... what kind of box do you have?

  • AMD Threadripper. It's a beast of a server. Shreds through my Light L16 raw files like it was nothing.
  • With GPU pass through in Windows, I get near bare metal performance.
  • FCP X is pretty smooth as well.
  • Apple's native Screen Share works great (it's a VNC)
  • I am able to hear sound via Splashtop
    • It's unfortunate that sound isn't implemented in Apple's Screen Share
  • For color correction I would stick with Apple's native screen share (that is if your thin client is macOS)
    • Splashtop changes the color profile even if you set it on your thin client and host VM, so colors aren't accurate while using Splashtop
  • I haven't tried sound pass through
    • I tried USB pass through, but I forgot/didn't setup the correct kext files, so I don't quite know how that works yet

Share this post


Link to post
15 hours ago, Zer0Nin3r said:
  • AMD Threadripper. It's a beast of a server. Shreds through my Light L16 raw files like it was nothing.
  • With GPU pass through in Windows, I get near bare metal performance.
  • FCP X is pretty smooth as well.
  • Apple's native Screen Share works great (it's a VNC)
  • I am able to hear sound via Splashtop
    • It's unfortunate that sound isn't implemented in Apple's Screen Share
  • For color correction I would stick with Apple's native screen share (that is if your thin client is macOS)
    • Splashtop changes the color profile even if you set it on your thin client and host VM, so colors aren't accurate while using Splashtop
  • I haven't tried sound pass through
    • I tried USB pass through, but I forgot/didn't setup the correct kext files, so I don't quite know how that works yet

My last AMD build was a bulldozer fx4 series.  My first love though, was a delidded opteron paired with a DFI board that just absolutely cooked.  Looking at the new Ryzen chips.... it may be time to come back home. The 3950 is beastly!

 

Apple Screen Share is by far the best VNC product, its latency is nominal and the UI rarely drops frames.  RDP is also great for windows environments.  

 

What kind of monitor are you using?  I was going to ask about final cut too :) 

 

 

Share this post


Link to post
8 hours ago, J.Nerdy said:

What kind of monitor are you using?

27" Apple Thunderbolt

Share this post


Link to post
12 minutes ago, Zer0Nin3r said:

27" Apple Thunderbolt

I'm really interested. How is it you have that working on a passthrough hackintosh?

Share this post


Link to post
I'm really interested. How is it you have that working on a passthrough hackintosh?
Me too

Sent from my SM-N960U using Tapatalk

Share this post


Link to post

Up until yesterday I was running High Sierra with a Ryzen 1700x and Nvidia 1080 Ti. Unfortunately, I can't determine what ruined my setup and started from scratch.

 

After going back through SpaceInvaderOne's tutorial I get stuck after installing the Nvidia Web Drivers. High Sierra will boot with "nv_disable=1", but not with the web drivers enabled. My 1080 Ti is installed in the first PCIe slot and has the appropriate vBios loaded in the XML (and is working with an identical setup on a Windows VM). The graphics card is not being detected by High Sierra (maybe because of the "nv_disable=1"?), but for whatever reason I am able to get video from one of the HDMI slots on the GPU. None of the other slots are functioning.

 

Any help would be greatly appreciated.

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>High_Sierra_Lytic</name>
  <uuid>64310a84-7475-bd87-b9a3-bacb07c571c5</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>12582912</memory>
  <currentMemory unit='KiB'>12582912</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='9'/>
    <vcpupin vcpu='2' cpuset='10'/>
    <vcpupin vcpu='3' cpuset='11'/>
    <vcpupin vcpu='4' cpuset='12'/>
    <vcpupin vcpu='5' cpuset='13'/>
    <vcpupin vcpu='6' cpuset='14'/>
    <vcpupin vcpu='7' cpuset='15'/>
  </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/64310a84-7475-bd87-b9a3-bacb07c571c5_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='8' threads='1'/>
  </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/user/domains/High_Sierra_Lytic/vdisk3.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='0xa'/>
      <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'/>
      <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='0xb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' 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>
    <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:10:21:d1'/>
      <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='0x2e' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/domains/vbios/EVGA1080TI.rom'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x2e' slot='0x00' function='0x1'/>
      </source>
      <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='0x31' slot='0x00' function='0x3'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x30' slot='0x00' function='0x3'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxx/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,vmware-cpuid-freq=on,'/>
  </qemu:commandline>
</domain>

 

Share this post


Link to post

You can read the first post here

 

https://www.tonymacx86.com/threads/nvidia-releases-alternate-graphics-drivers-for-macos-high-sierra-10-13-6-387-10-10-10-40.255913/

 

TLDR.... you need 

<key>SystemParameters</key>
    <dict>
        <key>InjectKexts</key>
        <string>YES</string>
        <key>InjectSystemID</key>
        <true/>
        <key>NvidiaWeb</key>
        <true/>
    </dict>

In your clover playlist but it can be enabled real easy using clover configurator. 

Share this post


Link to post
Posted (edited)
2 hours ago, david279 said:

You can read the first post here

 

https://www.tonymacx86.com/threads/nvidia-releases-alternate-graphics-drivers-for-macos-high-sierra-10-13-6-387-10-10-10-40.255913/

 

TLDR.... you need 

<key>SystemParameters</key>
    <dict>
        <key>InjectKexts</key>
        <string>YES</string>
        <key>InjectSystemID</key>
        <true/>
        <key>NvidiaWeb</key>
        <true/>
    </dict>

In your clover playlist but it can be enabled real easy using clover configurator. 

Unfortunately, this didn't work. I reinstalled the drivers from the linked page, added the emulated NVRAM, and made sure my System Parameters were identical to the ones listed above (and they were). I'm still getting a failed boot unless I include "nv_disable=1".

 

Edit: Well, I re-installed High Sierra and now the graphics card is showing - even with "nv_disable=1", but I'm still not able to get the graphics card to boot in MacOS. Still able to get it to boot in Windows. Interestingly enough, when viewing its specs in "about this Mac" it only shows as having 256 MB of VRAM. Odd.

Edited by Lytic

Share this post


Link to post
Posted (edited)
On 7/5/2019 at 4:13 PM, Jagadguru said:

I'm really interested. How is it you have that working on a passthrough hackintosh?

I'm not doing pass through.

My Unraid server is headless (no monitor). I use my MacBook as a thin client (connected to my Thunderbolt display) + VM when I need to do any heavy lifting (video/photo editing) or gaming.

 

On 7/7/2019 at 2:53 PM, Lytic said:

has the appropriate vBios loaded in the XML

I don't pass through the vbios on my GTX 1060 in either Windows or macOS. The card is in slot 1 and I haven't had any issues with pass through (granted I have a second GPU for Unraid). @Lytic Is there any advantage of using the vbios in my setup then?

 

My understanding is that you want to use the vbios for your GFX when you only have one GPU that is being used by Unraid and that you want to use with a VM.

Edited by Zer0Nin3r
Consolidated posts

Share this post


Link to post
On 7/10/2019 at 4:08 PM, Zer0Nin3r said:

I'm not doing pass through.

My Unraid server is headless (no monitor). I use my MacBook as a thin client (connected to my Thunderbolt display) + VM when I need to do any heavy lifting (video/photo editing) or gaming.

 

I don't pass through the vbios on my GTX 1060 in either Windows or macOS. The card is in slot 1 and I haven't had any issues with pass through (granted I have a second GPU for Unraid). @Lytic Is there any advantage of using the vbios in my setup then?

 

My understanding is that you want to use the vbios for your GFX when you only have one GPU that is being used by Unraid and that you want to use with a VM.

I am not sure if I misread, but, it does not appear that there is any other dedicated graphics so I have to believe that unRAID Gui is grabbing the 1080.  However, if that was the case then windows would not boot either.  Can I ask what motherboard you are using in the build @Lytic

Share this post


Link to post
5 hours ago, J.Nerdy said:

I am not sure if I misread, but, it does not appear that there is any other dedicated graphics so I have to believe that unRAID Gui is grabbing the 1080.  However, if that was the case then windows would not boot either.  Can I ask what motherboard you are using in the build @Lytic

I have a custom script running at startup that disengages/unbinds Unraid's use of the graphics card. This, in turn, allows a VM to begin using it once the VM has started. As a result, Unraid doesn't require dedicated graphics once this process has occurred. Below is that code.

 

echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

 

I'm running an Asrock X470 Taichi motherboard, BIOS v.P2.00. I've heard that newer BIOS versions have caused issues with passthrough - which is why I've stayed on that version.

 

As a side note, I have a GTX 760 in the second slot, running High Sierra VM for my wife - which is still working perfectly.

Share this post


Link to post
On 7/13/2019 at 12:38 PM, J.Nerdy said:

I am not sure if I misread, but, it does not appear that there is any other dedicated graphics

I threw in a GT 710 GPU so that I could pass through my GTX 1060. :)

Share this post


Link to post
20 minutes ago, Zer0Nin3r said:

I threw in a GT 710 GPU so that I could pass through my GTX 1060. :)

Do you still have your lag/freeze issue when you are not using any kind of remote desktop software? Testing with passthrough would eliminate that variable.

Share this post


Link to post

So I have Clover running on my unRAID install using SI's most recent video. I have the High Sierra IMG file in the same folder as the Clover QCOW2 file and the 50g vdisk3. 

But when I get to the Clover VM VNC - there's no "install MacOS" icon or anything. I haven't passed any GPU through or anything yet as I can't get past this step.

Any ideas?

Share this post


Link to post
Posted (edited)

Everything set as sata for the disk?

Edited by david279

Share this post


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.