Git Product home page Git Product logo

z390-i9-9900k-hackintosh-opencore's Introduction

Z390-I9-9900K-Hackintosh-OpenCore

This EFI folder copy of my working OpenCore Hackintosh build.

It took my more than two month and it was very fun and challenging to get it working, finding fix by searching log stuck and more

I do not provide any warranty nor support, use at your own risk

About macOS About macOS Ventura

My BIOS settings

DO NOT JUST COPY MY SETTINGS, IT MAY HURT YOUR PERFORMANCE OR CPU

https://github.com/dalisoft/guides/blob/master/computers/z390-i9-9900k-hackintosh.md

My build parts

Name Model
Motherboard Gigabyte Aorus Z390 Pro Wi-Fi
CPU Intel Core i9-9900K
CPU Cooler CM MasterLiquid 240ML
GPU Sapphire Nitro RX 470 4GB
Memory Crucial Ballistic 16GB 3000CL15
SSD macOS Samsung 970 EVO 500GB
SSD Work Samsung 970 EVO+ 500GB
HDD Seagate 12TB (8+4)
PSU CM 1200W Platinum
Case Gamdias Athena M2 Elite
KB+Mouse Logitech K470 (if wants VM)
KB+Mouse ๐Ÿ Magic Keyboard 2 + Trackpad 2
Web-camera Logitech C920 FullHD
Network Fenvi T919 1300Mbps
Network ACQ107 10GbE PCI-E Card
Headset Edifier G4
Monitor 1 Samsung U28E590D
Monitor 2 LG 27UK850-W

Benchmark

Name Link
CPU https://browser.geekbench.com/v5/cpu/18212261
CPU Win11 https://browser.geekbench.com/v5/cpu/18455893
dGPU Metal https://browser.geekbench.com/v5/compute/5757443
iGPU Metal https://browser.geekbench.com/v5/compute/5757512

Current issues

Problem Refer Link Fix
Entering to sleep takes 20-40 seconds #3 No fix yet
Wake from sleep does not work #2 and #6 No fix yet
BT devices not reacting after wake #10 No fix yet
USB Power Management #12 No fix yet
Fans / VirtualSMC #13 No fix yet
Bzz sound on Scroll or Launchpad #14 No fix yet

Status

Features Status Issues
Ethernet Working -
Wi-Fi Working -
Bluetooth Working See #1
iGPU Working -
dGPU + HW acceleration Working -
On-board audio Working -
App Store Working -
iCloud Working -
Shutdown / Restart Working -
USB Working See #12
Handoff Working -
Airdrop, AirPlay Working -
Continuity Working -
Apple TV+ Working works reliable on macOS Ventura
Dual monitor boot Working See #7
All DP/HDMI ports Working AMD GPU ports only
iMessage Working See #16
FaceTime Working See #16
File Vault Not tested -
HDMI audio Not tested -
Apple Music / iTunes Not tested -
DRM Not working See #11
Fans/VirtualSMC Not working See #13
Wake/Sleep Not working Works but not properly, see #3 and #10
Power Nap Not working Disabled as workaround to fix wake-up itself

Prerequisite

Please understand all OpenCore configuration by reading Configuration.pdf

Guides

Tools

Debug-mode enable

Just do these changes and you are good to go

Option Value
Misc โ†’ Boot โ†’ HideAuxiliary Disable
Misc โ†’ Boot โ†’ ShowPicker Check
Misc โ†’ Boot โ†’ Timeout 5
NVRAM โ†’ 7C436110-* โ†’ boot-args Add -v

Useful Links

Hard-to-find threads

Problem Solved link
Radeon Hardware Accelaration https://www.tonymacx86.com/threads/amd-radeon-rx-550-560-injected-with-opencore-macos-big-sur.306669/post-2331781
Headless iGPU https://www.tonymacx86.com/threads/guide-intel-uhd-graphics-630-coffee-lake-headless-mode-main-card.304000
Sleep-Wake fix??? https://www.tonymacx86.com/threads/sleep-with-fans-activated-and-leds-on.315430/

Similar OC EFI shared folders

z390-i9-9900k-hackintosh-opencore's People

Contributors

dalisoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ewanmoak

z390-i9-9900k-hackintosh-opencore's Issues

Dual monitor on boot not working

At boot level even after login screen dual-monitor does not work, only primary display works.

As a workaround you can change monitor source to another and revert back to get it work

iMessage & FaceTime Support

Before i don't have been working iMessage and FaceTime, even on real iMac but finally i am able to get it work

There steps:

  1. Contact to Apple Support to troubleshoot your case and may fix issue
  2. Try changing your SIM-card on your phone (yes, seems it could be issue)
  3. Use real iMac Serial Number (from your old iMac or you can purchase SN from eBay for $20-$30)

After these steps don't forget this step:
On your iPhone go Settings and use your phone-number as primary for iMessage and FaceTime

Now your iMessage, FaceTime, Call on other devices should work properly

DRM Support

Name Environment Playing
Amazon Prime Safari Yes
Apple TV+ Safari No
Netflix Safari No
Amazon Prime MS Edge Yes
Netflix MS Edge Yes
Apple TV+ macOS App Yes

Similar issue: #8

Handbrake failed / No HW encoding

Machine-check capabilities: 0x0000000000000c0e
 family: 6 model: 158 stepping: 13 microcode: 240
 signature: 0x906ed
 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
 14 error-reporting banks
Processor 6: IA32_MCG_STATUS: 0x0000000000000005
 IA32_MC0_STATUS(0x401): 0xb200000000030005
Processor 7: IA32_MCG_STATUS: 0x0000000000000005
 IA32_MC0_STATUS(0x401): 0xb200000000030005
mp_kdp_enter() timed-out on cpu 1, NMI-ing
mp_kdp_enter() NMI pending on cpus: 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15
mp_kdp_enter() timed-out during locked wait after NMI;expected 16 acks but received 1 after 12597884 loops in 1800000000 ticks
panic(cpu 1 caller 0xffffff801b74bc07): Machine Check at 0xffffff801b7609a4, registers:
CR0: 0x000000008001003b, CR2: 0x000000c0001eb010, CR3: 0x00000000205ce000, CR4: 0x00000000003626e0
RAX: 0x0000000000000020, RBX: 0x0000000000000006, RCX: 0x0000000000000001, RDX: 0x0000000000000000
RSP: 0xffffffcbae2ffec0, RBP: 0xffffffcbae2ffef0, RSI: 0xffffff801c42fd40, RDI: 0xffffff801c2d04e8
R8:  0x0000000000000001, R9:  0x000000a12d6cc5fe, R10: 0x0000000000000380, R11: 0xffffff801c42f980
R12: 0x0000000000000020, R13: 0x000000000e8e4f0e, R14: 0x0000009d4f2415d1, R15: 0x0000000000000001
RFL: 0x0000000000000046, RIP: 0xffffff801b7609a4, CS:  0x0000000000000008, SS:  0x0000000000000000
Error code: 0x0000000000000000
 @trap_native.c:168
Panicked task 0xffffff8b967ca218: 254 threads: pid 0: kernel_task
Backtrace (CPU 1), panicked thread: 0xffffff8b96443b30, Frame : Return Address
0xffffff801b30ca70 : 0xffffff801b5edf9d mach_kernel : _handle_debugger_trap + 0x4ad
0xffffff801b30cac0 : 0xffffff801b75b786 mach_kernel : _kdp_i386_trap + 0x116
0xffffff801b30cb00 : 0xffffff801b74aa10 mach_kernel : _kernel_trap + 0x3e0
0xffffff801b30cb50 : 0xffffff801b588951 mach_kernel : _return_from_trap + 0xc1
0xffffff801b30cb70 : 0xffffff801b5ee27d mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffff801b30cc60 : 0xffffff801b5ed929 mach_kernel : _panic_trap_to_debugger + 0x1a9
0xffffff801b30ccc0 : 0xffffff801bde0ecb mach_kernel : _panic + 0x84
0xffffff801b30cdb0 : 0xffffff801b74bc07 mach_kernel : _sync_iss_to_iks_unconditionally + 0x167
0xffffff801b30cec0 : 0xffffff801bde8f2c mach_kernel : _panic_machine_check64 + 0x15
0xffffff801b30ced0 : 0xffffff801b588e2f mach_kernel : _hndl_machine_check + 0xf
0xffffffcbae2ffef0 : 0xffffff801b74d126 mach_kernel : _machine_idle + 0x1c6
0xffffffcbae2fff10 : 0xffffff801b621969 mach_kernel : _processor_idle + 0x149
0xffffffcbae2fff80 : 0xffffff801b621ba9 mach_kernel : _idle_thread + 0x49
0xffffffcbae2fffa0 : 0xffffff801b58819e mach_kernel : _call_continuation + 0x2e

Process name corresponding to current thread (0xffffff8b96443b30): kernel_task
Boot args: keepsyms=1 swd_panic=1 forceRenderStandby=0 

Mac OS version:
22A400

Kernel version:
Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64
Kernel UUID: BF7C9676-EF23-3E8D-A2E2-25DAC63091B6
roots installed: 0
KernelCache slide: 0x000000001b200000
KernelCache base:  0xffffff801b400000
Kernel slide:      0x000000001b2dc000
Kernel text base:  0xffffff801b4dc000
__HIB  text base: 0xffffff801b300000
System model name: iMac19,1 (Mac-AA95B1DDAB278B95)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 676638768043
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x0000009d8ad03de7
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x000000058a37f7c0 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
  Zone map: 0xffffff805e0e5000 - 0xffffffa05e0e5000
  . PGZ   : 0xffffff805e0e5000 - 0xffffff80660e6000
  . VM    : 0xffffff80660e6000 - 0xffffff8531a7f000
  . RO    : 0xffffff8531a7f000 - 0xffffff86cadb2000
  . GEN0  : 0xffffff86cadb2000 - 0xffffff8b9674b000
  . GEN1  : 0xffffff8b9674b000 - 0xffffff90620e4000
  . GEN2  : 0xffffff90620e4000 - 0xffffff952da7d000
  . GEN3  : 0xffffff952da7d000 - 0xffffff99f9417000
  . DATA  : 0xffffff99f9417000 - 0xffffffa05e0e5000
  Metadata: 0xffffffa061079000 - 0xffffffa081079000
  Bitmaps : 0xffffffa081079000 - 0xffffffa099079000

VP9 8K 60fps not available

As it should but it's not there. Confirmation: chrome://gpu (try Google Chrome, not MS Edge or Chromium)

image

Similar issue: #5

More info as table at #8

Entering sleep mode takes more time

When i'm built hackintosh with macOS Sierra, macOS High Sierra and macOS Mojave with i5-6400 and Z170 it worked like in a real Macs. Entered into sleep mode fast but now it takes longer.

I think best delay could be within 4 seconds but max 7 seconds is acceptable. Whereas in current situation entering sleep mode takes 20-40 seconds

You can check by below command

โฏ pmset -g log | grep -e "Sleep" | grep  "Delays to Sleep notifications" | tail -3
2022-10-27 15:09:35 +0500 Kernel Client Acks  	Delays to Sleep notifications: [AppleHDADriver driver is slow(msg: SetState to 0)(508 ms)] [IONVMeController driver is slow(msg: SetState to 0)(487 ms)] [IONVMeController driver is slow(msg: SetState to 0)(1156 ms)] [en0 driver is slow(msg: WillChangeState to 0)(5261 ms)]
2022-10-27 15:16:48 +0500 PM Client Acks      	Delays to Sleep notifications: [com.apple.bluetooth.sleep is slow(1511 ms)] [com.apple.apsd is slow(2932 ms)]
2022-10-27 15:17:31 +0500 Kernel Client Acks  	Delays to Sleep notifications: [AppleHDADriver driver is slow(msg: SetState to 0)(509 ms)] [IONVMeController driver is slow(msg: SetState to 0)(580 ms)] [IONVMeController driver is slow(msg: SetState to 0)(1223 ms)] [en0 driver is slow(msg: WillChangeState to 0)(5252 ms)]
~

And if we calculate

Driver Duration
AppleHDADriver 508ms
IONVMEController 487ms + 1156ms
com.apple.bluetooth.sleep 1511 ms
com.apple.apsd 2932ms
en0 / LAN 5261ms

And if we sum all of these it's almost 12 seconds + OpenCore overhead so it's long

If we enter into Sleep mode in real Mac (e.g. iMac) it takes less than 3 seconds, an M1 machine is less than 1 second for me

Hardware HEVC encoding not works properly

Even the program reports another value, the HEVC encoding not available in Google Chrome

You can try with chrome://gpu in Google Chrome (not MS Edge or Chromium)

Screen Shot 2022-10-27 at 15 57 58

image

Similar issue: #4

Hardware decoding capability

Used GPU's

  • on Hackintosh: iGPU UHD 630 built-in i9-9900K + RX 470
  • on Windows 11: iGPU UHD 630 built-in i9-9900K + RX 470
  • on Windows 11: iGPU UHD 630 built-in i9-9900K + RTX 2080 Ti
  • on Macbook M1: Apple M1 8-core GPU
Machine Browser H264 VP9 HEVC AV1
Z390 Hackintosh Google Chrome base,extended,main,high@4K profile0,2@4K main+10,still-picture,range extensions@8K -
Z390 Hackintosh MS Edge base,extended,main,high@4K - main+10,still-picture,range extensions@4K -
Z390 Windows 11 Google Chrome base,main,high@4K profile0,2@8K main+10@8K -
Z390 Windows 11 MS Edge base,main,high@4K profile0,2@8K main+10,still-picture@8K main,high,pro@8K
Macbook Pro M1 Google Chrome base,extended,main,high@4K profile0,2@4K main+10,still-picture,range extensions@8K -
Macbook Pro M1 MS Edge base,extended,main,high@4K profile0,2@4K main+10,still-picture,range extensions@8K -
Screenshots
Machine Google Chrome MS Edge Safari
Z390 Hackintosh Monterey Chrome Intel No VP9 VP9
Z390 Windows 11 Google Chrome Windows 11 MS Edge Windows 11 -
Macbook Pro M1 Google Chrome M1 MS Edge M1 VP9

Wake from sleep via keyboard

Instructions how-to fix:

  1. Follow https://dortania.github.io/OpenCore-Post-Install/usb/misc/instant-wake.html
  2. https://dortania.github.io/OpenCore-Post-Install/usb/misc/keyboard.html#method-1-add-wake-type-property-recommended
  3. Run sudo pmset restoredefaults then sudo pmset -g restoredefaults
  4. Remove ACPI patch and keep only DSDT file
  5. Disable "Power Nap" and "Wake to network access"
  6. Reboot and try it

My issue is similar to: osy/USBWakeFixup#7

I have either wake by keyboard or instant wake fix, not both.


UPDATE: It is not worked


UPDATE 2: Similar issue #10

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.