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.

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

Featured Replies

 

Switched to my open core setup which ive been running for the last week but was swapping to clover incase that seemed to work at all. 

Im feeling it might be something on my Unraid side but here is what I have if you're able to see where im wrong I had it working for one reboot but of course I can't remember what it actually was that had the TSC frequency correct. 

 

 

156149653_ScreenShot2019-11-20at9_16_52pm.png.6e0e348172a3fccfa3e247c56df7dd77.png

 

Power Metrics same as yours

Package 0 C-state residency: 0.00% (C2: 0.00% C3: 0.00% C6: 0.00% C7: 0.00% C8: 0.00% C9: 0.00% C10: 0.00% )
Core 0 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 1 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 2 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 3 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 4 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 5 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 6 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 7 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )
Core 8 C-state residency: 0.00% (C3: 0.00% C6: 0.00% C7: 0.00% )

 

My XML

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='18' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Catalina</name>
  <uuid>0ddd6343-5321-0d66-54e0-8d9323087b00</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="macOS-catalina.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>12</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='6'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='7'/>
    <vcpupin vcpu='4' cpuset='2'/>
    <vcpupin vcpu='5' cpuset='8'/>
    <vcpupin vcpu='6' cpuset='3'/>
    <vcpupin vcpu='7' cpuset='9'/>
    <vcpupin vcpu='8' cpuset='4'/>
    <vcpupin vcpu='9' cpuset='10'/>
    <vcpupin vcpu='10' cpuset='5'/>
    <vcpupin vcpu='11' cpuset='11'/>
  </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/0ddd6343-5321-0d66-54e0-8d9323087b00_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='yes'/>
  </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'/>
      <source file='/mnt/user/Virtual/opencore.release.qcow2'/>
      <backingStore/>
      <target dev='sda' bus='sata'/>
      <boot order='2'/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </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='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' 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='0xb'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0xc'/>
      <alias name='pci.5'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0xd'/>
      <alias name='pci.6'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0xe'/>
      <alias name='pci.7'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
    </controller>
    <controller type='pci' index='8' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='8' port='0xf'/>
      <alias name='pci.8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
    </controller>
    <controller type='pci' index='9' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <alias name='pci.9'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <interface type='network'>
   
      <source network='default' bridge='virbr0'/>
      <target dev='vnet0'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x09' slot='0x01' 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-18-Catalina/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <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='0x03' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev2'/>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
      </source>
      <boot order='1'/>
      <alias name='hostdev3'/>
      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev4'/>
      <address type='pci' domain='0x0000' bus='0x08' 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='-device'/>
    <qemu:arg value='isa-applesmc
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='host,kvm=on,+invtsc,+hypervisor,+avx,+avx2,+fma,+popcnt,+xsave,check'/>
  </qemu:commandline>
</domain>

And my Opencore config

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>Add</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Graphics</string>
				<key>Enabled</key>
				<true/>
				<key>Path</key>
				<string>SSDT-1.aml</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>CPUS</string>
				<key>Enabled</key>
				<true/>
				<key>Path</key>
				<string>SSDT-cpu.aml</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>QEMU</string>
				<key>Enabled</key>
				<false/>
				<key>Path</key>
				<string>q35-acpi-dsdt.aml</string>
			</dict>
		</array>
		<key>Quirks</key>
		<dict>
			<key>FadtEnableReset</key>
			<false/>
			<key>NormalizeHeaders</key>
			<false/>
			<key>RebaseRegions</key>
			<false/>
			<key>ResetHwSig</key>
			<false/>
			<key>ResetLogoStatus</key>
			<false/>
		</dict>
	</dict>
	<key>Booter</key>
	<dict>
		<key>Quirks</key>
		<dict>
			<key>AvoidRuntimeDefrag</key>
			<true/>
			<key>DevirtualiseMmio</key>
			<true/>
			<key>DisableSingleUser</key>
			<false/>
			<key>DisableVariableWrite</key>
			<false/>
			<key>DiscardHibernateMap</key>
			<false/>
			<key>EnableSafeModeSlide</key>
			<true/>
			<key>EnableWriteUnprotector</key>
			<true/>
			<key>ForceExitBootServices</key>
			<false/>
			<key>ProtectCsmRegion</key>
			<false/>
			<key>ProvideCustomSlide</key>
			<false/>
			<key>SetupVirtualMap</key>
			<true/>
			<key>ShrinkMemoryMap</key>
			<false/>
		</dict>
	</dict>
	<key>DeviceProperties</key>
	<dict>
		<key>Add</key>
		<dict>
			<key>PciRoot(0x1)/Pci(0x0,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,0,0</string>
				<key>device_type</key>
				<string>Host bridge</string>
				<key>model</key>
				<string>82G33/G31/P35/P31 Express DRAM Controller</string>
			</dict>
			<key>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,1,0/0,0</string>
				<key>device_type</key>
				<string>Audio device</string>
				<key>hda-gfx</key>
				<string>onboard-1</string>
				<key>model</key>
				<string>Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]</string>
			</dict>
			<key>PciRoot(0x1)/Pci(0x1,0x1)/Pci(0x0,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,1,1/0,0</string>
				<key>built-in</key>
				<string>0x01</string>
				<key>device_type</key>
				<string>Network controller</string>
				<key>model</key>
				<string>BCM43602 802.11ac Wireless LAN SoC</string>
			</dict>
			<key>PciRoot(0x1)/Pci(0x2,0x0)/Pci(0x0,0x0)/Pci(0x1,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,2,0/0,0/1,0</string>
				<key>device_type</key>
				<string>Ethernet controller</string>
				<key>model</key>
				<string>82545EM Gigabit Ethernet Controller (Copper)</string>
			</dict>
			<key>PciRoot(0x1)/Pci(0x2,0x3)/Pci(0x0,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,2,3/0,0</string>
				<key>device_type</key>
				<string>Non-Volatile memory controller</string>
				<key>model</key>
				<string>NVMe SSD Controller SM961/PM961</string>
			</dict>
			<key>PciRoot(0x1)/Pci(0x2,0x4)/Pci(0x0,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,2,4/0,0</string>
				<key>device_type</key>
				<string>USB controller</string>
				<key>model</key>
				<string>FL1100 USB 3.0 Host Controller</string>
			</dict>
			<key>PciRoot(0x1)/Pci(0x2,0x5)/Pci(0x0,0x0)</key>
			<dict>
				<key>AAPL,slot-name</key>
				<string>Internal@1,2,5/0,0</string>
				<key>device_type</key>
				<string>VGA compatible controller</string>
				<key>model</key>
				<string>Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]</string>
			</dict>
		</dict>
	</dict>
	<key>Kernel</key>
	<dict>
		<key>Block</key>
		<array>
			<dict>
				<key>Enabled</key>
				<true/>
				<key>Identifier</key>
				<string>com.apple.driver.AppleTyMCEDriver</string>
				<key>MatchKernel</key>
				<string></string>
			</dict>
		</array>
		<key>Patch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Black Screen Patch Vega 56/64, RX580 etc. (c)Pike R. Alpha</string>
				<key>Count</key>
				<integer>1</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>
				Ym9hcmQtaWQ=
				</data>
				<key>Identifier</key>
				<string>com.apple.driver.AppleGraphicsDevicePolicy</string>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data>
				</data>
				<key>MatchKernel</key>
				<string></string>
				<key>Replace</key>
				<data>
				Ym9hcmQtaXg=
				</data>
				<key>ReplaceMask</key>
				<data>
				</data>
				<key>Skip</key>
				<integer>0</integer>
			</dict>
		</array>
		<key>Quirks</key>
		<dict>
			<key>AppleCpuPmCfgLock</key>
			<false/>
			<key>AppleXcpmCfgLock</key>
			<false/>
			<key>AppleXcpmExtraMsrs</key>
			<false/>
			<key>CustomSMBIOSGuid</key>
			<false/>
			<key>DisableIoMapper</key>
			<false/>
			<key>ExternalDiskIcons</key>
			<true/>
			<key>LapicKernelPanic</key>
			<true/>
			<key>PanicNoKextDump</key>
			<false/>
			<key>PowerTimeoutKernelPanic</key>
			<true/>
			<key>ThirdPartyTrim</key>
			<false/>
			<key>XhciPortLimit</key>
			<true/>
		</dict>
	</dict>
	<key>Misc</key>
	<dict>
		<key>Boot</key>
		<dict>
			<key>ConsoleBehaviourOs</key>
			<string>Graphics</string>
			<key>ConsoleBehaviourUi</key>
			<string>Graphics</string>
			<key>ConsoleMode</key>
			<string>Max</string>
			<key>HibernateMode</key>
			<string>Auto</string>
			<key>HideSelf</key>
			<true/>
			<key>PollAppleHotKeys</key>
			<false/>
			<key>Resolution</key>
			<string>1680x1050</string>
			<key>ShowPicker</key>
			<true/>
			<key>Timeout</key>
			<integer>5</integer>
			<key>UsePicker</key>
			<true/>
		</dict>
		<key>Debug</key>
		<dict>
			<key>DisableWatchDog</key>
			<false/>
			<key>DisplayDelay</key>
			<integer>0</integer>
			<key>DisplayLevel</key>
			<integer>0</integer>
			<key>Target</key>
			<integer>64</integer>
		</dict>
		<key>Security</key>
		<dict>
			<key>AllowNvramReset</key>
			<false/>
			<key>ExposeSensitiveData</key>
			<integer>2</integer>
			<key>HaltLevel</key>
			<integer>2147483648</integer>
			<key>RequireSignature</key>
			<false/>
			<key>RequireVault</key>
			<false/>
			<key>ScanPolicy</key>
			<integer>983299</integer>
		</dict>
		<key>Tools</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Not signed for security reasons</string>
				<key>Enabled</key>
				<false/>
				<key>Name</key>
				<string>UEFI Shell</string>
				<key>Path</key>
				<string>Shell.efi</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Memory testing utility</string>
				<key>Enabled</key>
				<false/>
				<key>Name</key>
				<string>memcheck</string>
				<key>Path</key>
				<string>memcheck/memcheck.efi</string>
			</dict>
		</array>
	</dict>
	<key>NVRAM</key>
	<dict>
		<key>Add</key>
		<dict>
			<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
			<dict>
				<key>UIScale</key>
				<data>
				AA==
				</data>
			</dict>
			<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
			<dict>
				<key>boot-args</key>
				<string>kext-dev-mode=1 -v</string>
				<key>csr-active-config</key>
				<data>
				ZwAAAA==
				</data>
				<key>nvda_drv</key>
				<data>
				MQ==
				</data>
				<key>prev-lang:kbd</key>
				<data>
				cnUtUlU6MjUy
				</data>
			</dict>
		</dict>
		<key>Block</key>
		<dict>
			<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
			<array>
				<string>UIScale</string>
			</array>
			<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
			<array>
				<string>boot-args</string>
			</array>
		</dict>
		<key>LegacyEnable</key>
		<false/>
		<key>LegacySchema</key>
		<dict>
			<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
			<array>
				<string>EFIBluetoothDelay</string>
				<string>EFILoginHiDPI</string>
				<string>LocationServicesEnabled</string>
				<string>SystemAudioVolume</string>
				<string>SystemAudioVolumeDB</string>
				<string>bluetoothActiveControllerInfo</string>
				<string>bluetoothInternalControllerInfo</string>
				<string>flagstate</string>
				<string>fmm-computer-name</string>
				<string>nvda_drv</string>
				<string>prev-lang:kbd</string>
			</array>
			<key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key>
			<array>
				<string>Boot0080</string>
				<string>Boot0081</string>
				<string>Boot0082</string>
				<string>BootNext</string>
				<string>BootOrder</string>
			</array>
		</dict>
	</dict>
	<key>PlatformInfo</key>
	<dict>
		
		</dict>
		<key>UpdateDataHub</key>
		<true/>
		<key>UpdateNVRAM</key>
		<true/>
		<key>UpdateSMBIOS</key>
		<true/>
		<key>UpdateSMBIOSMode</key>
		<string>Create</string>
	</dict>
	<key>UEFI</key>
	<dict>
		<key>ConnectDrivers</key>
		<true/>
		<key>Drivers</key>
		<array>
			<string>apfs.efi</string>
			<string>VBoxHfs.efi</string>
			<string>ApfsDriverLoader.efi</string>
			<string>AppleGenericInput.efi</string>
			<string>AptioInputFix.efi</string>
			<string>FwRuntimeServices.efi</string>
			<string>UsbKbDxe.efi</string>
		</array>
		<key>Input</key>
		<dict>
			<key>KeyForgetThreshold</key>
			<integer>5</integer>
			<key>KeyMergeThreshold</key>
			<integer>2</integer>
			<key>KeySupport</key>
			<false/>
			<key>KeySupportMode</key>
			<string></string>
			<key>KeySwap</key>
			<false/>
			<key>PointerSupport</key>
			<false/>
			<key>PointerSupportMode</key>
			<string></string>
			<key>TimerResolution</key>
			<integer>0</integer>
		</dict>
		<key>Protocols</key>
		<dict>
			<key>AppleBootPolicy</key>
			<false/>
			<key>AppleEvent</key>
			<false/>
			<key>AppleImageConversion</key>
			<false/>
			<key>AppleKeyMap</key>
			<false/>
			<key>AppleUserInterfaceTheme</key>
			<false/>
			<key>ConsoleControl</key>
			<true/>
			<key>DataHub</key>
			<false/>
			<key>DeviceProperties</key>
			<false/>
			<key>FirmwareVolume</key>
			<false/>
			<key>HashServices</key>
			<false/>
			<key>UnicodeCollation</key>
			<false/>
		</dict>
		<key>Quirks</key>
		<dict>
			<key>AvoidHighAlloc</key>
			<false/>
			<key>ClearScreenOnModeSwitch</key>
			<false/>
			<key>ExitBootServicesDelay</key>
			<integer>0</integer>
			<key>IgnoreInvalidFlexRatio</key>
			<true/>
			<key>IgnoreTextInGraphics</key>
			<true/>
			<key>ProvideConsoleGop</key>
			<true/>
			<key>ReconnectOnResChange</key>
			<false/>
			<key>ReleaseUsbOwnership</key>
			<false/>
			<key>ReplaceTabWithSpace</key>
			<false/>
			<key>RequestBootVarFallback</key>
			<false/>
			<key>RequestBootVarRouting</key>
			<false/>
			<key>SanitiseClearScreen</key>
			<true/>
			<key>UnblockFsConnect</key>
			<false/>
		</dict>
	</dict>
</dict>
</plist>

Ive tested with topology and it just results in black screen after "UEFI splash screen" if I lower the cores to 8 I get kernel panic but haven't diagnosed this further but would prefer to stick to 12 

 

  • Replies 1.1k
  • Views 305k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Good news, no more AMD reset bug with RX 6xxx XT series GPUs in macOS 11.4 beta 1 on UnRAID.

  • Create a qcow2 image of 256 MB (from Unraid terminal): qemu-img create -f qcow2 /path/to/the/image/test.qcow2 256M This will create a qcow2 image of 256 MB.   Enable NBD on the host a

  • Attached OVMF files from edk2 stable release 202011, released today. Work good for me. edk2-202011.zip

Posted Images

9 minutes ago, tpruszin said:

it just results in black screen after "UEFI splash screen"

Add this patch in opencore if kernel panic is related to x86_validate_topology:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Kernel</key>
	<dict>
		<key>Patch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Disable x86_validate_topology</string>
				<key>Count</key>
				<integer>0</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>
				6PT1//+c
				</data>
				<key>Identifier</key>
				<string>kernel</string>
				<key>Limit</key>
				<integer>0</integer>
				<key>Replace</key>
				<data>
				Dx9EAACc
				</data>
				<key>Skip</key>
				<integer>0</integer>
			</dict>
		</array>
	</dict>
</dict>
</plist>

 

26 minutes ago, ghost82 said:
Add this patch in opencore if kernel panic is related to x86_validate_topology:

xml version="1.0" encoding="UTF-8"?> version="1.0">Kernel	Patch						Comment			Disable x86_validate_topology			Count			0			Enabled						Find						6PT1//+c						Identifier			kernel			Limit			0			Replace						Dx9EAACc						Skip			0			
 

 


Hopefully it’s clear enough to read 6 cores and that patch result in black screen 4 cores (both 2 threads) results in the kernel panic as shown
df895c023fa4d3eb18242baf05055bcb.jpg

Both Still only displaying 3.199GHz

Interesting aswell Unraid shows 100% on core 0 only when it is sitting on the black screen.


Sent from my iPhone using Tapatalk

Edited by tpruszin

27 minutes ago, tpruszin said:

Both Still only displaying 3.199GHz

Interesting aswell Unraid shows 100% on core 0 only when it is sitting on the black screen.

Update INVTSC is not showing up detected by the OS even tho its in my XML.... this is perhaps the problem or one of them

 

1996124092_ScreenShot2019-11-20at10_29_39pm.png.4a0104d145a769909f5731a3a0f73ad2.png

3 hours ago, tpruszin said:

INVTSC is not showing up detected by the OS even tho its in my XML

Same here.

 

EDIT: To enable it, add to qemu arg migratable=no

 

invtsc.png.7355d3a3d9a8a9b93a19e5ed047a4c50.png

 

<qemu:arg value='host,migratable=no,+invtsc,

From qemu wiki:
New "invtsc" (Invariant TSC) CPU feature. When enabled, this will block migration and savevm, so it is not enabled by default on any CPU model. To enable invtsc, the migratable=no flag (supported only by -cpu host, by now) is required. So, invtsc is available only if using: -cpu host,migratable=no,+invtsc.

Edited by ghost82

On 11/19/2019 at 5:16 PM, Leoyzen said:

 

Edited: wrong assumption

Edited by ghost82

Thank a lot for your thread !

My Catalina work very very well (now with sound, thank again !)

 

Now, I only need a better network card support for iCloud and nice down/upload to unraid (I try vmxnet3, iCloud work but 300Mb down for 120up :( ...)

 

I waiting my AirPort and M,2 connector too for a real Mac alternative :)

8 hours ago, ghost82 said:

Same here.

 

EDIT: To enable it, add to qemu arg migratable=no

 

invtsc.png.7355d3a3d9a8a9b93a19e5ed047a4c50.png

 


<qemu:arg value='host,migratable=no,+invtsc,

From qemu wiki:
New "invtsc" (Invariant TSC) CPU feature. When enabled, this will block migration and savevm, so it is not enabled by default on any CPU model. To enable invtsc, the migratable=no flag (supported only by -cpu host, by now) is required. So, invtsc is available only if using: -cpu host,migratable=no,+invtsc.

Thanks for figuring that one out! Still only showing 3,199,999Hz Does yours show the correct Frequency for your CPU? 

My QEMU arg now is -cpu host,migratable=no,+invtsc,kvm=on,+hypervisor 

with host-passthrough as the only cpu value up the top of my XML

7 hours ago, tpruszin said:

Does yours show the correct Frequency for your CPU?

Yes, mine is showing correctly.

My xml config is similar to yours, with host-passthrough, exept that I'm also passing explicitly features:

<qemu:arg value='host,+hypervisor,migratable=no,-erms,+invtsc,kvm=on,+topoext,+invtsc,+avx,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,+arat,+pclmuldq,+pdpe1gb,+rdtscp,+vme,+umip,check'/>

 

You can try the following:

- if you're using clover, input the cpu data: as an example, I'm reporting the data related to E5-2687W (see also cpu-z screenshot example):

 

cpuz.png.629b1d74e50168704e54d395724b6d4d.png

 

Frequency MHz: 3100
Bus Speed kHz: 105990 (mine was 100333)
QPI: 3391 (mine was 4014)
TDP: 150

 

These data reflect that appearing in cpu-z screenshot: in my case, when I was using clover, they were sligtly different, so it should be better to run cpu-z on your hardware and input these values.

 

-if you're using opencore you can try to add custom-arg busratio, in my case for E5-2687W it's busratio=31.

Also, you can add data into PlatformInfo->DataHub->ARTFrequency, FSBFrequency

Edited by ghost82

5 hours ago, ghost82 said:

Yes, mine is showing correctly.

My xml config is similar to yours, with host-passthrough, exept that I'm also passing explicitly features:


<qemu:arg value='host,+hypervisor,migratable=no,-erms,+invtsc,kvm=on,+topoext,+invtsc,+avx,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,+arat,+pclmuldq,+pdpe1gb,+rdtscp,+vme,+umip,check'/>

 

You can try the following:

- if you're using clover, input the cpu data: as an example, I'm reporting the data related to E5-2687W (see also cpu-z screenshot example):

 

cpuz.png.629b1d74e50168704e54d395724b6d4d.png

 

Frequency MHz: 3100
Bus Speed kHz: 105990 (mine was 100333)
QPI: 3391 (mine was 4014)
TDP: 150

 

These data reflect that appearing in cpu-z screenshot: in my case, when I was using clover, they were sligtly different, so it should be better to run cpu-z on your hardware and input these values.

 

-if you're using opencore you can try to add custom-arg busratio, in my case for E5-2687W it's busratio=31.

Also, you can add data into PlatformInfo->DataHub->ARTFrequency, FSBFrequency

Still no luck With the extra flags sadly it showed 3,200,600 Hz for one boot rebooted without changing anything and back to 3,199,999 

 

clover on Hackinabox doesn’t boot past clover flash so i will try and get a working clover config to test out tomorrow 

 

I suppose the real question as well is what is your audio like when playing videos music seems fine but videos I always seem to skip no matter the bus they are outputting 

Edited by tpruszin

3 hours ago, tpruszin said:

I suppose the real question as well is what is your audio like when playing videos music seems fine but videos I always seem to skip no matter the bus they are outputting

My audio is perfectly fine; I'm currently using lilu+appleALC but was working the same with voodooHDA.

I'm passing through both nvidia and onboard audio: here is the relevant part of the xml:

Nvidia gpu+audio (same bus, same slot, different function):

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x83' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/user/GTXTitanBlack.dump'/>
      <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='0x83' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>

Onboard audio (bus 0):

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <alias name='hostdev2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </hostdev>

 

Here another issue, maybe related to the lack of c and p states:

 

pmset.png.aca41d440a6a23cf3f9777b911525e52.png

 

On real machintosh the output shows values for CPU_Scheduler_Limit, CPU_Available_CPUs and CPU_Speed_Limit.

Lack of this may be linked to Turbo, and it can explain lower results in geekbench tests.

 

Tried with different smbios: imacpro1,1 and also imac12,2 (because I have Sandy bridge).

I tried:

1- Pike's script to generate SSDT:

./ssdtPRGen.sh -b Mac-7BA5B2D9E42DDD94 -p 'E5-2687W'

By inserting the SSDT into opencore I see no relevant changes in ioreg.

 

2- CPUFriend + CPUFriendDataProvider

./ResourceConverter.sh --kext /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-942B59F58194171B.plist

CPUFriendDataProvider is generated, injected through opencore with lilu+CPUFriend, I can see in ioreg a new entry in AppleACPICPU named "cf-frequency-data", but no pstates nor cstates under X86PlatformPlugin.

 

3- Pike's script + CPUFriend + CPUFriendDataProvider

Using Pike's script to generate SSDT (SSDT-pr.aml), then using it with ResourceConverter:

./ResourceConverter.sh --kext /Users/daniele/Desktop/SSDT-pr.aml

CPUFriendDataProvider is generated (different from that of point 2), injected through opencore with lilu+CPUFriend, I can see in ioreg a new entry in AppleACPICPU named "cf-frequency-data", but no pstates nor cstates under X86PlatformPlugin.

 

Also opencore during boot shows messages like "ACST and _CST evaluations failed", "APSS and _PSS evaluations failed", "Failed to get CPU P States", "Deepsleep is not supported".

 

Ideas are ended :(

Edited by ghost82

17 minutes ago, ghost82 said:

My audio is perfectly fine; I'm currently using lilu+appleALC but was working the same with voodooHDA.

I'm passing through both nvidia and onboard audio: here is the relevant part of the xml:

Nvidia gpu+audio (same bus, same slot, different function):


    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x83' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/user/GTXTitanBlack.dump'/>
      <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='0x83' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>

Onboard audio (bus 0):


    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <alias name='hostdev2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </hostdev>

 

When putting my audio on the same bus as the gpu i get no volume controls from my display port and no sound, it is displayed in the sound options. Do i need AppleALC kext to get that to work, working sound from the GPU? Im using a rx 570 and i use a usb audio device for sound and it works without any issues but this would free up a usb port.

3 minutes ago, david279 said:

Do i need AppleALC kext to get that to work, working sound from the GPU?

Do you have HDAU in ioreg beside the GPU?

hdau.png.50ea9ce540d1fee597c83cf1a916653e.png

 

AppleALC correctly handles the audio (including that integrated in the gpu), so I think you need it.

How do you currently manage the audio?

Just now, ghost82 said:

Do you have HDAU in ioreg beside the GPU?

hdau.png.50ea9ce540d1fee597c83cf1a916653e.png

 

AppleALC correctly handles the audio (including that integrated in the gpu), so I think you need it.

How do you currently manage the audio?

I use a usb audio device right now that works out the box without any kext needed. Just looking to free up a usb port. The device has worked in every Mac version i have used without issue. Audio controls work and everything. 

This is what the sound out for my GPU looks like. My monitor has no speaker but has a audio out port i will try.

 

2064786352_ScreenShot2019-11-21at9_50_33AM.thumb.png.449c8042daf744217661805e523aa97b.png

23 minutes ago, ghost82 said:

Do you have HDAU in ioreg beside the GPU?

hdau.png.50ea9ce540d1fee597c83cf1a916653e.png

 

AppleALC correctly handles the audio (including that integrated in the gpu), so I think you need it.

How do you currently manage the audio?

AppleALC kext fixed up the device but i get no actual sound controls so i cant change the Volume so a win and a lost. 

Ok downloaded a app called sound control to control the master volume of my GPU

24 minutes ago, david279 said:

Ok downloaded a app called sound control to control the master volume of my GPU

Are you sure you can control volume for hdmi from osx?I never used it as I'm using the built in audio, but from what I can see here:

 

it is not possible directly...am I right?

 

Can I ask you if you disconnect the hdmi cable from the gpu, if you see the hdmi audio in sound preference panel?

Edited by ghost82

If i unplug the cable i lose the DP audio in the sound prefs. The app im using sound control allows me to control the volume from the DP port or the USB device. Its actually a decent app. I can still use the volume wheel on my keyboard and it looks just like the volume display like a built in device. 1854012713_ScreenShot2019-11-21at10_48_55AM.png.3d6c9330b07f9cf1727f738f07134838.png

Screen Shot 2019-11-21 at 10.50.18 AM.png

Edited by david279

Thanks I cannot test the hdmi audio, I have not cables, and I couldn't see any hdmi audio port in the sound preference panel, so I asked.

But in ioreg everything seems ok:

 

hdau.png.d11341b41cc75ed3121ab68fa643f2ef.png

 

HDAU is in place, and the driver is attached, so I think it's working.

 

I suggest to take in place the AppleALC+WEG+Lilu kexts.

Hi,

 

iMacPro1,1 work for you ? I get kernel panic if I switch :(

 

Edit : Second question, customize Ram Slot can improve performance ? I passthrough a RX480, Lilu 1,39 is needed ?

Edited by Balooforever

10 hours ago, Balooforever said:

Hi,

 

iMacPro1,1 work for you ? I get kernel panic if I switch :(

 

Edit : Second question, customize Ram Slot can improve performance ? I passthrough a RX480, Lilu 1,39 is needed ?

For the kernel panic you probably need AppleMCEReporterDisabler.kext to be injected by your bootloader.

Ram mapping doesn't improve performance.

Lilu+weg are adviced for correct gpu management.

Edited by ghost82

13 minutes ago, ghost82 said:

For the kernel panic you probably need AppleMCEReporterDisabler.kext to be injected by your bootloader.

Ram mapping doesn't improve performance.

Lilu is adviced for correct gpu management.

Thank a lot for AppleMCERrporterDisabler.kext -> its work :)

For Lilu, my RX480 work with metal, I don t understand why I need 1.39 (I use 1.38)

Lilu 1.3.8 doesn't work with qemu: Leoyzen pointed out this issue at github and now v.1.3.9 can be used with qemu.

I don't know why your gpu works, but not for lilu 1.3.8 for sure ;)

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.