Jump to content

Open CORE Kernel & Kext patch for X99/X299 motherboard


nmano
Message added by fantomas

The contents of these post are outdated, all the XCPM patches for X99 and similar chipsets can be enabled within Kernel → Quirks section

435 posts in this topic

Recommended Posts

  • 3 weeks later...

XCPM 12.0.1 X99/X299

 

 

Before test  uncheck your Config.plist and in Bios Eist & C6/C7 Enabled

Kernel-> Quirks->

AppleCpuPmCfgLock-Yes

AppleXcpmExtraMsrs-No

AppleXcpmForceBoost-No

If you are using _xcpm_bootstrap patch you have to Emulate Original CPUID

 

#Kernel->Emulate->Your CPU Original ID

 

#CPUID          Cascade Lake-X 0x050657

 

Cpuid1Data   <->  57060500 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

 

 

#CPUID           Skylake-X 0x050654  /Skylake-H 0x0406E3

 

Cpuid1Data   <->  54060500 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

#CPUID         0x0306F2   Haswell-E/Haswell 0x0306C3

 

Cpuid1Data   <->  F2060300 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000 

 

#CPUID         0x0406F1   Broadwell-E/Broadwell 0x0306D4

 

Cpuid1Data   <-> F1060400 00000000 00000000 00000000

Cpuid1Mask  <->  FFFFFFFF 00000000 00000000 00000000

 

please check XCPM patches in my config.plist

Kernel->patch

config XCPM 12.plist

  • Like 2
  • Thanks 2
Link to comment
Share on other sites

On 11/22/2021 at 12:22 PM, nmano said:

XCPM 12.0.1 X99/X299

 

 

Before test  uncheck your Config.plist and in Bios Eist & C6/C7 Enabled

Kernel-> Quirks->

AppleCpuPmCfgLock-Yes

AppleXcpmExtraMsrs-No

AppleXcpmForceBoost-No

If you are using _xcpm_bootstrap patch you have to Emulate Original CPUID

 

#Kernel->Emulate->Your CPU Original ID

 

#CPUID          Cascade Lake-X 0x050657

 

Cpuid1Data   <->  57060500 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

 

 

#CPUID           Skylake-X 0x050654  /Skylake-H 0x0406E3

 

Cpuid1Data   <->  54060500 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

#CPUID         0x0306F2   Haswell-E/Haswell 0x0306C3

 

Cpuid1Data   <->  F2060300 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000 

 

#CPUID         0x0406F1   Broadwell-E/Broadwell 0x0306D4

 

Cpuid1Data   <-> F1060400 00000000 00000000 00000000

Cpuid1Mask  <->  FFFFFFFF 00000000 00000000 00000000

 

please check XCPM patches in my config.plist

Kernel->patch

config XCPM 12.plist 53.25 kB · 8 downloads

Is there an update for _xcpm_bootstrap? 

 

I used the new patches with old _xcpm_bootstrap and my system won't boot into opencore bootloader.

 

It boots when I disable _xcpm_bootstrap but then the fans run at full speed.

 

Any ideas?

 

my CPU is 5820K

 

Thanks

Link to comment
Share on other sites

1 hour ago, tsader said:

Is there an update for _xcpm_bootstrap? 

 

I used the new patches with old _xcpm_bootstrap and my system won't boot into opencore bootloader.

 

It boots when I disable _xcpm_bootstrap but then the fans run at full speed.

 

Any ideas?

 

my CPU is 5820K

 

Thanks

If you use xcpm_bootstrap patch you have to add original CPU I’d try new patches.

Link to comment
Share on other sites

On 11/25/2021 at 11:30 AM, nmano said:

If you use xcpm_bootstrap patch you have to add original CPU I’d try new patches.

Hey nmano,

 

Thanks for getting back on that one!

 

That's where lies my problem, I am not sure if I am missing anything. When disabling xcpm_bootstrap then it boots fine but then the fans are running at full speed and CPU temperature is going up nonstop.

Any suggestion why that might be happening?

 

I've attached my EFI just in case

 

Thanks 

EFI.zip

Link to comment
Share on other sites

HI Friends

My mistake I forgot to update xcpm_bootstrap I am sorry.

XCPM 12.0.1 X99/X299

 

 

Before test  uncheck your Config.plist and in Bios Eist & C6/C7 Enabled

Kernel-> Quirks->

AppleCpuPmCfgLock-Yes

AppleXcpmExtraMsrs-No

AppleXcpmForceBoost-No

If you are using _xcpm_bootstrap patch you have to Emulate Original CPUID

 

#Kernel->Emulate->Your CPU Original ID

 

#CPUID          Cascade Lake-X 0x050657

 

Cpuid1Data   <->  57060500 00000000 00000000 00000000 

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

 

 

#CPUID           Skylake-X 0x050654  /Skylake-H 0x0406E3

 

Cpuid1Data   <->  54060500 00000000 00000000 00000000 

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

#CPUID         0x0306F2   Haswell-E/Haswell 0x0306C3

 

Cpuid1Data   <->  F2060300 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000 

 

#CPUID         0x0406F1   Broadwell-E/Broadwell 0x0306D4

 

Cpuid1Data   <-> F1060400 00000000 00000000 00000000

Cpuid1Mask  <->  FFFFFFFF 00000000 00000000 00000000 

 

please check XCPM patches in my config.plist

Kernel->patch

config XCPM 12.plist

 

Thanks your support.

  • Like 4
Link to comment
Share on other sites

On 11/29/2021 at 5:06 PM, nmano said:

HI Friends

My mistake I forgot to update xcpm_bootstrap I am sorry.

 

XCPM 12.0.1 X99/X299

 

 

Before test  uncheck your Config.plist and in Bios Eist & C6/C7 Enabled

Kernel-> Quirks->

AppleCpuPmCfgLock-Yes

AppleXcpmExtraMsrs-No

AppleXcpmForceBoost-No

If you are using _xcpm_bootstrap patch you have to Emulate Original CPUID

 

#Kernel->Emulate->Your CPU Original ID

 

#CPUID          Cascade Lake-X 0x050657

 

Cpuid1Data   <->  57060500 00000000 00000000 00000000 

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

 

 

#CPUID           Skylake-X 0x050654  /Skylake-H 0x0406E3

 

Cpuid1Data   <->  54060500 00000000 00000000 00000000 

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

#CPUID         0x0306F2   Haswell-E/Haswell 0x0306C3

 

Cpuid1Data   <->  F2060300 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000 

 

#CPUID         0x0406F1   Broadwell-E/Broadwell 0x0306D4

 

Cpuid1Data   <-> F1060400 00000000 00000000 00000000

Cpuid1Mask  <->  FFFFFFFF 00000000 00000000 00000000 

 

please check XCPM patches in my config.plist

Kernel->patch

config XCPM 12.plist 56.14 kB · 16 downloads

 

Thanks your support.

 

Hello. 

With patch  xcpm_bootstrap HASwell-E  Modify By N.Mano, the system does not load, freezes before verbose mode.

  • Like 1
Link to comment
Share on other sites

1 hour ago, ACIDSky said:

 

Hello. 

With patch  xcpm_bootstrap HASwell-E  Modify By N.Mano, the system does not load, freezes before verbose mode.

The patch is working. See what you did wrong.

  • Like 1
Link to comment
Share on other sites

15 hours ago, pitrysha said:

The patch is working. See what you did wrong.

Of the entire set of patches, only this one does not allow the system to boot. Disabling it allows you to boot the OS.

  • Like 1
Link to comment
Share on other sites

17 minutes ago, ACIDSky said:

Of the entire set of patches, only this one does not allow the system to boot. Disabling it allows you to boot the OS.

 

I am experiencing the same issue with my Haswell-E. And when disabling it boots but it starts to overheat and fans are running high.

Link to comment
Share on other sites

Hi Friends

Montery Give more Hard work.

If you can't boot try this this FakeCPUID with out bootstrap patch.

 

#Kernel->Emulate->FakeID

 

#FakeCPUID         0x050654  Skylake-X/Skylake-U 0x0406E3

 

Cpuid1Data   <->  E3060400 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

 

#FakeCPUID         0x050654  Skylake-X/Skylake-H 0x0506E3

 

Cpuid1Data   <->  E3060500 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000

 

 

#FakeCPUID         0x0306F2   Haswell-E/Haswell 0x0306C3

 

Cpuid1Data   <->  C3060300 00000000 00000000 00000000

Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000 

 

#FakeCPUID         0x040674   Broadwell-E/Broadwell 0x0306D4

 

Cpuid1Data   <-> D4060300 00000000 00000000 00000000

Cpuid1Mask  <->  FFFFFFFF 00000000 00000000 00000000

 

#FakeCPUID            Intel(R) Xeon(R) CPU E5 0x0206D7

 

Cpuid1Data   <-> D7060200 00000000 00000000 00000000

Cpuid1Mask  <->  FFFFFFFF 00000000 00000000 00000000

 

 

 

 

Please try

#with  FakeCPUID

#with Original CPUID

#No IDs & no bootstrap patch.

Link to comment
Share on other sites

2 hours ago, nmano said:

Please try

#with  FakeCPUID

#with Original CPUID

#No IDs & no bootstrap patch.

 

1. The OS is loaded with a patch, frequency control does not work.

2. The OS does not load with the patch.

3. The OS is loaded without a patch, frequency control does not work.

  • Like 1
Link to comment
Share on other sites

4 hours ago, ACIDSky said:

 

1. The OS is loaded with a patch, frequency control does not work.

2. The OS does not load with the patch.

3. The OS is loaded without a patch, frequency control does not work.

I thing _xcpm_enable_pstate_patch not work.

Please try without _xcpm_enable_pstate_patch with Original CPUID with bootstrap patch.

Thanks for your support.

Edited by nmano
  • Like 1
Link to comment
Share on other sites

14 hours ago, nmano said:

I thing _xcpm_enable_pstate_patch not work.

Please try without _xcpm_enable_pstate_patch with Original CPUID with bootstrap patch.

Thanks for your support.

If you disable "patch _xcpm_enable_pstate_patch (c) Pike R. Alpha Modify By N.Mano. 12.0.1", then with the patch " xcpm_bootstrap HASwell-E  Modify By N.Mano" Mac OS is loaded and frequency control works. But the PC performance is lower than with a working "_xcpm_enable_pstate_patch" patch in Mac OS 11.6.

 

I compared the disassembled Kernel 11.6 and 12.0, as far as my knowledge was enough, there are very strong differences in the place where "_xcpm_enable_pstate_patch" works

Edited by ACIDSky
  • Like 1
Link to comment
Share on other sites

Please ask @PMheart

He is best coder.

Link to comment
Share on other sites

  • 2 weeks later...

Hello everyone

I have a system with Asus X99 A II and 1650 v4 , running High Sierra because i have a gtx950. I am running OC 0.7.6 and i have a strange perf drop after a couple of minutes.

I have edited my motherboard bios to unlock CFG , i have fakecpuid set to D4060300 00000000 00000000 00000000 and AppleXcpmExtraMsrs checked, with the CPUPM and XCPM lock unchecked (as i have the modded bios).

XCMP is loaded fine, cpu gets to 1.2ghz at idle and boosts to 4ghz single core properly, and it keeps the same exact reported frequencies when running CB - 3.8 ghz. But i see the score going much lower and also power usage goes down (i am using intel power gadget): i have 1150 cinebench r15 and 85w power usage when i boot, then it drops around 800points at 65w

I hate that i cannot see what these "xcpm extra msrs" are doing and how that works inside opencore, it's hard to find documentation, i huess they are not caring about high sierra anymore?

Edited by WhenMusicAttacks
Link to comment
Share on other sites

On 12/17/2021 at 10:37 AM, WhenMusicAttacks said:

Hello everyone

I have a system with Asus X99 A II and 1650 v4 , running High Sierra because i have a gtx950. I am running OC 0.7.6 and i have a strange perf drop after a couple of minutes.

I have edited my motherboard bios to unlock CFG , i have fakecpuid set to D4060300 00000000 00000000 00000000 and AppleXcpmExtraMsrs checked, with the CPUPM and XCPM lock unchecked (as i have the modded bios).

XCMP is loaded fine, cpu gets to 1.2ghz at idle and boosts to 4ghz single core properly, and it keeps the same exact reported frequencies when running CB - 3.8 ghz. But i see the score going much lower and also power usage goes down (i am using intel power gadget): i have 1150 cinebench r15 and 85w power usage when i boot, then it drops around 800points at 65w

I hate that i cannot see what these "xcpm extra msrs" are doing and how that works inside opencore, it's hard to find documentation, i huess they are not caring about high sierra anymore?

 Don't judge me guy but that extra MSR quirk in OPENCORE I believed the only CPUs that really gets any benefit from are the XEONS, other most experience moderator can collaborate in full detail, its mainly for turboboost on CPUs not reaching the TDP I can see a performance boost on my CPU cause mine its a XEON 2696v4 and its TDP is 150 and the regular v4 TDP is 145 so with this quirk active my performance in GB5 increase about 10% more also the XEONs V3 since now they can have unlocked turboboost also can benefit from, in your case your benefit lice on Overclocking what else more you want. 

Link to comment
Share on other sites

Cpuid1Data   C3060300 00000000 00000000 00000000  -> replaces patch  "xcpm_bootstrap HASwell-E  Modify By N.Mano"

AppleXcpmExtraMsrs   ->  replaces the rest of the patches XCPM @nmano

Link to comment
Share on other sites

  • 2 weeks later...

Are you all able to get lower frequencies on your systems? Previously, this was achieved with PMDrvr.kext, but that doesn't seem functional under Monterey. My E5-2697v3 seems to have some variance in frequency with the OC Quirks for XCPM, but only small amounts, usually between 2.6 and 2.9GHz, but even at idle seems to sit in that range.

Link to comment
Share on other sites

1 hour ago, NOTNlCE said:

Are you all able to get lower frequencies on your systems? Previously, this was achieved with PMDrvr.kext, but that doesn't seem functional under Monterey. My E5-2697v3 seems to have some variance in frequency with the OC Quirks for XCPM, but only small amounts, usually between 2.6 and 2.9GHz, but even at idle seems to sit in that range.

Multi-core CPU don't have a smooth straight line

2021-12-29.png

Link to comment
Share on other sites

×
×
  • Create New...