Contribute
Register

[Success][10.14.4][11.2.2] Gigabyte Z390M Gaming - Intel UHD 630 - i7 8700

Status
Not open for further replies.
Joined
May 21, 2011
Messages
405
Motherboard
Lenovo m90q Tiny
CPU
i7-10700
Graphics
UHD 630
Mac
  1. MacBook Pro
Update March 27, 2021:
  • I attached my OpenCore 0.6.7 for Big Sur 11.2.2.
  • The bugs mentioned no longer exists.
  • IGPU/Shutdown/Reboot works native. (I am now using an RX 580 Card though. So OC doesn't include any IGPU bus/ports/patches.)

Hi,

I am just writting a little guide about my specific configuration.

Hardware

  • Intel Core i7-8700
  • Intel UHD 630
  • Gigabyte Z390M Gaming (Micro ATX)
  • Corsair Vengeance LPX 16GB (2x8GB) DDR4
  • Cooler Master MCB-Q300L-KANN-S00 MATX Case
  • EVGA 650 GQ - 80+ Gold 650 Watt
  • Samsung 970 Evo NVMe 500 GB

What works
  • Internal IGPU Intel UHD 630 (HDMI & DVI) with QE/CI acceleration
  • Shutdown / Reboot / Sleep
  • Sound (AppleALC - Audio ID 1)
  • USB Ports
  • Pretty much anything

What doesn't work
  • Nothing as far as I know

Bugs
  • 1 time out of 5, booting fails in Clover with error "Couldn't allocate runtime area". CTRL+ALT+Delete to reboot and try again and it works.
  • I've only had success with Clover that ships with Multibeast. Clover from https://sourceforge.net/projects/cloverefiboot/ gives the error "Couldn't allocate runtime area". I tried keeping the same 'drivers64' from the Multibeast version and config.plist, it still gives that error.
  • Dual screen works, however when booting, only 1 monitor works. Once on the desktop disconnect/reconnect the monitor that is off.
  • Nothing else

USB Configuration

I wrote an SSDT to make my USB ports working. USBInjectALL kext is required with the SSDT.

motherboard_usb_chart.png

Code:
// Back top ports only have USB 2.0 Enabled because I will use them for mouse and keyboard
// USB Type-C Port is Removed
// Motherboard header USB 2.0 F-USB2 is disabled
// Everything else is enabled for a total of 14 ports
DefinitionBlock ("SSDT-USB.aml", "SSDT", 1, "sample", "USBFix", 0x00003000)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
            // XHC overrides for 100-series boards
            "8086_a36d", Package()
            {
                "port-count", Buffer() { 0x18, 0, 0, 0}, // Highest port number is SS08 at 0x18
                "ports", Package()
                {
               
                    "HS01", Package() // USB3.1Gen2-A port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x01, 0, 0, 0 },
                    },
                    "SS01", Package() // USB3.1Gen2-A port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x11, 0, 0, 0 },
                    },


                    "HS03", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x03, 0, 0, 0 },
                    },


                    "HS04", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x04, 0, 0, 0 },
                    },


                    "HS05", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x05, 0, 0, 0 },
                    },

                    "SS05", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x15, 0, 0, 0 },
                    },


                    "HS06", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x06, 0, 0, 0 },
                    },

                    "SS06", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x16, 0, 0, 0 },
                    },

                                   
                    "HS07", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x07, 0, 0, 0 },
                    },

                    "SS07", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x17, 0, 0, 0 },
                    },

               
                    "HS08", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x08, 0, 0, 0 },
                    },

                    "SS08", Package() // USB3.1Gen1 port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 0x18, 0, 0, 0 },
                    },

               
                    "HS09", Package() // USB2 port F-USB1, Bluetooth
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 0x09, 0, 0, 0 },
                    },
                    "HS10", Package() // USB2 port F-USB1, Bluetooth
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 0x0a, 0, 0, 0 },
                    },
                },
            },
        })
    }
}

Fixing Shutdown/Reboot Kernel Panic and Sleep

The key was to remove in EFI/Clover/drivers64 AptioMemoryFix and add OsxAptioFix2Drv-free2000.efi and EmuVariableUefi-64.efi.
Any other variant of Aptio/OSxAptio ends up in a crash in Clover : Couldn't allocate runtime area. With these, the error still happens sometime, but it's nothing that bothers me since it never happened twice in a row.

The boot flag 'slide=0' is also required to avoid Couldn't allocate runtime area using OsxAptioFix2Drv-free2000.efi.

Fixing the internal GPU

Removing in Clover all HDMI, Intel patches and ID.
IntelGFX-> Empty, ig-platform-id->Empty, Inject Intel->Disabled, etc

Using the IGPU patches provided for this motherboard in this guide https://www.tonymacx86.com/threads/...ching-guide-hdmi-black-screen-problem.269149/ with WhateverGreen. The boot flag "-disablegfxfirmware" is also recommended

Fixing Sound

Use AppleALC with Lilu and layout audio id 1.

BIOS

Coming soon.
 

Attachments

  • EFI.zip
    16.7 MB · Views: 1,035
  • Kexts_in_library_extensions.zip
    1.2 MB · Views: 659
  • SSDT_USB.aml
    660 bytes · Views: 611
  • March27-2021_Big_Sur_OC_0.6.7_EFI.zip
    2.2 MB · Views: 154
Last edited:
hello,Looking through your article, I also configure Gigabyte's Z390 m motherboard. The problem I encounter is the USB interface, the mouse keyboard is all right, but the U disk and the mobile hard disk are not recognized.
 
hello,Looking through your article, I also configure Gigabyte's Z390 m motherboard. The problem I encounter is the USB interface, the mouse keyboard is all right, but the U disk and the mobile hard disk are not recognized.

See "USB Configuration" section of my post
 
I guess its something with the Z390 chipset... AptioMemoryFix also does not boot and OsxAptioFix2Drv-free2000 is required, GigaByte Z390 UD over here.

Don't know why AptioMemoryFix is not working...
 
Hi, Im reading all your guide, downloaded your attached files but tried to boot with Sierra and High Sierra installers (created with their respective Unibeasts successfully) and failed always at about 50% of progress bar with the white apple logo; also had to mount the EFI partition in a working Mac and replace the OsxAptioFix2Drv-free2000.efi file to aviod the prohibited sign (which in verbose mode vomits the error you mention about allocation problem); so far my question is: do I need to try Mojave as you? or does your procedure work on Sierra/High Sierra? currently my main problem is not getting to the graphical installer, thank you
 
I solved it; not a problem with Unibeast at all: my install-mojave-app was downloaded from the Patcher tool, not from the original apple store; I managed to get the original full installer from a real iMac from coworker (indeed its size was 6.5GB vs 5.4 from Patcher) and the bootable usb was smoothly generated; from there all went like butter on hot toast, thank you very very much from your impeccable EFI work, unzipped it from your attachment to my EFI partition and everything worked like a charm!
 
After installed software (microsfot, adobe, etc) the machine was working fine for several hours; the next day I turned it on and the damn error "Couldnt allocate runtime area" shows up permanently and cant boot anymore; have you updated your BIOS? mine is version 2.20.1271 1AUOK540 date 03/14/2019
 
Please upload BIOS settings. Thanks.
 

Attachments

  • IMG_20190804_210111.jpg
    IMG_20190804_210111.jpg
    565.5 KB · Views: 519
  • IMG_20190804_210247.jpg
    IMG_20190804_210247.jpg
    629.9 KB · Views: 570
  • IMG_20190804_210254.jpg
    IMG_20190804_210254.jpg
    631.5 KB · Views: 533
  • IMG_20190808_095744.jpg
    IMG_20190808_095744.jpg
    513.2 KB · Views: 488
  • IMG_20190808_095825.jpg
    IMG_20190808_095825.jpg
    649.5 KB · Views: 497
  • IMG_20190808_095845.jpg
    IMG_20190808_095845.jpg
    656 KB · Views: 527
  • IMG_20190808_095905.jpg
    IMG_20190808_095905.jpg
    658.4 KB · Views: 475
  • IMG_20190808_095920.jpg
    IMG_20190808_095920.jpg
    670.7 KB · Views: 467
  • IMG_20190808_101000.jpg
    IMG_20190808_101000.jpg
    640.5 KB · Views: 444
Status
Not open for further replies.
Back
Top