Contribute
Register

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

I really don't know how to do that

You have to start by determining which port(s) are connected to any external port(s) you have.
If you have a question, you must provide problem reporting files as per FAQ (and the ioreg should show the external monitor connected, and you should provide information on what kind of external connector it is).
 
You have to start by determining which port(s) are connected to any external port(s) you have.
If you have a question, you must provide problem reporting files as per FAQ (and the ioreg should show the external monitor connected, and you should provide information on what kind of external connector it is).
HDMI is connected
my laptop has only HDMI port to connect external display
 

Attachments

  • Archive.zip
    2.5 MB · Views: 97
HDMI is connected
my laptop has only HDMI port to connect external display

Your ioreg shows laptop display at framebuffer@0, and external @1, which means the @2 connector is unused.

It means you can eliminate the @2 connector by patching the connector count:
Name: AppleIntelBDWGraphicsFramebuffer
Find: <06 00 26 16 01 03 03 03>
Replace: <06 00 26 16 01 03 02 03>
 
Your ioreg shows laptop display at framebuffer@0, and external @1, which means the @2 connector is unused.

It means you can eliminate the @2 connector by patching the connector count:
Name: AppleIntelBDWGraphicsFramebuffer
Find: <06 00 26 16 01 03 03 03>
Replace: <06 00 26 16 01 03 02 03>
thank you so much :)
this patch doesn't need in High Sierra, right?
 
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).

Rehabman,

I have a Toshiba Satellite P75-A7200 (Haswell) with HD4600 graphics, and I applied these patches fix my cursor lag problem, which it did, but it also killed my HDMI port. I tried using the port 0105 patches instead, but it didn't help. I also tried to figure out which port my laptop uses for HDMI, but with no success. Can you spot the problem?

In my attached files, I disabled the patches so my ioreg file shows the unpatched port configuration.
 

Attachments

  • Toshiba P75-A7200 ioreg.ioreg
    6.6 MB · Views: 133
  • EFI.zip
    3.7 MB · Views: 108
  • RehabMan.zip
    40.9 KB · Views: 98
Rehabman,

I have a Toshiba Satellite P75-A7200 (Haswell) with HD4600 graphics, and I applied these patches fix my cursor lag problem, which it did, but it also killed my HDMI port. I tried using the port 0105 patches instead, but it didn't help. I also tried to figure out which port my laptop uses for HDMI, but with no success. Can you spot the problem?

In my attached files, I disabled the patches so my ioreg file shows the unpatched port configuration.

Try different ig-platform-id values or enable all ports in the one you're using.
Then test HDMI and examine ioreg to determine which port is used (0105, 0204 or 0306).
Your profile lacks hardware details. Please fix as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

This thread is not a troubleshooting thread.
Open a separate thread.
 
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.

Why i cant apply your new set of patches ? when i use both patch.. the glitch is gone but i cant see my hdmi work.. how to solve ? i attach ioreg with connected hdmi
 

Attachments

  • Connected HDMI.ioreg
    6.7 MB · Views: 145

Attachments

  • CLOVER.zip
    3.1 MB · Views: 101
  • Connected HDMI.ioreg
    6.7 MB · Views: 155
  • RehabMan.zip
    50.8 KB · Views: 89
Back
Top