Contribute
Register

Getting sleep/wake to work on Dell XPS 12 9250 on 10.13.4

Status
Not open for further replies.
I still don't know what you mean by "HWP patches". There are no such "patches" mentioned at laptop CPU PM guide.

Maybe you should try non-HWP SMBIOS, such as MacBookPro11,1.

I checked the following boxes, to enable HWP as I thought it would, based on some other guide I found.

Screen Shot 2018-05-13 at 1.27.11 PM.png

But now, after I reverted all changes back to when sleep was working on my device I found that HWP was already enabled

I determined this by doing 'sudo kextload AppleIntelInfo.kext'

And looking in '/tmp/AppleIntelInfo.dat'. I should have checked this first..

Code:
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

So I wasted my time on that and it broke sleep. Sleep still appears broken. I have tried enabling only the BIOS options available in this guide: https://www.tonymacx86.com/threads/guide-dell-xps-15-9560-high-sierra-10-13-2.243384/

But it didn't seem to fix sleep.
 
I checked the following boxes, to enable HWP as I thought it would, based on some other guide I found.

View attachment 331066

But now, after I reverted all changes back to when sleep was working on my device I found that HWP was already enabled

I determined this by doing 'sudo kextload AppleIntelInfo.kext'

And looking in '/tmp/AppleIntelInfo.dat'. I should have checked this first..

Code:
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

So I wasted my time on that and it broke sleep. Sleep still appears broken. I have tried enabling only the BIOS options available in this guide: https://www.tonymacx86.com/threads/guide-dell-xps-15-9560-high-sierra-10-13-2.243384/

But it didn't seem to fix sleep.

Clover's HWPEnable feature should never be used (and will not enable HWP after sleep anyway)
It is not necessary... to enable HWP, use an HWP enabled SMBIOS.
 
Clover's HWPEnable feature should never be used (and will not enable HWP after sleep anyway)
It is not necessary... to enable HWP, use an HWP enabled SMBIOS.

Thanks. Good to know.

I have tried every ig-platform-id associated with Skylake chips, several with Haswell, Broadwell, and Kaby Lake, but it still does not seem to resume from sleep. I even tried disabled my WiFi/Bluetooth and a few other things in BIOS, but it didn't work either. Do you have an ideas of what I could try next?
 
Thanks. Good to know.

I have tried every ig-platform-id associated with Skylake chips, several with Haswell, Broadwell, and Kaby Lake, but it still does not seem to resume from sleep. I even tried disabled my WiFi/Bluetooth and a few other things in BIOS, but it didn't work either. Do you have an ideas of what I could try next?

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 

Attachments

  • debug_10622.zip
    2.2 MB · Views: 70
Here are the requested files you mentioned. Thank you.

Your USB configuration looks really wrong... (no USB3 ports?).. .power properties not implemented.

You should try other SMBIOS (for example, MacBookPro11,1).
And other ig-platform-id values (for example, 0x191b0000).

Also, try other values for byte 20 in EDID override.

May also be DVMT-prealloc related. You have DVMT-prealloc set to 128mb? If so, you should patch the framebuffer to match (eg. larger framebuffer memory/cursor bytes to fit within the DVMT-prealloc setting).

And you might try OsxAptioFixDrv-64.efi + EmuVariableUefi-64.efi + "RC scripts" instead of AptioMemoryFix.efi.
 
May also be DVMT-prealloc related. You have DVMT-prealloc set to 128mb? If so, you should patch the framebuffer to match (eg. larger framebuffer memory/cursor bytes to fit within the DVMT-prealloc setting).

I just have a question about framebuffer allocation right now. I'll continue testing the other the other things you mentioned to try.

I have been following the guide https://www.tonymacx86.com/threads/...lensize-patch-with-32mb-dvmt-prealloc.221506/

As a result, this is what I created:

Comment: 0x19160000/etc, 128MB BIOS, 83MB framebuffer 34MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 00002002 00005001
Replace: 00000005 00000002

But this causes my system to reboot, as well as trying 00000001 instead of 00000002. I've also tried the default (found at https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD515_520_530_540.plist):

Comment: 0x19160006, 32MB BIOS, 19MB framebuffer, 9MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 00002002 00005001
Replace: 00003001 00009000

But this causes my system to hang, which makes sense this wouldn't work as the 4K display requires the system to have 64MB or more of DVMT allocated memory.

I also tried:

Comment: 0x19160006, 128MB BIOS, 83MB framebuffer, 34MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 01030303 00002002 00005001
Replace: 01030303 00000005 00000002

But it didn't seem to make a difference, and my device rebooted as well.
 

Attachments

  • debug_28848.zip
    2.3 MB · Views: 83
I just have a question about framebuffer allocation right now. I'll continue testing the other the other things you mentioned to try.

I have been following the guide https://www.tonymacx86.com/threads/...lensize-patch-with-32mb-dvmt-prealloc.221506/

As a result, this is what I created:

Comment: 0x19160000/etc, 128MB BIOS, 83MB framebuffer 34MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 00002002 00005001
Replace: 00000005 00000002

But this causes my system to reboot, as well as trying 00000001 instead of 00000002. I've also tried the default (found at https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD515_520_530_540.plist):

Comment: 0x19160006, 32MB BIOS, 19MB framebuffer, 9MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 00002002 00005001
Replace: 00003001 00009000

But this causes my system to hang, which makes sense this wouldn't work as the 4K display requires the system to have 64MB or more of DVMT allocated memory.

I also tried:

Comment: 0x19160006, 128MB BIOS, 83MB framebuffer, 34MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 01030303 00002002 00005001
Replace: 01030303 00000005 00000002

But it didn't seem to make a difference, and my device rebooted as well.

Your ioreg shows you're using ig-platform-id 0x19260000.
I didn't check if your patches are applicable to that ig-platform-id. Did you?
 
Your ioreg shows you're using ig-platform-id 0x19260000.
I didn't check if your patches are applicable to that ig-platform-id. Did you?

Yes. I see you have the following in your guide (https://www.tonymacx86.com/threads/...lensize-patch-with-32mb-dvmt-prealloc.221506/):

In AppleIntelSKLGraphicsFramebuffer:
00001e19 ... 01030303 00002002 00005001
00001619 ... 01030303 00002002 00005001
00002619 ... 01030303 00002002 00005001
00002719 ... 01030303 00002002 00005001
00001b19 ... 01030303 00002002 00005001
00003b19 ... 01030303 00002002 00005001
00001219 ... 01030303 00002002 00005001
 
Status
Not open for further replies.
Back
Top