Contribute
Register

[Success] b1's "Mac Mini Killer" with macOS Mojave: i7-8700 | Gigabyte Z370N | RX560 | 16GB RAM

pastrychef

Moderator
Joined
May 29, 2013
Messages
17,503
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Vega 56 (Bios flashed to 64)
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Thanks for your fast response!

While comparing your Asus Z370-G OC EFI folder (0.5.9) with rrviega's I noticed that VirtualSMC.kext contains a Plugin folder where both SMCProcessor.kext and SMCSuperIO.kext are present.
At the same time these are present in EFI/OC/Kexts as well.

Could this be the reason?

Furthermore, the injection sequence inside config.plist -> Kernel -> Add is different from yours.

I have no idea. I get VirtualSMC from acidanthera and use them as they are.

You can probably use the EFI from my Z370 build. Just clear out everything in config.plist > DeviceProperties > Add.
 
Joined
Mar 13, 2010
Messages
342
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I have no idea. I get VirtualSMC from acidanthera and use them as they are.

You can probably use the EFI from my Z370 build. Just clear out everything in config.plist > DeviceProperties > Add.

@pastrychef

It's already solved (see post #780).
Reason of error: these kexts were present inside OC/Kexts as well as inside VirtualSMC.kext/Contents/Plugins.

One question about dGPU injection via DeviceProperties section though (I believe it was in your thread where I read about that MacOS uses the GPU that gets recognized first for encoding):

does it make sense to rename it from Radeon RX 580 to AMD Radeon RX 580?
This is for a iMac19,1 headless config where the IGPU gets injected as
Intel UHD Graphics 630 (Desktop)

Edit:


I was wrong, it was CaseySJ's Mini guide on how to customize device names and properties which can be found here.

So, it indeed is important at least for some applications that are sensitive to device names (such as Adobe Premiere and possibly others.

Which again means that if one is using iMac19,1 sysdef with IGPU activated the dGPU should be renamed to AMD <model> beacause the letter "A" comes before the letter "I" (for, let's say Intel HD630).

This has been done for the config.plist which can be found in post #787 below.
 
Last edited:

pastrychef

Moderator
Joined
May 29, 2013
Messages
17,503
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Vega 56 (Bios flashed to 64)
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
@pastrychef

I edited my last post (#780) and attached a modified config.plist.
Could be that the error occurs because these kexts are present inside OC/Kexts as well as inside VirtualSMC.kext/Contents/Plugins.

One question about dGPU injection via DeviceProperties section though (I believe it was in your thread where I read about that MacOS uses the GPU that gets recognized first for encoding):

does it make sense to rename it from Radeon RX 580 to AMD Radeon RX 580?
This is for a iMac19,1 headless config where the IGPU gets injected as Intel UHD Graphics 630 (Desktop)

So just get the VirtualSMC from acidanthera and use that instead. It won't have the Plugins folder.

I don't know how macOS decides which GPU to use. You can use iMacPro1,1 and disable IGPU so it doesn't have any options.

It shouldn't matter how you name your RX 580. You can name it "rramon's card" and it should still work the same. It's cosmetic.
 
Joined
Oct 17, 2018
Messages
28
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8086k
Graphics
RX 580
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks for your fast response!

While comparing your Asus Z370-G OC EFI folder (0.5.9) with rrviega's I noticed that VirtualSMC.kext contains a Plugin folder where both SMCProcessor.kext and SMCSuperIO.kext are present.
At the same time these are present in EFI/OC/Kexts as well.

Could this be the reason?

Furthermore, the injection sequence inside config.plist -> Kernel -> Add is different from yours.


Edit: @rrviega

Please check attached config.plist if the problem still persists with VirtualSMC 1.1.4
Please delete SMCProcessor.kext, SMCSuperIO.kext and VirtualSMC.kext inside OC/Kexts and replace with 1.1.4 attached.

Inside config.plist (Kernel->Add section) I changed the injection sequence and BundlePath.

Maybe this is the reason it doesn't work.
You are right. Fixed now (BundledPath). Now I guess we have a Golden OC Build. Thanks!!!!
Yes, I followed Dortania Guide and further documentation. No mistake. OC have a excellent documentation.
 
Joined
Mar 13, 2010
Messages
342
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
You are right. Fixed now (BundledPath). Now I guess we have a Golden OC Build. Thanks!!!!
Yes, I followed Dortania Guide and further documentation. No mistake. OC have a excellent documentation.

Excellent, you're welcome!

I'm just rebuilding the SSDT's for my build and report back once I have finished everything. :)

So just get the VirtualSMC from acidanthera and use that instead. It won't have the Plugins folder.

I don't know how macOS decides which GPU to use. You can use iMacPro1,1 and disable IGPU so it doesn't have any options.

It shouldn't matter how you name your RX 580. You can name it "rramon's card" and it should still work the same. It's cosmetic.

As I said in post #782, it's already solved.

Concerning renaming the dGPU, it in fact is important when using a headless configuration. (see #782 as well).

Edit:

@rrviega
By the way, you might want to add NVMeFix.kext to your config.plist for better power management of your NVMe drive.

See here.
 
Last edited:
Joined
Oct 17, 2018
Messages
28
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8086k
Graphics
RX 580
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Excellent, you're welcome!
I'm just rebuilding the SSDT's for my build and report back once I have finished everything. :)

Edit:

@rrviega
By the way, you might want to add NVMeFix.kext to your config.plist for better power management of your NVMe drive.

See here.
Testing here, temperature on XPG S11 pro dropped 3º degrees on Idle. 46º -> 43º. Write speed also improves +- 150mb on Blackmagic Disk Speed. 1950-2050mbs -> 2050-2200mbs. So, I guess it's working. Thanks.
 
Joined
Mar 13, 2010
Messages
342
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
@rrviega

Very nice! :thumbup:

Question: in your Config.plist Kernel -> Quirks Section, XhciPortLimit is set to "YES".

Shouldn't that be set to "NO" after USB Mapping has been done?

I didn't remap everything since I did it in Clover (which means both SSDT-UIAC.aml and SSDT-USBX.aml are present in ACPI/patched) and Hackintool is just showing me the already mapped 15 ports. See post #751 for reference.

Thus I just created the USBPorts.kext via Hackintool.
Think this should be fine, no?

Guess I'm done with the config so far – someone brave enough to test it for me? ;) (I'm still on 10.14.6)

Edit:

EFI attached, OCBinaryData already added.

Just paste in own MLB, ROM, SystemSerialNumber and SystemUUID.


Changes made:

  • XhciPortLimit set to "NO" with USB mapping for my particular unit (see post #751 for reference)
  • VirtualSMC now gets injected correctly (version 1.1.4 as of writing this)
  • Added NVMeFix.kext for proper NVMe drive power management
  • All SSDT's created from scratch using manual method (thus avoiding unecessary bloat) in Dortania's guide described here. If "SSDT-SBUS-MCHC" doesn't work for you, just remove it.
  • Proper device properties injection for my particular unit (described how it's done via Hackintool in post #796)
  • What's working (see rrviega's post #777 for reference)
 

Attachments

  • EFI_rramon.zip
    58.2 MB · Views: 103
Last edited:
Joined
Oct 17, 2018
Messages
28
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8086k
Graphics
RX 580
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
@rrviega

Very nice! :thumbup:

Question: in your Config.plist Kernel -> Quirks Section, XhciPortLimit is set to "YES".

Shouldn't that be set to "NO" after USB Mapping has been done?

I didn't remap everything as I already did it in Clover (which means both SSDT-UIAC.aml and SSDT-USBX.aml are present in ACPI/patched) thus just created the USBPorts.kext via Hackintool. See Post #751 for reference.
This should be fine, no?

Guess I'm done with the config so far – someone brave enough to test it for me? ;) (I'm still on 10.14.6)

Edit:

EFI attached, OCBinaryData already added.
Just paste in own MLB, ROM, SystemSerialNumber and SystemUUID.
With usbinjectall replacing usbports + SSDT-UIAC and SSDT-USBX YES!
I think SSDT-SBUS-MCHC is not really necessary on newer chipsets. I've never used.

Added your fixes to final EFI, with binary resources.
 

Attachments

  • Captura de Tela 2020-06-11 às 15.18.16.png
    Captura de Tela 2020-06-11 às 15.18.16.png
    75.4 KB · Views: 34
Joined
Mar 13, 2010
Messages
342
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Added your fixes to final EFI, with binary resources.

Cool!

Did you test the EFI I posted with your unit?

Does everything work as expected?
 
Joined
Oct 17, 2018
Messages
28
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8086k
Graphics
RX 580
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Cool!

Did you test the EFI I posted with your unit?

Does everything work as expected?
No, Rammon. Just figured things inside. Sorry for the last response.
But, If you don't boot with that build the problem is the usbports or SSDT-SBUS-MCHC! Almost identical with mine.
 
Top