Contribute
Register

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

Joined
Sep 19, 2011
Messages
391
Motherboard
XPS 13 9360
CPU
i7-8550U
Graphics
UHD 620
Mac
  1. MacBook Pro
Hey bozman,

I've been using the beta release, and it's worked flawlessly so far on my UHD 9360 (no power problems before or after).

Only two little bugs observed so far
- The power button, as you already noted
- When I plug in an external monitor, using USB3-DP adaptor, the system immediately reboots. If I boot from cold with the monitor plugged in, it never makes it to the login screen and gets stuck in a reboot cycle.

Would be interested to know if anyone else observed the monitor issue; happy to provide problem reporting files if they can help...

I had the same problem when I plugged a USB-C to HDMI cable in. Haven't really spent time debugging this as it wasn't a priority - what I did try was increasing the DVMT memory allocation but to no avail.

I ordered a miniDP adaptor but a DP turned up from China, am waiting for the replacement to turn up in the next few weeks(months?)
 
Joined
Feb 13, 2017
Messages
16
Motherboard
Dell XPS 13 9360
CPU
I7-7500U
Graphics
Intel 620 QHD
This is the very same behaviour I observed when I messed things up patching the ports on the framebuffer.
First of all, please provide all the problem reporting files.

Has anyone else ever tried DP adapters?
We all tested HDMI, and I don't have any DP adapter nor screen on hands.

Here are the problem reporting files - many thanks!
 

Attachments

  • probrep.zip
    4.2 MB · Views: 66

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,497
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Here are the problem reporting files - many thanks!

Comments:
- dual EC devices probably not a good idea. Remove the Device (_SB.EC) from SSDT-USBX.aml. (native EC is already renamed by config.plist/ACPI/patches)
- CPU PM not implemented
- probably need FakePCIID_Intel_HDMI_Audio.kext
- BrcmPatchRAM2 is hanging (USB issue, probably due to Google Chrome USB hooking, see FAQ)
 
Joined
Oct 23, 2012
Messages
445
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
Here are the problem reporting files - many thanks!
I don't find any difference from my own working config, so it's 90% caused by your adapter. We have to investigate it.
I tried 4 different USB-C => HDMI adapters, connected to 3 different monitors, one of them without integrated audio, and everything works fine. What BIOS version are you running?

Since your adapter is DP, and in the framebuffer the ports are already marked as DP, I don't see any way in which a patched framebuffer could help...

Is there anyone else who tested video out and can give his feedback?
 
Joined
Feb 13, 2017
Messages
16
Motherboard
Dell XPS 13 9360
CPU
I7-7500U
Graphics
Intel 620 QHD
I don't find any difference from my own working config, so it's 90% caused by your adapter. We have to investigate it.
I tried 4 different USB-C => HDMI adapters, connected to 3 different monitors, one of them without integrated audio, and everything works fine. What BIOS version are you running?

Since your adapter is DP, and in the framebuffer the ports are already marked as DP, I don't see any way in which a patched framebuffer could help...

Is there anyone else who tested video out and can give his feedback?


Hello,

Rehabman's steps fixed it - I can plug in and unplug and it works seamlessly. I will try to check whether it was _SB.EC or FakePCIID_Intel_HDMI_Audio.kext that did it.

Thanks again to both of you

PS I am running BIOS 1.3.5, having upgraded from 1.3.2 just before switching to the beta hotpatch files.
 
Joined
Jun 2, 2017
Messages
45
Motherboard
Dell XPS 13
CPU
Core i7-7560U
Graphics
Intel 640 1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Some minor issues:

- Battery menu icon doesn't appear in red colour when is <10%
- Wifi signal menu icon of current connected network is always at 100%
- Shift + insert reboots the computer instead of sleeping it
- Brightness levels aren't restoring after reboot
- Couldn't map alt (option) to caps lock, because it messes up with the toggle function
 
Joined
Oct 23, 2012
Messages
445
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
Hello,

Rehabman's steps fixed it - I can plug in and unplug and it works seamlessly. I will try to check whether it was _SB.EC or FakePCIID_Intel_HDMI_Audio.kext that did it.

Thanks again to both of you

PS I am running BIOS 1.3.5, having upgraded from 1.3.2 just before switching to the beta hotpatch files.

Please, check whether HDMI/DP audio still works with that kext installed.
In my case, adding Intel_HDMI_Audio.kext disables HDMI audio, so it's a no-go.
Thank you.
 
Last edited:
Joined
Oct 23, 2012
Messages
445
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
Some minor issues:

- Battery menu icon doesn't appear in red colour when is <10%
- Wifi signal menu icon of current connected network is always at 100%
- Shift + insert reboots the computer instead of sleeping it
- Brightness levels aren't restoring after reboot
- Couldn't map alt (option) to caps lock, because it messes up with the toggle function

1) Mine works
2) Never seen this happen. Check RSSI levels by clicking icon with ALT pressed
3) Shift+ins is not mapped to power dialog, how did you manage to do this?
4) Correct. It needs a Mac plist with brightness sensor and ALS0 device implemented
5) I don't understand why you would map alt to caps lock.........................
 
Joined
Oct 23, 2012
Messages
445
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
I had the same problem when I plugged a USB-C to HDMI cable in. Haven't really spent time debugging this as it wasn't a priority - what I did try was increasing the DVMT memory allocation but to no avail.

I ordered a miniDP adaptor but a DP turned up from China, am waiting for the replacement to turn up in the next few weeks(months?)

If I remember correctly, you are using a different audio kext (not Clover HDA). This may be the cause of your reboots.
I confirm HDMI audio working and no reboots with my beta config and USB-C => HDMI converters or direct cables.
 
Joined
Oct 23, 2012
Messages
445
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
Verify your assumption by implementing "IRQ Fix" (static patch).

Note: Normal behavior of the power button in macOS is that pressing it a short time does nothing. Longer will sleep. On real Macs, must press Ctrl at the same time to get power dialog.

Another (small) improvement.

@RehabMan, @jkbuha, @skydrops, @landmarker, I found the cause of PBTN not working.
On my original guide, _OSI was set to Linux, in the hotpatching config it's set to Windows.
Reverting to Linux restores correct behaviour of Power Button.

With _OSI to Windows:
=> Short press: nothing (correct)
=> Long press: nothing (not correct)

With _OSI to Linux:
=> Short press: nothing (correct)
=> Long press: Sleep (correct)*

This also makes possible (again) to wake the screen by pressing the power button.
With _OSI = Windows, when the screen shut down, you had to press a key or trackpad to turn it on.
The low-level reason should be investigated.

I have to ask you 9360 owners to test this:
A) Stay with the hot-patching assets, do not change nor implement anything else.
B) Revert to OSI = Linux**, and tell me:
1) if the power plug freeze starts occurring again,
2) if Power button now works with long press,
3) if you notice other issues directly related to this change.


Notes:
* In addition to that, if you want the power dialog to appear after a long press instead of sleep, type in console:
Code:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
** To revert to OSI = Linux, swap SSDT-XOSI.aml with the one attached to this post.
 

Attachments

  • SSDT-XOSI.aml
    66 bytes · Views: 104
Last edited:
Top