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 just found out the part. I will install all kexts in the other folder. I do have 2 follow up questions :

While I do appreciate the personalised keyboard for the dell 9360 , I have a British laptop version. Is there any chance I could find somewhere the British version of the file?

I have a Microsoft arc bluetooth mouse, which connects fine. But if I reboot, it is not recognised anymore. I can see the old one paired in the bluetooth setting, and if I try to pair one again, a new one will appear (which I don't think is how it is supposed to work)

Thank you,
Cosmin Cucu
 
I just found out the part. I will install all kexts in the other folder. I do have 2 follow up questions :

While I do appreciate the personalised keyboard for the dell 9360 , I have a British laptop version. Is there any chance I could find somewhere the British version of the file?

I was going to play around with Ukelale when I have time to try creating a British layout for this laptop.
In the mean time I found the standard apple "British - PC" layout works for everything except backslash, which is swapped with the key just below ESC.
 
After install, copy the two Brcm... .kext packages into /System/Library/Extensions

For each package, run:
sudo chown -R root:wheel [filename]
sudo chmod -R 755 [filename]

Reboot.
I didn't copy those two kexts into SLE but it's working too. Will it be better if I do that?
 
Good news everyone: I managed to make native HWP work.
I am seeing 20% more battery life with this new configuration.
A normal usage pattern will now go beyond 13 hours of use.
With a more Efficiency-inclined EEP (~200) the savings are even more interesting.
I am still perfecting the power management .plist, will explain everything once I update the guide.
I'll release updated files in a few days.
Meanwhile I want to share my AppleIntelInfo log with you:

Code:
AppleIntelInfo.kext v2.2 Copyright © 2012-2017 Pike R. Alpha. All rights reserved
enableHWP................................: 0

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1

Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0xb978531fe7b (439 MHz)
MWAIT C-States...........................: 286531872

Processor Brandstring....................: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

Processor Signature..................... : 0x806E9
------------------------------------------
- Family............................... : 6
- Stepping............................. : 9
- Model................................ : 0x8E (142)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF8031BA4D00
------------------------------------------
- Core Count........................... : 2
- Thread Count......................... : 4

MSR_PLATFORM_INFO................(0xCE)  : 0x4043DF1011D00
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x1D (2900 MHz)
- Ratio Limit for Turbo Mode........... : 1 (programmable)
- TDP Limit for Turbo Mode............. : 1 (programmable)
- Low Power Mode Support............... : 1 (LPM supported)
- Number of ConfigTDP Levels........... : 2 (additional TDP level(s) available)
- Maximum Efficiency Ratio............. : 4
- Minimum Operating Ratio.............. : 4

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x7E008008
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 1 (MSR locked until next reset)
- C3 State Auto Demotion............... : 1 (enabled)
- C1 State Auto Demotion............... : 1 (enabled)
- C3 State Undemotion.................. : 1 (enabled)
- C1 State Undemotion.................. : 1 (enabled)
- Package C-State Auto Demotion........ : 1 (enabled)
- Package C-State Undemotion........... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x51814
------------------------------------------
- LVL_2 Base Address................... : 0x1814
- C-state Range........................ : 5 (C-States not included, I/O MWAIT redirection not enabled)

IA32_MPERF.......................(0xE7)  : 0x4124FDF09E0
IA32_APERF.......................(0xE8)  : 0x2AC7DF40C6B

MSR_FLEX_RATIO...................(0x194) : 0x10000
------------------------------------------

MSR_IA32_PERF_STATUS.............(0x198) : 0x251F00002300
------------------------------------------
- Current Performance State Value...... : 0x2300 (3500 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0xA00
------------------------------------------
- Target performance State Value....... : 0xA00 (1000 MHz)
- Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0xE

IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
- High-Temperature Interrupt Enable.... : 0 (disabled)
- Low-Temperature Interrupt Enable..... : 0 (disabled)
- PROCHOT# Interrupt Enable............ : 0 (disabled)
- FORCEPR# Interrupt Enable............ : 0 (disabled)
- Critical Temperature Interrupt Enable : 1 (enabled)
- Threshold #1 Value................... : 0
- Threshold #1 Interrupt Enable........ : 0 (disabled)
- Threshold #2 Value................... : 0
- Threshold #2 Interrupt Enable........ : 0 (disabled)
- Power Limit Notification Enable...... : 0 (disabled)

IA32_THERM_STATUS................(0x19C) : 0x882F2808
------------------------------------------
- Thermal Status....................... : 0
- Thermal Log.......................... : 0
- PROCHOT # or FORCEPR# event.......... : 0
- PROCHOT # or FORCEPR# log............ : 1
- Critical Temperature Status.......... : 0
- Critical Temperature log............. : 0
- Thermal Threshold #1 Status.......... : 0
- Thermal Threshold #1 log............. : 0
- Thermal Threshold #2 Status.......... : 0
- Thermal Threshold #2 log............. : 0
- Power Limitation Status.............. : 0
- Power Limitation log................. : 1
- Current Limit Status................. : 0
- Current Limit log.................... : 1
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 47
- Resolution in Degrees Celsius........ : 1
- Reading Valid........................ : 1 (valid)

MSR_THERM2_CTL...................(0x19D) : 0x0

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
- Fast-Strings......................... : 1 (enabled)
- FOPCODE compatibility mode Enable.... : 0
- Automatic Thermal Control Circuit.... : 1 (enabled)
- Split-lock Disable................... : 0
- Performance Monitoring............... : 1 (available)
- Bus Lock On Cache Line Splits Disable : 0
- Hardware prefetch Disable............ : 0
- Processor Event Based Sampling....... : 0 (PEBS supported)
- GV1/2 legacy Enable.................. : 0
- Enhanced Intel SpeedStep Technology.. : 1 (enabled)
- MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
- Adjacent sector prefetch Disable..... : 0
- CFG Lock............................. : 0 (MSR not locked)
- xTPR Message Disable................. : 1 (disabled)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x2640000
------------------------------------------
- Turbo Attenuation Units.............. : 0
- Temperature Target................... : 100
- TCC Activation Offset................ : 2

MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
- EIST Hardware Coordination........... : 1 (hardware coordination disabled)
- Energy/Performance Bias support...... : 1
- Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
- Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x23232323
------------------------------------------
- Maximum Ratio Limit for C01.......... : 23 (3500 MHz)
- Maximum Ratio Limit for C02.......... : 23 (3500 MHz)

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
- Power Policy Preference...............: 1 (highest performance)

MSR_POWER_CTL....................(0x1FC) : 0x24005F
------------------------------------------
- Bi-Directional Processor Hot..........: 1 (enabled)
- C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
- Power Units.......................... : 3 (1/8 Watt)
- Energy Status Units.................. : 14 (61 micro-Joules)
- Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x4280C800DD8078
------------------------------------------
- Package Power Limit #1............... : 15 Watt
- Enable Power Limit #1................ : 1 (enabled)
- Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
- Time Window for Power Limit #1....... : 110 (163840 milli-Seconds)
- Package Power Limit #2............... : 25 Watt
- Enable Power Limit #2................ : 1 (enabled)
- Package Clamping Limitation #2....... : 0 (disabled)
- Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
- Lock................................. : 0 (MSR not locked)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x104D9A31
------------------------------------------
- Total Energy Consumed................ : 16694 Joules (Watt = Joules / seconds)

MSR_PKG_POWER_INFO...............(0x614) : 0x78
------------------------------------------
- Thermal Spec Power................... : 15 Watt
- Minimum Power........................ : 0
- Maximum Power........................ : 0
- Maximum Time Window.................. : 0

MSR_PP0_POWER_LIMIT..............(0x638) : 0x0

MSR_PP0_ENERGY_STATUS............(0x639) : 0xBC5FCC4
------------------------------------------
- Total Energy Consumed................ : 12055 Joules (Watt = Joules / seconds)

MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0

MSR_PKGC6_IRTL...................(0x60b) : 0x8876
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x1078A91A38C
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x4CAAA4F23F
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x48E4413C0DA

IA32_TSC_DEADLINE................(0x6E0) : 0xB9787BE9429

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

IA32_HWP_CAPABILITIES............(0x771) : 0x1091B23
-----------------------------------------
- Highest Performance.................. : 35
- Guaranteed Performance............... : 27
- Most Efficient Performance........... : 9
- Lowest Performance................... : 1

IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
- Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
- Excursion Minimum.................... : 0 (Interrupt generation disabled)

IA32_HWP_REQUEST................(0x774) : 0x80182304
-----------------------------------------
- Minimum Performance................. : 4
- Maximum Performance................. : 35
- Desired Performance................. : 24
- Energy Efficient Performance........ : 128
- Activity Window..................... : 0, 0
- Package Control..................... : 0

IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
- Guaranteed Performance Change....... : 0 (has not occured)
- Excursion To Minimum................ : 0 (has not occured)

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  4 ( 400 MHz)
Maximum non-Turbo Ratio/Frequency........: 29 (2900 MHz)
Maximum Turbo Ratio/Frequency............: 35 (3500 MHz)

IGPU Info:
------------------------------------------
IGPU Current Frequency...................:    0 MHz
IGPU Minimum Frequency...................:  300 MHz
IGPU Maximum Non-Turbo Frequency.........:  300 MHz
IGPU Maximum Turbo Frequency.............: 1050 MHz
IGPU Maximum limit.......................: No Limit

P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU C3-Cores [ 0 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 ] iGPU P-States [ 18 21 24 27 30 ]

Oh, there's still room for improvement: I have to enable SSD power management and to test this thermal management hack: http://www.ultrabookreview.com/10395-dell-xps-13-9550-iris-540

pads.jpg
I tried installing all those heat fixes. It basically uses the underside of the laptop as a heatsink. And i don't know about yours, but mine gets VERY hot . Performance wise, don't know if you'll see a big improvements except for cpu heavy applications.
 
Yeah! I managed installing them and now audio is working! Excellent~
Now I'm waiting for my BCMcard. Tomorrow I'll try to swap 1535 and turn this laptop into a wonderful Hachintosh~
Thanks again, Bozma88. Hope your later delivery~
Hello,

I tried to install the 2 kexts in other with kext wizard, then rebuild the cache and restarted, but the sound still does not work. Am i missing something?

Should i install all kexts to S L E ?

Thank you,
Cosmin Cucu
 
Hello,

I tried to install the 2 kexts in other with kext wizard, then rebuild the cache and restarted, but the sound still does not work. Am i missing something?

Should i install all kexts to S L E ?

Thank you,
Cosmin Cucu

Audio kexts should be installed in SLE. The others can be left in Clover EFI.
Thank you for the feedback on thermal pads. My advice is then to remove them.
Heat around, below or above the battery is detrimental to battery lifespan.
You want to have battery cells as cool as possible, as hot batteries degrade way more quickly.
 
I just found out the part. I will install all kexts in the other folder. I do have 2 follow up questions :

While I do appreciate the personalised keyboard for the dell 9360 , I have a British laptop version. Is there any chance I could find somewhere the British version of the file?

I have a Microsoft arc bluetooth mouse, which connects fine. But if I reboot, it is not recognised anymore. I can see the old one paired in the bluetooth setting, and if I try to pair one again, a new one will appear (which I don't think is how it is supposed to work)

Thank you,
Cosmin Cucu
Use Ukelele free app to create a new layout. You learn how to use it in 5 minutes.
 
Audio kexts should be installed in SLE. The others can be left in Clover EFI.
Thank you for the feedback on thermal pads. My advice is then to remove them.
Heat around, below or above the battery is detrimental to battery lifespan.
You want to have battery cells as cool as possible, as hot batteries degrade way more quickly.

thank you for you response, i still have a few questions, if i may.

Sound still does not work . Just to be even more clear, i have tried the following things :

i installed in S L E the kexts : cloverHDA.kext and CodecComander.kext using kext wizard (the printscreen on what settings i used are attached ), clicked the repair permissions and rebuild cache tickboxes, executed, then restarted, sound not working.

i installed in S L E the kexts : cloverHDA.kext and CodecComander.kext using kext wizard (the printscreen on what settings i used are attached ), used your command to rebuild the cache (sudo touch /System/Library/Extensions && sudo kextcache -u /), restarted, sound still not working

I installed in S L E ACPI.kext, NRCM*.kext, HackrNVMeFamily-10_12_3.kext,AppleHDA_ALC256 and intelbacklight.kext files with Kext wizard (I read in the other 9360 thread it's better to do so), executed your command, restarted, sound still not working.

Am i missing something?
 
thank you for you response, i still have a few questions, if i may.

Sound still does not work . Just to be even more clear, i have tried the following things :

i installed in S L E the kexts : cloverHDA.kext and CodecComander.kext using kext wizard (the printscreen on what settings i used are attached ), clicked the repair permissions and rebuild cache tickboxes, executed, then restarted, sound not working.

i installed in S L E the kexts : cloverHDA.kext and CodecComander.kext using kext wizard (the printscreen on what settings i used are attached ), used your command to rebuild the cache (sudo touch /System/Library/Extensions && sudo kextcache -u /), restarted, sound still not working

I installed in S L E ACPI.kext, NRCM*.kext, HackrNVMeFamily-10_12_3.kext,AppleHDA_ALC256 and intelbacklight.kext files with Kext wizard (I read in the other 9360 thread it's better to do so), executed your command, restarted, sound still not working.

Am i missing something?

I think so.
We are using CloverHDA, not AppleHDA.
For working sound, you need:
DSDT.aml, SSDT-ALC256.aml in EFI/CLOVER/ACPI/patched
Layout ID 13 in Clover plist
ALC patched in Clover plist
AppleHDA and CodecCommander kext in SLE.
Cache rebuild and two reboots.
Audio enabled in bios.
 
I researched the steps you enumerated, i have most of them, except you say to use CloverHDA, not AppleHDA, then say AppleHDA in SLE.

I did check , the appleHDA kext is loaded, so is the codec commander. Can't make the CloverHDA to be loaded.

The only thing i didn't find how to do is ALC patch. I looked around with Clover configurator, no idea where it would be.

I did find other steps , kexts and plist files to use, but i wanted to try things your way, since yours was cleaner, and worked largely seamless.
 
Status
Not open for further replies.
Back
Top