Contribute
Register

DSDT Debugging/Tracing to system.log

Status
Not open for further replies.

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,827
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi RehabMan,

First of all, thanks so much for all you've done & posted in this forum to help noobs like myself create their own hackintosh. Your expert knowledge is amazing and we all owe so much to people like you & tonymacx86 & slim.jim.

I built my first desktop hack and managed to install OS Sierra 10.12.1, and read/followed a few of your guides via other semi-successful builds such as this one by JVMacIV using very similar HW as myself (My System config is OS Sierra 10.12.1, Gigabyte GA-Z170x-Gaming 7, i7-6700K 4.0GHz, GeForce GTX 970 SSC ACX2.0+, 32GB DDR4 Crucial Ballistix RAM 2400MHz, Corsair Power Supply ATX760, Samsung 1TB EVO 850 SSD for OS Sierra + Micron 128GB M.2 (via SATA III) SSD for Windows).

After more than a week of installing/re-installing/testing on my hack, I am at the point of getting to an OK system (Working OS Sierra Installed with iMac17,1 in SMBIOS, Working Nvidia Webdriver Graphics card, Working USB2.0 & USB3.0 port, Working Audio, Working App Store, Shutdown working) except for 2 nagging issues I can't seem to fix:

- Issue 1: My display screen freezes after WAKE (which only works pushing my power on button, not via keyboard or mouse).
- Issue 2: I have suboptimal Power Management for my CPU looking at Intel Power Gadget (Idle CPU Hovers too high around 2.0-2.5GHz with up and downs spikes to 4GHz in lieu of being around 1.5GHz for i6700K using default PM after clean tonymacx86 install with SMBIOS set at iMac14,2) after trying to optimize CPU Power Management using my own SSDR.aml generated patch & the patches by JVMacIV which has the same MotherBoard, CPU as myself.

I've detailed my issue in post #21 here. And I just don't know what else to do.

I created my own SSDT.aml file using ssdtPRGen.sh, and put it in ACPI patched folder in relevant EFI mount. And followed JVMacIV's procedure.

Can I use your DSTD Debugging and Tracing tool to show you the trace logs I get & you help me see what's wrong with my system's ACPI tables? Or is there another tool I should use?

Thank you so much for your suggestions. I can upload any file you think you want to see or type any command in Terminal. If this is not the right thread, just let me know where I should post it (I just didn't know where) & I will delete this post. Thank YOU.

Graphics on wake problem is likely an issue with your Nvidia setup. I have no experience with Nvidia hardware. It could also be ACPI issues, but there are plenty of guides (including mine) on patching ACPI.

For CPU PM, see guide: https://www.tonymacx86.com/threads/mavericks-native-cpu-igpu-power-management.128926/

I see no evidence here that ACPIDebug.kext will help you with the two problems...
And I have no time to do any ACPI debugging for you anyway. The tool is there, documented for those that are programmers, if you want to use it.
 
Joined
Dec 4, 2016
Messages
57
Motherboard
Gigabyte GA-Z170X-Gaming 7 ATX LGA1151
CPU
Intel Core i7-6700K
Graphics
EVGA GeForce GTX 970 4GB SSC ACX 2.0+
Graphics on wake problem is likely an issue with your Nvidia setup. I have no experience with Nvidia hardware. It could also be ACPI issues, but there are plenty of guides (including mine) on patching ACPI.

For CPU PM, see guide: https://www.tonymacx86.com/threads/mavericks-native-cpu-igpu-power-management.128926/

I see no evidence here that ACPIDebug.kext will help you with the two problems...
And I have no time to do any ACPI debugging for you anyway. The tool is there, documented for those that are programmers, if you want to use it.

Thanks so much RehabMan for the response & tip. I will look further into NVidia setup for wake problem & use the above CPU PM guide then.
 
Joined
Nov 20, 2011
Messages
27
Motherboard
Dell Precision M4800 (Clover)
CPU
i7-4800mq / Chipset QM87
Graphics
nVidia Quadro K1100m 2GB
Mobile Phone
  1. iOS
Thanks!
https://developer.apple.com/reference/os/1891852-logging

Code:
$ log show | grep -i acpidebug
2016-11-29 19:29:39.475383+0000 0xc0       Default     0x0                  0      kernel: (kernel) ACPIDebug: Version 0.1.4 starting on OS X Darwin 16.0.
2016-11-29 19:29:39.607105+0000 0xfd       Default     0x0                  0      kernel: (kernel) ACPIDebug: "EC _Q20 enter"
2016-11-29 19:29:39.614496+0000 0xfd       Default     0x0                  0      kernel: (kernel) ACPIDebug: "EC _Q20 exit"

Now to the debug itself, and why the laptop sleeps in 10.10 but not in 10.12... :banghead:

Thanks again!

Hi, where the ACPIDebug.kext must be installed? SLE/ or LE/ or on EFI under kext? Which verison of this kext you use in Sierra?? Thanks
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,827
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi, where the ACPIDebug.kext must be installed? SLE/ or LE/ or on EFI under kext?

Your choice.

Which verison of this kext you use in Sierra?? Thanks

The latest will work on all systems Snow Leopard -> Sierra.
 
Status
Not open for further replies.
Top