Contribute
Register

[Guide] Generate SSDT For Coffee Lake CPU

Status
Not open for further replies.
Nor the Xcmp or the Plugin Type selections allow my mac to recognise overclocking. Am I off topic? if so please explain what SSDT stands for? I really just want my About This Mac to recognise me actual spec. Attached is my problem reporting file

About this Mac has nothing to do with XCPM/SSDTs/CPU PM.
And such cosmetic issues are off-topic here.

Your ioreg shows CPU PM working (X86PlatformPlugin is loaded).
 
For CPUs Haswell and later, the script is not even needed...
All we need is config.plist/ACPI/SSDT/Generate/PluginType=true

@RehabMan I am using the PluginType=true option on my Hack. I am seeing that the PCI section on System Information shows "
This computer doesn’t contain any PCI cards or devices. If you installed or connected a PCI card or device, make sure it is properly installed.".

Another build with the same MOBO and CPU shows a populated PCI table - see here https://www.tonymacx86.com/threads/...700k-amd-vega-56.239969/page-211#post-1768128. That post mentions a "good SSDT" gives that info. Wondering how I get a "good SSDT" if relying on PluginType?? Is there a 'better' way for CoffeeLake?
 
@RehabMan I am using the PluginType=true option on my Hack. I am seeing that the PCI section on System Information shows "
This computer doesn’t contain any PCI cards or devices. If you installed or connected a PCI card or device, make sure it is properly installed.".

Nothing to do with PluginType or CPU PM.

Another build with the same MOBO and CPU shows a populated PCI table - see here https://www.tonymacx86.com/threads/...700k-amd-vega-56.239969/page-211#post-1768128. That post mentions a "good SSDT" gives that info. Wondering how I get a "good SSDT" if relying on PluginType?? Is there a 'better' way for CoffeeLake?

You can inject properties (one way would be with a properly coded SSDT), but that has nothing to do with CPU PM.
 
So, I try 2 options... fist time I try to user plugin type flag in clover, no success, I try ssdtPRGen, but, the same bug of a lot of users, Unterminated substitute pattern. In this second option, I read a loot here, if I got that error on ssdtPRGen, I just need to check plugin type flag in clove. After try this 2 options, still Unknown in About this Mac. In This case, is just a visual bug? I can use that know whiout problems?

MB- GB Aorus Z370 Ultra gaming
4x 8gb ballistx white 2666
Intel i78700k whith corsair h80i v2
Samsung 970 Evo m2 500gb

I don't have a video card yet, I use the intel uhd graphics 630, here, the video is perfect (I run League of legends on windows 10 and on Mac, with same configs in game, and get the same FPS) , Network, USBS, Realtek and Hdmi audio.
I Still try to fix this unknown of i78700k and sleep mode, the sleep works, but, after sleep, the motherboard turns on, and all fan and leads still working.

a copy of my config.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
<key>DropOEM_DSM</key>
<false/>
<key>Fixes</key>
<dict>
<key>FixShutdown</key>
<true/>
</dict>
<key>Name</key>
<string>DSDT.aml</string>
<key>Patches</key>
<array>
<dict>
<key>Comment</key>
<string>Rename HDAS to HDEF</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
SERBUw==
</data>
<key>Replace</key>
<data>
SERFRg==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change EC0 to EC</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
RUMwXw==
</data>
<key>Replace</key>
<data>
RUNfXw==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change XHCI to XHC</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
WEhDSQ==
</data>
<key>Replace</key>
<data>
WEhDXw==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change XHC1 to XHC</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
WEhDMQ==
</data>
<key>Replace</key>
<data>
WEhDXw==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change HECI to IMEI</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
SEVDSQ==
</data>
<key>Replace</key>
<data>
SU1FSQ==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change GFX0 to IGPU</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
R0ZYMA==
</data>
<key>Replace</key>
<data>
SUdQVQ==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change PEGP to GFX0</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
UEVHUA==
</data>
<key>Replace</key>
<data>
R0ZYMA==
</data>
</dict>
</array>
<key>ReuseFFFF</key>
<false/>
</dict>
<key>DropTables</key>
<array>
<dict>
<key>Signature</key>
<string>SSDT</string>
<key>TableId</key>
<string>CpuPm</string>
</dict>
<dict>
<key>Signature</key>
<string>DMAR</string>
</dict>
<dict>
<key>Signature</key>
<string>SSDT</string>
<key>TableId</key>
<string>Cpu0Ist</string>
</dict>
</array>
<key>HaltEnabler</key>
<true/>
<key>SSDT</key>
<dict>
<key>DropOem</key>
<false/>
<key>Generate</key>
<dict>
<key>APLF</key>
<false/>
<key>APSN</key>
<false/>
<key>CStates</key>
<true/>
<key>PStates</key>
<true/>
<key>PluginType</key>
<true/>
</dict>
</dict>
</dict>
<key>Boot</key>
<dict>
<key>Arguments</key>
<string>-disablegfxfirmware shikigva=16 dart=0</string>
<key>Debug</key>
<false/>
<key>DefaultLoader</key>
<string>boot.efi</string>
<key>DefaultVolume</key>
<string>LastBootedVolume</string>
<key>Legacy</key>
<string>PBR</string>
<key>Secure</key>
<false/>
<key>Timeout</key>
<integer>-1</integer>
<key>XMPDetection</key>
<string>Yes</string>
</dict>
<key>CPU</key>
<dict>
<key>UseARTFrequency</key>
<false/>
</dict>
<key>Devices</key>
<dict>
<key>AddProperties</key>
<array>
<dict>
<key>Device</key>
<string>IntelGFX</string>
<key>Disabled</key>
<false/>
<key>Key</key>
<string>AAPL,GfxYTile</string>
<key>Value</key>
<data>
CqqqAA==
</data>
</dict>
</array>
<key>Audio</key>
<dict>
<key>Inject</key>
<integer>11</integer>
<key>ResetHDA</key>
<true/>
</dict>
<key>FakeID</key>
<dict>
<key>IntelGFX</key>
<string>0x59128086</string>
</dict>
<key>USB</key>
<dict>
<key>AddClockID</key>
<true/>
<key>FixOwnership</key>
<true/>
<key>Inject</key>
<true/>
</dict>
<key>UseIntelHDMI</key>
<true/>
</dict>
<key>GUI</key>
<dict>
<key>Mouse</key>
<dict>
<key>DoubleClick</key>
<integer>500</integer>
<key>Enabled</key>
<false/>
<key>Mirror</key>
<false/>
<key>Speed</key>
<integer>8</integer>
</dict>
<key>ScreenResolution</key>
<string>3440x1440</string>
<key>Theme</key>
<string>embedded</string>
</dict>
<key>Graphics</key>
<dict>
<key>Inject</key>
<dict>
<key>ATI</key>
<false/>
<key>Intel</key>
<true/>
<key>NVidia</key>
<false/>
</dict>
<key>NvidiaSingle</key>
<false/>
<key>ig-platform-id</key>
<string>0x59120000</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>AppleIntelCPUPM</key>
<false/>
<key>AppleRTC</key>
<true/>
<key>Debug</key>
<false/>
<key>KernelCpu</key>
<false/>
<key>KernelLapic</key>
<false/>
<key>KernelPm</key>
<true/>
<key>KernelXCPM</key>
<false/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>change 15 port limit to 24</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
g32MEA==
</data>
<key>InfoPlistPatch</key>
<false/>
<key>MatchOS</key>
<string>10.13.x</string>
<key>Name</key>
<string>AppleUSBXHCIPCI</string>
<key>Replace</key>
<data>
g32MGw==
</data>
</dict>
<dict>
<key>Comment</key>
<string>External Drives as Internal to fix Orange Icons</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
RXh0ZXJuYWw=
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AppleAHCIPort</string>
<key>Replace</key>
<data>
SW50ZXJuYWw=
</data>
</dict>
<dict>
<key>Comment</key>
<string>(c)Pike R. Alpha</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
Ym9hcmQtaWQ=
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AppleGraphicsDevicePolicy</string>
<key>Replace</key>
<data>
Ym9hcmQtaXg=
</data>
</dict>
<dict>
<key>Comment</key>
<string>AirPortBrcm4360 - fcvo</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
gflSqgAAdSk=
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AirPortBrcm4360</string>
<key>Replace</key>
<data>
gflSqgAAZpA=
</data>
</dict>
<dict>
<key>Comment</key>
<string>Rename Model Wifi Module BCM94352Z</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
V2lyZWxlc3MgTmV0d29yayBBZGFwdGVyICg4MDIuMTEg
YS9iL2cvbi9hYyk=
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AirPortBrcm4360</string>
<key>Replace</key>
<data>
QnJvYWRjb20gQkNNOTQzNTJaIE0uMiBOR0ZGIDgwMi4x
MUFDIDg2N01icHM=
</data>
</dict>
</array>
</dict>
<key>RtVariables</key>
<dict>
<key>BooterConfig</key>
<string>0x28</string>
<key>CsrActiveConfig</key>
<string>0x00</string>
<key>MLB</key>
<string>C02032109R5DC771H</string>
<key>ROM</key>
<string>UseMacAddr0</string>
</dict>
<key>SMBIOS</key>
<dict>
<key>BiosReleaseDate</key>
<string>06/26/2018</string>
<key>BiosVendor</key>
<string>Apple Inc.</string>
<key>BiosVersion</key>
<string>IM181.88Z.0161.B00.1806260901</string>
<key>Board-ID</key>
<string>Mac-4B682C642B45593E</string>
<key>BoardManufacturer</key>
<string>Apple Inc.</string>
<key>BoardSerialNumber</key>
<string>C02751405CDFF4JCB</string>
<key>BoardType</key>
<integer>10</integer>
<key>BoardVersion</key>
<string>1.0</string>
<key>ChassisAssetTag</key>
<string>iMac-Aluminum</string>
<key>ChassisManufacturer</key>
<string>Apple Inc.</string>
<key>ChassisType</key>
<string>0x09</string>
<key>Family</key>
<string>iMac</string>
<key>FirmwareFeatures</key>
<string>0xFC0FE137</string>
<key>FirmwareFeaturesMask</key>
<string>0xFF1FFF3F</string>
<key>LocationInChassis</key>
<string>Part Component</string>
<key>Manufacturer</key>
<string>Apple Inc.</string>
<key>Mobile</key>
<false/>
<key>PlatformFeature</key>
<string>0x00</string>
<key>ProductName</key>
<string>iMac18,1</string>
<key>SerialNumber</key>
<string>C02VV0P6H7JY</string>
<key>SmUUID</key>
<string>39ADF16F-D088-4302-9767-E9C82F22FC16</string>
<key>Version</key>
<string>1.0</string>
</dict>
<key>SystemParameters</key>
<dict>
<key>CustomUUID</key>
<string>29C5FD2A-EEC7-5E20-99AB-A67B55E0F68E</string>
<key>InjectKexts</key>
<string>Yes</string>
<key>InjectSystemID</key>
<true/>
</dict>
</dict>
</plist>

Thanks!
 

Attachments

  • Screen Shot 2018-09-09 at 17.13.27.png
    Screen Shot 2018-09-09 at 17.13.27.png
    160.2 KB · Views: 405
  • Screen Shot 2018-09-09 at 17.09.27.png
    Screen Shot 2018-09-09 at 17.09.27.png
    325.3 KB · Views: 414
  • Screen Shot 2018-09-09 at 17.38.44.png
    Screen Shot 2018-09-09 at 17.38.44.png
    106 KB · Views: 418
  • Screen Shot 2018-09-09 at 17.50.04.png
    Screen Shot 2018-09-09 at 17.50.04.png
    99.8 KB · Views: 380
  • Screen Shot 2018-09-09 at 17.50.20.png
    Screen Shot 2018-09-09 at 17.50.20.png
    82.4 KB · Views: 374
  • Screen Shot 2018-09-09 at 17.50.45.png
    Screen Shot 2018-09-09 at 17.50.45.png
    85 KB · Views: 354
  • Screen Shot 2018-09-09 at 17.51.00.png
    Screen Shot 2018-09-09 at 17.51.00.png
    77 KB · Views: 362
  • Screen Shot 2018-09-09 at 17.51.13.png
    Screen Shot 2018-09-09 at 17.51.13.png
    71 KB · Views: 371
  • Screen Shot 2018-09-09 at 17.57.39.png
    Screen Shot 2018-09-09 at 17.57.39.png
    67.4 KB · Views: 351
  • Screen Shot 2018-09-09 at 17.57.54.png
    Screen Shot 2018-09-09 at 17.57.54.png
    83.2 KB · Views: 364
  • Screen Shot 2018-09-09 at 17.58.10.png
    Screen Shot 2018-09-09 at 17.58.10.png
    46.5 KB · Views: 329
Last edited:
@RehabMan
AFAIK there is also another PluginType (Integer 0 or 1) in ACPI section, under SSDT.
What are those numbers for?
 
Last edited:
@RehabMan
AFAIK there is also another PluginType (Integer 0 or 1) in ACPI section, under SSDT.
What are those numbers for?

config.plist/ACPI/SSDT/Generate/PluginType (true/false): Determines whether the "plugin-type" property is injected or not.
config.plist/ACPI/SSDT/PluginType (integer): Determines the value for "plugin-type" property when it is injected. The only valid value is 0 or 1. And the only setting that makes sense is 1, as there is no point in injecting "plugin-type"=0 (might as well not inject it).
 
@RhabMan Thanks for your tutorial. I have a two LGA 3647 CPU platform and I could not genrate SSDT for it. So these two CPU could not have CPU turbo.
Could you please make tutorial for these CPU which SSDTpregen recognize them as unkown tpye?
Machine model is DEll 7920. Sorry for my poor English
 
Last edited:
config.plist/ACPI/SSDT/Generate/PluginType (true/false): Determines whether the "plugin-type" property is injected or not.
config.plist/ACPI/SSDT/PluginType (integer): Determines the value for "plugin-type" property when it is injected. The only valid value is 0 or 1. And the only setting that makes sense is 1, as there is no point in injecting "plugin-type"=0 (might as well not inject it).

Thanks for your tutorial. I have a two LGA 3647 CPU platform and I could not genrate SSDT for it. So these two CPU could not have CPU turbo.
Could you please make tutorial for these CPU which SSDTpregen recognize them as unkown tpye?
Machine model is DEll 7920. Sorry for my poor English!
 
I changed the recommended settings with clover.
But the max clock is still 4,3GHz even if just one core is under load. Temperatures are around 50° C, power consumption around 30W. Under windows it run with 4,7GHz with the same test.
 

Attachments

  • debug_26823.zip
    2.6 MB · Views: 241
Status
Not open for further replies.
Back
Top