Contribute
Register

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

I want to use HDMI Audio (sorry for my previous question, I say I don't need :D - I'm trying to get my laptop working with full functional :D ), which patches I will need to apply for my config.plist. I think my HDMI connect with 0105 port and connector-type still 00 04 00 00. I don't know how to change.
I attached newest config.plist and ioreg.
Thank you again for your kind :D

Try patch for HDMI connector-type. For 0x0d260007, 0105, would be:
Find: 01050b00 00040000 07010000
Replace: 01050b00 00080000 07010000
 
Try patch for HDMI connector-type. For 0x0d260007, 0105, would be:
Find: 01050b00 00040000 07010000
Replace: 01050b00 00080000 07010000
Working perfectly!!! :clap::clap::clap::clap:
Thank you so much :thumbup::thumbup:
 
Hello @RehabMan. First of all thank you for all your work and updates!! Everything worked like a charm :D, till some weeks ago... After updating to 10.12.6 I have no sound!! I tried every suggestions I read. I am in my lenovo u430 touch now with Vanilla AppleHDA + ALC283 + every patch in the repo + copied config.plist + rebuild caches and reboot, but keep getting:

2018-05-25 13:55:37.127404+0200 0x4be Default 0x0 0 kernel: (AppleHDAController) Sound assertion in AppleHDAController at line 566

2018-05-25 13:55:37.127417+0200 0x4be Default 0x0 0 kernel: (AppleHDAController) Sound assertion in AppleHDAController at line 421

I will be very thankful for any help!
 
Hello @RehabMan. First of all thank you for all your work and updates!! Everything worked like a charm :D, till some weeks ago... After updating to 10.12.6 I have no sound!! I tried every suggestions I read. I am in my lenovo u430 touch now with Vanilla AppleHDA + ALC283 + every patch in the repo + copied config.plist + rebuild caches and reboot, but keep getting:

2018-05-25 13:55:37.127404+0200 0x4be Default 0x0 0 kernel: (AppleHDAController) Sound assertion in AppleHDAController at line 566

2018-05-25 13:55:37.127417+0200 0x4be Default 0x0 0 kernel: (AppleHDAController) Sound assertion in AppleHDAController at line 421

I will be very thankful for any help!

Off-topic.

Please open a separate thread.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
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.

Mine accidentally when to sleep and when I was trying to wake it, it suddenly made delays and lags for more than a minute. Does this still work even I'm on 10.13.6?
 
This patches can be included in the KextsToPatch category using PlistEdit Pro, right?

Yes:
- kext patches go in config.plist/KernelAndKextPatches/KextsToPatch
- a plist editor such as PlistEdit Pro or Xcode is recommended for any edits to config.plist
 
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.
Hi Rehab,
I wanted to disable the port that I do not use to avoid this short lag, but I did not understand how to make this patch to my id. Can you help me?
(this copy of ioreg is with the hdmi connected)
 

Attachments

  • Mateus.zip
    554.8 KB · Views: 226
Back
Top