Contribute
Register

OpenCore: Sleep HP EliteDesk 800 G2 Mini (i5-6500)

Status
Not open for further replies.
ok maybe we should try an old rehabman acpi wake trick.

Add this SSDT and in the config ACPI->Patch

View attachment 549457

No luck here:

1655035527068.png


Same behavior as before. Doesn't wake up.
 
you did both renames, _WAK to ZWAK and _PTS to ZPTS?
 
Also you can try this version of WEG, (you may need to downgrade to LILU 1.5) , I compiled it adding modForceWakeWorkaround.enabled = true; for Skylake iGPU.
 

Attachments

  • WhateverGreen.kext.zip
    261.4 KB · Views: 35
you did both renames, _WAK to ZWAK and _PTS to ZPTS?

Yes, forgot to expand for the print screen.

Also you can try this version of WEG, (you may need to downgrade to LILU 1.5) , I compiled it adding modForceWakeWorkaround.enabled = true; for Skylake iGPU.

It crashes mid boot with LILU 1.6, 1.5.9 and 1.5.

Meanwhile I decided to post here https://github.com/acidanthera/bugtracker/issues/2044 about everything we tried and someone is speaking about hibernation mode 25 but I'm unsure on how that should be applied.

Thank you.
 
in terminal:

Code:
sudo pmset -a hibernatemode 25

I got that part, it crashed when I tried to put it to sleep. Restarted to a RTC error.
 
Try with the WEG kext above, and lilu 1.5, and remove the extra boot flags, also remove the PTS-WAK stuff above.
Reverting back to as clean as possible and only this one patch on WEG.
Use lilu debug version and try to get a full boot log (even if it crashes)
 
Try with the WEG kext above, and lilu 1.5, and remove the extra boot flags, also remove the PTS-WAK stuff above.
Reverting back to as clean as possible and only this one patch on WEG.
Use lilu debug version and try to get a full boot log (even if it crashes)

Same thing.

Kernel Panic:

Code:
panic(cpu 1 caller 0xffffff7f9a85f9ba): "[IGPU] Failed to wake the ME: reload=0, retries=50\n" @IGGuC.cpp:1695
Panicked task 0xffffff9bc9df7670: 136 threads: pid 0: kernel_task
Backtrace (CPU 1), panicked thread: 0xffffffa5647b9540, Frame : Return Address
0xffffffb0ca073820 : 0xffffff8001e81c8d
0xffffffb0ca073870 : 0xffffff8001fe1596
0xffffffb0ca0738b0 : 0xffffff8001fd0963
0xffffffb0ca073900 : 0xffffff8001e21a70
0xffffffb0ca073920 : 0xffffff8001e8205d
0xffffffb0ca073a40 : 0xffffff8001e81816
0xffffffb0ca073aa0 : 0xffffff8002715163
0xffffffb0ca073b90 : 0xffffff7f9a85f9ba
0xffffffb0ca073bb0 : 0xffffff7f9a7d4f70
0xffffffb0ca073d20 : 0xffffff7f9a810450
0xffffffb0ca073d40 : 0xffffff7f9a7ded88
0xffffffb0ca073d90 : 0xffffff7f9a7dd71e
0xffffffb0ca073dc0 : 0xffffff8002619ffe
0xffffffb0ca073e20 : 0xffffff8002619abe
0xffffffb0ca073ef0 : 0xffffff8002618b60
0xffffffb0ca073f50 : 0xffffff800261bb87
0xffffffb0ca073fa0 : 0xffffff8001e2119e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleIntelSKLGraphics(18.0.7)[0175D5D3-6E8E-3834-8BD4-14ADB5C4F287]@0xffffff7f9a7d2000->0xffffff7f9a88efff
            dependency: com.apple.iokit.IOAcceleratorFamily2(462.8)[F0D1B5AF-356A-3F86-8829-8F00218602CB]@0xffffff7f9ada6000->0xffffff7f9ae10fff
            dependency: com.apple.iokit.IOGraphicsFamily(597)[BBEE13AB-2291-37D9-AAE4-9E565E8950A5]@0xffffff7f9af3f000->0xffffff7f9af6dfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[654ABF9D-EB24-3B64-AB1C-EC2AC8357192]@0xffffff8004a24000->0xffffff8004a4ffff
            dependency: com.apple.iokit.IOSurface(302.14)[F0BF8EFA-AA35-37B5-B3AB-A8BCF5E62024]@0xffffff8004b94000->0xffffff8004bb0fff

Process name corresponding to current thread (0xffffffa5647b9540): kernel_task
Boot args: igfxonln=1 -liludbgall igdebug=0xff chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
21F79

Kernel version:
Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64
Kernel UUID: 3C587984-4004-3C76-8ADF-997822977184
KernelCache slide: 0x0000000001c00000
KernelCache base:  0xffffff8001e00000
Kernel slide:      0x0000000001c10000
Kernel text base:  0xffffff8001e10000
__HIB  text base: 0xffffff8001d00000
System model name: iMac17,1 (Mac-....)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 106886964596
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00000018e2f5a939
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x0000000eb6ec5323 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
  Zone map: 0xffffff909600f000 - 0xffffffb09600f000
  . PGZ   : 0xffffff909600f000 - 0xffffff9097010000
  . VM    : 0xffffff9097010000 - 0xffffff9563a76000
  . RO    : 0xffffff9563a76000 - 0xffffff96fd342000
  . GEN0  : 0xffffff96fd342000 - 0xffffff9bc9da8000
  . GEN1  : 0xffffff9bc9da8000 - 0xffffffa09680e000
  . GEN2  : 0xffffffa09680e000 - 0xffffffa563274000
  . GEN3  : 0xffffffa563274000 - 0xffffffaa2fcdb000
  . DATA  : 0xffffffaa2fcdb000 - 0xffffffb09600f000
  Metadata: 0xffffff9072fff000 - 0xffffff9092fff000
  Bitmaps : 0xffffff9092fff000 - 0xffffff9095fff000

Any other specifics logs you need? Thank you.
 
Only other idea that comes to mind is to go back to regular WEG and try faking device-id for Kabylake. Skylake and KB are very similar though so the wake issue may still be there.

So keep the same info you have under AAPL,ig-platform-id
but add a new entry under it for "device-id"

KBL:
  • 0x5912
  • 0x5916
  • 0x591B
  • 0x591C
  • 0x591E
  • 0x5926
  • 0x5927
  • 0x5923
I'll hunt for skylake mac mini acpi tables to see if there's any clues in acpi, but I believe the issue is with the skylake driver itself, and without help from the dortania team, knowing what to patch where is beyond my skills.
 
Only other idea that comes to mind is to go back to regular WEG and try faking device-id for Kabylake. Skylake and KB are very similar though so the wake issue may still be there.

So keep the same info you have under AAPL,ig-platform-id
but add a new entry under it for "device-id"

KBL:
  • 0x5912
  • 0x5916
  • 0x591B
  • 0x591C
  • 0x591E
  • 0x5926
  • 0x5927
  • 0x5923
I'll hunt for skylake mac mini acpi tables to see if there's any clues in acpi, but I believe the issue is with the skylake driver itself, and without help from the dortania team, knowing what to patch where is beyond my skills.

Okay I was reading the beginning of the log and it says " "[IGPU] Failed to wake the ME: reload=0, retries=50\n" @IGGuC.cpp:1695" > not sure if ME means Intel Management Engine but I went into the bios and enabled it. Restarted the machine and time the screen turned off mid boot but I was able to SSH. It didn't crash!

Tried to sleep/wake with caffeinete and plugging the display again - no luck,.
 
Status
Not open for further replies.
Back
Top