Contribute
Register

Big Sur will not sleep beyond 30 minutes

Status
Not open for further replies.
Joined
Jun 19, 2017
Messages
16
Motherboard
Asus H370-I
CPU
i7-9700K
Graphics
RX580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I have recently upgraded my Hackintosh to Open Core 0.6.6 and Big Sur 11.2.3

It is rock solid with two exceptions:
1) Photo Stream will not sync (happy to ignore this for the moment)
2) It will not sleep beyond 30 minutes

My first attempt with Open Core resulted in regular kernel panics soon after boot or soon after wake from sleep. The stack showed timeout issues with the NVME driver, and seems a common issue:

Code:
void AppleNVMeRequestTimer::PrintPending()::243:QID=1 Deadline=4390442285091 DW0=00140001 DW10=00F04593 DW11=00000000 DW12=0000001F DW13=00000000 DW14=00000000 DW15=00000000
void AppleNVMeRequestTimer::PrintPending()::243:QID=1 Deadline=4390442285091 DW0=00140001 DW10=00F04593 DW11=00000000 DW12=0000001F DW13=00000000 DW14=00000000 DW15=00000000
Debugger called:
IOPlatformPanicAction -> IONVMeController
IOPlatformPanicAction -> AppleSMC
: panic(cpu 0 caller 0xffffff7f865edb30): nvme: "Fatal error occurred. CSTS=0xffffffff US[1]=0x0 US[0]=0x5a1 VID/DID=0x500215b7
. FW Revision=102000WD\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-387.270.1/IONVMeController.cpp:5334
Backtrace (CPU 0), Frame : Return Address
0xffffff873a6f3a10 : 0xffffff8003fad58d mach_kernel : _handle_debugger_trap + 0x47d
0xffffff873a6f3a60 : 0xffffff80040e9145 mach_kernel : _kdp_i386_trap + 0x155
0xffffff873a6f3aa0 : 0xffffff80040da87a mach_kernel : _kernel_trap + 0x50a
0xffffff873a6f3b10 : 0xffffff8003f5a9d0 mach_kernel : _return_from_trap + 0xe0
0xffffff873a6f3b30 : 0xffffff8003facfa7 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffff873a6f3c50 : 0xffffff8003facdf3 mach_kernel : _panic + 0x63
0xffffff873a6f3cc0 : 0xffffff7f865edb30 com.apple.iokit.IONVMeFamily : __ZN16IONVMeController13FatalHandlingEv + 0x10e
0xffffff873a6f3e20 : 0xffffff800465d407 mach_kernel : _ZN18IOTimerEventSource15timeoutSignaledEPvS0 + 0x87
0xffffff873a6f3e90 : 0xffffff800465d329 mach_kernel : _ZN18IOTimerEventSource17timeoutAndReleaseEPvS0 + 0x99
0xffffff873a6f3ec0 : 0xffffff8003fec7a5 mach_kernel : _thread_call_delayed_timer + 0xef5
0xffffff873a6f3f40 : 0xffffff8003fec345 mach_kernel : _thread_call_delayed_timer + 0xa95
0xffffff873a6f3fa0 : 0xffffff8003f5a0ce mach_kernel : _call_continuation + 0x2e
Kernel Extensions in backtrace:
com.apple.iokit.IONVMeFamily(2.1)[E109699D-6257-3176-B081-4CC8B1C181AB]@0xffffff7f865e0000->0xffffff7f8661ffff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[1AD7D9F4-24B5-354F-BD01-C301F58FAA52]@0xffffff7f84d8d000
dependency: com.apple.iokit.IOPCIFamily(2.9)[EF12A360-E92B-3407-8080-E4889F8AAC97]@0xffffff7f84895000
dependency: com.apple.driver.AppleEFINVRAM(2.1)[32B99D26-4CD1-3CE5-8856-D2659CCA4861]@0xffffff7f84f67000
dependency: com.apple.iokit.IOStorageFamily(2.1)[DFD9596C-E596-376A-8A00-3B74A06C2D02]@0xffffff7f84b83000
dependency: com.apple.iokit.IOReportFamily(47)[769D4408-2D1B-3B65-89D1-4C3C547099E3]@0xffffff7f85407000
BSD process name corresponding to current thread: kernel_task

After much research I added forceRenderStandby=0 to the boot args and the computer has been up for almost a month with no kernel panics. Unfortunately, I can put it to sleep and 30 minutes later (consistently) it will wake (monitor remains off) and will not sleep again until it is manually put to sleep.

I have since tried removing forceRenderStandby=0. Sleep returns to normal, but so do the kernel panics.

I've reached a bit of a dead-end. I've no idea what I'm looking for using pmset, but get the impression I won't find the answer there anyway - it's obviously a direct result of forceRenderStandby. It's not entirely clear what impact this should have.

Any thoughts?

iMac19,1 | Asus H370i | i7 8700k | Sapphire Radeon RX 580 8 GB | Samsung 970 Evo x 2
 
try running these codes in terminal
Code:
sudo pmset autopoweroff 0
sudo pmset powernap 0
sudo pmset standby 0
sudo pmset proximitywake 0
sudo pmset tcpkeepalive 0

have you went through this?
 
Status
Not open for further replies.
Back
Top