Jump to content

[Guide 2018] Z820 - HIGH SIERRA, The great guide (Sucess)


bilbo
 Share

607 posts in this topic

Recommended Posts

Just updated my Mojave to Catalina 10.15.2!

PM works "out-of-the-box" without need to patch AICPM. LegacyX86PlatformPlugin.kext is loaded and has been moved into /L/E (previously on S/L/E).

 

Here's my AppleIntelInfo.dat after a couple of Geekbench 4 and 5 runs:

Mac-Pro-di-Antonio:~ antonio$ sudo cat /tmp/AppleIntelInfo.dat
AppleIntelInfo.kext v2.9 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.
logIGPU..................................: 0
logCStates...............................: 1
logIPGStyle..............................: 1

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

Here's the output of PM relevant commands:

Mac-Pro-di-Antonio:~ antonio$ kextstat|grep -y appleintelcpu
   40    0 0xffffff7f81fc6000 0x2a000    0x2a000    com.apple.driver.AppleIntelCPUPowerManagement (222.0.0) E3D6BA7C-CAAA-3125-A74B-DCD4B00960BD <8 7 6 5 3 1>
   54    0 0xffffff7f8204e000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (222.0.0) 003F60E0-5A36-315D-AAEB-B81F22F9B8B2 <8 7 6 5 3 1>
Mac-Pro-di-Antonio:~ antonio$ kextstat|grep -y x86plat
  127    1 0xffffff7f82e18000 0x18000    0x18000    com.apple.driver.X86PlatformPlugin (999.9.9) 134B18EB-0AF1-3844-B968-332792E91614 <126 63 25 15 12 8 7 6 5 3 1>
  151    1 0xffffff7f830e8000 0x7000     0x7000     com.apple.driver.X86PlatformShim (1.0.0) F90748F4-FED4-384F-96EA-EC02E59021BE <127 126 15 8 5 3>
Mac-Pro-di-Antonio:~ antonio$ sysctl -n machdep.xcpm.vectors_loaded_count
0
Mac-Pro-di-Antonio:~ antonio$ sysctl -n machdep.xcpm.mode
0

Finally, the AICPMPatch command output:

Mac-Pro-di-Antonio:AICPMPatch antonio$ sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

/System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

arch: x86_64

delta: 1
000000000000977c	movl	$0x000000e2,%ecx
0000000000009781	wrmsr

delta: 1
000000000000982f	movl	$0x000000e2,%ecx
0000000000009834	wrmsr

delta: 1
0000000000009845	movl	$0x000000e2,%ecx
000000000000984a	wrmsr

delta: 1
0000000000009963	movl	$0x000000e2,%ecx
0000000000009968	wrmsr

delta: 1
000000000000a270	movl	$0x000000e2,%ecx
000000000000a275	wrmsr

delta: 1
000000000000aca2	movl	$0x000000e2,%ecx
000000000000aca7	wrmsr

delta: 1
000000000000b0ae	movl	$0x000000e2,%ecx
000000000000b0b3	wrmsr

delta: 1
00000000000107d8	movl	$0x000000e2,%ecx
00000000000107dd	wrmsr

delta: 1
0000000000011bfb	movl	$0x000000e2,%ecx
0000000000011c00	wrmsr

delta: 1
0000000000012cab	movl	$0x000000e2,%ecx
0000000000012cb0	wrmsr

/System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement: Read-only file system

 

Link to comment
Share on other sites

On 12/11/2019 at 2:29 AM, XLNC said:

@bilbo can you post the output of these commands :

 

kextstat|grep -y appleintelcpu
kextstat|grep -y x86plat 

sysctl -n machdep.xcpm.vectors_loaded_count
sysctl -n machdep.xcpm.mode


thanks !

 

 

kextstat|grep -y appleintelcpu

   24    0 0xffffff7f82dcf000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) 7DB9DBCF-2473-3D1A-8D5C-8317AE882D28 <7 6 5 4 3 1>
   36    0 0xffffff7f82dca000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>

 

> kextstat|grep -y x86plat

   97    1 0xffffff7f81292000 0x17000    0x17000    com.apple.driver.X86PlatformPlugin (9.9.9) 7A4289C8-1162-389D-8FBF-99730287DB72 <96 95 50 19 11 7 6 5 4 3 1>
  142    1 0xffffff7f82204000 0x7000     0x7000     com.apple.driver.X86PlatformShim (1.0.0) 8E873270-42BC-309E-ACE0-EAE2333623C6 <97 96 95 7 4 3>

 

> sysctl -n machdep.xcpm.vectors_loaded_count

0

 

> sysctl -n machdep.xcpm.mode

0

;)

 

by the way... this is on Sierra. Not High Sierra

Edited by bilbo
Link to comment
Share on other sites

About PM on mojave, maybe clover was updated to do automatically the first part of the patch. It was a known bug that AppeIntelCPUPM patch didn't work for our X58 plattform. I read about that in the original PM patch for el capitan. In fact, as I wrote in the guide, the patch ( the "delta" patch thing) does what the clover patch should do. So maybe clover was updated and this bug fixed. Or maybe some things are new in Mojave. I'm out of all this since two years. Power Management has been hard to understand me, because read big bricks in English is not among my limited skins. That is because I used to not write to much about PM.

 

What is completely surprising is not need the ssdt generated by pikescript. Any try to use the any clover patch to autogenearte a ssdt (acpmi section) get always a KP. Always.

 

would be really nice to have automatic PM due to clover or mojave. All this could become in a drag-and-drop clover folder matter.

 

Link to comment
Share on other sites

4 minutes ago, bilbo said:

About PM on mojave, maybe clover was updated to do automatically the first part of the patch. It was a known bug that AppeIntelCPUPM patch didn't work for our X58 plattform. I read about that in the original PM patch for el capitan. In fact, as I wrote in the guide, the patch ( the "delta" patch thing) does what the clover patch should do. So maybe clover was updated and this bug fixed. Or maybe some things are new in Mojave. I'm out of all this since two years. Power Management has been hard to understand me, because read big bricks in English is not among my limited skins. That is because I used to not write to much about PM.

 

What is completely surprising is not need the ssdt generated by pikescript. Any try to use the any clover patch to autogenearte a ssdt (acpmi section) get always a KP. Always.

 

would be really nice to have automatic PM due to clover or mojave. All this could become in a drag-and-drop clover folder matter.

 

^__^
SSDT is still present in my EFI bilbo...

Link to comment
Share on other sites

1 hour ago, bilbo said:

 

 

kextstat|grep -y appleintelcpu


   24    0 0xffffff7f82dcf000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) 7DB9DBCF-2473-3D1A-8D5C-8317AE882D28 <7 6 5 4 3 1>
   36    0 0xffffff7f82dca000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>

 

> kextstat|grep -y x86plat


   97    1 0xffffff7f81292000 0x17000    0x17000    com.apple.driver.X86PlatformPlugin (9.9.9) 7A4289C8-1162-389D-8FBF-99730287DB72 <96 95 50 19 11 7 6 5 4 3 1>
  142    1 0xffffff7f82204000 0x7000     0x7000     com.apple.driver.X86PlatformShim (1.0.0) 8E873270-42BC-309E-ACE0-EAE2333623C6 <97 96 95 7 4 3>

 

> sysctl -n machdep.xcpm.vectors_loaded_count


0

 

> sysctl -n machdep.xcpm.mode


0

;)

 

by the way... this is on Sierra. Not High Sierra


thanks for the output !
looks like XCPM is not working 
both xcpm and frequency vectors returned zero.

xcpm will only work when `kextstat|grep -y appleintelcpu` returns nothing
and
`kextstat|grep -y x86plat` returns as kext loaded
and 
`sysctl -n machdep.xcpm.vectors_loaded_count`
and `sysctl -n machdep.xcpm.mode` returns 1.

Link to comment
Share on other sites

Wow! That's great news Antonio.clb :thumbsup_anim:

 

at least for a Noob like me. Mojave is Noob Friendly :D

 

So I don't have to do anything related to PM patching now, just verify with that sensor & HWMon package that my CPU speed really vary. Will test during weekend and If looks Ok - then start installing applications.

 

But then again, XLNC comment indicates that PM is not working if those few last commands return value 0 ?

 

But perhaps that's in old macOS versions ? or with old Clover versions ?

(I have 5099, and 5100 just released few days ago (with Fix) in Git where I downloaded mine (not from sourceforge)).

 

It's also great news that your Z620 works also with Catalina, so investing $$$ to Z820 was not wrong (robust desktop) and there is support when when time comes for Catalina. I will stick with Mojave for now because I don't think that Catalina is not mature enough and there will be many Updates that will need Noob to do "patching" and that's not my expertise.

 

One thing, off topic - sorry. But from your signature I noticed that you have NVMe SSD as System disk !!

So does your Z620 boot from that NVMe SSD as I thought that HP Z4xx, Z6xx and Z8xx are so "old" that their BIOS doesn't support Booting from NVMe SSD. Newest Z840 maybe does support ? Or do you have some trick behind this to get it Bootable. What PCIe adapter you use for your NVMe SSD (ROM for boot support?) and to what card slot you have it installed ? Is the R/W performance any good ? Better than normal SATA SSD anyway I bet. But does it reach the Samsung official maximum or due old C602 chipset something in the middle ?

 

I'm interested also to add NVMe SSD to System disk into my Mojave but thought that it's not supported and waist of money. Now it's Xmas time and there are some good Xmas gift offers in IT shops...

 

Your RAID 1 with different HDU's is wise also to avoid possible FW caused errors (counters full, etc). Have happend once to me in Win side, lessons learned. Never same model/brand for RAID.

 

Once again, Thx to all for your help !

 

 

Link to comment
Share on other sites

26 minutes ago, Ragimund (HP Z820) said:

Wow! That's great news Antonio.clb :thumbsup_anim:

 

at least for a Noob like me. Mojave is Noob Friendly :D

 

So I don't have to do anything related to PM patching now, just verify with that sensor & HWMon package that my CPU speed really vary. Will test during weekend and If looks Ok - then start installing applications.

 

But then again, XLNC comment indicates that PM is not working if those few last commands return value 0 ?

  

But perhaps that's in old macOS versions ? or with old Clover versions ?

(I have 5099, and 5100 just released few days ago (with Fix) in Git where I downloaded mine (not from sourceforge)).

 

It's also great news that your Z620 works also with Catalina, so investing $$$ to Z820 was not wrong (robust desktop) and there is support when when time comes for Catalina. I will stick with Mojave for now because I don't think that Catalina is not mature enough and there will be many Updates that will need Noob to do "patching" and that's not my expertise. 

 

One thing, off topic - sorry. But from your signature I noticed that you have NVMe SSD as System disk !!

So does your Z620 boot from that NVMe SSD as I thought that HP Z4xx, Z6xx and Z8xx are so "old" that their BIOS doesn't support Booting from NVMe SSD. Newest Z840 maybe does support ? Or do you have some trick behind this to get it Bootable. What PCIe adapter you use for your NVMe SSD (ROM for boot support?) and to what card slot you have it installed ? Is the R/W performance any good ? Better than normal SATA SSD anyway I bet. But does it reach the Samsung official maximum or due old C602 chipset something in the middle ?

 

I'm interested also to add NVMe SSD to System disk into my Mojave but thought that it's not supported and waist of money. Now it's Xmas time and there are some good Xmas gift offers in IT shops...

  

Your RAID 1 with different HDU's is wise also to avoid possible FW caused errors (counters full, etc). Have happend once to me in Win side, lessons learned. Never same model/brand for RAID.

  

Once again, Thx to all for your help ! 

 

 

Hello!

XCPM is not working well (even after patching AICPM kext), I'm investigating. Thanks to @XLNC for pointing this out. Any clue?

To use NVMe SSD as system disk you have to install Clover on a boot-visible disk (in my case, both RAID-1 HDDs, taking care to manually mirror the EFI partition). Alternatively you can add a spare HDD in any SATA port or a USB drive on a USB 2.0 port and install Clover on it.

NVMe performace is good (not optimal), here's a couple of benchmarks:

image.thumb.png.4605fd08eacfc7a2e413ba270a5af5e6.png

image.thumb.png.26ff827781307c732a901842f7880c65.png

Avoid Samsung EVO Plus series, looks like APple NVMe driver implementation is not supporting it well and system won't boot (tested on Mojave).

Link to comment
Share on other sites

Hi,

Wow, those are really nice results, about 3-4x normal SATA3 SSD speeds.

Your Z620 works like lightning speed   :superman:

 

So, PCIe adapter and NVMe SSD is back at my Xmas list now :D

Just have to buy something "expensive" for my GF too so she wont notice my "gift" for Hackintosh...

 

I will probably use USB pen drive in USB2 port and Clover there.

 

Will wait your  XCPM investigations and results...

 

Meantime my installations on Hold so I don't do any damage, application installations can wait...

And I can use my GF's Win laptop meanwhile...

 

Thanks for NVMe SSD info

 

 

Link to comment
Share on other sites

@Bilbo   No, haven't do anything related to PM.

 

-No NullCPU...kext

-No AICPMPatching

-No OSx86...kext

-No ssdtPRGen

 

Only Installed Mojave from USB, Installed Clover 5099 to Mojave SSD, Booted, Replaced EFI on Mojave SSD with "copied Z820 EFI", Replaced the "copy" VooDoo.kext (20 Threads) with my VooDoo.kext (48 Threads). Booted Ok to Mojave from SSD. Updated Mojave with 2019-01 Update (1.5GB).

 

I do have that IntelPM...something marked in Clover (Like in that picture that Antonio posted here...) Thats the only thing...

 

Ran those XLNC commands to show my output for you.

Used your AppleIntelInfo.kext to check how PM works after basic install.

 

My PM "patching" and ssdtPRGen ON-HOLD for a moment !

==> Reason, Antonio messaged that Mojave somehow supports PM without patching...

BUT also (Thanks to XLNC) mentioned that this XCPM (?) is not working correctly and he is investigating this...

 

So I'm waiting the investigation results and don't do nothing before that to avoid corrupting my system again (Noob tries to patch PM :hysterical:) and once again re-installing system from scratch...

 

My Output is visible in previous last posts....

 

 

 

 

Link to comment
Share on other sites

11 minutes ago, Ragimund (HP Z820) said:

Antonio, any new news related to PM ?

 

Have you had any time for investigations...

 

-Ragimund

 

Hello!

I've contacted @MaLd0n from Olarila.com and he kindly replied as follows:

Quote

haswell+ use only x86platform

ivy bridge- use aicpupm and ur case both is load

just ignore xcpm.txt for ur HP, need check in ioreg and logs, kernel logs if turbo boost etc is enable

 

So our (@bilbo's) approach should be correct for Ivy Bridge...

Here's a couple of GB 4 results for my machine:

https://browser.geekbench.com/v4/cpu/15041970
https://browser.geekbench.com/v4/cpu/15042004

 

Happy holidays to everyone!

AC

  • Like 1
Link to comment
Share on other sites

 :help:

 

Antonio, Bilbo, MaLdOn, anyone...

 

I just can't get my PM working - actually the last step ssdtPRGen script fails due "wrong parameters".

Values giving problems are -mode AND -cpus, doesn't accept those at all, always Aborting...

 

I'm so close but I could also be on the other side of the moon - feeling quite frustrated :cry:

 

Can someone, please, help with my ssdtPRGen command OR even do the patching for me (if it's possible? I included my APIC.aml and renamed DSDT.aml files from my Desktop)

 

So far :

 

1. Patching done

 

Xeons-Mac-Pro:AICPMPatch xeon$ sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch
Password:

/System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

arch: x86_64

delta: 1
00000000000090e2    movl    $0x000000e2,%ecx
00000000000090e7    wrmsr

delta: 1
0000000000009195    movl    $0x000000e2,%ecx
000000000000919a    wrmsr

delta: 1
00000000000091ab    movl    $0x000000e2,%ecx
00000000000091b0    wrmsr

delta: 1
00000000000092c9    movl    $0x000000e2,%ecx
00000000000092ce    wrmsr

delta: 1
0000000000009bea    movl    $0x000000e2,%ecx
0000000000009bef    wrmsr

delta: 1
000000000000a62f    movl    $0x000000e2,%ecx
000000000000a634    wrmsr

delta: 1
000000000000aa3d    movl    $0x000000e2,%ecx
000000000000aa42    wrmsr

delta: 1
00000000000102d7    movl    $0x000000e2,%ecx
00000000000102dc    wrmsr

delta: 1
000000000001171e    movl    $0x000000e2,%ecx
0000000000011723    wrmsr

delta: 1
0000000000012803    movl    $0x000000e2,%ecx
0000000000012808    wrmsr

found wrmsr at 90e7, patched
found wrmsr at 919a, patched
found wrmsr at 91b0, patched
found wrmsr at 92ce, patched
found wrmsr at 9bef, patched
found wrmsr at a634, patched
found wrmsr at aa42, patched
found wrmsr at 102dc, patched
found wrmsr at 11723, patched
found wrmsr at 12808, patched
wrmsr found: 10
wrmsr ignored: 0
 

 

2. Checked patching - no Deltas anymore

 

Xeons-Mac-Pro:AICPMPatch xeon$ perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

 

/System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement

 

arch: x86_64

 

3. Downloaded the "LegacyX86PlatformPlugin.kext"

 

4. Downloaded Kext Wizard 3.7.11

 

5. Installed LegacyX86PlatformPlugin.kext via Kext Wizard ( S / L / E )

 

6. Repaired ( S/L/E ) permissions and Rebuild kext cache via Kext Wizard

 

 

7. Downloaded ssdtPRGen and give permission

 

Xeons-Mac-Pro:~ xeon$ curl -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  126k  100  126k    0     0   450k      0 --:--:-- --:--:-- --:--:--  450k


Xeons-Mac-Pro:~ xeon$ chmod +x ./ssdtPRGen.sh
 

8. Rebooted and extracted files with F4 in Clover

 

9. Copied 2 files to Desktop and Renamed the other one like in HS Guide.

 

10. ### FAILING STEP ###

 

Tried to run the ssdtPRGen script multiple times with different parameters (output included) as the first didn't success. ALWAYS -mode OR -cpus fail => Aborting...

 

 

 

**** TRY number One ****

 

From Original HIGH SIERRA Guide (Changed CPU Model, Thread count and that C value)

./ssdtPRGen.sh -mode custom -b Mac-F60DEB81FF30ACF6 -p 'E5-2695 v2' -c 1 -x 1 -cpus 2 -l 48


ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2019 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

gDataPath: /Users/xeon/Library/ssdtPRGen/Data

Error: Invalid argument detected: -mode
Aborting ...
Done.

 

 

**** TRY number Two ****

 

From Original SIERRA Guide (Changed only CPU model and Thread count)

./ssdtPRGen.sh -p 'E5-2695 v2' -b Mac-F60DEB81FF30ACF6 -c 3 -x 1 -cpus 2 -l 48

Output:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2019 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

gDataPath: /Users/xeon/Library/ssdtPRGen/Data
Override value: (-p) processor model, now using: E5-2695 v2!
Override value: (-b) board-id, now using: Mac-F60DEB81FF30ACF6!
Override value: (-c) CPU type, now using: Broadwell!  <== Wrong, mine is Ivy Bridge EP 
Override value: (-x) XCPM mode, now set to: 1!

Error: Invalid argument detected: -cpus
Aborting ...
Done.
 

 

**** TRY number Three ****

 

Another try... does order of parameters count AND without Mode

Xeons-Mac-Pro:~ xeon$ ./ssdtPRGen.sh -p 'E5-2695 v2' -c 1 -x 1 -cpus 2 -l 48 -b Mac-F60DEB81FF30ACF6

Output:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2019 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

gDataPath: /Users/xeon/Library/ssdtPRGen/Data
Override value: (-p) processor model, now using: E5-2695 v2!
Override value: (-c) CPU type, now using: Ivy Bridge!
Override value: (-x) XCPM mode, now set to: 1!

Error: Invalid argument detected: -cpus
Aborting ...
Done.

 

 

**** TRY number Four ****  :surprised:

 

Another try, that Actually goes further (without CPUS and MODE)  !!! 

Xeons-Mac-Pro:~ xeon$ ./ssdtPRGen.sh -p 'E5-2695 v2' -c 1 -x 1 -l 48 -b Mac-F60DEB81FF30ACF6

Output:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2019 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

gDataPath: /Users/xeon/Library/ssdtPRGen/Data
Override value: (-p) processor model, now using: E5-2695 v2!
Override value: (-c) CPU type, now using: Ivy Bridge!
Override value: (-x) XCPM mode, now set to: 1!
Override value: (-l) number of logical processors, now using: 48!
Override value: (-b) board-id, now using: Mac-F60DEB81FF30ACF6!

System information: Mac OS X 10.14.6 (18G2022)
Brandstring 'Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz'


Warning: No ACPI Processor declarations found in the DSDT!
     Using assumed Scope (\_SB) {}

Generating ssdt.dsl for a 'MacPro6,1' with board-id [Mac-F60DEB81FF30ACF6]
Ivy Bridge Core E5-2695 v2 processor [0x306E4] setup [0x0a01]
With a maximum TDP of 115 Watt, as specified by Intel
Number logical CPU's: 48 (Core Frequency: 2400 MHz)
Number of Turbo States: 8 (2500-3200 MHz)
Number of P-States: 21 (1200-3200 MHz)
Injected C-States for C000 (C1,C3,C6)
Injected C-States for C001 (C1,C3,C6)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20140926-64 [Nov  6 2014]
Copyright (c) 2000 - 2014 Intel Corporation

ASL Input:     /Users/xeon/Library/ssdtPRGen/ssdt.dsl - 826 lines, 20747 bytes, 311 keywords
AML Output:    /Users/xeon/Library/ssdtPRGen/ssdt.aml - 5686 bytes, 148 named objects, 163 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/xeon/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? n
Do you want to open ssdt.dsl (y/n)? n

 

 

 

****** And just plain ssdtPRGen -help output

 

Xeons-Mac-Pro:~ xeon$ ./ssdtPRGen.sh -h

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2019 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

gDataPath: /Users/xeon/Library/ssdtPRGen/Data
Usage: ./ssdtPRGen.sh [-abcdfhlmptwx]
       -acpi Processor name (example: CPU0 or C000)
       -bclk frequency (base clock frequency)
       -board-id (example: Mac-F60DEB81FF30ACF6)
       -cpu type [0/1/2/3]
          0 = Sandy Bridge
          1 = Ivy Bridge
          2 = Haswell
          3 = Broadwell
       -debug output [0/1/3]
          0 = no debug injection/debug output
          1 = inject debug statements in: ssdt.dsl
          2 = show debug output
          3 = both
       -frequency (clock frequency)
       -help info (this)
       -lfmode, lowest idle frequency
       -logical processors [2-128]
       -model (example: MacPro6,1)
       -open the previously generated SSDT
       -processor model (example: 'E3-1285L v3')
       -show supported board-id and model combinations:
           Broadwell
           Haswell
           Ivy Bridge
           Sandy Bridge
       -turbo maximum (turbo) frequency:
          6300 for Sandy Bridge and Ivy Bridge
          8000 for Haswell and Broadwell
       -tdp [11.5 - 150]
       -workarounds for Ivy Bridge [0/1/2/3]
          0 = no workarounds
          1 = inject extra (turbo) P-State at the top with maximum (turbo) frequency + 1 MHz
          2 = inject extra P-States at the bottom
          3 = both
       -xcpm mode [0/1]
          0 = XCPM mode disabled
          1 = XCPM mode enabled

 

 

I don't understand what the heck I'm doing wrong again as Noob ?? 

 

 

And Extra question related to Original HS Guide :

 

"31-Enable on clover “-xcpm” flag, or “-xcpm_ipi” custom flag, if you have a dual cpu, as the script recommends."

 

What are those flags and where can I found them in Clover ? Which one should I use ?

 

 

-Ragimund

 

 

 

APIC.aml

DSDT.aml

Link to comment
Share on other sites

no panic. I think I know what's the problem.

 

First, congratulations for your success repairing and rebuilding cache step.:rolleyes:^_^

 

Then, about ssdtPRGen, the point is that Pike has two branchs into the script developing. One stable (version 15.6) and the last beta, and the last beta (21,5) . In the guide, the link point to the last beta.


 
On 10/7/2018 at 8:56 PM, bilbo said:
  • In terminal, execute: 

 


curl -o ~/Library/ssdtPRGen.zip https://codeload.github.com/Piker-Alpha/ssdtPRGen.sh/zip/Beta

 

The last stable version (much older than beta version) doesn't have flags as "mode custom" . For instance cpus flag also changed. I remember this almost drove me crazy for high sierra.

 

If you compare the help output of your version,  to the last version, (check the readme.md text)  you'll notice the lack of a lot of flags of your script version. Notice also the different version numbers from your output and the official help text (linked previously)

 

So, the fix is simple. Delete your current ssdtPRGen folder of your home folder, and download the beta using the script I posted, and repeat the rest of steps , to uncompress, fix the permission's file, and bla bla bla. . When you get it ok, all should be all right. I think the first version of the command should be the right one and generate the ssdt without errors.

 

I'll edit the guide with a warning between stable and beta versions discrepancy.

 

 

Edited by bilbo
Link to comment
Share on other sites

BIG THANKS BILBO !!!

and Others too, who have helped Noob here and been patient with me...

 

:thumbsup_anim::thumbsup_anim:

 

Changed to ssdtPRGen Beta version and got my PM working finally :graduated:

 

*******

 

Xeons-Mac-Pro:ssdtPRGen xeon$ ./ssdtPRGen.sh -mode custom -b Mac-F60DEB81FF30ACF6 -p 'E5-2695 v2' -c 3 -x 1 -cpus 2 -l 48


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2019 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.14.6 (18G2022)
Brandstring: "Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz"

Override value: (-mode) script mode changed to custom!
Override value: (-b) board-id, now using: Mac-F60DEB81FF30ACF6!
Override value: (-p) processor model, now using: E5-2695 v2!
Override value: (-c) CPU workarounds, now set to: 3!
Override value: (-x) XCPM mode, now set to: 1!
Override value: (-cpus) number of processors, now using: 2!
Override value: (-l) number of logical processors, now using: 48!

grep: /Users/xeon/Library/ssdtPRGen/ACPI/SSDT*.aml: No such file or directory
Version: models.cfg v171 / Ivy Bridge.cfg v150

Scope (\_SB) {20826 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)

Notice: Custom mode enabled
    Skipping ACPI table extraction from host computer!
    Getting enabled Processors from...: /Users/xeon/Desktop/APIC.aml
    Getting Processor declaration from: /Users/xeon/Desktop/DSDT.aml
    Used ACPI processor labels: 
    – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F C010 C011 C012 C013 C014 C015 C016 C017
    – C000 C001 C002 C003 C004 C005 C006 C007 C008 C009 C00A C00B C00C C00D C00E C00F C010 C011 C012 C013 C014 C015 C016 C017

Generating ssdt.dsl for a 'MacPro6,1' with board-id [Mac-F60DEB81FF30ACF6]
Ivy Bridge Core E5-2695 v2 processor [0x306E4] setup [0x0a01]
With a maximum TDP of 115 Watt, as specified by Intel
Number logical CPU's: 48 (Core Frequency: 2400 MHz)
Number of Turbo States: 8 (2500-3200 MHz)
Number of P-States: 21 (1200-3200 MHz)


Warning: You must use the -xcpm_ipi boot argument instead of -xcpm on multiprocessor systems.

Injected C-States for C000 (C1,C3,C6)
Injected C-States for C001 (C1,C3,C6)

Compiling: ssdt_pr.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20140926-64 [Nov  6 2014]
Copyright (c) 2000 - 2014 Intel Corporation

ASL Input:     /Users/xeon/Library/ssdtPRGen/ssdt.dsl - 520 lines, 13957 bytes, 170 keywords
AML Output:    /Users/xeon/Library/ssdtPRGen/ssdt.aml - 3634 bytes, 76 named objects, 94 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Do you want to open ssdt.dsl (y/n)? n
Xeons-Mac-Pro:ssdtPRGen xeon$ 

 

*******

 

And Added that -xcpm_ipi boot argument...

 

AND my Z820 "still" boots OK :lol: so I didn't mess it up this time :D

 

*******

 

Will do everything again (like "Pro") when I have the the 1TB NVMe SSD as System disk.

Waiting the January discounts before buying it...  

The "Akasa M.2 SSD to PCIe adapter card with heatsink cooler" arrived already.

 

*******

 

And here are my CPU Benchmarks :

 

 

Geekbench 4.4.2. ==>  Single-Core Score 2943.  Multi-Core Score 49324

 

Geekbench 5.1.0 ==>  Single-Core Score 687.  Multi-Core Score 12206

 

System Information :

 

Operating System    macOS 10.14.6 (Build 18G2022)
Model    MacPro6,1
Motherboard    Apple Inc. Mac-F60DEB81FF30ACF6 1.0
Memory    32768 MB 1866 MHz DDR3
Northbridge    
Southbridge    
BIOS    Apple Inc. 133.0.0.0.0

 

Processor Information :

 

Name    Intel Xeon E5-2695 v2
Topology    2 Processors, 24 Cores, 48 Threads
Identifier    GenuineIntel Family 6 Model 62 Stepping 4
Base Frequency    2.39 GHz

 

 

I know that people use Geekbench 4 for testing as it gives "better numbers" and it has been used so long.

But I recommend the newer Geekbench 5 (IMHO) even that it gives "smaller numbers", it's never and tests better...

 

AND GB5 have collected a quite big database for Original Mac test results with different Original Apple models so you can compare what Apple Model your Hackintosh beats ! :wink_anim:

 

-Ragimund

 

Ups, forgot to add the Geekbench 5 - Mac Benchmarks link...

 

https://browser.geekbench.com/mac-benchmarks

 

 

Link to comment
Share on other sites

Ok, glad to read that.

Did you installed hardware sensor app to check speed freqs? The point is check the freqs down under slow activity, normal freqs and maximum freqs, and chek if they are the expected freqs for your cpu.

 

And, just curiosity. Your cpu model is a xxx5 number, no xxx0. Did you use the special ssdt for that kind of cpu model? (see apendix)

Link to comment
Share on other sites

Hhmmmm.....

 

Don't frighten Noob again about possible failure Again ! :D

 

Well, I installed that HWMon and extracted those sensor kexts, set it to start on Login and Restarted Hackintosh.

 

When doing nothing, I can see Freqs like 1.19Ghz. Doing "something" get them to raise to 2,39Ghz, and when running Geekbench 4 for example I can see that some cores get freqs like 3,1Ghz.

Multiplies change between x12.0 ... x32.0.

 

But I can see only Cores 1 - 8, Multipliers xYY and Frequencies x.xx Ghz -==> NOT for Cores 1 -12 ? or 1-24 ?  (2 x 12 Core) ??

SHOULD there be more ?

 

Temps I can see CPU Core 1 - 9, CPU Core A, CPU Package, CPU 2 Package, CPU 3 Package, CPU 4 Package, CPU Core F.

??

 

Didn't use anything special ssd - don't understand what you mean?

 

And thanks for reminding me, have to read the guide to end - meaning Appendix not read.

I was too happy to get PM working... or is it actually now working Ok or have lost some Cores ?

 

Have to read that Appendix, and perhaps ask help once more ? :cry:

 

 

 

 

 

 

Here is my F4 Extracted SSDT-1-CpuDef.aml file, IF it tells you more than me ?

 

SSDT-1-CpuDef.aml

Link to comment
Share on other sites

All seems ok. The number of sensors, the kind, is more related to the app and the sensors kexts .There are several versions of the app and kexts. I mentioned in the guide. It's an open topic. Anyway to check your cores, open the activity monitor app and show cpu usage graphs. My advice is not care of this and enjoy (finally) of your machine.

 

About the special ssdt, some cpu models need that special ssdt to boot.  If you didn't have to use it, that means it was not your case. Forget it.

Link to comment
Share on other sites

32 minutes ago, bilbo said:

All seems ok. The number of sensors, the kind, is more related to the app and the sensors kexts .There are several versions of the app and kexts. I mentioned in the guide. It's an open topic. Anyway to check your cores, open the activity monitor app and show cpu usage graphs. My advice is not care of this and enjoy (finally) of your machine.

 

About the special ssdt, some cpu models need that special ssdt to boot.  If you didn't have to use it, that means it was not your case. Forget it.

Hello @Ragimund (HP Z820), glad to hear PM is working!

I don't think you've lost any core at all: looks like HWMonitor is not designet to show all our cores (same for me).

If you want to see all your cores' load, just fire up Activity Monitor, and hit cmd-2 (Window -> CPU Usage): you'll see 48 nice bars!

 

EDIT: just realized that @bilbo said the same (I've quoted him without reading his post!)... ^__^

 

Have fun and happy holidays!

AC

Edited by antonio.clb
Oops!
Link to comment
Share on other sites

Hi Bilbo and Antonio,

and Thanks for your confirm :)

 

Finally the Noob has reached the finishing line :D

 

IF you say it's Ok, then it's Ok - I don't care so much what the HWMon says anymore.

Finally I can drive my "Ferrari" with all gears available, not just the 1st gear :thumbsup_anim:

 

Single core results may not be radical, but multi core results beat the Mac Pro (Late 2019) 12 core with 3.3Ghz,

and that enough for me :w00t: and I paid 500e for this Z820 (end of leasing, emptied & recycled) + 200e for RX 580 OC 8GB.

Total 700e :D:D Mac Pro costs a hell of more... 22e for that M.2 PCIe adapter and mayby 130-140e for that 1TB NVME SSD

from January discount selling ? Not bad at all...

 

Now it's time for Video & Photo editing SW to be installed, more later when that 1TB NVMe SSD is installed...

 

This has been quite interesting & learning with Hackintosh - but my first one is done.

 

Probably newer  i9-9xxx with Z390 motherboard would have been easier for starter,

but these business class HP Zxx desktops are nuclear bomb resistant and offer a lot to expand.

 

Now it's also confirmed that a Noob can with this HS Guide install a Mojave to HP Zxx !! 

Thank's for Support !!

 

Maybe Catalina one day, when it's more mature sw...

 

 

 

Link to comment
Share on other sites

7 hours ago, ho520726 said:

Hello, can you provide what settings you are using in BiOS, thanks.

Hello, the Bios configuration is the same that Bilbo provides at the beginning of the post, there are no modifications with respect to the original, greetings.

Link to comment
Share on other sites

 Share

×
×
  • Create New...