Contribute
Register

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

Joined
Feb 26, 2017
Messages
11
Motherboard
Dell Latitude E7450
CPU
Intel i5-5300U / Board : 0NC6G7
Graphics
HD5500;Nvidia 840m 1920x1080
Mac
  1. MacBook Pro
Many thanks for answer, I'll test that tomorrow. if not successful I will provide needed files
 
Joined
Jul 2, 2011
Messages
56
Motherboard
--
CPU
--
Graphics
--
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.

I have a similar issue (lag on startup/wake) with my setup, but my laptop has Broadwell using ig-platform-id 0x16160002. I'm guessing I would have to patch AppleIntelBDWGraphicsFramebuffer to disable the unused ports (my laptop has mini-DP and the built-in display), but I don't really know where to begin.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,467
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have a similar issue (lag on startup/wake) with my setup, but my laptop has Broadwell using ig-platform-id 0x16160002. I'm guessing I would have to patch AppleIntelBDWGraphicsFramebuffer to disable the unused ports (my laptop has mini-DP and the built-in display), but I don't really know where to begin.

Yes... same process as I did for Azul, but get patching a different kext.
The ig-platform data is very similar between all the Intel graphics framebuffer kexts.
 
Joined
Jul 2, 2011
Messages
56
Motherboard
--
CPU
--
Graphics
--
Yes... same process as I did for Azul, but get patching a different kext.
The ig-platform data is very similar between all the Intel graphics framebuffer kexts.
Gave it a shot and patched the port numbers and removed/changed the port the same way you did for the Azul framebuffer. The outcome was interesting. Definitely no lag on boot, so that's great. But backlight control (using AppleBacklightInjector) stops working when I use the patches, and the display doesn't wake after sleeping.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,467
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Gave it a shot and patched the port numbers and removed/changed the port the same way you did for the Azul framebuffer. The outcome was interesting. Definitely no lag on boot, so that's great. But backlight control (using AppleBacklightInjector) stops working when I use the patches, and the display doesn't wake after sleeping.

No idea what you did without "Problem Reporting" files...

Read FAQ, "Problem Reporting"
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Joined
Jul 17, 2015
Messages
420
Motherboard
MSI GE62-2QC
CPU
5700HQ/HM87
Graphics
Intel HD5600 + GTX960M (1920 x 1080)
Mobile Phone
  1. iOS
Any problem with broadwell version macOS: 10.12.5
 
Joined
Jul 26, 2012
Messages
249
Motherboard
Z270 GAMING K3
CPU
I7-7700K
Graphics
AMD RADEON RX 580
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. iOS
Hello i have install 10.12.5 on my probook 4530s and i have plenty of black square on the screen i think there has been a change in the video driver
 
Last edited:
Top