GithubHelp home page GithubHelp logo

5t33z0 / gigabyte-z490-vision-g-hackintosh-opencore Goto Github PK

View Code? Open in Web Editor NEW
171.0 14.0 24.0 42.28 MB

OpenCore EFI for running macOS on Gigabyte Z490 Visison G with an Intel i9 10850K Processor. Supported macOS: Mojava, Catalina, Big Sur, Monterey and Ventura

License: BSD 3-Clause "New" or "Revised" License

ASL 100.00%
hackintosh efi-folder opencore catalina macos bigsur-hackintosh bigsur z490 gigabyte visiong

gigabyte-z490-vision-g-hackintosh-opencore's Introduction

Gigabyte Z490 Vision G Hackintosh OpenCore

BIOS OpenCore Version MacOS Release
15161753

TABLE of CONTENTS (Click to reveal)

About

EFI folder and config.plist for the Gigabyte Z490 Vision G mainboard I've been working on and refining since September 2020. It's based on Dortania's OpenCore Install Guide and analysis of an .ioreg file from a real iMac20,1. I've dumped the system DSDT, analyzed it and added missing components and features via SSDT hotpatches from Daliansky's "OC-Little" Repo to get it as close to a real Mac as possible. USB Ports are mapped via ACPI, so no USB Port kext is required. I think this is the most sophisticated Z490 Vision G EFI folder available on Github.

This is a genuine Z490 Vision G EFI that has been created from scratch. Unlike many other Z490 Vision G EFIs found on forums and repositories, which are either derived from generic ones by Olarila/MaLDon or from SchmockLord's EFI for the Z490 Vision D, it does not contain any unnecessary properties for devices that are not present on the Vision G, such as Thunderbolt, an I219 Ethernet controller, and on-board WiFi/BT.

Tested successfully with macOS 10.14 to 14 beta. For best results, read and follow the install instruction carefully and thoroughly.

:cautiom: Important Updates
Upgrading from to macOS 14.3.1 to 14.4 via System Updatecauses a Kernel Panic during install! The workaround is to create a USB Installer (with OCLP for example) and install macOS 14.4 on a new APFS volume. Use Migration Manager afterwards to get your data onto the new volume (Background)
The Intel I225-V Ethernet Controller finally got a dedicated kext called AppleIGC so the previous fixes are now obsolete!
600/700-series Nvidia Cards require root patching with OpenCore Legacy Patcher to reinstall Nvidia drivers.

Hardware Info

System Configuration

Component Details
Board Gigabyte Z490 Vision G. BIOS: F21. F5 or newer is required to disable CFG Lock. Otherwise enable Kernel Quirk AppleXcpmCfgLock
CPU Intel Core i9 10850K (Comet Lake)
RAM 32 GB DDR4 2400 Crucial Ballistix Sport LT
iGPU Intel UHD 630 (Headless). Use this Framebuffer Patch if you want to use it for driving a display.
GPU Saphire RX580 Nitro+ (4 GB)
Audio Realtek® ALC1220-VB (Layout-id: 17)
Ethernet (on-board) Intel I225-V 2.5GbE. Compatible with macOS 10.15.7 and newer.
Ethernet (PCIe) Intel PRO/1000 PT Dual Port Server Adapter (any macOS). Currently unused.

Intel® 400 Series Chipset Datasheets (PDF): Vol. 1 Vol. 2 Specs Update

BIOS Settings

Click to reveal

BIOS

  • Tweaker [TAB]
    • Extreme Memory Profile (XMP): Enabled (if supported by RAM)
    • Advanced CPU Settings
      • VT-d: Enabled
      • Intel Speed Shit: Enabled
  • Settings [TAB]
    • Platform Power
      • Platform Power Management: Disabled
      • ErP: Enabled (so USB Power turns off, after PC is shut down)
    • IO Ports
      • Internal Graphics: enabled (if CPU has integrated graphics). NOTE: The config.plist uses dGPU for Display(s) and iGPU for computational tasks only by default. If you want to use the iGPU to drive a display you need a different Framebuffer Patch (see "EFI Install Instructions" for details).
      • OnBoard LAN Controller: Enabled
      • Audio Controller: Enabled (if On-Board Sound Card is used)
      • Above 4G Decoding: Enabled
      • Re-Size BAR Support: Disabled (Enable if your GPU supports it)
      • IOAPIC 24-119 Entries: Enabled
      • Super IO Configuration
        • Serial Port: Disabled
      • USB Configuration
        • Legacy USB Support: Disabled
        • XHCI Hand-off: Enabled
      • Network Stack Configuration
        • Network Stack: Disabled
  • Boot [TAB]
    • CFGLock: Disabled (only available on newer BIOS versions)
    • Windows 10 Features: Windows 10
    • CSM: Disabled (to get rid of legacy code from DSDT)

OpenCore Details

General Information

Parameter Details
SMBIOS iMac20,2. For i5/i7 CPUs, use iMac20,1. SMBIOS data needs to be generated. I use OCAT for this
Supported macOS macOS 10.14 up to 14.x (10.14 requires iMac19,1 config)
OpenCanopy Enabled
Boot Chime No
FileVault Optional
SIP Enabled. Adjust csr-active-config based on your specific needs.
SecureBootModel j185f. For iMac20,1, use j185. ⚠️ Set to Disabled if you are using a Kepler GPU and want to install/run macOS Monterey and newer
USB Port Mapping Yes, via ACPI. Details here.

EFI Folder Structure (OpenCore)

Click to reveal
EFI
├── BOOT
│   └── BOOTx64.efi
└── OC
    ├── ACPI
    │   ├── DMAR.aml
    │   ├── SSDT-AWAC-ARTC.aml
    │   ├── SSDT-EC-USBX.aml
    │   ├── SSDT-MCHC.aml
    │   ├── SSDT-PLUG.aml
    │   └── SSDT-PORTS.aml
    ├── Drivers
    │   ├── HfsPlus.efi
    │   ├── OpenCanopy.efi
    │   ├── OpenRuntime.efi
    │   └── ResetNvramEntry.efi
    ├── Kexts
    │   ├── AdvancedMap.kext
    │   ├── AMFIPass.kext
    │   ├── AppleALC.kext
    │   ├── AppleIGC.kext
    │   ├── CPUFriend.kext
    │   ├── CPUFriendDataProvider.kext
    │   ├── Lilu.kext
    │   ├── NVMeFix.kext
    │   ├── RadeonSensor.kext
    │   ├── RestrictEvents.kext
    │   ├── SMCProcessor.kext
    │   ├── SMCSuperIO.kext
    │   ├── VirtualSMC.kext
    │   └── WhateverGreen.kext
    ├── OpenCore.efi
    ├── Resources (NOTE: removed files in sub-folders from tree view to reduce clutter)
    │   ├── Font
    │   ├── Image
    │   │   ├── Acidanthera
    │   │   │   ├── Chardonnay
    │   │   │   ├── GoldenGate
    │   │   │   └── Syrah
    │   │   ├── Blackosx
    │   │   │   └── BsxM1
    │   │   └── velickovicdj
    │   │	└── EnterTwilight
    │   └── Label
    ├── config_Catalina.plist
    ├── config_iMac19,1.plist
    ├── config_MacPro7,1.plist
    └── config.plist

Installing/Upgrading macOS

Coming from Windows/Linux: If you are on Windows or Linux, follow the guide provided by Dortania. I provide no support for issues with UBS Installers created in Windows or Linux or when installing macOS into a VM!

Coming from macOS: If you already have access to macOS, you can either download macOS from the App Store, via the OpenCore Legacy Patcher App or use ANYmacOS. Botch can download macOS High Sierra to Ventura and create a USB Installer as well.

Deployment

Please read the following explanations carefully and thoroughly and follow the given instructions. In order to boot your PC with this EFI successfully, adjustments to the config.plist and used kexts may be necessary to adapt the config to your system configuration and the macOS version you want to install/run.

Preparing the config.plist

Download my latest EFI Folder from the Releases section and unpack it. Make sure to check the included Changelog.md as well, since it contains important background information and useful explanations.

Select the config of your choice and rename it to config.plist. Open it with OCAT or a ProperTree and check the following sections/settings and adjust them to your needs:

  1. ACPI/Add Section. Add/Enable/Disable SSDTs as needed

    • [DMAR] (optional): DMAR replacement table with specific Reserved Memory Region removed. For 3rd party LAN/Wifi/BT cards that won't work if VT-D and the Intel I225-V controller are enabled (macOS Big Sur and newer).
    • SSDT-AWAC-ARTC: Custom variant of SSDT-AWAC. Disables AWAC Clock and enables RTC as ARTC instead. Also disables legacy HPET device.
    • SSDT-PORTS: OS-agnostic USB Port Mapping Table for the Z490 Vision G. No additional USB Port kext or quirks are required. Since the USB ports are mapped via ACPI they will work in any version of macOS. Check this pdf for a detailed list of mapped ports. NOTE: macOS does not support USB 3.2 via the USB protocol. It requires Thunderbold 3 or newer instead to support speeds greater than 5 Gbit. So there's no speed benefit when using the red USB ports over the blue ones when running macOS!
    • SSDT-PLUG.aml: Not needed for macOS 12 and newer. Also not needed when using CPUFriend.kext and CPUFriendDataProvider.kext.

    NOTE: Additional info about these ACPI Tables can be found on my OC Little Repo

  2. ACPI/Delete Section

    • Drop OEM DMAR Table → Only enable if you need to use the DMAR replacement table. OpenCore 0.9.2 introduced a new Quirk called DisableIoMapperMapping. It works independently of DisableIoMapper and addresses reoccurring connectivity issues in macOS 13.3+ which weren't there before. If your configuration required to drop/replace the DMAR table before it still does now!
    • Drop OEM USB Port Map (xh_cmsd4) → Drops the original USB Port mapping so SSDT-PORTS.aml can replace it.
    • Drop HPET Table → Drops the table for the High Precision Event Timer which is now a legacy device.
  3. Booter Section

    • Booter/MMIOWhitelist
      • I added these memory regions after analyzing the bootlog. Since I don't know if these are used by all systems, I disabled them.
      • To figure out which ones can be whitelisted, follow this guide
      • This is not a necessity, just some fine-tuning.
    • Booter/Patch: OpenCore patches used to skip the board-id check as part of a workaround to fix System Update Notifications. Only needed when using an NVIDIA Kepler Card which requires disabling SecureBootModel and SIP in oder to install and load the GPU drivers.
    • Booter/Quirks: If your GPU supports resizable BAR (enable Above 4G Decoding and Resizable BAR in BIOS), you can set ResizeAppleGpuBars to 0. But leave UEFI/Quirks at -1 to not affect the BAR size in other OSes.
  4. DeviceProperties

    • #PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0) → Disabled device-id spoof for the Intel I-225V. → Only required when running macOS Catalina! Delete the # to enable it. Requires Kernel/Patch as well. Read this for getting the Intel(R) I225-V Ethernet Controller to work on different versions of macOS. No longer required.
    • #PciRoot(0x0)/Pci(0x2,0x0) → Disabled Framebuffer for using the iGPU for driving a monitor. Delete the # to enable it.
    • PciRoot(0x0)/Pci(0x1F,0x3) → Settings for on-board audio. Also contains the Layout-id
    • PciRoot(0x0)/Pci(0x2,0x0) → Headless Framebuffer for using the iGPU for computational tasks only.
      • Disable this entry when using the iMacPro1,1 or MacPro7,1 SMBIOS.
      • Delete/Disable the enable-metal property when using a AMD (Big) Navi Card, since these cards support Metal 3.
  5. Kernel/Add Section. The following Kexts are disabled by default since I don't know which CPU, GPU, Hard Disk and SMBIOS you will be using:

    • CPUFriend.kext and CPUFriendDataProvider.kext. Create your own CPUFriendDataProvider in Post-Install with CPUFriendFriend to optimize CPU Power Management as explained here. It is recommended to create a new Data Provider kext after switching the SMBIOS and/or updating/upgrading macOS.
    • NVMeFix.kext: recommended for all 3rd party NVMe SSD drives
    • RestrictEvents:
      • Required when using MacPro7,1 SMBIOS → Disables warnings about unpopulated RAM slots.
      • Also required for enabling the VMM-x86_64 Board-id so OTA updates work when SIP and SecureBootModel are disabled (necessary when using NVIDIA Kepler Cards in macOS 12+).
    • AppleALC.kext: Slimmed version of AppleALC I compiled myself. It only contains Layout 17 and is only 86 kB in size. If you want to use a different Layout, you need to use the regular version of AppleALC or compile your own.
  6. Kernel/Quirks:

    • If your BIOS does not provide the option to disable CFG Lock (requires BIOS Update), enable the AppleXcpmCfgLock Quirk instead.
    • If you don't use Windows on your system, you can disable CustomSMBIOSGuid (prohibits injecting SMBIOS data into Windows)
    • OpenCore 0.9.2 introduced a new Quirk for macOS 13.3+ called DisableIoMapperMapping. It eliminates the need for using a modified DMAR Table with removed Reserved Memory regions to "resolve compatibility issues with Wi-Fi, Ethernet and Thunderbolt devices when AppleVTD is enabled". So you can try this quirk instead of replacing the DMAR table to address issues with 3rd party WiFi/BT cards.
  7. Misc/Security:

    • SecureBootModel:
      • Set to to j185 (for iMac20,1) or j185f (for iMac20,2).
      • Set to Disabled if you are using an NVIDIA Kepler Card. Otherwise the system will crash on boot. In this case you also need to enable RestrictEvents.kext to enable the VMM-x86_64 board-id so OTA updates will work. More details here.
  8. NVRAM/Add

    • 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:

      • revpatch:sbvmm → Setting for RestrictEvents.kext to enable the board-id VMM spoof. Only required if you have to disable SIP and SecureBootModel in order to boot with patched in NVIDIA Drivers for Kepler GPUs.
      • Boot-args: based on the fix you are using to get the Intel I225-V working in macOS 12 and newer, you might need dk.e1000=0 (macOS Big Sur) and/or e1000=0 (macOS Monterey+).
      • OCLP-Settings: -allow_amfi → Required for OpenCore Legacy Patcher so Kepler Drivers can be installed
    • 7C436110-AB2A-4BBB-A880-FE41995C9F82:

      • Change csr-active-config to disable SIP:
        • SIP fully enabled: 00000000
        • Big Sur and newer: 03080000 (0x803) → My default so macOS doesn't bother me. This is also the required value if you need to apply root patches with OCLP.
        • Mojave/Catalina: EF070000 (0x7EF)
        • High Sierra: FF030000 (0x3FF)

      Warning:

      • AMD GPUs may require additional boot-args. Check WhateverGreen's documentation for details.
      • Applying root patches with OCLP results in a broken security seal which affects System Updates: incremental (or delta) system updates won't work after that. Instead, the full macOS installer (about 12 GB) will be downloaded every time a system update is available. But there's a workaround to apply delta updates so you don't have to download the full installer.

  9. PlatfotmInfo/Generic Section:

    • Generate SMBIOS data for iMac20,1 (for Core i9) or iMac20,2 (for Core i5/i7)
    • If you're not using Windows on your system, change UpdateSMBIOSMode from Custom to Create
  10. Save the config.plist

Testing the EFI

  1. Copy the EFI Folder to a FAT32 formatted USB flash drive for testing
  2. Reboot
  3. Perform an NVRAM Reset (hit Space Bar to reveal Tools)
  4. Boot macOS from the USB flash drive
  5. If your system boots successfully, mount your ESP and copy over the EFI Folder to you HDD/SSD and reboot.
  6. Continue with Post-Install!

Post-Install

Strengthen Security (recommended)

Once you got macOS running, you should change the following settings to make your system more secure:

  1. Change csr-active-config to 00000000 to enable System Integrity Protection (SIP)
  2. Under UEFI/APFS, change MinDate and MinVersion from -1 (disabled) to the correct values for the macOS version you are using. A list with correct values can be found here.
  3. Change SecureBootModel from Disabled to j185 (for iMac20,1) or j185f (for iMac20,2).

Warning

You should have a working backup of your EFI folder on a FAT32 formatted USB flash drive since changing these settings can prevent the system from booting. You may have to disable them for installing macOS Monterey if you have issues.

NOTES

  • SecureBootModel is only applicable to macOS Catalina and newer.
  • Since SMBIOS iMac20,x is for an iMac with a T2 Security Chip, you won't be notified about System Updates if SIP and SecureBootModel are Disabled. To workaround this either select the correct SecureBootModel for your SMBIOS or enable the following settings in the config.plist:
    • Booter/Patch:
      • Enable Skip Board ID
      • Enable Reroute HW_BID to OC_BID
    • Kernel/Add: Enable RestrictEvents.kext
  • SIP and SecureBootModel must stay disabled for booting macOS 12 or newer with patched-in NVIDIA Kepler drivers!

Optimizing CPU Power Management (recommended)

You can follow my guide to generate a CPUFriendDataProvider.kext which works alongside CPUFriend.kext to optimize CPU Power Management for a more efficient performance. Have a look at the CPU behavior using Intel Power Gadget. The CPU idle frequency should be lower after adding the kexts.

Screenshot (click to reveal)

image

Warning

Don't install Intel Power Gadget on macOS Sonoma 14.2 beta 3 or newer! The EnergyDriver.kext it installs causes all cores to permanently run at 100 %! Use the included Uninstaller to get rid of it prior to upgrading to macOS 14!

Calculate a Scan Policy (optional)

The items displayed in OpenCore's Boot Picker menu are based on a combination of bits representing supported devices (SATA, NVME, USB, etc.) and file systems (APFS, HFS, NTFS, etc.). There are 24 bits which can be turned on and off to modify what's displayed in the Boot Picker. The combination of selected bits create what's called the ScanPolicy. It's located under in the config.plist under Misc/Security. The default value of my EFI is 0 (everything). Although this is great for compatibility, it will also display EFI Folders on drives which are not the boot drive as well.

To change the ScanPolicy to your liking, you can use the OpenCore ScanPolicy Generator. I am using 2687747 for example which hides EFI Folders and NTFS Drives. To add a custom entry for a Windows Disk to OpenCore's Boot Picker follow my guide. Otherwise you can just boot Windows from the BIOS Boot Menu (F12) which also bypasses all the OpenCore injections.

Important

Calculating an incorrect ScanPolicy can lead to a BootPicker without entries, so you can't select any OS. So make sure you have a working Backup of your EFI folder!

Changing Themes

Besides the included themes from Acidanthera which provide the standard macOS look and feel, I've added 2 additional ones: BsxM1 (default) and EnterTwilight. To change them, do the following:

  • Open config.plist
  • Go to Misc/Boot and change PickerVariant to: Blackosx\BsxM1 or velickovicdj\EnterTwilight
  • Save and reboot

To revert the changes, enter Acidanthera\GoldenGate as PickerVariant and change the Flavour of the NVRAM Reset Tool back to Auto.

Note

For more config tips and tricks, you can check out this.

Alternate GPU Configurations

iGPU Optimizations

Listed below, you find results of benchmark tests conducted with Geekbench 5. I was testing Metal 3 performance of the iGPU for 3 different cases: default configuration vs. using Apples GUC Firmware vs. using RPS Control.

iGPU: UHD 630 in "offline/headless" configuration
AAPL,ig-platform-id: 0300C89B
SMBIOS: iMac20,2
macOS: 13.2
Geekbench: 5.5.0

Test # Added Properties Compute Score Notes
1 enable-metal 4671
  • Default
  • Mandatory to enable Metal 3 support in macOS 13 if your dGPU doesn't support it
  • iGPU Freq.: 0,33 GHz
2 enable-metal
igfxfw=2
4808
  • igfxfw=2 forces loading of Apple Graphics Unit Control (GUC) firmware
  • Slightly higher score
  • GUI feels snappier
  • Slightly faster boot
  • iGPU Freq.: 1,2 GHz
  • Can cause system crashes
3 enable-metal
igfxfw=2
rebuild-device-tree
4796
  • Rebuilding Device Tree doesn't make a difference
  • iGPU Freq.: 1,2 GHz
4 enable-metal
rps-control
4754
  • Uses RPS control patch (whatever that is)
  • Slightly lower score compared to using igfxfw=2
  • iGPU Freq: 1,2 GHz
5 enable-metal
igfxfw=2
rebuild-device-tree
rps-control
4798
  • Same result as Test #3
  • iGPU Freq.: 1,2 GHz

Conclusions:

  • Test #2 produced the best result. But it's not really a significant increase in performance compared to the default configuration used in test #1. It basically runs the iGPU at a higher base frequency so the energy consumption is higher as well. It also seems that this setting is uncapped in terms of max frequency. This resulted in my system crashing sometimes when watching YouTube because the iGPU frequency went through the roof. So you might consider not using igfxfw=2.
  • Results of Tests #3 and #5 are virtually identical. That's because igfxfw=2 takes precedence over rps-control, so you shouldn't combine these two properties!

Enabling Resizable BAR (optional)

  • Check if your GPU supports resizable BAR – you can use GPU-Z in Windows for that. The RX 580 I am using does support it
  • In your config, change the following settings:
    • Booter/Quirks: change ResizeAppleGpuBars from -1 to 0 which will update GPU registers to their defaults when booting macOS
    • UEFI/Quirks: Leave ResizeGpuBars at -1 so other OSes are not affected by this change
  • Save your config and reboot
  • Enter the BIOS
  • Change the following Options:
    • Enable Above 4G Decoding (otherwise the Resizable BAR option is not available)
    • Change Resizable BAR mode to: Auto

NOTES:

AMD GPUs and different SMBIOSes

If you have an AMD GPU and want to benefit from improved performance of Polaris, Vega and (Big) Navi and cards, you can switch to SMBIOS iMacPro1,1 or MacPro7,1 instead. Since these Macs don't have an iGPU, tasks like Quick Sync Video and HEVC encoding are then handled by the GPU instead. More details about choosing the right SMBIOS can be found here

Mind the following:

  • Additional config edits are required when switching the SMBIOS, so that the card works as intended.
  • If you are using CPUFriend, you have to generate a new CpuFriendDataprovider.kext with CPUFriendFriend and replace the previously used on tp adapt CPU Power Management to the new SMBIOS.

Addressing DRM issues with AMD GPUs in macOS 11 and newer

The shikigva boot-arg previously used to address DRM issues is no longer supported in macOS Monterey and newer.

Instead, 'unfairgva=x' (x = number from 1 to 7) must be used now. It's a bitmask containing 3 bits (1, 2 and 4) which can be combined to enable different features (and combinations thereof) as explained here

Using NVIDIA Kepler Cards in macOS 12 and newer

Apple removed support for NVIDIA GeForce Cards from macOS Monterey beta 7 onward. So users with NVIDIA Kepler GPUs (GTX 700, etc.) need to reinstall them in post-install using OpenCore Legacy Patcher.

Config Preparation

Change the following settings in config.plist:

  • Misc/Security/SecureBootModel: Change it to Disabled → Required to load NVIDIA drivers – otherwise the system would crash during boot
  • Kernel/Add: Enable RestrictEvents.kext → This enables the VMM board-id spoof. Required for OTA System Updates to work with SIP disabled
  • csr-active-config: Change to 03080000 before applying root patches with OCLP

Important

Applying root patches breaks the seal of the snapshot volume. Once the seal is broken, delta OTA updates are no longer available in System Updates. Therefore, each time a System Update is available, the full macOS Installer (12+ GB) will be downloaded – and after the update is installed, OCLP has to re-apply the root patches again.

CPU Benchmark

image
SEE ALL RESULTS

Credits and Thank yous

gigabyte-z490-vision-g-hackintosh-opencore's People

Contributors

5t33z0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gigabyte-z490-vision-g-hackintosh-opencore's Issues

USB 3.2?

Hi there,

First and foremost, thank you so much for this repo. Very great work!

I wanted to ask, have you been able to achieve USB 3.2 speeds on the Vision G Z490?

According to "About This Mac", it's only finding a USB 3.1 hub and maxing speeds at 5Gbit, even for USB3.2 devices. So I'm looking to see if it's a limitation of macOS or if I have an incorrect configuration.

side Issue with intel wifi

I have a Z490 AORUS PRO AX motherboard with this NIC.
I flash the rom as explained, work perfectly for me, without the boot arg "e1000=0".
The driver loaded is "com.apple.DriverKit-AppleEthernetE1000". Card is detected as Intel(R) I225 V.
DisableIoMapper quirk is set to disable, and with this I am able to use TB2 to RJ45 adaptor (with TB3 to TB2), it was not working before.
But for some reason that same quirk disable wifi with the onboard intel AX201. In the log :
Driver "itlwm" needs "IOPCITunnelCompatible" key in plist

Enable 4K Monitor

I used your EFI and everything is OK else my 4K monitor. It doesn't show correctly resolution.
I suggest you remove stolenmem and fbmem in framebuffer patch to enable 4K monitor. 2 options are only useful when you can't set memory higher than 32Mb.

Detect if you need to flash or not

Hi,
I have a Z490 Vision-D and I was curious to know if I could use I225-V on Monterey so before flashing anything I wanted to be able to save my current firmware and I have discovered that it might be possible to know if one need a flash or not.
I have downloaded here the
Intel I225 Firmware Update Tool and uncompress on my desktop:
Then as an administrator you can run:

PS C:\Users\smart\OneDrive\Bureau\Nvmupdate145> .\i225\nvmupdatew64e.exe -i -l

Intel(R) Ethernet NVM Update Tool
NVMUpdate version 1.35.30.0
Copyright (C) 2013 - 2020 Intel Corporation.

Unsupported device found - DeviceId: 0D4D.
Inventory
[00:008:00:00]: Intel(R) Ethernet Controller (2) I225-V
        Flash inventory started.
        Shadow RAM inventory started.
        Shadow RAM inventory finished.
        Flash inventory finished.
[00:008:00:00]: Intel(R) Ethernet Controller (2) I225-V
        Vendor                 : 8086
        Device                 : 15F3
        Subvendor              : 1458
        Subdevice              : E000
        Revision               : 2
        LAN MAC                : 
        Alt MAC                : 
        SAN MAC                : 
        ETrackId               : 
        SerialNumber           : 
        NVM Version            : 1.69(1.45)
        PBA                    : G23456-000
        VPD status             : Not set
        VPD size               : 0
        NVM update             : No config file entry
          checksum             : Valid

So normally I would not need to flash but for the moment when I connect an ethernet cable it says connected but I cannot have access to internet and I don't get an ip from dhcp.
It's even worst if I boot with the ethernet cable connected MacOS just freezes, Here is what I get in System report:

Bus:	PCI
  Vendor ID:	0x8086
  Device ID:	0x15f3
  Subsystem Vendor ID:	0x1458
  Subsystem ID:	0xe000
  Revision ID:	0x0002
  PCIe Link Speed:	5.0 GT/s
  PCIe Link Width:	x1
  Driver:	com.apple.DriverKit-AppleEthernetE1000
  BSD Device Name:	en1
  MAC Address:	b4:2e:99:fd:05:ef
  AVB Support:	No

USB Mapping

Hi,

Thank you for the great work - so far it works fine on my Z490 Vision G with i7-10700K & R9 380 GPU.
One question though: is there a reason why the rear USB-C port is not mapped?

Get stuck after installing eGPU (PCI Configuration Begin)

Installed Big Sur 11.5 with your guide. Only difference in build is my CPU is i5 and I had used only internal GPU. Added framebuffer and everything went smoothly, thank you very much.
After installing a eGPU (RX 580) and changing iGPU to headless mode in config. System get stuck at "PCI configuration begin" message.
Maybe you can point me in a right way how it could be fixed.
Thank you in advance.

Flashing a custom firmware onto the EEPROM of the Intel I225-V Ethernet Controller

Hi, 5T33Z0!
I'm trying to flash a custom firmware onto the EEPROM of the Intel I225-V Ethernet Controller.
I use the firmware and tool recommended by the author. (I225MOD + eeupdate64e.efi)
Unfortunately, the file I225MOD is not flashed correctly and the adapter then does not work.

On the pictures in hex:

  1. My original firmware
  2. Author's modified firmware
  3. My result after the firmware flashing

picture-1

What is the my error?

Bluetooth Also Doesn't Work on Monterey (FYI)

Thanks to your work, and your sharing of it, I was able to get Big Sur running on my VISION G running (still need to tweak audio layout because HDMI sound isn't working--probably because my build doesn't have an external GPU card). Anyway, I just wanted to let you and others who use your EFI Opencore know that the bluetooth module I mention below doesn't work on the official MacOS Monterey release (nor did it work on previous MacOS Monterey beta).

I bought this bluetooth module, which worked on Big Sur:
DAYKIT Mini USB Bluetooth 4.0 Dual Mode Adapter Dongle for Windows 10 8 7 Vista XP 32/64 Bit Linux Black

[EDIT: Monterey has completely different bluetooth software stack, so support is being worked on: see macOS 12: Monterey bluetooth note]
However, after I upgraded to MacOS Monterey beta, but then the bluetooth module stopped working. Not asking for a fix, though if there is a particular module you're using I'd appreciate you letting me know. I will still go back to Big Sur because of the Ethernet and bluetooth issues.

Thanks again for your work.

USB C port

this does not seem to be recognsed when I plug anythhing into it?

SDT-RX580

I cant seem to locate this file in the download and your github brings 404? thanks

CPU and Fan sensors issue

hi 5T33Z0,

thank you for the excellent EFI. no problems whatsoever to report, but one feature request.

Include the virtualSMC plugin kexts (just SMCProcessor and SMCSuperIO?), and have them listed but disabled by default in config.plist
I added the kexts to the EFI folder and listed/enabled them in config.plist and all the sensors work normally.

2.5gb issue?

Hi

I just bought a z490 vision g and want to follow the steps to build my own OC installation from
Scratch. I noticed I have the version 2 of the 2.5g intel chip. Have you had any issues? I see many ppl seem to on the asus boards. Thanks.

DRM Support

Per this article, DRM support isn't fully available for Macs using iGPUs (i.e. iMac20,2). Is there any workaround to get that fixed without using an iGPU-free SMBIOS?

Sleep Issues?

Thank you for the great work on this. Everything seems to work straight out the box, except I have sleep issues. Can you share your pmset settings?

AppleIGC kext won't load

Hi. I have an ASUS and not Gigabyte motherboard, although after upgrading from macOS 11 to macOS 13, I have the same issue with I225-V controller.

Thing is, I don't have the same values for vendor/subsystem ID as you (ie. they seem sane), see below

lspci

ringo@archbox /mnt/efi % sudo lspci -nnvv | grep 225
0a:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 02)
	Subsystem: ASUSTeK Computer Inc. Ethernet Controller I225-V [1043:87d2]

stock EEPROM dump

7C3C 7F3F E883 0D20 FFFF 1045 FFFF FFFF.
FAFA 0125 602F 87D2 1043 15F3 8086 8200.
8022 0905 47F0 0001 E4A4 0040 2400 FFFF.
3F7D 3000 5A0A 0C00 0508 0000 8203 8427.

I've tried the AppleIGC.kext solution, but for some reason I don't see this kext loaded in kextcache. I wondered if perhaps the reason I can't load this kext is because of some system ID mismatch, but I can see that the Info.plist of this kext has 0x15f38086 which should match my network card. Naturally I have it enabled in Kernel>Add

iGPU no success

Hi, my PC has i7 10700 and iGPU only and I'm trying to upgrade from Big Sur to Monterey . After following your instruction of driving monitor using UHD 630, it reboots automatically.
I'm not sure if I read your instruction wrong or just bad luck. Would you mind uploading a new EFI folder just for UHD 630 onboard graphics only? preferably both DP and HDMI output. Appreciated!

I225-V

Hello
i tried your new method with the sddt-i225v.aml and the AppleIntell210Ethernet.kext, but it don't work. I still don't get aconnction. The ssdt should change the subsystem-vendor-id to 1043, but it don't change anything. I don't dare to flash the i225-v, so tried this method for Monterey and Ventura. I've also opened a issue in @SchmockLord, because i've a Vision D, but the path for the i225-v is the same.

PCIe Wifi Card (Fenvi T919) not recognised

Hello, first I'd like to thank you for your fantastic work. The EFI and documentations are excellent, and I was able to gain a lot of time with them.

I have the latest (082.1) EFI release of yours, here is my Hardware:

Component Details
Board Gigabyte Z490 Vision G
CPU Intel Core i9-10900KF
RAM G.Skill Trident Z Neo (2 x 16GB, DDR4-3600, DIMM 288 pin)
GPU Gigabyte Radeon RX 5700 XT Gaming OC
Audio Realtek® ALC1220-VB
Ethernet Intel I225-V 2.5GbE
Wifi Fenvi T919 PCIe Card

I have made everything work except for the wifi of my Fenvi T919 PCIe Card, which uses the BCM94360 chipset. The Bluetooth of this card is working, though.

I have found this bit in the config.plist file:

<dict>
    <key>Comment</key>
    <string>DMAR replacement table for 3rd Party WiFi/Ethernet</string>
    <key>Enabled</key>
    <false/>
    <key>Path</key>
    <string>DMAR.aml</string>
</dict>

Which I enabled with no further success.

I'm stuck with a disabled Wifi panel, which I can't turn On:
image

Any idea of what I may do wrong?

Excellent work, thank you very much for the effort

Thank you very much for the shared material, it helped me to improve things in my configuration, I appreciate it.

I have a doubt in the cpu power management guide. You recommend using iMac20.2 for i7/i9 and iMac20.1 for i5 when Dortonia recommends iMac20.1 for i7. Could you clear my doubts? Since I have an i7 10700, currently set to 20.1 but I saw some users using 20.2. I don't know if change to 20,2 or not.

Catalina Wrong divice id, using only IGPU no GPU

Hi, in many apps with i9 10900 k (like Adobe Photoshop, Adobe Illustrator) I have this crash error log:

Application Specific Information:
Assertion failed: (0), function CreateCompiler, file /Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.7.8/GLRenderer/kbl/usc_interface.cpp, line 1676.

problem was on device-id on PciRoot(0x0)/Pci(0x2,0x0).

changed device-id C59B0000 by 9B3E0000.
Now works like a charm.
thx for your build

HDD Disk stop/start during reboot Sonoma 14.4 and newer, including 14.5 beta

Hi!

My very similar build:

MB: Gigabyte Z490 VISION G (BIOS F22)
CPU: Intel® Core™ i5-10600, 3.3-4.8 GHz
Memory: Corsair Vengeance LPX 32 Gb (4 x 8 Gb) 2800 MHz DDR4
Video: Sapphire Nitro+ Radeon RX 590 (8Gb) + Intel UHD 630
Monitor: BENQ-BL2711U + LG TV 42LF650V
SSD: NVMe M.2 PCIe 4.0 Netac, 1.0 Tb
SSD: Kingston A400 SSD, 240.1 Gb + Transcend SSD220 SSD, 240.1 Gb + Samsung SSD 870 EVO 250.1 Gb
HDD: WDC WD20PURZ-85AKKY0 2.0 Tb X 2
WiFi+Bluetooth: Fenvi FV-T919 BCM94360CD (Apple Broadcom BCM4360 WMA + BCM2046B1) (OCLP for Sonoma)
macOS version: Sonoma 14.3.1

Problems and solutions

  1. I was only able to get working LAN and WiFi by setting Kernel --> Quirks ---> DisableIoMapper = YES

  2. Starting from version Sonoma macOS 14.4, if I restart the computer, the power to the HDD hard drives is turns off. Then, during the BIOS POST, power is turned on to the disks and they spin up one by one. This means longer reboot time, increased disk wear, and simply incorrect behavior. I couldn't solve this problem, so I'm staying with the version Sonoma macOS 14.3.1.

Errors in Readme.md

WiFi network card not recognized on default configuration

Hey, how are you doing? I have a doubt, if I set enabled to false in the following configuration like in your config.plist my network card is not recognized, but if I set enabled to true works without problem.

My network adapter is a envi FV-T919 PCIe x1 802.11a/b/g/n/ac Wi-Fi Adapter BCM94360CD.

Keeps with your great work, no doubt the best Vision-G configuration ever 🔥 👍

Your configuration

<dict>
	<key>All</key>
	<false/>
	<key>Comment</key>
	<string>Drop OEM DMAR Table</string>
	<key>Enabled</key>
	<false/>
	<key>OemTableId</key>
	<data></data>
	<key>TableLength</key>
	<integer>168</integer>
	<key>TableSignature</key>
	<data>RE1BUg==</data>
</dict>

My configuration

<dict>
	<key>All</key>
	<false/>
	<key>Comment</key>
	<string>Drop OEM DMAR Table</string>
	<key>Enabled</key>
	<true/>
	<key>OemTableId</key>
	<data></data>
	<key>TableLength</key>
	<integer>168</integer>
	<key>TableSignature</key>
	<data>RE1BUg==</data>
</dict>

Reset flashed EEPROM to use AppleIGC?

Hey,
I'm on the fence to upgrade to Sonoma, but I worry if I will be able to use ethernet. I previously had to flash my EEPROM to make ethernet work with Ventura.

How would it be now if ethernet won't work in Sonoma. Do I have to flash back the original firmware and use that new AppleIGC.kext? Or can I use that kext also with a flashed EEPROM? Not sure I can find that original EEPROM. :/

Dual Monitor using IGPU

Hi,
I've done a setup using your configurations. It helped me a lot to make the setup very easily.
My setup is:
Core i9 10850k
Gigabyte Vision G

I'm trying to drive two monitors with my IGPU.
I have A BenQ 2K monitor and a Cintiq16 as a 2nd monitor plus drawing tab.
The device runs fine, but at startup while after apple logo loading almost half, the Cintiq16 turns black and after turning it off and on it works fine.
Can you suggest me anyway I can fix this?
Many thanks!

Screenshot 2021-05-18 at 2 08 45 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.