Jump to content

[Guide] Mac OSX 10.12 and 10.13 with X99 Broadwell-E family and Haswell-E family


nmano
 Share

1,954 posts in this topic

Recommended Posts

Just a warning, if and when you upgrade to 10.13, some of your DSDT injected devices (like USBs) may not work (due to broken config patches). I highly recommend looking into Rehabman's USBInjectAll+SSDT-UAIC.aml to eliminate the USB port limit patch (as Rehabman states, it should only be a temporary solution -- as of now, you're injecting all 30 ports and may only be using half or less). 

Please also note that USBInjectAll may be broken under 10.13... IMHO creating a proper USB injector is all.

  • Like 1
Link to comment
Share on other sites

Usually when it stops there it's a CPU issue (not always). 

 

I suggest starting from scratch and not using someone else's EFI folder. Do me a favor and install the latest clover: https://sourceforge.net/projects/cloverefiboot/

In EFI->CLOVER->Drivers64 -- Replace OsxAptioFixDrv-64.efi with this 20000_OsxAptioFixDrv-64.efi.zip or with this: OsxAptioFix2Drv-free2000.efi

!!!Only use one, not both!!!

 

Create a new config.plist...

 

In config.plist, under Boot, boot arguments, check:

- verbose (-v)

- npci=0x3000

- nv_disable=1

 

In config.plist, under Graphics:

- Inject nvidia => checked

 

In config.plist, under KernelAndKextsToPatch:

KextsToPatch
Name: IOPCIFamily
Find: 4881FB00000040
Replace: 4881FB00000080
Comment: 5960X 10.12 Brumbaer

KernelToPatch (optional if causing random reboots on OS entry)
Find: 554889E5415741564155415453504189D64189F74889FB4585FF0F84
Replace: C34889E5415741564155415453504189D64189F74889FB4585FF0F84
Comment: reboot fix 10.12 © Pike R. Alpha

In config.plist, under RT variables:

Bootconfig => 0x28

CsrActivConfig => 0x67

 

In config.plist, under SMBIOS:

Use the magic wand and create a Mac Pro 6,1 SMBIOS

 

In config.plist, under System Paramenters:

Injects Kexts => Yes

System ID => checked

 

And you'll want to add Voodootsync, FakeSMC and IntelMausiEthernet to your EFI->CLOVER->kexts->10.12 folder...

 

Note: This removes a lot of functionality, but we'll work our way to a better hack in small steps!

 

If you're still having problems, when at the Clover boot screen (not loading up the OS), dump your ACPI tables (press F4 then wait 5 seconds). Then you're going to need to mount the drive and grab the entire EFI folder and paste it here.

Hello Mfc88!

 

At this stage I have success! Thank you very much for that! System booted up, but USB 2.0 ports on back and 2 USB 3.0 on front are stop working. Now just 4 USB 3.0 ports on back working. Anyway I successfully installed OS, installed clover and can booted up from hard drive.

Could you please navigate me again, what I have to do after installation, to get full functionality?

Thanks!

Link to comment
Share on other sites

Hello Mfc88!

 

At this stage I have success! Thank you very much for that! System booted up, but USB 2.0 ports on back and 2 USB 3.0 on front are stop working. Now just 4 USB 3.0 ports on back working. Anyway I successfully installed OS, installed clover and can booted up from hard drive.

Could you please navigate me again, what I have to do after installation, to get full functionality?

Thanks!

Send me EFI with ACPI tables dumped (before you boot into your OS drive, press F4 while at Clover screen, wait 4 seconds, then boot into drive and retrieve entire EFI folder) plus attach an IOReg v2.1 file (simply open IOReg and click "Save as..." and save the file to your Desktop -- add this with EFI folder, compress then upload). 

  • Like 2
Link to comment
Share on other sites

Send me EFI with ACPI tables dumped (before you boot into your OS drive, press F4 while at Clover screen, wait 4 seconds, then boot into drive and retrieve entire EFI folder) plus attach an IOReg v2.1 file (simply open IOReg and click "Save as..." and save the file to your Desktop -- add this with EFI folder, compress then upload). 

Send you link to the requested data.

 

https://www.dropbox.com/s/m99wk482qz9wvf1/Alcher67.zip?dl=0

 

This archive more than 10MB so I can't attach it here directly.

Thanks

Link to comment
Share on other sites

Why you need DTGP anyway if you can return to your device properties directly...

This.

 

But on a related note, this is a great discussion! Two different ways to inject ACPI tables (with several different methods), but ALL with the same result. However, when I program anything, I try avoid having anything over 100-200 lines of code per file (depending on the project). Otherwise, it's a pain to debug... find bugs/errors quickly.

 

As for DSDT vs SSDT: With the exception of graphics recognition, where a SSDT doesn't have the 30 second delay for GPU recognition nor does it need any patches to make it recognize quicker, I haven't found SSDT nor DSDT to be "faster", but rather the same. HOWEVER, I did find it faster to "debug" the SSDT over the DSDT, since there is much less code to sift through.

 

Send you link to the requested data.

 

https://www.dropbox.com/s/m99wk482qz9wvf1/Alcher67.zip?dl=0

 

This archive more than 10MB so I can't attach it here directly.

Thanks

I'll take a look at it tomorrow, it's 1AM right now.  :lol:

  • Like 2
Link to comment
Share on other sites

Hello Mfc88!

 

At this stage I have success! Thank you very much for that! System booted up, but USB 2.0 ports on back and 2 USB 3.0 on front are stop working. Now just 4 USB 3.0 ports on back working. Anyway I successfully installed OS, installed clover and can booted up from hard drive.

Could you please navigate me again, what I have to do after installation, to get full functionality?

Thanks!

 

 Here's what you'll need to do:

- Boot in to the OS (with current configuration)

- Mount your harddrive that has Mac OS installed on it via Clover Configurator, and then click "Open Partition"

- Download the attached Alcher67-CLOVER.zip file, unzip it, then paste its entire contents inside the existing harddrive's EFI folder (in other words, paste it over the "CLOVER" folder inside the "EFI" folder -- leave other folders as they are)  

 

Special Note: You've installed Windows with this particular drive active during the installation. What this means is that without this drive being active, you will no longer be able to boot into Windows regardless of where your Windows installation was installed. I'm not sure if this drive is a dual-boot drive or is separate from Mac OS, but take caution! The "Microsoft" folder inside the EFI folder is what allows you to boot into Windows).

 

Download Kext Utility and then download and unzip KextsToAdd_SLE.zip**

Drag and drop all kexts (not the folder itself) from inside "KextsToAdd_SLE" on to the Kext Utility's window to install them. Wait for it to complete, like so...

DEIJ2Oc.png

 

**Note: If your system is stable and everything works for at least a week, then all kexts from the attached CLOVER->kexts->10.12 folder can be added to System/Library/Extensions via KextUtility. For preliminary testing, keep them separate.

 

 

- Next, install Nvidia Web Driver - 367.15.10.35f01, after its done installing (DO NOT RESTART YET!!), open a terminal window and copy/paste this and press enter (followed by your Mac OS password):

sudo nvram nvda_drv=1

 

Now reboot your OS.

 

What's recommended afterward:

- Attach a new IOReg file with the Clover/kexts installed and post it here

- Create a custom SSDT-UIAC.aml (for USBs) via Rehabman's "Creating a custom SSDT for USBInjectAll" or mine.

Checking for XCPM properties and FrequencyVectors

- Download and add this to Apps folder (open the App, then click the "Power Monitor" button to check your frequency and temperatures): CPU-S v3.7 en.dmg.zip

- Download and install GeekBench 4 and see what kind of score you're getting.

Alcher67-CLOVER.zip

KextsToAdd_SLE.zip

  • Like 1
Link to comment
Share on other sites

 

 Here's what you'll need to do:

- Boot in to the OS (with current configuration)

- Mount your harddrive that has Mac OS installed on it via Clover Configurator, and then click "Open Partition"

- Download the attached Alcher67-CLOVER.zip file, unzip it, then paste its entire contents inside the existing harddrive's EFI folder (in other words, paste it over the "CLOVER" folder inside the "EFI" folder -- leave other folders as they are)  

 

Special Note: You've installed Windows with this particular drive active during the Windows installation. What this means is that without this drive being active, you will no longer be able to boot into Windows regardless of where your Windows installation was installed. I'm not sure if this drive is a dual-boot drive or is separate from Mac OS, but take caution! The "Microsoft" folder inside the EFI folder is what allows you to boot into Windows).

 

Download Kext Utility and then download and unzip KextsToAdd_SLE.zip**

Drag and drop all kexts (not the folder itself) from inside "KextsToAdd_SLE" on to the Kext Utility's window to install them. Wait for it to complete, like so...

DEIJ2Oc.png

 

**Note: If your system is stable and everything works for at least a week, then all kexts from the attached CLOVER->kexts->10.12 folder can be added to System/Library/Extensions via KextUtility. For preliminary testing, keep them separate.

 

 

- Next, install Nvidia Web Driver - 367.15.10.35f01, after its done installing (DO NOT RESTART YET!!), open a terminal window and copy/paste this and press enter (followed by your Mac OS password):

sudo nvram nvda_drv=1

 

Now reboot your OS.

 

What's recommended afterward:

- Attach a new IOReg file with the Clover/kexts installed and post it here

- Create a custom SSDT-UIAC.aml (for USBs) via Rehabman's "Creating a custom SSDT for USBInjectAll" or mine.

Checking for XCPM properties and FrequencyVectors

- Download and add this to Apps folder (open the App, then click the "Power Monitor" button to check your frequency and temperatures): CPU-S v3.7 en.dmg.zip

- Download and install GeekBench 4 and see what kind of score you're getting.

Hello Mfc88

 

I'm excited! It works now really good!!! And very stable. Thank you so much for your help!!!

I'll post new IOReg file a little bit later.

I passed Geekbench 4 tests, and as I can see it looks like approx twice slower than expected (~2600 single core and ~18900 multi core also).

 

I also have a question about BIOS settings. What are recommended settings for this configuration?

Link to comment
Share on other sites

Hello all,

 

first, many thanks friends @mfc88 @fergarth @fabiosun @nmano for your precious help.

Everything is working now in my setup and it was only possible thanks to you all.

 

I´ll attach my appleintelinfo.kext output, i´m still unable to get c states active:



AppleIntelInfo.kext v2.5 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 0
logCStates...............................: 1
logIPGStyle..............................: 1
InitialTSC...............................: 0x498b51ebc6 (10 MHz)
MWAIT C-States...........................: 8480

Processor Brandstring....................: Intel(R) Core(TM) i7-5960X CPU @ 3.00GHz

Processor Signature..................... : 0x306F2
------------------------------------------
 - Family............................... : 6
 - Stepping............................. : 2
 - Model................................ : 0x3F (63)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0x0
------------------------------------------
 - Core Count........................... : 8
 - Thread Count......................... : 16

MSR_PLATFORM_INFO................(0xCE)  : 0x80C3BF3811E00
------------------------------------------
 - Maximum Non-Turbo Ratio.............. : 0x1E (3000 MHz)
 - Ratio Limit for Turbo Mode........... : 1 (programmable)
 - TDP Limit for Turbo Mode............. : 1 (programmable)
 - Low Power Mode Support............... : 1 (LPM supported)
 - Number of ConfigTDP Levels........... : 1 (additional TDP level(s) available)
 - Maximum Efficiency Ratio............. : 12
 - Minimum Operating Ratio.............. : 8

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x403
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 (disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x10414
------------------------------------------
 - LVL_2 Base Address................... : 0x414
 - C-state Range........................ : 1 (C6 is the max C-State to include)

IA32_MPERF.......................(0xE7)  : 0x2960B306F
IA32_APERF.......................(0xE8)  : 0x34B7ED67C

MSR_FLEX_RATIO...................(0x194) : 0xE0000
------------------------------------------

MSR_IA32_PERF_STATUS.............(0x198) : 0x264E00002B00
------------------------------------------
 - Current Performance State Value...... : 0x2B00 (4300 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0xFF00
------------------------------------------
 - Target performance State Value....... : 0xFF00 (25500 MHz)
 - Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0x0

IA32_THERM_INTERRUPT.............(0x19B) : 0x0

IA32_THERM_STATUS................(0x19C) : 0x88400000
------------------------------------------
 - Thermal Status....................... : 0
 - Thermal Log.......................... : 0
 - PROCHOT # or FORCEPR# event.......... : 0
 - PROCHOT # or FORCEPR# log............ : 0
 - Critical Temperature Status.......... : 0
 - Critical Temperature log............. : 0
 - Thermal Threshold #1 Status.......... : 0
 - Thermal Threshold #1 log............. : 0
 - Thermal Threshold #2 Status.......... : 0
 - Thermal Threshold #2 log............. : 0
 - Power Limitation Status.............. : 0
 - Power Limitation log................. : 0
 - Current Limit Status................. : 0
 - Current Limit log.................... : 0
 - Cross Domain Limit Status............ : 0
 - Cross Domain Limit log............... : 0
 - Digital Readout...................... : 64
 - Resolution in Degrees Celsius........ : 1
 - Reading Valid........................ : 1 (valid)

MSR_THERM2_CTL...................(0x19D) : 0x0

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
 - Fast-Strings......................... : 1 (enabled)
 - FOPCODE compatibility mode Enable.... : 0
 - Automatic Thermal Control Circuit.... : 1 (enabled)
 - Split-lock Disable................... : 0
 - Performance Monitoring............... : 1 (available)
 - Bus Lock On Cache Line Splits Disable : 0
 - Hardware prefetch Disable............ : 0
 - Processor Event Based Sampling....... : 0 (PEBS supported)
 - GV1/2 legacy Enable.................. : 0
 - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
 - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
 - Adjacent sector prefetch Disable..... : 0
 - CFG Lock............................. : 0 (MSR not locked)
 - xTPR Message Disable................. : 1 (disabled)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x591200
------------------------------------------
 - Turbo Attenuation Units.............. : 0 
 - Temperature Target................... : 89
 - TCC Activation Offset................ : 0

MSR_MISC_PWR_MGMT................(0x1AA) : 0x400000
------------------------------------------
 - EIST Hardware Coordination........... : 0 (hardware coordination enabled)
 - Energy/Performance Bias support...... : 1
 - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
 - Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2B2B2B2B2B2B2B2B
------------------------------------------
 - Maximum Ratio Limit for C01.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C02.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C03.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C04.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C05.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C06.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C07.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C08.......... : 2B (4300 MHz) 

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
 - Power Policy Preference...............: 1 (highest performance)

MSR_POWER_CTL....................(0x1FC) : 0x2104005B
------------------------------------------
 - Bi-Directional Processor Hot..........: 1 (enabled)
 - C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
 - Power Units.......................... : 3 (1/8 Watt)
 - Energy Status Units.................. : 14 (61 micro-Joules)
 - Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x43857800148460
------------------------------------------
 - Package Power Limit #1............... : 140 Watt
 - Enable Power Limit #1................ : 1 (enabled)
 - Package Clamping Limitation #1....... : 0 (disabled)
 - Time Window for Power Limit #1....... : 10 (2560 milli-Seconds)
 - Package Power Limit #2............... : 175 Watt
 - Enable Power Limit #2................ : 1 (enabled)
 - Package Clamping Limitation #2....... : 1 (allow going below OS-requested P/T state setting Time Window for Power Limit #2)
 - Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
 - Lock................................. : 0 (MSR not locked)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x60C775
------------------------------------------
 - Total Energy Consumed................ : 387 Joules (Watt = Joules / seconds)

MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x1E
MSR_CONFIG_TDP_LEVEL1............(0x649) : 0x940000001B0460
MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0x94000000000000
MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x0
MSR_TURBO_ACTIVATION_RATIO.......(0x64c) : 0x0
MSR_PKGC3_IRTL...................(0x60a) : 0x0
MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0xD8B5C862A
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0xD8B5C862A
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x2A7C7D22C8

IA32_TSC_DEADLINE................(0x6E0) : 0x498F75D597

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......: 12 (1200 MHz)
Maximum non-Turbo Ratio/Frequency........: 30 (3000 MHz)
Maximum Turbo Ratio/Frequency............: 43 (4300 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (12) 32 43 ]
CPU C6-Cores [ 0 2 4 6 8 10 12 14 ]
CPU P-States [ (12) 28 32 43 ]
CPU P-States [ 12 28 32 35 (43) ]
CPU P-States [ (12) 28 30 32 35 43 ]
CPU C6-Cores [ 0 2 4 6 8 10 12 14 15 ]
CPU P-States [ 12 28 30 32 35 37 (43) ]
CPU P-States [ 12 28 30 31 32 35 37 (43) ]
CPU P-States [ 12 28 30 31 32 35 37 41 (43) ]
CPU C6-Cores [ 0 2 4 6 7 8 10 12 14 15 ]
CPU P-States [ (12) 28 29 30 31 32 35 37 41 43 ]
CPU P-States [ 12 28 29 30 31 32 34 35 37 41 (43) ]
CPU P-States [ (12) 25 28 29 30 31 32 34 35 37 41 43 ]
CPU C6-Cores [ 0 2 4 6 7 8 9 10 12 14 15 ]
CPU P-States [ (12) 25 28 29 30 31 32 34 35 36 37 41 43 ]
CPU P-States [ (12) 25 27 28 29 30 31 32 34 35 36 37 41 43 ]
CPU P-States [ (12) 25 27 28 29 30 31 32 33 34 35 36 37 41 43 ]
CPU P-States [ 12 25 26 27 28 29 30 31 32 33 34 35 36 37 41 (43) ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 12 14 15 ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 41 (43) ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 41 (43) ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 41 42 (43) ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 12 13 14 15 ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 (43) ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 11 12 13 14 15 ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]
CPU P-States [ 12 18 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]
CPU P-States [ 12 18 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]
CPU P-States [ (12) 18 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 ]
CPU P-States [ 12 18 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]

----------------------------------------------------
Done populating the CPU states!
----------------------------------------------------
Fedemaxts-Mac-Pro:~ seppia$ 

@Fergarth: which patches did you mean for the c-states?

Im using these ones:

-xcpm performance fix 1 

-Haswell-E CPUID

-XCPM PKG Scope MSRS © Pike R. Alpha

-XCPM Bootstrap Sierra © Pike R. Alpha

-XCPM Core Scope MSRS © Pike R. Alpha

 

-XCPM Idle Patch © Pike R. Alpha

post-1730521-0-81742100-1490010822_thumb.png

  • Like 2
Link to comment
Share on other sites

 

Hello all,

 

first, many thanks friends @mfc88 @fergarth @fabiosun @nmano for your precious help.

Everything is working now in my setup and it was only possible thanks to you all.

 

I´ll attach my appleintelinfo.kext output, i´m still unable to get c states active:



AppleIntelInfo.kext v2.5 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 0
logCStates...............................: 1
logIPGStyle..............................: 1
InitialTSC...............................: 0x498b51ebc6 (10 MHz)
MWAIT C-States...........................: 8480

Processor Brandstring....................: Intel(R) Core(TM) i7-5960X CPU @ 3.00GHz

Processor Signature..................... : 0x306F2
------------------------------------------
 - Family............................... : 6
 - Stepping............................. : 2
 - Model................................ : 0x3F (63)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0x0
------------------------------------------
 - Core Count........................... : 8
 - Thread Count......................... : 16

MSR_PLATFORM_INFO................(0xCE)  : 0x80C3BF3811E00
------------------------------------------
 - Maximum Non-Turbo Ratio.............. : 0x1E (3000 MHz)
 - Ratio Limit for Turbo Mode........... : 1 (programmable)
 - TDP Limit for Turbo Mode............. : 1 (programmable)
 - Low Power Mode Support............... : 1 (LPM supported)
 - Number of ConfigTDP Levels........... : 1 (additional TDP level(s) available)
 - Maximum Efficiency Ratio............. : 12
 - Minimum Operating Ratio.............. : 8

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x403
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 (disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x10414
------------------------------------------
 - LVL_2 Base Address................... : 0x414
 - C-state Range........................ : 1 (C6 is the max C-State to include)

IA32_MPERF.......................(0xE7)  : 0x2960B306F
IA32_APERF.......................(0xE8)  : 0x34B7ED67C

MSR_FLEX_RATIO...................(0x194) : 0xE0000
------------------------------------------

MSR_IA32_PERF_STATUS.............(0x198) : 0x264E00002B00
------------------------------------------
 - Current Performance State Value...... : 0x2B00 (4300 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0xFF00
------------------------------------------
 - Target performance State Value....... : 0xFF00 (25500 MHz)
 - Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0x0

IA32_THERM_INTERRUPT.............(0x19B) : 0x0

IA32_THERM_STATUS................(0x19C) : 0x88400000
------------------------------------------
 - Thermal Status....................... : 0
 - Thermal Log.......................... : 0
 - PROCHOT # or FORCEPR# event.......... : 0
 - PROCHOT # or FORCEPR# log............ : 0
 - Critical Temperature Status.......... : 0
 - Critical Temperature log............. : 0
 - Thermal Threshold #1 Status.......... : 0
 - Thermal Threshold #1 log............. : 0
 - Thermal Threshold #2 Status.......... : 0
 - Thermal Threshold #2 log............. : 0
 - Power Limitation Status.............. : 0
 - Power Limitation log................. : 0
 - Current Limit Status................. : 0
 - Current Limit log.................... : 0
 - Cross Domain Limit Status............ : 0
 - Cross Domain Limit log............... : 0
 - Digital Readout...................... : 64
 - Resolution in Degrees Celsius........ : 1
 - Reading Valid........................ : 1 (valid)

MSR_THERM2_CTL...................(0x19D) : 0x0

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
 - Fast-Strings......................... : 1 (enabled)
 - FOPCODE compatibility mode Enable.... : 0
 - Automatic Thermal Control Circuit.... : 1 (enabled)
 - Split-lock Disable................... : 0
 - Performance Monitoring............... : 1 (available)
 - Bus Lock On Cache Line Splits Disable : 0
 - Hardware prefetch Disable............ : 0
 - Processor Event Based Sampling....... : 0 (PEBS supported)
 - GV1/2 legacy Enable.................. : 0
 - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
 - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
 - Adjacent sector prefetch Disable..... : 0
 - CFG Lock............................. : 0 (MSR not locked)
 - xTPR Message Disable................. : 1 (disabled)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x591200
------------------------------------------
 - Turbo Attenuation Units.............. : 0 
 - Temperature Target................... : 89
 - TCC Activation Offset................ : 0

MSR_MISC_PWR_MGMT................(0x1AA) : 0x400000
------------------------------------------
 - EIST Hardware Coordination........... : 0 (hardware coordination enabled)
 - Energy/Performance Bias support...... : 1
 - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
 - Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2B2B2B2B2B2B2B2B
------------------------------------------
 - Maximum Ratio Limit for C01.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C02.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C03.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C04.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C05.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C06.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C07.......... : 2B (4300 MHz) 
 - Maximum Ratio Limit for C08.......... : 2B (4300 MHz) 

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
 - Power Policy Preference...............: 1 (highest performance)

MSR_POWER_CTL....................(0x1FC) : 0x2104005B
------------------------------------------
 - Bi-Directional Processor Hot..........: 1 (enabled)
 - C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
 - Power Units.......................... : 3 (1/8 Watt)
 - Energy Status Units.................. : 14 (61 micro-Joules)
 - Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x43857800148460
------------------------------------------
 - Package Power Limit #1............... : 140 Watt
 - Enable Power Limit #1................ : 1 (enabled)
 - Package Clamping Limitation #1....... : 0 (disabled)
 - Time Window for Power Limit #1....... : 10 (2560 milli-Seconds)
 - Package Power Limit #2............... : 175 Watt
 - Enable Power Limit #2................ : 1 (enabled)
 - Package Clamping Limitation #2....... : 1 (allow going below OS-requested P/T state setting Time Window for Power Limit #2)
 - Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
 - Lock................................. : 0 (MSR not locked)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x60C775
------------------------------------------
 - Total Energy Consumed................ : 387 Joules (Watt = Joules / seconds)

MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x1E
MSR_CONFIG_TDP_LEVEL1............(0x649) : 0x940000001B0460
MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0x94000000000000
MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x0
MSR_TURBO_ACTIVATION_RATIO.......(0x64c) : 0x0
MSR_PKGC3_IRTL...................(0x60a) : 0x0
MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0xD8B5C862A
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0xD8B5C862A
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x2A7C7D22C8

IA32_TSC_DEADLINE................(0x6E0) : 0x498F75D597

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......: 12 (1200 MHz)
Maximum non-Turbo Ratio/Frequency........: 30 (3000 MHz)
Maximum Turbo Ratio/Frequency............: 43 (4300 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (12) 32 43 ]
CPU C6-Cores [ 0 2 4 6 8 10 12 14 ]
CPU P-States [ (12) 28 32 43 ]
CPU P-States [ 12 28 32 35 (43) ]
CPU P-States [ (12) 28 30 32 35 43 ]
CPU C6-Cores [ 0 2 4 6 8 10 12 14 15 ]
CPU P-States [ 12 28 30 32 35 37 (43) ]
CPU P-States [ 12 28 30 31 32 35 37 (43) ]
CPU P-States [ 12 28 30 31 32 35 37 41 (43) ]
CPU C6-Cores [ 0 2 4 6 7 8 10 12 14 15 ]
CPU P-States [ (12) 28 29 30 31 32 35 37 41 43 ]
CPU P-States [ 12 28 29 30 31 32 34 35 37 41 (43) ]
CPU P-States [ (12) 25 28 29 30 31 32 34 35 37 41 43 ]
CPU C6-Cores [ 0 2 4 6 7 8 9 10 12 14 15 ]
CPU P-States [ (12) 25 28 29 30 31 32 34 35 36 37 41 43 ]
CPU P-States [ (12) 25 27 28 29 30 31 32 34 35 36 37 41 43 ]
CPU P-States [ (12) 25 27 28 29 30 31 32 33 34 35 36 37 41 43 ]
CPU P-States [ 12 25 26 27 28 29 30 31 32 33 34 35 36 37 41 (43) ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 12 14 15 ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 41 (43) ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 41 (43) ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 41 42 (43) ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 12 13 14 15 ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 (43) ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 11 12 13 14 15 ]
CPU P-States [ 12 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]
CPU P-States [ 12 18 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]
CPU P-States [ 12 18 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]
CPU P-States [ (12) 18 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 ]
CPU P-States [ 12 18 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 (43) ]

----------------------------------------------------
Done populating the CPU states!
----------------------------------------------------
Fedemaxts-Mac-Pro:~ seppia$ 

@Fergarth: which patches did you mean for the c-states?

Im using these ones:

-xcpm performance fix 1 

-Haswell-E CPUID

-XCPM PKG Scope MSRS © Pike R. Alpha

-XCPM Bootstrap Sierra © Pike R. Alpha

-XCPM Core Scope MSRS © Pike R. Alpha

 

-XCPM Idle Patch © Pike R. Alpha

 

Hi,

I am currently using these and I have C-3, C-6 and P-States without losing performance. The Haswell-E CPUID is not missing currently, at least on my CPU and I have stopped using it for some time.

You have to test and see if it works for you as well.

 

XCPM Bootstrap Sierra © Pike R. Alpha

XCPM Performance Fix 1 © Okrasit

XCPM PKG Scope MSRS © Pike R. Alpha

 

If you need it, you have my plist in the link below.

http://www.insanelymac.com/forum/topic/313296-guide-mac-osx-1012-with-x99-broadwell-e-family-and-haswell-e-family/?p=2385263

  • Like 1
Link to comment
Share on other sites

Hello Mfc88

 

I'm excited! It works now really good!!! And very stable. Thank you so much for your help!!!

I'll post new IOReg file a little bit later.

I passed Geekbench 4 tests, and as I can see it looks like approx twice slower than expected (~2600 single core and ~18900 multi core also).

 

I also have a question about BIOS settings. What are recommended settings for this configuration?

My BIOS settings: 10.12.3

 

You'll want to experiment with these XCPM patches in your config.plist's "KernelToPatch" (you're going to have to do a lot of Geekbench tests and see which ones add performance/take away performance and whether or not they'll make your CPU stable/instable):

F: 83c3c483 fb22
R: 83c3c183 fb22
C: _xcpm_bootstrap Sierra © Pike R. Alpha

F: 89d8c1e0 08b99901
R: b800ff00 00b99901 
C: xcpm performance fix 1 (wrsmr fix to get CPU max) © okrasit

F: 20b9e200 00000f30 
R: 20b9e200 00009090 
C: XCPM_idle Replace All fix by Pike R. Alpha

F: be020000 0031d2e8 6cfcffff 
R: be020000 0031d290 90909090 
C: _xcpm_core_scope_msrs  © Pike R. Alpha

F: be070000 0031d2e8 94fcffff 
R: be070000 0031d290 90909090 
C: _xcpm_pkg_scope_msr  © Pike R. Alpha

F: be0b0000 0031d2e8 59fcffff 
R: be0b0000 0031d290 90909090 
C: _xcpm_SMT_scope_msrs  © Pike R. Alpha

F: be0b0000 005de908 000000
R: be0b0000 005dc390 909090
C: _xcpm_SMT_scope_msrs  © Pike R. Alpha
  • Like 1
Link to comment
Share on other sites

Well, CPU-S v3.8 is now available, but only in Chinese... I may try to translate it at this weekend, if I have spare time, which is actually hard to get...

 

The GitHub Repo is here. Everything credits to the original software developer.

 

 

UPDATE @ 03/24, 20:30 CST: Sorry. No. For Chinese and English they are in different branches and thus it's more than just translating... So update aborted.

 

Regards,

PMheart

Edited by PMheart
  • Like 3
Link to comment
Share on other sites

Now with Sierra 12.4 Beta 8 (16E192b) and again everything works fine.

mfc88, i tried taking my fat DSDT and using SSDTs you suggested and was having a heart attack! ?

I lost the sound and all the PCI Devices... sorry friend, but I love my fat! ?

post-1313347-0-42716000-1490050929_thumb.png

post-1313347-0-01930400-1490050949_thumb.png

  • Like 2
Link to comment
Share on other sites

Now with Sierra 12.4 Beta 8 (16E192b) and again everything works fine.

mfc88, i tried taking my fat DSDT and using SSDTs you suggested and was having a heart attack!

I lost the sound and all the PCI Devices... sorry friend, but I love my fat!

From using my SSDTs? 

 

Just so you know, my SSDTs will conflict with your fakeSMC USB injection. Otherwise, it shouldn't cause loss of PCI devices...

  • Like 2
Link to comment
Share on other sites

Let's try with this CLOVER folder (just slap it over your current "CLOVER" folder inside the harddrive's "EFI" folder)...

 

Note: You can add the kexts to S/L/E or EFI->Clover->kexts->10.12, but read the notes below carefully:

- Please remove your current FakeSMC.kext and swap it with the FakeSMC.kext provided in KextsToAdd_SLE

- Please remove AHCI_Intel_Generic_SATA.kext and only use AHCIPortInjector.kext

- Please remove BluetoothDevBroadcomInjector.kext if using it and swap with BrcmFirmwareData.kext + BrcmPatchRAM2.kext

- Please remove X99_Injector USB 3.kext if using it and replace with USBInjectAll.kext + XHCI-x99-injector.kext

- Please remove RealtekALC.kext if using it and replace with AppleHDA_ALC1150.kext + AppleHDA.kext <--- not needed if yours is already vanilla

 

Set your BIOS according to below:

- Under Advanced:
/USB Configuration:

  • Intel XHCI Mode - Enable
  • EHCI Legacy Support - Disabled
  • XHCI Hand-off - Disabled
  • EHCI Hand-off - Disabled

 

What's recommended afterward:
- Attach a new IOReg file with the Clover/kexts installed and post it here
- Create a custom SSDT-UIAC.aml (for USBs) via Rehabman's "Creating a custom SSDT for USBInjectAll" or mine.

fergarth-CLOVER.zip

KextsToAdd_SLE.zip

  • Like 2
Link to comment
Share on other sites

Well, I think i came to a stable and quite satisfactory setup.

As a way to say THANKS to you all, I want to summarise my settings and hopefully be of some help to next ones with a similar rig.

 

My Setup:

  • X99 Gigabyte UD4 Revision 1.0 | Bios version F22
  • i7 5960x
  • Zotac GTX 980 AMP! Extreme
  • Samsung SM951 500GB AHCI
  • 32GB Kit Corsair Dominator Platinum DDR4-2666 (4x8GB)
  • Corsair Hydro Series H110i
  • 500SSD Samsung 850EVO
  • 2x 4TB SSHD in RAID 1
  • OS 10.12.3 (16D32)

 

BIOS Settings (Thanks @Fabiosun & @Fergarth)

  • C1E Enable
  • C6/C7 Enable
  • CPU TM Enable
  • C3 Enable
  • EIST Disable
  • Sync All Cores Enable
  • XHCI Hand-off Enabled
  • EHCI Hand-off Disabled

 

SSDT/DSDT/FrequencyVectors

 

SSDT:

 

    1. SSDT generation with XCPM enabled (Thanks @mfc88)

curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh

chmod +x ~/ssdtPRGen.sh

sudo ~/ssdtPRGen.sh x -1
 

    2. In the freshly generated SSDT maxTurboFrequency value changed to 5000 (Thanks @nmano)

 

 

DSDT

With the DSDT converted by @mfc88 into single SSDTs I had no graphics, so I´m staying at the moment only with the patched DSDT.aml & the ssdtPRGen.sh generated ssdt.aml. As soon as I have time I will try mfc88s´ solution.

 

  • DSDT patches for Graphics and HDMI Audio (Thanks @nmano) Note: All credits to @nmano, I´ll attach the folder here for clarity
  1. Rename first;
  2. X99DSDT Devices Patches—>Graphics—>Graphics and HDMI Final.txt

 

Frequency Vectors (Thanks @Fabiosun & @mfc88)

  • Vectors iMac 14,2

 

DSDT XHCI to XHC 

  • 58484349 to 5848435f 

DSDT EHC1 to EH01

  • 45484331 to 45483031

DSDT EHC2 to EH02

  • 45484332 to 45483032

 

C-States active using only following Kernel Patches: (Thanks @Fergarth)

  • XCPM Bootstrap Sierra © Pike R. Alpha
  • XCPM Performance Fix 1 © Okrasit
  • XCPM PKG Scope MSRS © Pike R. Alpha

 

USB 3.0 & 2.0 Injection

Through USBInjectAll.kext

(With time I will create a custom SSDT for USBInjectAll for USB port mapping as @mfc88 suggested via RehabMan https://github.com/RehabMan)

 

Audio Realtek 1150 (Thanks @mfc88 & @Fergarth)

  • Through Vanilla AppleHDA.kext & AppleHDA_ALC1150.kext installation in SLE with Kext Utility

Kext Patches for Audio:

  • Adding ALC1150 codec ID
  • 10.12.x, Zeroing out redundant 0x11d4198a
  • Fixing sound loss #1
  • Fixing sound loss #2
  • Removing logs for AppleHDA
  • Removing logs for AppleHDAController
  • Adding x99 HDMI Audio Controller ID

 

OVERCLOCK

RAM: XMP Profile 1 (@2667Mhz) | RAM Voltage stable @ 1.300V (Stress-Tested with memtest v4.22)

(Adjusted config.plist with RAM frequencies attached, tho it works with just SMBIOS-->Trust checkbox enabled)

CPU: i7 5960x OC stable @4.3Ghz | 1.300V VCore | 1.150V CPU Ring Voltage | PWM Phase Control eXm Perf

 

 

Hope I didn´t forget anything. Cheers!

 

 

Fedemaxt_EFI.zip

post-1730521-0-26378300-1490096580_thumb.png

post-1730521-0-07545800-1490096582_thumb.png

post-1730521-0-84019600-1490096582_thumb.png

Nmanos_X99DSDT_Fix.zip

AppleHDA_KextsToAdd_SLE.zip

  • Like 2
Link to comment
Share on other sites

DSDT

With the DSDT converted by @mfc88 into single SSDTs I had no graphics, so I´m staying at the moment only with the patched DSDT.aml & the ssdtPRGen.sh generated ssdt.aml. As soon as I have time I will try mfc88s´ solution.

 

Oops! Looks like I referenced the wrong D0xx device. Use this SSDT-BR3A.aml instead and try again.

 

You'll also want the SSDT-XHC.aml (only for x99 systems) for USB power options (charging USB devices). Just drop it in patched as well...

SSDT-BR3A.aml.zip

SSDT-XHC.aml.zip

  • Like 2
Link to comment
Share on other sites

Hi mfc88,

You still have not persuaded me to divorce my plump DSDT :P

I created an EFI specifically for what you suggested, I changed the USB settings on Bios (the USBs work but without 2.0 with your USB SSDT), I used your attachments in # 1443 and did everything as it had to be done!

Result: After reboot I lost the sound, wi-fi and all PCI devices in About This Mac ...
But anyway, I'll leave you attached here that you asked and I use now.

Fernando’s Mac Pro.zip

Link to comment
Share on other sites

Hi mfc88,

You still have not persuaded me to divorce my plump DSDT :P

I created an EFI specifically for what you suggested, I changed the USB settings on Bios (the USBs work but without 2.0 with your USB SSDT), I used your attachments in # 1443 and did everything as it had to be done!

Result: After reboot I lost the sound, wi-fi and all PCI devices in About This Mac ...

But anyway, I'll leave you attached here that you asked and I use now.

If you can, with the EFI folder installed (the EFI folder you've posted above is the old one, use the newer one), provide me an IOReg file and a text file with the Clover Configurator boot.log, and a kextstat output then that'd be appreciated.

 

As far as what I've done... not much. Extracted your _DSMs line by and line and added them to an SSDT (with the exception of DTGP). Perhaps, you may need it? Not sure, I'll determine that after you attach the above.

  • Like 2
Link to comment
Share on other sites

Good night, i came here as an last trying to get my hack work.

 

All was running correctly, but, after a graphic card change (came from GTX580 to GTX980ti) i can't boot the system, or launch installation. Only get ramdoms reboots...Any idea?

 

My specs:

 

i7-5820K

Gigabyte X99-UD4P (Bios F22K)

Gigabyte GTX980Ti G1 Gaming

32Gb DDR4 GSkill 2600Mhz

 

Thanks in advance.

Link to comment
Share on other sites

Good night, i came here as an last trying to get my hack work.

 

All was running correctly, but, after a graphic card change (came from GTX580 to GTX980ti) i can't boot the system, or launch installation. Only get ramdoms reboots...Any idea?

 

My specs:

 

i7-5820K

Gigabyte X99-UD4P (Bios F22K)

Gigabyte GTX980Ti G1 Gaming

32Gb DDR4 GSkill 2600Mhz

 

Thanks in advance.

Hi,

Although we have different boards, if you want, try with my EFI :)

If it is a new installation used in Clover the flags -v nv_disable=1 ncpi=0x3000

It's all in the EFI and if you needed change Osxaptiofix driver to osxaptiofix2 or osxaptiofix2drv_free2000 ?

EFI.rar

Link to comment
Share on other sites

Hi,

Although we have different boards, if you want, try with my EFI :)

If it is a new installation used in Clover the flags -v and nv_disable=1

 

Ok, thanks i will try it! 

 

By the moment i reached install screen with a new USB with OSXAptio2 (rare because X99 reboot with it), used flags: npci=0x2000 -v nv_disable=1

 

:)

Link to comment
Share on other sites

 

i7-5820K

Gigabyte X99-UD4P (Bios F22K)

Gigabyte GTX980Ti G1 Gaming

32Gb DDR4 GSkill 2600Mhz

 

 

Hi,

 

if it is of any help, I´ll attach the EFI folder I used during installation, we have a similar rig, although my MB is an older UD4

EFI.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...