trulyspinach / SMCAMDProcessor

Power management, monitoring and VirtualSMC plugin for AMD processors
BSD 3-Clause "New" or "Revised" License
1.04k stars 90 forks source link

panic when manual sleep #82

Closed kokokobe closed 3 years ago

kokokobe commented 4 years ago

machine:3700x + x470+5700xt os: macos catalina 10.15.5 error message: sleep transition timed out after 180 seconds while halting all non-boot cpus

aluveitie commented 4 years ago

This usually happens when some USB device blocks transition to sleep. A known issue under AMD hackintoshes.

romancin commented 4 years ago

Same problem here, panic when entering sleep manual or automatic. It seems a problem with SMCAMDProcessor, because if I disable both kexts, sleep continue working. This problem appeared after updating to 10.15.5

Until 10.15.4 it worked perfectly fine.

aluveitie commented 4 years ago

Strange, still works fine for me. Do you have the complete error report?

romancin commented 4 years ago

Strange, still works fine for me. Do you have the complete error report?

If you can help me to get it, I will be glad to paste it here. Right now I can't see anything, when machine enters sleep, it hangs and I need to reboot it :(

aluveitie commented 4 years ago

Did you wait 3 Minutes? After 3 Minutes the sleep transition times out and MacOS crashes, after the reboot you should get the error report.

romancin commented 4 years ago

Did you wait 3 Minutes? After 3 Minutes the sleep transition times out and MacOS crashes, after the reboot you should get the error report.

Thank you!

Here you have it:

panic(cpu 0 caller 0xffffff8019a9167c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 10 (5) [tid=0xae(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x400 pl=1 il=0 r=1]. Thread 0x74. Failure code:: 0x00000000 00000019

Backtracing specified thread Backtrace (CPU 0), Frame : Return Address 0xffffffa3f8133900 : 0xffffff80194458f8 mach_kernel : _machine_switch_context + 0xc8 0xffffffa3f81db920 : 0xffffff80193413f1 mach_kernel : _thread_unstop + 0x1731 0xffffffa3f81db990 : 0xffffff801933fc2f mach_kernel : _thread_block_reason + 0xaf 0xffffffa3f81db9e0 : 0xffffff7f9c12db0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27 0xffffffa3f81dba00 : 0xffffff7f9c128c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167 0xffffffa3f81dba20 : 0xffffff7f9c118e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297 0xffffffa3f81dba70 : 0xffffff7f9c139b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2 0xffffffa3f81dbaf0 : 0xffffff7f9c13b286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e 0xffffffa3f81dbb30 : 0xffffff7f9c13bf10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5 0xffffffa3f81dbb80 : 0xffffff7f9c1335d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b 0xffffffa3f81dbbc0 : 0xffffff7f9c137cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247 0xffffffa3f81dbc20 : 0xffffff7f9c130ce6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58 0xffffffa3f81dbc70 : 0xffffff7f9c0f6b3b com.apple.driver.AppleACPIPlatform : ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115 0xffffffa3f81dbcc0 : 0xffffff7f9c0faeab com.apple.driver.AppleACPIPlatform : ZN12AppleACPICPU7haltCPUEv + 0x75 0xffffffa3f81dbce0 : 0xffffff8019a4cc30 mach_kernel : Z16IOCPUSleepKernelv + 0x290 0xffffffa3f81dbd40 : 0xffffff8019a85e25 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5 0xffffffa3f81dbde0 : 0xffffff8019a173b7 mach_kernel : ZN9IOService8all_doneEv + 0x767 0xffffffa3f81dbe50 : 0xffffff8019a1414c mach_kernel : ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c 0xffffffa3f81dbea0 : 0xffffff8019a117e0 mach_kernel : ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0 0xffffffa3f81dbef0 : 0xffffff8019a11679 mach_kernel : ZN13IOPMWorkQueue12checkForWorkEv + 0xc9 0xffffffa3f81dbf30 : 0xffffff8019a2cede mach_kernel : ZN10IOWorkLoop15runEventSourcesEv + 0x11e 0xffffffa3f81dbf70 : 0xffffff8019a2c4d6 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36 0xffffffa3f81dbfa0 : 0xffffff80192c513e mach_kernel : _call_continuation + 0x2e Kernel Extensions in backtrace: com.apple.driver.AppleACPIPlatform(6.1)[3A6D8ECD-C39E-39C8-984A-2CC417488A56]@0xffffff7f9c0eb000->0xffffff7f9c185fff dependency: com.apple.iokit.IOACPIFamily(1.4)[0A7D7382-66FE-391B-9F93-97A996256C25]@0xffffff7f9a445000 dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f99d31000 dependency: com.apple.driver.AppleSMC(3.1.9)[4589419D-7CCC-39A9-9E2F-F73FE42DD902]@0xffffff7f9a457000

BSD process name corresponding to current thread: kernel_task Boot args: debug=0x100 keepsyms=1 npci=0x2000 agdpmod=pikera alcid=5

Mac OS version: 19F101

Kernel version: Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 Kernel UUID: 54F1A78D-6F41-32BD-BFED-4381F9F6E2EF Kernel slide: 0x0000000019000000 Kernel text base: 0xffffff8019200000 __HIB text base: 0xffffff8019100000 System model name: iMacPro1,1 (Mac-7BA5B2D9E42DDD94) System shutdown begun: NO Panic diags file available: NO (0xe00002bc)

System uptime in nanoseconds: 8133538720086

aluveitie commented 4 years ago

Thanks, that would point to SMCAMDProcessor (which is optional), could you try with just the power management kext enabled to single out the source?

aluveitie commented 4 years ago

@kokokobe Do you also use iMacPro1,1? I'm using MacPro7,1 and experience no issues. Maybe it's related to SMBIOS specific changes?!

romancin commented 4 years ago

Thanks, that would point to SMCAMDProcessor (which is optional), could you try with just the power management kext enabled to single out the source?

Optional but really important, because it is the one that gives me visibility of the temperature of the processor. I am going to try without it to see if behaviour is different. Will tell you how it goes.

romancin commented 4 years ago

@kokokobe Do you also use iMacPro1,1? I'm using MacPro7,1 and experience no issues. Maybe it's related to SMBIOS specific changes?!

Yes, I use iMacPro1,1 for DRM purposes, tried iMac19,2 but had a lot of problems with DRM. Will try with MacPro7,1 to see if it changes.

Thank you!

romancin commented 4 years ago

@kokokobe Do you also use iMacPro1,1? I'm using MacPro7,1 and experience no issues. Maybe it's related to SMBIOS specific changes?!

panic(cpu 0 caller 0xffffff8015a9167c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 8 (5) [tid=0xa8(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x140 pl=1 il=0 r=1]. Thread 0x74. Failure code:: 0x00000000 00000019

Backtracing specified thread Backtrace (CPU 0), Frame : Return Address 0xffffff83d2cf3900 : 0xffffff80154458f8 mach_kernel : _machine_switch_context + 0xc8 0xffffff83b8233920 : 0xffffff80153413f1 mach_kernel : _thread_unstop + 0x1731 0xffffff83b8233990 : 0xffffff801533fc2f mach_kernel : _thread_block_reason + 0xaf 0xffffff83b82339e0 : 0xffffff7f9812db0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27 0xffffff83b8233a00 : 0xffffff7f98128c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167 0xffffff83b8233a20 : 0xffffff7f98118e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297 0xffffff83b8233a70 : 0xffffff7f98139b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2 0xffffff83b8233af0 : 0xffffff7f9813b286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e 0xffffff83b8233b30 : 0xffffff7f9813bf10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5 0xffffff83b8233b80 : 0xffffff7f981335d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b 0xffffff83b8233bc0 : 0xffffff7f98137cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247 0xffffff83b8233c20 : 0xffffff7f98130ce6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58 0xffffff83b8233c70 : 0xffffff7f980f6b3b com.apple.driver.AppleACPIPlatform : ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115 0xffffff83b8233cc0 : 0xffffff7f980faeab com.apple.driver.AppleACPIPlatform : ZN12AppleACPICPU7haltCPUEv + 0x75 0xffffff83b8233ce0 : 0xffffff8015a4cc30 mach_kernel : Z16IOCPUSleepKernelv + 0x290 0xffffff83b8233d40 : 0xffffff8015a85e25 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5 0xffffff83b8233de0 : 0xffffff8015a173b7 mach_kernel : ZN9IOService8all_doneEv + 0x767 0xffffff83b8233e50 : 0xffffff8015a1414c mach_kernel : ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c 0xffffff83b8233ea0 : 0xffffff8015a117e0 mach_kernel : ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0 0xffffff83b8233ef0 : 0xffffff8015a11679 mach_kernel : ZN13IOPMWorkQueue12checkForWorkEv + 0xc9 0xffffff83b8233f30 : 0xffffff8015a2cede mach_kernel : ZN10IOWorkLoop15runEventSourcesEv + 0x11e 0xffffff83b8233f70 : 0xffffff8015a2c4d6 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36 0xffffff83b8233fa0 : 0xffffff80152c513e mach_kernel : _call_continuation + 0x2e Kernel Extensions in backtrace: com.apple.driver.AppleACPIPlatform(6.1)[3A6D8ECD-C39E-39C8-984A-2CC417488A56]@0xffffff7f980eb000->0xffffff7f98185fff dependency: com.apple.iokit.IOACPIFamily(1.4)[0A7D7382-66FE-391B-9F93-97A996256C25]@0xffffff7f96445000 dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f95d31000 dependency: com.apple.driver.AppleSMC(3.1.9)[4589419D-7CCC-39A9-9E2F-F73FE42DD902]@0xffffff7f96457000

BSD process name corresponding to current thread: kernel_task Boot args: debug=0x100 keepsyms=1 npci=0x2000 agdpmod=pikera alcid=5

Mac OS version: 19F101

Kernel version: Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 Kernel UUID: 54F1A78D-6F41-32BD-BFED-4381F9F6E2EF Kernel slide: 0x0000000015000000 Kernel text base: 0xffffff8015200000 __HIB text base: 0xffffff8015100000 System model name: MacPro7,1 (Mac-27AD2F918AE68F61) System shutdown begun: NO Panic diags file available: NO (0xe00002bc)

System uptime in nanoseconds: 521981648602

Same problem. Will try without SMCAMD and only power management.

romancin commented 4 years ago

Thanks, that would point to SMCAMDProcessor (which is optional), could you try with just the power management kext enabled to single out the source?

Not working: panic(cpu 0 caller 0xffffff801d69167c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 10 (5) [tid=0xae(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x400 pl=1 il=0 r=1]. Thread 0x74. Failure code:: 0x00000000 00000019

Backtracing specified thread Backtrace (CPU 0), Frame : Return Address 0xffffff83bfdf3900 : 0xffffff801d0458f8 mach_kernel : _machine_switch_context + 0xc8 0xffffff83bfcfb920 : 0xffffff801cf413f1 mach_kernel : _thread_unstop + 0x1731 0xffffff83bfcfb990 : 0xffffff801cf3fc2f mach_kernel : _thread_block_reason + 0xaf 0xffffff83bfcfb9e0 : 0xffffff7f9fd2db0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27 0xffffff83bfcfba00 : 0xffffff7f9fd28c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167 0xffffff83bfcfba20 : 0xffffff7f9fd18e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297 0xffffff83bfcfba70 : 0xffffff7f9fd39b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2 0xffffff83bfcfbaf0 : 0xffffff7f9fd3b286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e 0xffffff83bfcfbb30 : 0xffffff7f9fd3bf10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5 0xffffff83bfcfbb80 : 0xffffff7f9fd335d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b 0xffffff83bfcfbbc0 : 0xffffff7f9fd37cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247 0xffffff83bfcfbc20 : 0xffffff7f9fd30ce6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58 0xffffff83bfcfbc70 : 0xffffff7f9fcf6b3b com.apple.driver.AppleACPIPlatform : ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115 0xffffff83bfcfbcc0 : 0xffffff7f9fcfaeab com.apple.driver.AppleACPIPlatform : ZN12AppleACPICPU7haltCPUEv + 0x75 0xffffff83bfcfbce0 : 0xffffff801d64cc30 mach_kernel : Z16IOCPUSleepKernelv + 0x290 0xffffff83bfcfbd40 : 0xffffff801d685e25 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5 0xffffff83bfcfbde0 : 0xffffff801d6173b7 mach_kernel : ZN9IOService8all_doneEv + 0x767 0xffffff83bfcfbe50 : 0xffffff801d61414c mach_kernel : ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c 0xffffff83bfcfbea0 : 0xffffff801d6117e0 mach_kernel : ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0 0xffffff83bfcfbef0 : 0xffffff801d611679 mach_kernel : ZN13IOPMWorkQueue12checkForWorkEv + 0xc9 0xffffff83bfcfbf30 : 0xffffff801d62cede mach_kernel : ZN10IOWorkLoop15runEventSourcesEv + 0x11e 0xffffff83bfcfbf70 : 0xffffff801d62c4d6 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36 0xffffff83bfcfbfa0 : 0xffffff801cec513e mach_kernel : _call_continuation + 0x2e Kernel Extensions in backtrace: com.apple.driver.AppleACPIPlatform(6.1)[3A6D8ECD-C39E-39C8-984A-2CC417488A56]@0xffffff7f9fceb000->0xffffff7f9fd85fff dependency: com.apple.iokit.IOACPIFamily(1.4)[0A7D7382-66FE-391B-9F93-97A996256C25]@0xffffff7f9e045000 dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f9d931000 dependency: com.apple.driver.AppleSMC(3.1.9)[4589419D-7CCC-39A9-9E2F-F73FE42DD902]@0xffffff7f9e057000

BSD process name corresponding to current thread: kernel_task Boot args: debug=0x100 keepsyms=1 npci=0x2000 agdpmod=pikera alcid=5

Mac OS version: 19F101

Kernel version: Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 Kernel UUID: 54F1A78D-6F41-32BD-BFED-4381F9F6E2EF Kernel slide: 0x000000001cc00000 Kernel text base: 0xffffff801ce00000 __HIB text base: 0xffffff801cd00000 System model name: MacPro7,1 (Mac-27AD2F918AE68F61) System shutdown begun: NO Panic diags file available: NO (0xe00002bc)

System uptime in nanoseconds: 289525751094

So it seems the problem is caused by power management kext.

EDIT:

If I disable Automatic Speed Adjustment in AMD Power Gadget, sleeps works fine, so I can confirm the problem is with power management:

Captura de pantalla 2020-06-02 a las 14 21 47
aluveitie commented 4 years ago

I'm using a custom built version of this kext (automatic speed adjustment/low power mode enabled by default, CPB disabled by default, modified speed adjustment). Sleep was still working for me on 10.15.5 (not yet tested sleep with the supplemental update). It also contains some small fixes not yet merged for handling wake up. I cannot imagine my changes would make any difference in that regard but you could give it a try AMDRyzenCPUPowerManagement.kext.zip

kokokobe commented 4 years ago

@kokokobe Do you also use iMacPro1,1? I'm using MacPro7,1 and experience no issues. Maybe it's related to SMBIOS specific changes?!

Mac Pro 7,1

kokokobe commented 4 years ago

@kokokobe Do you also use iMacPro1,1? I'm using MacPro7,1 and experience no issues. Maybe it's related to SMBIOS specific changes?!

panic(cpu 0 caller 0xffffff8015a9167c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 8 (5) [tid=0xa8(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x140 pl=1 il=0 r=1]. Thread 0x74. Failure code:: 0x00000000 00000019

Backtracing specified thread Backtrace (CPU 0), Frame : Return Address 0xffffff83d2cf3900 : 0xffffff80154458f8 mach_kernel : _machine_switch_context + 0xc8 0xffffff83b8233920 : 0xffffff80153413f1 mach_kernel : _thread_unstop + 0x1731 0xffffff83b8233990 : 0xffffff801533fc2f mach_kernel : _thread_block_reason + 0xaf 0xffffff83b82339e0 : 0xffffff7f9812db0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27 0xffffff83b8233a00 : 0xffffff7f98128c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167 0xffffff83b8233a20 : 0xffffff7f98118e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297 0xffffff83b8233a70 : 0xffffff7f98139b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2 0xffffff83b8233af0 : 0xffffff7f9813b286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e 0xffffff83b8233b30 : 0xffffff7f9813bf10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5 0xffffff83b8233b80 : 0xffffff7f981335d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b 0xffffff83b8233bc0 : 0xffffff7f98137cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247 0xffffff83b8233c20 : 0xffffff7f98130ce6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58 0xffffff83b8233c70 : 0xffffff7f980f6b3b com.apple.driver.AppleACPIPlatform : ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115 0xffffff83b8233cc0 : 0xffffff7f980faeab com.apple.driver.AppleACPIPlatform : ZN12AppleACPICPU7haltCPUEv + 0x75 0xffffff83b8233ce0 : 0xffffff8015a4cc30 mach_kernel : Z16IOCPUSleepKernelv + 0x290 0xffffff83b8233d40 : 0xffffff8015a85e25 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5 0xffffff83b8233de0 : 0xffffff8015a173b7 mach_kernel : ZN9IOService8all_doneEv + 0x767 0xffffff83b8233e50 : 0xffffff8015a1414c mach_kernel : ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c 0xffffff83b8233ea0 : 0xffffff8015a117e0 mach_kernel : ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0 0xffffff83b8233ef0 : 0xffffff8015a11679 mach_kernel : ZN13IOPMWorkQueue12checkForWorkEv + 0xc9 0xffffff83b8233f30 : 0xffffff8015a2cede mach_kernel : ZN10IOWorkLoop15runEventSourcesEv + 0x11e 0xffffff83b8233f70 : 0xffffff8015a2c4d6 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36 0xffffff83b8233fa0 : 0xffffff80152c513e mach_kernel : _call_continuation + 0x2e Kernel Extensions in backtrace: com.apple.driver.AppleACPIPlatform(6.1)[3A6D8ECD-C39E-39C8-984A-2CC417488A56]@0xffffff7f980eb000->0xffffff7f98185fff dependency: com.apple.iokit.IOACPIFamily(1.4)[0A7D7382-66FE-391B-9F93-97A996256C25]@0xffffff7f96445000 dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f95d31000 dependency: com.apple.driver.AppleSMC(3.1.9)[4589419D-7CCC-39A9-9E2F-F73FE42DD902]@0xffffff7f96457000

BSD process name corresponding to current thread: kernel_task Boot args: debug=0x100 keepsyms=1 npci=0x2000 agdpmod=pikera alcid=5

Mac OS version: 19F101

Kernel version: Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 Kernel UUID: 54F1A78D-6F41-32BD-BFED-4381F9F6E2EF Kernel slide: 0x0000000015000000 Kernel text base: 0xffffff8015200000 __HIB text base: 0xffffff8015100000 System model name: MacPro7,1 (Mac-27AD2F918AE68F61) System shutdown begun: NO Panic diags file available: NO (0xe00002bc)

System uptime in nanoseconds: 521981648602

Same problem. Will try without SMCAMD and only power management.

disable SMCAMD sleep will work

kokokobe commented 4 years ago

Did you wait 3 Minutes? After 3 Minutes the sleep transition times out and MacOS crashes, after the reboot you should get the error report.

Thank you!

Here you have it:

panic(cpu 0 caller 0xffffff8019a9167c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 10 (5) [tid=0xae(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x400 pl=1 il=0 r=1]. Thread 0x74. Failure code:: 0x00000000 00000019

Backtracing specified thread Backtrace (CPU 0), Frame : Return Address 0xffffffa3f8133900 : 0xffffff80194458f8 mach_kernel : _machine_switch_context + 0xc8 0xffffffa3f81db920 : 0xffffff80193413f1 mach_kernel : _thread_unstop + 0x1731 0xffffffa3f81db990 : 0xffffff801933fc2f mach_kernel : _thread_block_reason + 0xaf 0xffffffa3f81db9e0 : 0xffffff7f9c12db0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27 0xffffffa3f81dba00 : 0xffffff7f9c128c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167 0xffffffa3f81dba20 : 0xffffff7f9c118e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297 0xffffffa3f81dba70 : 0xffffff7f9c139b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2 0xffffffa3f81dbaf0 : 0xffffff7f9c13b286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e 0xffffffa3f81dbb30 : 0xffffff7f9c13bf10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5 0xffffffa3f81dbb80 : 0xffffff7f9c1335d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b 0xffffffa3f81dbbc0 : 0xffffff7f9c137cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247 0xffffffa3f81dbc20 : 0xffffff7f9c130ce6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58 0xffffffa3f81dbc70 : 0xffffff7f9c0f6b3b com.apple.driver.AppleACPIPlatform : ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115 0xffffffa3f81dbcc0 : 0xffffff7f9c0faeab com.apple.driver.AppleACPIPlatform : ZN12AppleACPICPU7haltCPUEv + 0x75 0xffffffa3f81dbce0 : 0xffffff8019a4cc30 mach_kernel : Z16IOCPUSleepKernelv + 0x290 0xffffffa3f81dbd40 : 0xffffff8019a85e25 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5 0xffffffa3f81dbde0 : 0xffffff8019a173b7 mach_kernel : ZN9IOService8all_doneEv + 0x767 0xffffffa3f81dbe50 : 0xffffff8019a1414c mach_kernel : ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c 0xffffffa3f81dbea0 : 0xffffff8019a117e0 mach_kernel : ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0 0xffffffa3f81dbef0 : 0xffffff8019a11679 mach_kernel : ZN13IOPMWorkQueue12checkForWorkEv + 0xc9 0xffffffa3f81dbf30 : 0xffffff8019a2cede mach_kernel : ZN10IOWorkLoop15runEventSourcesEv + 0x11e 0xffffffa3f81dbf70 : 0xffffff8019a2c4d6 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36 0xffffffa3f81dbfa0 : 0xffffff80192c513e mach_kernel : _call_continuation + 0x2e Kernel Extensions in backtrace: com.apple.driver.AppleACPIPlatform(6.1)[3A6D8ECD-C39E-39C8-984A-2CC417488A56]@0xffffff7f9c0eb000->0xffffff7f9c185fff dependency: com.apple.iokit.IOACPIFamily(1.4)[0A7D7382-66FE-391B-9F93-97A996256C25]@0xffffff7f9a445000 dependency: com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f99d31000 dependency: com.apple.driver.AppleSMC(3.1.9)[4589419D-7CCC-39A9-9E2F-F73FE42DD902]@0xffffff7f9a457000

BSD process name corresponding to current thread: kernel_task Boot args: debug=0x100 keepsyms=1 npci=0x2000 agdpmod=pikera alcid=5

Mac OS version: 19F101

Kernel version: Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 Kernel UUID: 54F1A78D-6F41-32BD-BFED-4381F9F6E2EF Kernel slide: 0x0000000019000000 Kernel text base: 0xffffff8019200000 __HIB text base: 0xffffff8019100000 System model name: iMacPro1,1 (Mac-7BA5B2D9E42DDD94) System shutdown begun: NO Panic diags file available: NO (0xe00002bc)

System uptime in nanoseconds: 8133538720086

same panic message

trulyspinach commented 4 years ago

From the panic log it doesn't seems to directly linked to this software. @romancin that option you've mentioned turning that off only changes some internal parameters within this kext and nothing else. So it should not be related. Are you able to do more test and confirm that sleep doesn't work when it is enabled and works when you uncheck that option, every time? That would really help me debugging if it is really the problem. If there's only once it doesn't show anything useful.

romancin commented 4 years ago

I'm using a custom built version of this kext (automatic speed adjustment/low power mode enabled by default, CPB disabled by default, modified speed adjustment). Sleep was still working for me on 10.15.5 (not yet tested sleep with the supplemental update). It also contains some small fixes not yet merged for handling wake up. I cannot imagine my changes would make any difference in that regard but you could give it a try

AMDRyzenCPUPowerManagement.kext.zip

Same behavior, but thank you for your help!!

romancin commented 4 years ago

From the panic log it doesn't seems to directly linked to this software.

@romancin that option you've mentioned turning that off only changes some internal parameters within this kext and nothing else. So it should not be related.

Are you able to do more test and confirm that sleep doesn't work when it is enabled and works when you uncheck that option, every time? That would really help me debugging if it is really the problem. If there's only once it doesn't show anything useful.

Of course, I am going to test more times and report back. Thank you!

romancin commented 4 years ago

@trulyspinach you were right, I have tested disabling again the automatic speed and it also hungs when sleep, so this is not the problem as you said :(

Are there more things I can try to help you diagnose this problem? Thank you very much for your help!

If it is important for you, motherboard is Gigabyte B450 Aorus M and Ryzen 3600.

Automata02 commented 4 years ago

Didn't have KP with sleep, mine works but after waking from sleep both audio and video playback slightly stutters.

Mushmuch commented 4 years ago

Issue: When I run SMCAMD Processor, the hack panics when going to sleep. Testing:

Config: OC 0.5.9, MacPro7,1, 10.15.5, R9 3900x, MSI B450i Gaming Plus AC

Note about USB sleep issue with R9 3900X and B450

There is a USB power issue with the chipset controller (0x149c1022) that can be resolved by adding a profile for the MacPro7,1 to AppleBusPowerController through com.apple.driver.AppleUSBHostMergeProperties.

Attached the KPs and the EFI including the USB-POwer.kext to resolve the USB power panic. Kernel panics.rtf.zip EFI-MSI-B450i-USB.zip

kokokobe commented 4 years ago

Issue: When I run SMCAMD Processor, the hack panics when going to sleep. Testing:

  • Restart, plug iPad to XHC0 port, manually trigger sleep from Apple menu ->sleeps
  • Enable kexts in this order: VirtualSMC.kext, AMDRyzenCPUPowerManagement.kext, SMCAMDProcessor.kext
  • Restart, plug iPad to XHC0 port, trigger sleep from Apple menu -> black screen, fans slow down then spin up again. Stays in this state indefinitely until force shut down power.

Config: OC 0.5.9, MacPro7,1, 10.15.5, R9 3900x, MSI B450i Gaming Plus AC

Note about USB sleep issue with R9 3900X and B450

There is a USB power issue with the chipset controller (0x149c1022) that can be resolved by adding a profile for the MacPro7,1 to AppleBusPowerController through com.apple.driver.AppleUSBHostMergeProperties.

Attached the KPs and the EFI including the USB-POwer.kext to resolve the USB power panic. Kernel panics.rtf.zip EFI-MSI-B450i-USB.zip

Let me try this UsbPowerKext

frictionlessDevelopments commented 4 years ago

Hello!

I am facing this issue as well with the following hardware and software

Hardware Specs

OpenCore Configuration

Tests

SMCAMDProcessor release 0.6.4 fails to sleep with the following scenario

  1. Disabling "Automatic Speed Adjustments"
  2. Not injecting SMCAMDProcessor as suggested https://github.com/trulyspinach/SMCAMDProcessor/issues/82#issuecomment-637457555

SMCAMDProcessor release 0.6.3 is works fine

Panic Log

panic(cpu 0 caller 0xffffff801c691b2c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 10 (5) [tid=0xb2(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x400 pl=1 il=0 r=1]. Thread 0x74.
Failure code:: 0x00000000 00000019

Backtracing specified thread
Backtrace (CPU 0), Frame : Return Address
0xffffff83bd983900 : 0xffffff801c0471e8 mach_kernel : _machine_switch_context + 0xc8
0xffffff83bdef3920 : 0xffffff801bf433f1 mach_kernel : _thread_unstop + 0x1731
0xffffff83bdef3990 : 0xffffff801bf41c2f mach_kernel : _thread_block_reason + 0xaf
0xffffff83bdef39e0 : 0xffffff7f9ed3bb0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27
0xffffff83bdef3a00 : 0xffffff7f9ed36c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167
0xffffff83bdef3a20 : 0xffffff7f9ed26e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297
0xffffff83bdef3a70 : 0xffffff7f9ed47b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2
0xffffff83bdef3af0 : 0xffffff7f9ed49286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e
0xffffff83bdef3b30 : 0xffffff7f9ed49f10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5
0xffffff83bdef3b80 : 0xffffff7f9ed415d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b
0xffffff83bdef3bc0 : 0xffffff7f9ed45cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247
0xffffff83bdef3c20 : 0xffffff7f9ed3ece6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58
0xffffff83bdef3c70 : 0xffffff7f9ed04b3b com.apple.driver.AppleACPIPlatform : __ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115
0xffffff83bdef3cc0 : 0xffffff7f9ed08eab com.apple.driver.AppleACPIPlatform : __ZN12AppleACPICPU7haltCPUEv + 0x75
0xffffff83bdef3ce0 : 0xffffff801c64d0e0 mach_kernel : __Z16IOCPUSleepKernelv + 0x290
0xffffff83bdef3d40 : 0xffffff801c6862d5 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5
0xffffff83bdef3de0 : 0xffffff801c617917 mach_kernel : __ZN9IOService8all_doneEv + 0x767
0xffffff83bdef3e50 : 0xffffff801c6146ac mach_kernel : __ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c
0xffffff83bdef3ea0 : 0xffffff801c611d40 mach_kernel : __ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0
0xffffff83bdef3ef0 : 0xffffff801c611bd9 mach_kernel : __ZN13IOPMWorkQueue12checkForWorkEv + 0xc9
0xffffff83bdef3f30 : 0xffffff801c62d43e mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x11e
0xffffff83bdef3f70 : 0xffffff801c62ca36 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36
0xffffff83bdef3fa0 : 0xffffff801bec713e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleACPIPlatform(6.1)[06B0C2E0-18E0-3E3B-8A46-17BF2A713C34]@0xffffff7f9ecf9000->0xffffff7f9ed93fff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[9D1FF279-C4A2-3344-902F-E0B22B508689]@0xffffff7f9d045000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1B1F3BBB-9212-3CF9-94F8-8FEF0D3ACEC4]@0xffffff7f9c931000
            dependency: com.apple.driver.AppleSMC(3.1.9)[601E041E-0A5C-3B6A-A4E6-45ECC7F48A2B]@0xffffff7f9d057000

BSD process name corresponding to current thread: kernel_task
Boot args: -v keepsyms=1 debug=0x100 npci=0x2000 alcid=3 shikigva=128 agdpmod=pikera 

Mac OS version:
19E287

Kernel version:
Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Kernel UUID: AB0AA7EE-3D03-3C21-91AD-5719D79D7AF6
Kernel slide:     0x000000001bc00000
Kernel text base: 0xffffff801be00000
__HIB  text base: 0xffffff801bd00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 327328197857
tikizondo94 commented 4 years ago

Same issue with my machine. "Ryzen 1700/Gigabyte x370 Gaming K5/10.15.5". All worked normal up till 10.15.5 update. Remove both SMC and PM kexts and system sleeps normal again. Attached is wake report.

Last login: Fri Jun 5 16:32:32 on console paul@Pauls-iMac-Pro ~ % log show --style syslog | fgrep "Wake reason"

pmset -g assertions paul@Pauls-iMac-Pro ~ % pmset -g assertions 2020-06-05 16:34:05 -0400 Assertion status system-wide: BackgroundTask 1 ApplePushServiceTask 0 UserIsActive 1 PreventUserIdleDisplaySleep 0 PreventSystemSleep 0 ExternalMedia 0 InternalPreventDisplaySleep 1 PreventUserIdleSystemSleep 0 NetworkClientActive 0 Listed by owning process: pid 119(hidd): [0x0000000c000980ed] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000520 name:AppleUserHIDEventSe product:CORSAIR DARK CORE R eventType:17"
Timeout will fire in 7200 secs Action=TimeoutActionRelease pid 73(powerd): [0x0000000200108003] 00:01:14 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"
Timeout will fire in 226 secs Action=TimeoutActionTurnOff pid 391(UserEventAgent): [0x00000016000b8166] 00:01:23 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"
Created for PID: 395. pid 96(apsd): [0x00000069000b823c] 00:00:00 ApplePushServiceTask named: "com.apple.apsd-datareceived-push.apple.com"
Kernel Assertions: 0x4=USB id=500 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.00b00000 owner=IOUSBHostDevice id=502 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.00b10000 owner=Corsair Gaming MM800 RGB POLARIS id=503 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.00b20000 owner=CORSAIR DARK CORE RGB Wireless USB Receiver id=504 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.00700000 owner=Corsair STRAFE RGB Gaming Keyboard id=505 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.00800000 owner=CSR8510 A10 Idle sleep preventers: IODisplayWrangler paul@Pauls-iMac-Pro ~ %

romancin commented 4 years ago

Any news on this issue? Can we make something to try to help? Thank you!

felipejfc commented 4 years ago

Hello!

I am facing this issue as well with the following hardware and software

Hardware Specs

  • Gigabyte X570 Aorus Elite
  • Ryzen 7 3700X
  • Gigabyte 5700XT

OpenCore Configuration

  • OpenCore 0.5.9
  • macOS 10.15.4 (19E287)
  • SMBIOS MacPro7,1

Tests

SMCAMDProcessor release 0.6.4 fails to sleep with the following scenario

  1. Disabling "Automatic Speed Adjustments"
  2. Not injecting SMCAMDProcessor as suggested #82 (comment)

SMCAMDProcessor release 0.6.3 is works fine

Panic Log

panic(cpu 0 caller 0xffffff801c691b2c): Sleep transition timed out after 180 seconds while halting all non-boot CPUs: tCPU 10 (5) [tid=0xb2(bp=0 sp=0) s=0x0 ps=0x0 cpa=0x0 spa=0x400 pl=1 il=0 r=1]. Thread 0x74.
Failure code:: 0x00000000 00000019

Backtracing specified thread
Backtrace (CPU 0), Frame : Return Address
0xffffff83bd983900 : 0xffffff801c0471e8 mach_kernel : _machine_switch_context + 0xc8
0xffffff83bdef3920 : 0xffffff801bf433f1 mach_kernel : _thread_unstop + 0x1731
0xffffff83bdef3990 : 0xffffff801bf41c2f mach_kernel : _thread_block_reason + 0xaf
0xffffff83bdef39e0 : 0xffffff7f9ed3bb0c com.apple.driver.AppleACPIPlatform : _AcpiExSystemDoSleep + 0x27
0xffffff83bdef3a00 : 0xffffff7f9ed36c9c com.apple.driver.AppleACPIPlatform : _AcpiExOpcode_1A_0T_0R + 0x167
0xffffff83bdef3a20 : 0xffffff7f9ed26e4c com.apple.driver.AppleACPIPlatform : _AcpiDsExecEndOp + 0x297
0xffffff83bdef3a70 : 0xffffff7f9ed47b4e com.apple.driver.AppleACPIPlatform : _AcpiPsParseLoop + 0x3d2
0xffffff83bdef3af0 : 0xffffff7f9ed49286 com.apple.driver.AppleACPIPlatform : _AcpiPsParseAml + 0x13e
0xffffff83bdef3b30 : 0xffffff7f9ed49f10 com.apple.driver.AppleACPIPlatform : _AcpiPsExecuteMethod + 0x1d5
0xffffff83bdef3b80 : 0xffffff7f9ed415d3 com.apple.driver.AppleACPIPlatform : _AcpiNsEvaluate + 0x33b
0xffffff83bdef3bc0 : 0xffffff7f9ed45cd2 com.apple.driver.AppleACPIPlatform : _AcpiEvaluateObject + 0x247
0xffffff83bdef3c20 : 0xffffff7f9ed3ece6 com.apple.driver.AppleACPIPlatform : _AcpiEnterSleepStatePrep + 0x58
0xffffff83bdef3c70 : 0xffffff7f9ed04b3b com.apple.driver.AppleACPIPlatform : __ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x115
0xffffff83bdef3cc0 : 0xffffff7f9ed08eab com.apple.driver.AppleACPIPlatform : __ZN12AppleACPICPU7haltCPUEv + 0x75
0xffffff83bdef3ce0 : 0xffffff801c64d0e0 mach_kernel : __Z16IOCPUSleepKernelv + 0x290
0xffffff83bdef3d40 : 0xffffff801c6862d5 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac5
0xffffff83bdef3de0 : 0xffffff801c617917 mach_kernel : __ZN9IOService8all_doneEv + 0x767
0xffffff83bdef3e50 : 0xffffff801c6146ac mach_kernel : __ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x86c
0xffffff83bdef3ea0 : 0xffffff801c611d40 mach_kernel : __ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0xa0
0xffffff83bdef3ef0 : 0xffffff801c611bd9 mach_kernel : __ZN13IOPMWorkQueue12checkForWorkEv + 0xc9
0xffffff83bdef3f30 : 0xffffff801c62d43e mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x11e
0xffffff83bdef3f70 : 0xffffff801c62ca36 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36
0xffffff83bdef3fa0 : 0xffffff801bec713e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleACPIPlatform(6.1)[06B0C2E0-18E0-3E3B-8A46-17BF2A713C34]@0xffffff7f9ecf9000->0xffffff7f9ed93fff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[9D1FF279-C4A2-3344-902F-E0B22B508689]@0xffffff7f9d045000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1B1F3BBB-9212-3CF9-94F8-8FEF0D3ACEC4]@0xffffff7f9c931000
            dependency: com.apple.driver.AppleSMC(3.1.9)[601E041E-0A5C-3B6A-A4E6-45ECC7F48A2B]@0xffffff7f9d057000

BSD process name corresponding to current thread: kernel_task
Boot args: -v keepsyms=1 debug=0x100 npci=0x2000 alcid=3 shikigva=128 agdpmod=pikera 

Mac OS version:
19E287

Kernel version:
Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Kernel UUID: AB0AA7EE-3D03-3C21-91AD-5719D79D7AF6
Kernel slide:     0x000000001bc00000
Kernel text base: 0xffffff801be00000
__HIB  text base: 0xffffff801bd00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 327328197857

I confirm I can sleep just fine using 0.6.3 and get same crash using 0.6.4. I'm using SMBIOS iMacPro1,1 and have a b450 tomahawk with a ryzen 5 3600

felipejfc commented 4 years ago

So I did some digging and narrowed the issue down to this commit https://github.com/trulyspinach/SMCAMDProcessor/commit/41109ffe96aba2fb0e190d6e3e29af69b84875c9

In the method setPowerState if you comment out the lines stopWorkLoop and startWorkLoop no panic happens and the pc sleeps just fine.

trulyspinach commented 3 years ago

This should be fixed by the latest release. Please open up a new issue if the problem persist.