Contribute
Register

[Guide] Generate SSDT For Coffee Lake CPU

Status
Not open for further replies.
Joined
May 5, 2012
Messages
110
Motherboard
Biostar TZ77XE4
CPU
i7-3770K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Apple
Mobile Phone
  1. Android
DOWNLOAD

ssdtPRGen.sh-coffee_lake.zip

Now you need to :
  1. Unzip ssdtPRGen.sh-coffee_lake.zip
  2. Rename the the unzipped folder ssdtPRGen.sh-coffee_lake to ssdtPRGen
  3. Move the renamed folder to ~/Library/
  4. This can be done in Terminal with these lines:

unzip -qu ~/Downloads/ssdtPRGen.sh-coffee_lake.zip -d ~/Library/
mv ~/Library/ssdtPRGen.sh-coffee_lake ~/Library/ssdtPRGen

Coffee Lake SSDT Generation
Now that it’s properly named you can return to the normal SSDT guide and complete it:

  1. Open Terminal
  2. Type & Enter cd ~/Library/ssdtPRGen into Terminal
  3. Put the first line into terminal if you are using a stock CPU and replace cpu_name placeholder with yours. If the CPU is overclocked in BIOS add the -turbo flag and its overclocked amount in MHz to to the end: Stock speeds: sudo sh ssdtPRGen.sh -p ‘cpu_name’
    BIOS Overclocked: sudo sh ssdtPRGen.sh -p ‘cpu_name’ -turbo XXXX

    Examples:

    sudo sh ssdtPRGen.sh -p 'i3-8100' (An i3-8100 @ stock speeds)
    sudo sh ssdtPRGen.sh -p 'i7-8700k' (An i7-8700k @ stock speeds)
    sudo sh ssdtPRGen.sh -p 'i7-8700k' -turbo 4800 (An i7-8700k @ 4.8GHz overclock)

  4. Type & Enter n to the question: Do you want to open ssdt.dsl (y/n)?
  5. Right-Click Finder App
  6. Select Go to Folder…
  7. Type ~/Library/ssdtPRGen/
  8. Click Go
  9. Open ssdtPRGen folder
  10. Copy ssdt.aml
  11. Mount EFI Partition
  12. Paste ssdt.aml in /Volumes/EFI/EFI/CLOVER/ACPI/patched/
  13. Restart Hackintosh
  14. Done.

    Credit ibash
 
Last edited:
DOWNLOAD

ssdtPRGen.sh-coffee_lake.zip

Now you need to :
  1. Unzip ssdtPRGen.sh-coffee_lake.zip
  2. Rename the the unzipped folder ssdtPRGen.sh-coffee_lake to ssdtPRGen
  3. Move the renamed folder to ~/Library/
  4. This can be done in Terminal with these lines:

unzip -qu ~/Downloads/ssdtPRGen.sh-coffee_lake.zip -d ~/Library/
mv ~/Library/ssdtPRGen.sh-coffee_lake ~/Library/ssdtPRGen

Coffee Lake SSDT Generation
Now that it’s properly named you can return to the normal SSDT guide and complete it:

  1. Open Terminal
  2. Type & Enter cd ~/Library/ssdtPRGen into Terminal
  3. Put the first line into terminal if you are using a stock CPU and replace cpu_name placeholder with yours. If the CPU is overclocked in BIOS add the -turbo flag and its overclocked amount in MHz to to the end: Stock speeds: sudo sh ssdtPRGen.sh -p ‘cpu_name’
    BIOS Overclocked: sudo sh ssdtPRGen.sh -p ‘cpu_name’ -turbo XXXX

    Examples:

    sudo sh ssdtPRGen.sh -p 'i3-8100' (An i3-8100 @ stock speeds)
    sudo sh ssdtPRGen.sh -p 'i7-8700k' (An i7-8700k @ stock speeds)
    sudo sh ssdtPRGen.sh -p 'i7-8700k' -turbo 4800 (An i7-8700k @ 4.8GHz overclock)
  4. Type & Enter n to the question: Do you want to open ssdt.dsl (y/n)?
  5. Right-Click Finder App
  6. Select Go to Folder…
  7. Type ~/Library/ssdtPRGen/
  8. Click Go
  9. Open ssdtPRGen folder
  10. Copy ssdt.aml
  11. Mount EFI Partition
  12. Paste ssdt.aml in /Volumes/EFI/EFI/CLOVER/ACPI/patched/
  13. Restart Hackintosh
  14. Done.

    Credit ibash

No need for ssdtPRgen.sh generated SSDT.aml for any CPU Haswell and newer.
Only requirement: SSDT-XCPM.aml or config.plist/ACPI/SSDT/Generate/PluginType=true.
 
Last edited:
Could confirm it. After waitin like one or two minutes Output of AppleIntelInfo.kext is the same as well ssdtPRGen.sh as PluginType=true and -xcpm flag. No more ssdt stuff needed. Even OC turbo is detected OOB.

Was imho also running ssdt generated with ssdtPRGen.sh and messing around with unsupported models, till i red your article about native XNU CPU PM for Haswell and newer CPUs. In fact, its working OOB. As long as you modify your clover config to set PluginType and xcpm.
Good Advice!
 
Last edited:
After I've created the ssdt.aml file, do I need to keep the ~/Library/ssdtPRGen folder?

Thanks
 
Could confirm it. After waitin like one or two minutes Output of AppleIntelInfo.kext is the same as well ssdtPRGen.sh as PluginType=true and -xcpm flag. No more ssdt stuff needed. Even OC turbo is detected OOB.

Was imho also running ssdt generated with ssdtPRGen.sh and messing around with unsupported models, till i red your article about native XNU CPU PM for Haswell and newer CPUs. In fact, its working OOB. As long as you modify your clover config to set PluginType and xcpm.
Good Advice!

Please can someone explain where do I need to put that "PluginType=true and -xcpm flag" in order to get it working without the SSDT?

I have an 8700k with an Asrock Z370 Taichi mobo and by following the instructions of abhinasia I was able to make the Overclock work, but I'm still interested of knowing if It can be done more easily.

Thanks
 
Please can someone explain where do I need to put that "PluginType=true and -xcpm flag" in order to get it working without the SSDT?
In your config.plist :

Plugin.png


Xcpm.png


XCPM.png


Edit : Note that the -xcpm flag is no longer valid.
 
Last edited:
In your config.plist :

Cool, that looks easy.

So If I use that I can delete the folder "ssdtPRGen" from the user library and "ssdt.aml" from /Volumes/EFI/EFI/CLOVER/ACPI/patched/ ?
 
Cool, that looks easy.

So If I use that I can delete the folder "ssdtPRGen" from the user library and "ssdt.aml" from /Volumes/EFI/EFI/CLOVER/ACPI/patched/ ?
Post #4 appears to suggest that you only need one of them - Not both.
 
With only PluginType = True seems to work, so I don't know what the other option (XCPM) is for

Screen Shot 2018-01-05 at 00.27.20.png
 
Please can someone explain where do I need to put that "PluginType=true and -xcpm flag" in order to get it working without the SSDT?

I have an 8700k with an Asrock Z370 Taichi mobo and by following the instructions of abhinasia I was able to make the Overclock work, but I'm still interested of knowing if It can be done more easily.

Thanks

No need for -xcpm kernel flag: That flag was used prior to Sierra to enable XCPM on CPUs where was not default (eg. Ivy Bridge). As of Sierra and later the -xcpm flag is no longer supported by the kernel. Its replacement is config.plist/KernelAndKextPatches/KernelXCPM=true. But of course, this thread is regarding "Coffee Lake" which is definitely not Ivy Bridge and XCPM is already enabled by default for all Haswell and later (so... Haswell, Broadwell, Skylake, KabyLake, KabyLake-R, and Coffee Lake).

So... for Haswell and later, you only need to inject "plugin-type"=1 on the first ACPI Processor object, typically CPU0. This can be done with SSDT-PluginType1.aml (my name), SSDT-XCPM.aml (toleda's name), or with recent versions of Clover with config.plist/ACPI/SSDT/Generate/PluginType=true.
 
Status
Not open for further replies.
Back
Top