Attached is a preliminary OpenCore 0.7.5 EFI for the Gigabyte Z690 Gaming X. It's based on the Gigabyte Z490 Vision D, but with numerous modifications. Some notes:
Thanks. I'm impressed by the extensiveness of the comments, less so by the number of items, many of which are actually disabled. This style is possibly convenient when using configurators, but not so much when directly editing config.plist. As I only use ProperTree (built as standalone app), looking up for "Enabled" flags is complicated and error-prone. I prefer to keep it simple: What's in the EFI folder is "on"; what's "off" is not there. I begin with an almost minimal EFI and add kexts as may be needed to overcome issues, snapshotting anew with ProperTree as required. So here's my take on it:
Note:
SSDT-CPUR-Z690.aml is not complete and not usable. We need to look at your FACP.aml in order to finish it. How to get this?
Since it is already compiled, I've changed the name to SSDT-
CPUR-Z690 rather than SSDT-Z690-CPUR so that it sorts alphabetically and automatically before SSDT-PLUG.
- Option 1:
- Install Clover boot loader into the EFI partition of a USB flash disk and boot. At the Clover boot menu, press F4 and all the ACPI tables will be stored in the EFI/CLOVER/ACPI/origin folder in EFI partition of USB flash disk.
- Option 2:
- Option 3 (my favourite):
- Use the DEBUG version of OpenCore, with Misc>Debug>SysReport:True. After the first boot attempt, recover the SysReport folder in the EFI partition, alongside the bootlog
opencore-[TIMESTAMP].txt
; please post both of them for our prying eyes.
The
BIOS manual for the Z690 shows there's an option for unlocking CFGLock (MSR 0xE2).
PlatformInfo:
- I would suggest using MacPro7,1 to start with. Can be changed.
My favourite would be
iMacPro1,1, to avoid memory issues and the requirement for RestrictEvent.kext, as occurs with MacPro7,1. But either of the iGPU-less SMBIOS is a good choice. Add serial numbers accordingly.
NVRAM
Added boot-arg
-v
(we want to see those error messages and kernel panics!) and
-wegnoigpu
, for safety. Removed shiki (we're not there yet…) and
agdpmod=pikera
in case
@ori69 uses his RX560 or another Polaris GPU in his experiments; if using a Navi GPU, put back
agdpmod=pikera
.
prev-lang:kbd changed to (empty) string for international convenience.
USB Ports:
USB ports have not been mapped so only the first 15 will be enabled. All USB 2.0 ports should be okay along with a few USB 3.0 ports.
I've enabled UsbInjectAll.kext for use with Big Sur 11.3 and newer.
If using Catalina or Big Sur 11.2.3 or older, disable UsbInjectAll.kext and enable Kernel>Quirks>XhciPortLimit.
In any case, it's genrally safer to use USB 2.0 ports to boot, or USB 3 ports which come from a supported additional controller (not available here), as those typically come up below the 15-port limit.
BIOS Setup:
- Because you have DDR4, enabling
XMP 2.0 Memory Profile 1
should be okay.
- It's okay to enable or disable
VT-d
, but I have checked-on DisableIOMapper and unchecked SSDT-DMAR, which means AppleVTD is intentionally disabled to be safe.
- If BIOS contains
CFG-Lock
, set it to Disabled
.
- Set
Internal Graphics
to Disabled
. The Intel UHD 770 iGPU is not supported in macOS. It's based on Xe graphics.
- Look for an option to disable
E-Cores
. Disable them all.
- Look for
XHC Handoff
and be sure to Enable
it.
- If there's anything resembling
Super IO Configuration
or Serial Port
, immediately Disable
it.
- Also look for an option to enable
AVX-512
. Try setting it to Enabled
.
E-cores off should be the safest option, but it would be interesting to also try with all cores on and see what happens.
Enabling AVX-512, if allowed (from the manual it seems so), requires that E-cores are off. Testing AVX options can be saved for later, as this should not matter for boot.
So here is a modified and stripped down EFI with OpenCore 0.7.5 DEBUG. No bells and whistles, no GUI, verbose. Ready to go on an unsupported platform where no hackintosher has ever set foot
(Admittedly SSDT-PLUG and -SBUS as well as AppleALC are not required to boot, so there's still some extra weight.)
After the first boot, one may disable Misc>Debug>SysReport. Once OpenCore successfully completes its work and hands it over to the kernel, one may dial down Misc>Debug>Target and switch to the release version (replace BOOTx64.efi, OpenCore.efi and OpenRuntime.efi with the RELEASE binaries).
I've stripped down drivers and tools, but added Memtool 9.3 (free version). A good night of running Memtool is a nice way to check hardware.
There are two sample.plist. Sample-short.plist is how I would use it, with only what's present in the EFI/OC folder. Sample-long.plist matches CaseySJ 's style, with many disabled items.
@ori69, please pick the one which best fits your habits, add serial numbers and rename to 'config.plist'.
If using the 'long' plist, add OpenCanopy in Drivers and merge in the contents of the ACPI, Kexts and Resources folders from CaseySJ's EFI to get the missing items back. These are all disabled in sample-long.plist but can now hopefully be enabled by flipping a switch in the configurator.
Make sure any NVMe device is well-supported by OS X, or use SATA devices for safety. If booting an installer fails, try booting a complete OS X installation made on another computer.
I've looked at the DSDTs of a semi-random selection of boards (Asus ProArt Z690 Creator, AsRock Phantom Gaming 4, MSI Z690 Carbon) and found an identical code base in the relevant places (processors, clocks, EC). It looks like manufacturers had little or no time for customisation. CaseySJ's EFI folder and mine are possibly a reasonable starting point for experimentation with any of the early Z690 boards.