Jump to content

Recommended Posts

Posted (edited)

Send me https://www.sendspace.com/file/4btvd4

 

Hi,

Sleep is working properly however it randomly freeze while in sleep. Sometimes I come and move my mouse and the laptop power up just fine from sleep and sometimes it seems like it powered on already on its own but it's frozen there. I can here fan but the screen remains black. Other times it powered on on it's own already but the screen is still black and moving my mouse power it up fine too.

Is there a way to fix this?

I don't know if it helps, but sometimes when I force reboot my laptop, there is some kind of BIOS Recovery / Failsafe on whitescreen that is displayed telling me I did not shutdown properly multiple times. 

Logs are not very helpful but here it is from Console App

Sleep Wake Failure_2022-02-09-133020_Jamess-MacBook-Pro.diag

Sleep Wake failure in EFI

Failure code:: 0x00000000 0x0000001f

Please IGNORE the below stackshot

================================================================
Date/Time:        2022-02-09 13:30:17.119 -0500
OS Version:       ??? ??? (Build ???)
Architecture:     x86_64
Report Version:   35
Incident Identifier: 27C75AD4-CC49-4606-A5F9-434E1DD3A94C

Data Source:      Stackshots
Shared Cache:     40432A03-88D3-305F-9C0C-E7549E71D927 slid base address 0x7ff812b1b000, slide 0x12b1b000

Event:            Sleep Wake Failure
Duration:         0.00s
Steps:            1

Boot args:        keepsyms=1 swd_panic=1 debug=0x100 alcid=11 -wegnoegpu -igfxblr igfxonln=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev

Time Awake Since Boot: 16s



Process:          swd [360]
Architecture:     x86_64
Footprint:        408 KB
Time Since Fork:  1s
Num samples:      1 (1)

  Thread 0x93d    1 sample (1)    priority 4 (base 4)
  <thread QoS background (requested background), thread darwinbg, process darwinbg, IO tier 2>
  1  ??? [0x1077ad4fe] 1
    1  ??? [0x107098454] 1
      1  ??? [0x1070981e8] 1
        1  __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 149174) [0x7ff812e1c6b6] 1
         *1  ??? [0xffffff8000228226] 1
           *1  ??? [0xffffff800099e9d4] 1
             *1  ??? [0xffffff8000894e84] 1
               *1  ??? [0xffffff800024be78] 1
                 *1  ??? [0xffffff80002881ad] (running) 1

  Binary Images:
        0x7ff812df8000 -     0x7ff812e2efff  libsystem_kernel.dylib (8019.61.5) <5AA1E5BE-B5B8-3A02-9885-A8C99E0CA378>  /usr/lib/system/libsystem_kernel.dylib

 

Edited by jamesst20
  • Administrators
Posted

DSDT.aml.zip

Disable hibernate. use only sleep

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted (edited)
15 hours ago, MaLd0n said:

DSDT.aml.zip 57.74 kB · 0 downloads

Disable hibernate. use only sleep

Thank you :)

Can you explain me how to disable hibernate and what are the advantage/disadvantage?

Also, if I use your DSDT, should I remove all my other aml files? Do i need to keep my IRQ patches in config.plist? What are the improvements inside your DSDT over what I currently have ? :)

 

I did this from the OpenCore guide few weeks ago:

sudo pmset autopoweroff 0
sudo pmset powernap 0
sudo pmset standby 0
sudo pmset proximitywake 0
sudo pmset tcpkeepalive 0

 

Edited by jamesst20
  • Administrators
Posted

here we don't use generic things with a bunch of ssdts. use it only to easy boot after we need a good fine tune

with this way only dsdt solve all but ut sleep problem is not common. need some debug for check what6 cause it

check debugenhancer https://github.com/acidanthera/DebugEnhancer

 

  • Like 1

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted (edited)
22 minutes ago, MaLd0n said:

here we don't use generic things with a bunch of ssdts. use it only to easy boot after we need a good fine tune

with this way only dsdt solve all but ut sleep problem is not common. need some debug for check what6 cause it

check debugenhancer https://github.com/acidanthera/DebugEnhancer

 

Thanks for getting back to me.

 

Can you confirm the following?

 

1. Install DebugEnhancer and add -dbgenhdbg boot flag. (I'm guessing I should use one with latest fix at the bottom here for monterey? https://github.com/acidanthera/bugtracker/issues/1916)

2. Remove all .aml files and use only your DSDT.aml

3. Should I keep IRQ Patches in config.plist?

4. What do you mean by disabling hibernate?

 

Last step: Reproduce sleep wake failure. How will I get the log?

Edited by jamesst20
  • Administrators
Posted

disable hibernate and use only sleep

u dont need irqs patch in config.plist

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted (edited)
5 hours ago, MaLd0n said:

disable hibernate and use only sleep

u dont need irqs patch in config.plist

Removed all SSDT, added your DSDT.aml, added DebugEnhancer with boot flag, removed OC patches (IRQ/HPET) and rebooted. 

Did sudo pmset -a hibernatemode 0  and put the laptop in sleep.

 

Laptop sleep just fine but I can't wake it up unless I open the lid and press power button :( Seems waking by USB is no longer working.

Send me https://www.sendspace.com/file/877pyy

 

Edit: Updated BIOS from 1.3.1 to 1.7.0

I redumped DSDT using SSDTTime in Windows (I booted without OpenCore). Could you re-do me a new DSDT? :) (I attached the zip)

It did not fix usb wake :(

 

 

SSDTTime - Alienware - 1.7.0 BIOS.zip

Edited by jamesst20
  • Administrators
Posted

select rebase regions in acpi tab, reboot and extract sendme. use ur ssdts for now with no acpi renames

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted
16 hours ago, MaLd0n said:

select rebase regions in acpi tab, reboot and extract sendme. use ur ssdts for now with no acpi renames

 

Went back to using my SSDTs (new ones with new BIOS), Upgraded to OpenCore 0.7.8 and Upgraded Kexts.

Selected Rebase Regions and disabled HPET rename patch and rebooted.

USB Wake Support is re-working again

https://www.sendspace.com/file/31fs0n

  • Administrators
Posted

add bootarg dk.e1000=0

DSDT.aml.zip

first check if sleep work. if yes solve wake from device later

 

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted (edited)
23 hours ago, MaLd0n said:

add bootarg dk.e1000=0

DSDT.aml.zip 57.87 kB · 0 downloads

first check if sleep work. if yes solve wake from device later

 

 

Do I keep RebaseRegions enabled and do I put back my ACPI renames (for Fix HPET and Fix IRQ)

 

I'm still using my new SSDTs and I have yet been able to reproduce the sleep issue. It's unusual normally it doesn't make it through the night. Only difference with new SSDTs vs old ones is the BIOS update and that I am using SSDT-USB-EC from SSDTTime and SSDT-USBX from Dortania instead of the SSDT-EC-USBX from Dortania

Edited by jamesst20
  • Administrators
Posted

here we using ssdt just to installation. is a easy way for incomplete solution

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted (edited)
1 hour ago, MaLd0n said:

here we using ssdt just to installation. is a easy way for incomplete solution

I meant: Do I keep RebaseRegions enabled and do I put back my ACPI renames (for Fix HPET and Fix IRQ) along with your DSDT

 

You made me enable RebaseRegion and disable ACPI renames to dump DSDT. I want to know if I revert those back 

Edited by jamesst20
  • Administrators
Posted

after that u just need dsdt

ssdts just inject into dsdt(principal oem bios/uefi)

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted
5 hours ago, MaLd0n said:

after that u just need dsdt

ssdts just inject into dsdt(principal oem bios/uefi)

Thanks MaLd0n for getting back. I went ahead, removed my ACPI renames and all of my SSDTs and put your DSDT.aml.

It's like the last time. The laptop can sleep, but I can't wake it unless I open the lid and press the power button :(

With SSDTs, the laptop can wake with my mouse and keyboard.

  • Administrators
Posted
1 hour ago, jamesst20 said:

With SSDTs, the laptop can wake with my mouse and keyboard.

yes

i killed all problematic things to try eliminate problems

is a usb keyboard?

  • Like 1

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted
20 hours ago, MaLd0n said:

yes

i killed all problematic things to try eliminate problems

is a usb keyboard?

Yes. Laptop built in keyboard is also USB but I have a USB keyboard connected too that I use

Posted (edited)
20 hours ago, jamesst20 said:

Yes. Laptop built in keyboard is also USB but I have a USB keyboard connected too that I use

Also, I just got a sleep wake failure :(

 

I don't know if it helps but every time a freeze happens, when I come in the room, the "Alien" logo on the lid is already powered on like it tried to wake up on its own. It never freezes when I wake the computer by myself.

 

Also I have DebugEnhancer, can I get log about the errors?

Edited by jamesst20
Posted
On 2/18/2022 at 8:18 AM, MaLd0n said:

Just installed the kext. I also removed DebugEnhancer because it hasn't proven itself of any use for us.

I will let you know if the freeze ever happen again. 

I still can't wake my laptop with mouse and keyboard since I use DSDT.aml. Should I revert back to my SSDTs and ACPI renames?

  • Administrators
Posted

u can

no problem

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

  • Administrators
Posted

u just need add _prw into device xhci

Quote

Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (Package ()
                {
                    0x6D, 
                    0x04
                })
            }

 

  • Like 1

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE



×
×
  • Create New...