Contribute
Register

SSDT for my i7-4770S on a GA Z87X-D3H

Status
Not open for further replies.
Joined
Sep 8, 2012
Messages
39
Motherboard
Gigabyte X299X Designare 10G
CPU
Intel i9-10900X
Graphics
Radeon VII
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. iOS
Hey guys!

I'm trying to build a new SSDT for my i7-4770S on a GA Z87X-D3H. I've build a ssdt_pr.aml using ssdtPRGen.sh version 6.8.
The output of the script looks promising:

Code:
sdtPRGen.sh v6.8 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a MacPro3,1 [Mac-F42C88C8]
Haswell Core i7-4770S processor [0x306C3] setup [0x0701]
With a maximum TDP of 65 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 3100 MHz)
Number of Turbo States: 8 (3200-3900 MHz)
Number of P-States: 32 (800-3900 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input:     /Users/dogman/Desktop/ssdt_pr.dsl - 258 lines, 8288 bytes, 56 keywords
AML Output:    /Users/dogman/Desktop/ssdt_pr.aml - 1597 bytes, 26 named objects, 30 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
-e 
Warning: Failed to locate the Clover boot.log
Creating temporarily mount point: /Volumes/EFI
Mounting EFI partition...
mount_hfs: Invalid argument
-e 
Unmounting EFI partition...
umount: /Volumes/EFI: not currently mounted
Removing temporarily mount point...
-e
Do you want to copy /Users/dogman/Desktop/ssdt_pr.aml to /Extra/ssdt_pr.aml? (y/n)?y

But rebooting in verbose gave me this output:
Code:
kernel[0]: Failed to find sleep policy for this platform! Disabling deep sleep.
kernel[0]: IOPPF: XCPM mode
kernel[0]: Network delay is not specified! Defaulting to 0x384
kernel[0]: XCPM: P-state table mismatch (error:0x19)
kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
kernel[0]: X86PlatformShim::sendPStates - pmCPUControl (XCPMIO_SETPSTATETABLE) returned 0x19
kernel[0]: X86PlatformShim::start - Failed to send PStates
kernel[0]: X86PlatformShim::start - Failed to send stepper

Could you please help me?

Thanks,
Cromb
 
Hey guys!

I'm trying to build a new SSDT for my i7-4770S on a GA Z87X-D3H. I've build a ssdt_pr.aml using ssdtPRGen.sh version 6.8.
The output of the script looks promising:

Code:
sdtPRGen.sh v6.8 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a MacPro3,1 [Mac-F42C88C8]
Haswell Core i7-4770S processor [0x306C3] setup [0x0701]
With a maximum TDP of 65 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 3100 MHz)
Number of Turbo States: 8 (3200-3900 MHz)
Number of P-States: 32 (800-3900 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input:     /Users/dogman/Desktop/ssdt_pr.dsl - 258 lines, 8288 bytes, 56 keywords
AML Output:    /Users/dogman/Desktop/ssdt_pr.aml - 1597 bytes, 26 named objects, 30 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
-e 
Warning: Failed to locate the Clover boot.log
Creating temporarily mount point: /Volumes/EFI
Mounting EFI partition...
mount_hfs: Invalid argument
-e 
Unmounting EFI partition...
umount: /Volumes/EFI: not currently mounted
Removing temporarily mount point...
-e
Do you want to copy /Users/dogman/Desktop/ssdt_pr.aml to /Extra/ssdt_pr.aml? (y/n)?y

But rebooting in verbose gave me this output:
Code:
kernel[0]: Failed to find sleep policy for this platform! Disabling deep sleep.
kernel[0]: IOPPF: XCPM mode
kernel[0]: Network delay is not specified! Defaulting to 0x384
kernel[0]: XCPM: P-state table mismatch (error:0x19)
kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
kernel[0]: X86PlatformShim::sendPStates - pmCPUControl (XCPMIO_SETPSTATETABLE) returned 0x19
kernel[0]: X86PlatformShim::start - Failed to send PStates
kernel[0]: X86PlatformShim::start - Failed to send stepper

Could you please help me?

Thanks,
Cromb

Did you rename it such that it is /Extra/ssdt.aml?
 
Did you rename it such that it is /Extra/ssdt.aml?
Hey RehabMan!

Thanks for that! Didn't know I have to. It removes the "start - Failed to send PStates". But alle other errors are still there. I hoped to get sleep to work, but no improvement on that. I could send it to sleep and reactivate it, but only the display goes black. The system keeps running. Do you have any idea on how to solve this?

Thanks,
Cromb
 
Hey RehabMan!

Thanks for that! Didn't know I have to. It removes the "start - Failed to send PStates". But alle other errors are still there. I hoped to get sleep to work, but no improvement on that. I could send it to sleep and reactivate it, but only the display goes black. The system keeps running. Do you have any idea on how to solve this?

Thanks,
Cromb

Check your config:
- GenerateC/PStates=No in org.chameleon.Boot.plist
- DropSSDT=Yes
- no NullCPUPowerManagement installed (check ioreg)
- SSDT in /Extra/ssdt.aml
- stock AppleACPIPlatform.kext (no rollbacks)
 
hey RehabMan!

I've edited my /Extra/org.chameleon.Boot.plist to look like this:
Code:
…    
    <key>GenerateCStates</key>    <string>No</string>
    <key>GeneratePStates</key>
    <string>No</string>
    <key>DropSSDT</key>
    <string>Yes</string>
…
But it does not help at all.

Changing the name to the correct /Extra/ssdt.aml helped as posted before.

I've no NullCPUPowerManagement installed. ioreg gives me no output:
Code:
dogman$ ioreg | grep NullCPUPowerManagement
dogman$

How can I check whether I've installed a modified
AppleACPIPlatform.kext? I used a couple of multibeast settings (see screenshot). I guess I'm using the stock one.
View attachment 75781
I don't know what to do :cry:
 
hey RehabMan!

I've edited my /Extra/org.chameleon.Boot.plist to look like this:
Code:
…    
    <key>GenerateCStates</key>    <string>No</string>
    <key>GeneratePStates</key>
    <string>No</string>
    <key>DropSSDT</key>
    <string>Yes</string>
…
But it does not help at all.

Changing the name to the correct /Extra/ssdt.aml helped as posted before.

I've no NullCPUPowerManagement installed. ioreg gives me no output:
Code:
dogman$ ioreg | grep NullCPUPowerManagement
dogman$

How can I check whether I've installed a modified
AppleACPIPlatform.kext? I used a couple of multibeast settings (see screenshot). I guess I'm using the stock one.
View attachment 75781
I don't know what to do :cry:

You can check your version of AppleACPIPlatform with:
Code:
kextstat|grep -y acpiplatform

You should test your pstates with DPCIManager -> PStates.

Post ioreg if want me to look at your config: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html

Wake from sleep could be graphics card issue. Did you try unplugging/re-pluggin the HDMI monitor after sleep? It could also be a DSDT issue, there is a known bug in 10.8.5/10.9 with _WAK (OS X is sending garbage as Arg0, which can cause DSDT/_WAK method to not execute code which would normally be executed). If you want to try a fix for this, see: https://github.com/RehabMan/Laptop-DSDT-Patch. There are two differnet patches for that problem v1/v2. Which one you use depends on the code in your _WAK method.
 
Hey RehabMan!

Here is my acpiplatform:
Code:
[FONT=Menlo]dogman$ kextstat | grep -y acpiplatform[/FONT][FONT=Menlo]   12    1 0xffffff7f81f86000 0x5f000    0x5f000    com.apple.driver.AppleACPIPlatform (2.0) <11 10 7 6 5 4 3 1>[/FONT]
[FONT=Menlo]dogman$[/FONT]
DPCIManager tells me few things, but I'm not sure, where I should focus on. Maybe that:
Code:
CPU: Minimum Bus Ratio:           8
CPU: Maximum Bus Ratio:           31
CPU: Current Bus Ratio:           35
I've attached my ioreg. It would be great if you could have a look. I currently do not use a dedicated graphics card. I got some problems using all my PCIe cards at the same time. If I do, my SATA gets lost. I don't know why and gigabyte blames the cards. Currently I'm using the Areca ARC-1882 and a HP NC360T.

Thank you!

View attachment 75786
 
Hey RehabMan!

Here is my acpiplatform:
Code:
[FONT=Menlo]dogman$ kextstat | grep -y acpiplatform[/FONT][FONT=Menlo]   12    1 0xffffff7f81f86000 0x5f000    0x5f000    com.apple.driver.AppleACPIPlatform (2.0) <11 10 7 6 5 4 3 1>[/FONT]
[FONT=Menlo]dogman$[/FONT]

That is Mavs rev ACPIPlatform.

DPCIManager tells me few things, but I'm not sure, where I should focus on. Maybe that:
Code:
CPU: Minimum Bus Ratio:           8
CPU: Maximum Bus Ratio:           31
CPU: Current Bus Ratio:           35

I think you're using the wrong DPCIManager. Current version is v1.5.

I've attached my ioreg. It would be great if you could have a look. I currently do not use a dedicated graphics card. I got some problems using all my PCIe cards at the same time. If I do, my SATA gets lost. I don't know why and gigabyte blames the cards. Currently I'm using the Areca ARC-1882 and a HP NC360T.

Thank you!

View attachment 75786

MacPro3,1? You should probably be using iMac14,2. Also, you don't have DropSSDT=Yes. Also, there is no SSDT installed at /Extra/ssdt.aml.

From your bootlog:
Code:
ACPI table not found: DSDT.aml
ACPI table not found: SSDT.aml

Also, GeneratePStates/CStates are set to Yes.
 
Hey RehabMan!

Sorry! I've booted the wrong partition, that's why nothing is at it should be. Maybe I was too excited :crazy: Sorry for being so stupid.

I got that from DPCIManager:
Code:
04/12/13 19:02:13, Current State: 8
04/12/13 19:02:13, P States: 8, 31, 32, 33, 34, 35

And here is my new ioreg:
View attachment 75790

Sorry and thanks!
 
Hey RehabMan!

Sorry! I've booted the wrong partition, that's why nothing is at it should be. Maybe I was too excited :crazy: Sorry for being so stupid.

I got that from DPCIManager:
Code:
04/12/13 19:02:13, Current State: 8
04/12/13 19:02:13, P States: 8, 31, 32, 33, 34, 35

And here is my new ioreg:
View attachment 75790

Sorry and thanks!

That looks normal/working. It would be nice to get more turbo states, but they don't always happen. You might try different smbios. For example, iMac14,2.
 
Status
Not open for further replies.
Back
Top