Contribute
Register

[README] Common (some unsolved) Problems in 10.12 Sierra

Joined
Feb 9, 2015
Messages
28
Motherboard
Clevo WA50SRQ
CPU
i7 4700MQ / HM86
Graphics
HD 4600, 1920x1080
Mobile Phone
  1. iOS
This is it!
My u430 with 10.12.4 suffered from this problem (short duration lag after wake and after login).

My u430 has LVDS and a single HDMI.
I use ig-platform-id 0xa260006 with it. 0xa260006 has LVDS, 0105 DP, 0204 DP.
The HDMI is wired to 0204, so I patch that port for HDMI (to enable HDMI audio).
I also use the 'vbo' 9mb cursor bytes patch (even though it is not needed on my particular laptop... it is helpful on others).

So... before 10.12.4, I had these patches for com.apple.driver.AppleIntelFramebufferAzul:

Comment: 0x0a260006 9MB cursor bytes, vbo
Find: <0600260a 01030303 00000002 00003001 00006000>
Replace: <0600260a 01030303 00000002 00003001 00009000>

Comment: HDMI-audio, port 0204, 0x0a260005 0x0a260006
Find: <02040900 00040000 87000000>
Replace: <02040900 00080000 87000000>

Now the 0105 port comes before the 0204 port in the framebuffer, but we don't need the 0105 port as it is not connected to anything (and causing the lags).

So... strategy is to replace 0105 with 0204 and reduce the number of ports from 3 to 2.

We already know that in AppleIntelFramebufferCapri that 0x01660004 has only a single LVDS connector, so we can look to the header of that ig-platform-id data to discover what we need to reduce our ig-platform data in Azul from 3 ports to 2.

From AppleIntelFramebufferCapri 0x01660004:
04006601 01030101

And from AppleIntelFramebufferAzul 0x0a260006:
0600260A 01030303

So, there appears to be two counts at the end related to the number of connectors... plan to change them both...

New set of patches:

Comment: 0x0a260006 9MB cursor bytes (vbo), 2 ports only (RehabMan)
Find: <0600260a 01030303 00000002 00003001 00006000>
Replace: <0600260a 01030202 00000002 00003001 00009000>

Comment: 0x0a260006 disable 0204 port, change 0105 DP port to 0204 HDMI (RehabMan)
Find: <01050900 00040000 87000000 02040900 00040000 87000000>
Replace: <02040900 00080000 87000000 FF000000 01000000 40000000>

Result: No more lag after login and wake from sleep.

oh man thank you very much
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,434
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Mar 3, 2016
Messages
75
Mac
Classic Mac
Mobile Phone
My Dell 1560 (BCM94352Z) wifi card is not working. I have put the KextToPatch patch listed in my config.plist (attached) and installed both the latest versions of FakePCIID.kext + FakePCIID_Broadcom_WiFi.kext. The card does not show up in the network pane in system settings.
 

Attachments

  • config.plist
    8.8 KB · Views: 216

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,434
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
My Dell 1560 (BCM94352Z) wifi card is not working. I have put the KextToPatch patch listed in my config.plist (attached) and installed both the latest versions of FakePCIID.kext + FakePCIID_Broadcom_WiFi.kext. The card does not show up in the network pane in system settings.

You entered the patch incorrectly.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,434
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Could you elaborate please. Your help is much appreciated.

Look at the patch you entered with Xcode or PlistEdit Pro.
You will see the Find/Replace is nothing like the patch mentioned in post #1.
 
Joined
Mar 3, 2016
Messages
75
Mac
Classic Mac
Mobile Phone
Look at the patch you entered with Xcode or PlistEdit Pro.
You will see the Find/Replace is nothing like the patch mentioned in post #1.
This is what I have now. I used PlistEdit Pro. Wifi still undetected.
 

Attachments

  • config.plist
    9.1 KB · Views: 209

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,434
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
This is what I have now. I used PlistEdit Pro. Wifi still undetected.

Now it is correct. Make sure you have correct FakePCIID.kext + FakePCIID_Broadcom_WiFi.kext.
And keep in mind that Clover can only patch kexts that are in the cache...
So after having the correct patch, you must rebuild cache, then reboot.
 
Joined
Mar 3, 2016
Messages
75
Mac
Classic Mac
Mobile Phone
Now it is correct. Make sure you have correct FakePCIID.kext + FakePCIID_Broadcom_WiFi.kext.
And keep in mind that Clover can only patch kexts that are in the cache...
So after having the correct patch, you must rebuild cache, then reboot.

Well I learned something new. Thanks for the help.
 
Joined
Nov 25, 2013
Messages
73
Motherboard
MSI GE60 2PE Apache Pro -Clover
CPU
i7-4720HQ/HM87
Graphics
HD4600, 1920x1080
Top