Contribute
Register

[Guide] Dell XPS 13 9360 on MacOS Sierra 10.12.x - LTS (Long-Term Support) Guide

Status
Not open for further replies.
I've been able to build a CPUfriend kext for my 8550U and have idle CPU average 0.63-0.72 GHz (of course the spike at the end of the run is the load from taking the screenshot).

P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (7) 27 ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 6 ]
CPU C7-Cores [ 0 2 3 5 6 ]
CPU C3-Cores [ 0 1 4 5 6 7 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 ]
CPU P-States [ 7 (8) 27 ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 7 (8) 27 ] iGPU P-States [ (21) ]
CPU P-States [ (6) 7 8 27 ] iGPU P-States [ 21 ]
CPU P-States [ 6 7 8 (25) 27 ] iGPU P-States [ (18) 21 ]
CPU P-States [ 6 7 8 (23) 25 27 ] iGPU P-States [ 18 21 ]
CPU P-States [ 6 7 8 23 (24) 25 27 ] iGPU P-States [ 5 18 21 ]
CPU P-States [ 6 7 8 23 24 (25) 27 ] iGPU P-States [ 5 18 21 ]
[ 18 21 ]
CPU P-States [ 4 6 7 8 12 17 18 19 26 31 (36) ] iGPU P-States [ 18 21 ]
CPU P-States [ 4 6 7 8 12 (16) 17 18 19 26 31 36 ] iGPU P-States [ 2 18 21 ]
CPU P-States [ 4 6 7 8 12 16 17 18 19 (24) 26 31 36 ] iGPU P-States [ 2 18 21 ]
Please can you explain how one should find these values? I have 7200U and can't understand how to do this task. Currently idle = 1.3~1.5
 
I've been able to build a CPUfriend kext for my 8550U and have idle CPU average 0.63-0.72 GHz (of course the spike at the end of the run is the load from taking the screenshot).

P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (7) 27 ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 6 ]
CPU C7-Cores [ 0 2 3 5 6 ]
CPU C3-Cores [ 0 1 4 5 6 7 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 ]
CPU P-States [ 7 (8) 27 ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 7 (8) 27 ] iGPU P-States [ (21) ]
CPU P-States [ (6) 7 8 27 ] iGPU P-States [ 21 ]
CPU P-States [ 6 7 8 (25) 27 ] iGPU P-States [ (18) 21 ]
CPU P-States [ 6 7 8 (23) 25 27 ] iGPU P-States [ 18 21 ]
CPU P-States [ 6 7 8 23 (24) 25 27 ] iGPU P-States [ 5 18 21 ]
CPU P-States [ 6 7 8 23 24 (25) 27 ] iGPU P-States [ 5 18 21 ]
[ 18 21 ]
CPU P-States [ 4 6 7 8 12 17 18 19 26 31 (36) ] iGPU P-States [ 18 21 ]
CPU P-States [ 4 6 7 8 12 (16) 17 18 19 26 31 36 ] iGPU P-States [ 2 18 21 ]
CPU P-States [ 4 6 7 8 12 16 17 18 19 (24) 26 31 36 ] iGPU P-States [ 2 18 21 ]

Could you share your kext here? I'll be back tomorrow so will be able to add/change as required.

Thanks
 
it's really easy to do with CPUFriend.
Attention - i use a MacBookPro14,1 SMBios, so in my case for i7 7500U base freq should be 04-05 Ghz, so we need to use a Mac-B4831CEBD52A0C4C.plist
Replace in freq vectors 0d to 05 on two places in plist, and run CPUFriend ResourceConverter.sh with plist.
As result you will get a CPUFriendDataProvider.kext put it with CPUFriend.kext to clover/kexts and restart.

p.s Attachments contain CPUFriend and CPUFriendDataProvider for i7 7500U
Screenshot 2019-01-22 at 18.06.54.png
 

Attachments

  • kexts.zip
    17.8 KB · Views: 122
it's really easy to do with CPUFriend.
Attention - i use a MacBookPro14,1 SMBios, so in my case for i7 7500U base freq should be 04-05 Ghz, so we need to use a Mac-B4831CEBD52A0C4C.plist
Replace in freq vectors 0d to 05 on two places in plist, and run CPUFriend ResourceConverter.sh with plist.
As result you will get a CPUFriendDataProvider.kext put it with CPUFriend.kext to clover/kexts and restart.

p.s Attachments contain CPUFriend and CPUFriendDataProvider for i7 7500U
1) `Replace in freq vectors 0d to 05`...ok, but why?
2) Are you using piker's freqVectorsEdit.sh in order to edit freq vectors?

Thanks!
 
1) `Replace in freq vectors 0d to 05`...ok, but why?
2) Are you using piker's freqVectorsEdit.sh in order to edit freq vectors?

Thanks!

1) 0d = 13 = 1.3 GHz base freq on idle for macbook14.1, we want to change it to 0.5 GHz, you can try to set it 04, but it can be really unstable.
2) Nope, we don't need to change anything except the base freq, in this case you can use any software to do this, textedit, xcode, etc

ResourceConverter/ResourceConverter.sh -k /Users/user/Desktop/Mac-B4831CEBD52A0C4C.plist
 
1) 0d = 13 = 1.3 GHz base freq on idle for macbook14.1, we want to change it to 0.5 GHz, you can try to set it 04, but it can be really unstable.
2) Nope, we don't need to change anything except the base freq, in this case you can use any software to do this, textedit, xcode, etc

ResourceConverter/ResourceConverter.sh -k /Users/user/Desktop/Mac-B4831CEBD52A0C4C.plist

Thanks for your help Zanzy. I really appreciate it man. I'm also using the MacbookPro 14,1, I hv it around 0.4-0.6Ghz on idle now. Lol, I was looking for the 0d inside the Mac-B4831CEBD52A0C4C.plist on Sublime, and couldn't find it until I reopened it using Xcode :lol:. For those who couldn't find the 0d value, hv a look at the attached screenshot below.
 

Attachments

  • 0d_location.png
    0d_location.png
    87.6 KB · Views: 155
  • intel_power_gadget.png
    intel_power_gadget.png
    345.2 KB · Views: 163
  • P_States.png
    P_States.png
    220.5 KB · Views: 139
I tried the CPUFriend posted by @zanzy, as it matches my CPU. The CPU package power at idle, as reported by Intel Power Gadget, is the same, at about 1.5W, for me. This is measured with the display sleeping, which gives me the lowest reading, naturally.

I lost only a very slight amount in Geekbench score, but still, it appears that, yes, it's true there aren't power savings to be had from lower clocks, past a certain point. Perhaps it's not universally the case- I don't know. I only have 2 cores, and some of you have 4, which is a pretty big difference.

Anyway, this testing led me to the discovery that, for this machine at least, the "pmset -b displaysleep" setting isn't persisting. It resets to 10 minutes after every reboot. I'd like to find a fix for this! Though I guess I could just kluge it with a startup script.
 
Thanks for providing that walkthrough video Mark, it was definitely helpful in a few steps that I had not gotten correct in my build.

I have managed to get Mojave 14.0 (not 14.0.2) installed on my XPS 9360 using your video, Darkvoid's setup, and the many comments/suggestions on this thread and others.

I am dual-booting with Windows (which I had to reinstall from scratch after reformatting to 4k sectors) and am using Clover as my boot loader for both OSX and Windows 10.

I am using the VoodooHDA for Audio, as I have not had luck with the AppleHDA or AppleALC Kext, but I have not added additional Layouts as per the Mojave guide, which may be required. My issue with the audio (so far) is that the microphone gain is set way too high, and doesn't appear to be adjustable making video conferencing not possible with the onboard mic. I'm also not using the ACPIBattery kext in Darkvoid's GitHub as per Mark's suggestion. On preliminary studying of it, it shouldn't be affecting the issue I am seeing below. I'm injecting the majority of the main kexts in CLOVER, rather than installing them in /Library/Extensions, so I'm not sure if that's an issue or not.

The biggest issue I am getting though, is consistent full-machine freezes where the screen blanks out, as is from sleep, but cannot be woken up, and the machine needs to be hard-booted by pressing the power button down for several seconds. This only seems to happen when the machine is going into some sleep/C-State mode. (I have C-states enabled in BIOS), and have specified all of the other recommended BIOS settings as per the original guide.

Any idea why I'd be getting these hard-crash/freezes? I've attached my CLOVER directory from EFI, my output from IOReg, console output from the various kext commands, and the DSTD files.

Any help with fixing the frequent (I think) sleep related freezes, and possibly the microphone gain issue would be greatly appreciated. I haven't tried upgrading to Mojave 14.0.2 as when I tried initially, the lack of trackpad support in the installer prevented me from selecting my OSX APFS drive, even with keyboard shortcuts. From the release notes on Apple, it doesn't appear that this is that important of an update, but if it's recommended to stability, I can give it a try.

Many thanks,
-Nate


So, in my testing, this really only seems to occur when the machine is asleep, and even after disabling C-States in the BIOS, it still does it. Any other suggestions about fixing sleep related stability issues? Disabling sleep does seem to fix it, but that's not a great solution, especially for being on battery.
 
Could you share your kext here? I'll be back tomorrow so will be able to add/change as required.

Thanks
Here you go. i7 8550U and MacBookPro15,1
 

Attachments

  • CPUFriend.kext.zip
    12.3 KB · Views: 75
  • CPUFriendDataProvider.kext.zip
    5.2 KB · Views: 67
Status
Not open for further replies.
Back
Top