markkpa / x99-t8d-and-x99-f8d-Opencore-Hackintosh

For Huananzhi x99 Dual CPU Motherboards x99-t8d & x99-f8d - using Opencore 0.8.0 and Monterey 12.3.1 including Turbo Boost Unlocked Bios.
104 stars 29 forks source link

Random KP #1

Closed tarkh closed 3 years ago

tarkh commented 3 years ago

Hi, markkpa! Thanx for your setup! I have the same rig: MB: Huananzhi X99 F8D CPU: 2x Xeon E5 2678 V3

I've flashed my bios with your file and used your EFI to boot macOS Mojave (I'm working with sound, so staying with full 32 bit support is my goal on this workstation). So everything seems to work fine, but sometimes I'm catching freezes (KP). There are no permanent data in backtrace for them, so I can't connect them with any specific software or kext. But in general it is CPU related:

mp_kdp_enter() timed-out on cpu... NMI pending on cpus... timed-out during locked wait after NMI...

Then while do trial and errors process I've figured, that possibly this behaviour caused by CPU temp and frequency measurement software. I've tried 2 different tools: iStat menu and HWMonitorSMC2. It's not 100% because I don't have enough data to make conclusions yet.

Can you please test this tools or give advice on how to measure CPU temps and frequency on this rig? Maybe we need to tweak Opencore config somehow to properly set up two socket system? Or do a proper ACPI setup?

Thank you!

tarkh commented 3 years ago

Ok, seems the problem not related to the CPU measuring software. I've tried to flashback default bios without turbo unlock and now everything works just fine. So I'm curious - is there any CPU UNDERVOLTING modifications in the bios, provided in this repo? If so it's highly possible, that random KPs in my case was caused by insufficient voltage. It's just a theory, next week I'll try to patch bios myself and do turbo unlock without EFI file (S3TurboTool). Will report.

markkpa commented 3 years ago

Yes, the V3.EFI (DXE driver) in the Driver folder sets the undervolting values. You can use your own DXE driver instead of mine. The bios does NOT contain any undervolting values (it only deletes the microcode required for turbo boost unlock). I just updated to OpenCore 0.6.7 which includes a new CtlnaAHCIPort.kext for Catalina and Big Sur. The new kext may solve the freezing issues. You may want to update to this new setup.

markkpa commented 3 years ago

Yes, the V3.EFI (DXE driver) in the Driver folder sets the undervolting values. You can use your own DXE driver instead of mine. The bios does NOT contain any undervolting values (it only deletes the microcode required for turbo boost unlock). I just updated to OpenCore 0.6.7 which includes a new CtlnaAHCIPort.kext for Catalina and Big Sur. The new kext may solve the freezing issues. You may want to update to this new setup.

On Fri, Mar 19, 2021 at 5:49 AM tarkh @.***> wrote:

Ok, seems the problem not related to the CPU measuring software. I've tried to flashback default bios without turbo unlock and now everything works just fine. So I'm curious - is there any CPU UNDERVOLTING modifications in the bios, provided in this repo? If so it's highly possible, that random KPs in my case was caused by insufficient voltage. It's just a theory, next week I'll try to patch bios myself and do turbo unlock without EFI file (S3TurboTool). Will report.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/markkpa/x99-t8d-and-x99-f8d-Opencore-Hackintosh/issues/1#issuecomment-802698579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUZUOCFJ2AAHLS2RSVPEB3TEMM3XANCNFSM4ZLBFMRA .

tarkh commented 3 years ago

Thanks! I've fixed my freeze issue by using custom VoodooTSCSync.kext with hardcoded number of threads (47) in it's info plist. Also I flashed another bios from this repo. Custom bios is HNX99F8D_200624_kot_v002.zip. This bios also contains some altered ME regions in it, so it needs to be flashed by bios Programmer, not Afudos, so I use CH341A with clip. Good thing is this bios have full unlock on future re-flashing, so no need to use Programmer in future. Also I manually patched all ACPI stuff following Opencore guides, everything went smoothly and now I've got pretty stable system. I'll post my repo after weekends. Still did not do turbo unlock and undervaluing stuff, this is stage #2 of my work, will try it next week.

The main question still - is it possible to set up sleep on this hardware? Have you any progress with that? Even with all ACPI patched and USB stuff properly arranged I can't make it works - when rig goes to sleep it will KP on wake and restart...

markkpa commented 3 years ago

Another member has posted power management patches for this motherboard - I haven't tested it, but you may want to give it a look:

https://github.com/Cclown98/X79-X99-X299-OPENCORE-EFI-CATALINA-BIGSUR/releases/tag/0.0.4

markkpa commented 3 years ago

Now included several modifications for better power management. The display now recovers from being turned off.

markkpa commented 3 years ago

I'm closing now that I can avoid crashing from black screen. This requires checking Prevent computer from sleeping automatically when the display is off in Evergy Saver system preferences. Not everything I wanted but at least I no longer crash.