Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

OpenCore configuration for running macOS on Hackintosh

License

Notifications You must be signed in to change notification settings

korzhyk/OpenCore-Maximus-X-Code

Repository files navigation

Release OpenCore Badge AMD Badge macOS Monterey macOS Ventura

About this mac

This is light configuration to run macOS smoothly. I didn't get any kernel panics science after macOS install. This config is based on OpenCore Vanilla Desktop Guide.

Hardware configuration

Component Model
CPU Intel Core i7 8700K (5GHz OC) UHD630 (Geekbench 6: CPU/OpenCL/Metal)
Motherboard Asus ROG Maximus X Code
RAM 2×32GB Crucial Ballistix 3200MHz (3733MHz OC)
Audio Chipset ALC-S1220
Ethernet Intel I219-V
WiFi & Bluetooth Apple BCM94360CS2 802.11ac WLAN + Bluetooth LE 4.0
OS Disk (NVMe) WD_BLACK SN750 500GB (macOS Ventura)
OS Disk (NVMe) Samsung PM981 256GB (Windows 11)

Before you start make sure you have

  • Working hardware
  • BIOS version >= 2701
  • Actual OpenCore
  • Populated PlatformInfo > Generic section in config.plist, can be easyly done with macserial tool from OpenCore utilities.
  • Compile ACPI/*.dsl to *.aml

Installation

BIOS Settings

  • Exit → Load Optimized Defaults [Yes]
  • Advanced → System Agent (SA) Configuration → VT-d [Enabled]
  • Advanced → System Agent (SA) Configuration → DVMT Pre-Allocated [64M]
  • Advanced → PCH-FW Configuration → PTT Configuration → PTT [Enable]
  • Advanced → APM Configuration → ErP Ready [Enable(S5)]
  • Advanced → Platform Misc Configuration → PCI Express Native Power Management [Enable]
  • Advanced → Platform Misc Configuration → Native ASPM [Enable]
  • Advanced → USB Configuration → Legacy USB Support [Disabled]
  • Advanced → CPU Configuration → Intel Virtualization Technology [Enabled]
  • Boot → Fast Boot [Disabled]
  • Boot → CSM (Compatibility Support Module) → Launch CSM [Disabled]

What's behind the scenes

You must download all not bundled kexts and drivers from repositories by yourself.

Kexts

EFI drivers

  • VirtualSMC.efi - only needed if you use File Vault 2 or authrestart.

dGPU support

I had success with PowerColor RX6600XT Red Devil, more information on GPU Buyers Guide.

Not necessary but if you have any issues:

  1. Remove IGPU props injection from DeviceProperties
    <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
    <dict>
    <key>rps-control</key>
    <data>
    AQAAAA==
    </data>
    </dict>
  2. Force set dGPU video ouput in BIOS:
  • Advanced → System Agent (SA) Configuration → Graphics Configuration → Primary Display [PEG]

Issues

  1. The macOS limit of USB ports is 15 per hub-device but it counts not only physical but also protocol based. So if one physical port can be used by two protocols such as 3.0 (SS) and 2.0 (HS), in this way in system he actually own two of fifteen addresses (eg. HS01/SS01). You can see the real USB mapping in this picture. Due to these limits I disable a internal HS12 which utilized by AURA Sync. Also internal HS11 port is utilized by Bluetooth from m.2 NGFF wifi+bt combo module.

USB ports mapping

USB 2.0 USB 3.0
Port NAME Port ADR Port NAME Port ADR
Type-A
HS03 03 SS03 13
HS04 04 SS04 14
HS05 05 SS05 15
HS06 06 SS06 16
HS07 07
HS08 08
HS09 09
HS10 0a
Headers
HS01 01 SS01 11
HS02 02 SS02 12
HS13 0d
HS14 0e
Internal
HS11 0b
HS12 0c

Note: As you can see only two ports are avaliable on Super-Speed (USB 3.0) and this is front USB 3.0 header. But keep in mind, USB ports provided by ASMedia hubs also avaliable (rear Type-C, Type-A and front panel header).