Contribute
Register

[solved] Can not fall into sleep properly and can not wakeup on T470P

Status
Not open for further replies.
I think it's a good news that I can wake up my laotop and can see my desktop by adopting processing based on thread you recommanded.
I just changed the display type byte to "A5" and override the system folder.

However, the laptop still freezed after my waking up. Mmm... about 10 seconds. The same as yesterday.
Do you have any other suggestions?

You still have work to do in ACPI (eg. disable Nvidia).
See guide:
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/

Do not use the SMBUS patch with your hardware.
What is with the strange change you made to _Q2B?

Disable all KextsToPatch that you don't need.
(go back to stock plist from the guide)

If you can, set DVMT-prealloc to 64MB and avoid all such related patching (including IntelGraphicsDVMTFixup.kext).
 
Really really thank you. _INI and _OFF methods are in the same dsl file, and it is easy for me to modify it to achieve our aim.
Now, my laptop would fall into sleep within 30 seconds. Is this a common one ?
And the laptop can be wakeup now. But the power light are still in blinking state after waking up, and I don't think this state will stop.
Attached zip is the newest debug info.

Do not use the SMBUS patch with your hardware.
What is with the strange change you made to _Q2B?
Sorry, where do you find this? I do not know..

Disable all KextsToPatch that you don't need.
(go back to stock plist from the guide)
Yes, you are right. I have done that.

If you can, set DVMT-prealloc to 64MB and avoid all such related patching (including IntelGraphicsDVMTFixup.kext).

This is information about HD630:
ID: 591B0000, STOLEN: 38 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000130B
TOTAL STOLEN: 39 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 136 MB, MAX OVERALL: 137 MB (144191488 bytes)
GPU Name: Intel HD Graphics 630
Model Name(s): MacBookPro14,3
Camelia: Disabled, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - LVDS
[2] busId: 0x04, pipe: 10, type: 0x00000800, flags: 0x00000187 - HDMI
[3] busId: 0x06, pipe: 10, type: 0x00000400, flags: 0x00000187 - DP
00000800 02000000 98000000
02040A00 00080000 87010000
03060A00 00040000 87010000

My question is that the total mem of stolen plus fbmem is 59MB(38 + 21 = 59), how can it be adjusted to do a 64MB DVMT-prealloc? Maybe I misunderstand these numbers?
 

Attachments

  • debug_25454.zip
    2.8 MB · Views: 42
Really really thank you. _INI and _OFF methods are in the same dsl file, and it is easy for me to modify it to achieve our aim.
Now, my laptop would fall into sleep within 30 seconds. Is this a common one ?
And the laptop can be wakeup now. But the power light are still in blinking state after waking up, and I don't think this state will stop.
Attached zip is the newest debug info.

There is a patch for the power LED. Look at the SSDT-PTSWAK.dsl in my hotpatch repo.
(and read about _SST in the ACPI spec).

Sorry, where do you find this? I do not know..

I compared your ACPI/origin to ACPI/patched to see the changes you made.
See ACPI patching guide (and don't apply patches you don't need):
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

This is information about HD630:
ID: 591B0000, STOLEN: 38 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000130B
TOTAL STOLEN: 39 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 136 MB, MAX OVERALL: 137 MB (144191488 bytes)
GPU Name: Intel HD Graphics 630
Model Name(s): MacBookPro14,3
Camelia: Disabled, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - LVDS
[2] busId: 0x04, pipe: 10, type: 0x00000800, flags: 0x00000187 - HDMI
[3] busId: 0x06, pipe: 10, type: 0x00000400, flags: 0x00000187 - DP
00000800 02000000 98000000
02040A00 00080000 87010000
03060A00 00040000 87010000

My question is that the total mem of stolen plus fbmem is 59MB(38 + 21 = 59), how can it be adjusted to do a 64MB DVMT-prealloc? Maybe I misunderstand these numbers?

You have patches for it to adjust from 64mb down to 32mb. But if you can set DVMT-prealloc in BIOS (using BIOS itself or special UEFI shell and setup_var/setup_var2), then you won't have a need for the patch.
 
Good news! I remove kexts such as IntelGraphicsFixup and IntelGraphicsDVMT. Instead, I installed WhateverGreen and config it by follow this guide: https://www.tonymacx86.com/threads/guide-intel-framebuffer-patching-using-whatevergreen.256490/.
This time I fix HiDPI(I connect a 2k monitor from my laptop) problem.
Anyway, Pls mark this thread as [SOLVED] since I already manage sleeping and waking up issue of T470p and other problems based on your suggestions. Thank you very much.
 
Last edited:
Status
Not open for further replies.
Back
Top