Contribute
Register

[Guide] Intel IGPU HDMI/DP audio (all Sandy Bridge -> Kaby Lake [and likely later])

Use ig-platform-id 0x191b0000.

Unfortunately, I tried with the ig-platform-id you suggested but the problem remains.
IOReg output is the same as before the change.
 

Attachments

  • config.plist
    13.9 KB · Views: 279
went through 58 pages, almost done, but something interesting found - with HDMI device plug in, the framebuffer connect type change back to 00040000, even though it's patched to 00080000.
problem reporting files attached with 2 ioreg output - before and after hdmi plug in.

current situation is,
2 HDMI device tested - 1 HDMI TV, 1 HDMI display (LG UltraWide)
thinkpad x1 carbon, HD520, on board AppleHDA patchedby aDummyHDA+config.plist by AppleHDA pather, works well.
checked all the renames, framebuffer patch on both @1 and @2, (and connect to @1). layout_id and hda-gfx seetings are correct.

testing result
- no matter hotplug or not, HDMI audio works at first time on both HDMI devices
- LG monitor works well as secondary display , while no display at laptop when plug in HDMI TV, though looks like system still running (respond to mouse, keyboard light, etc.)
- unplug HDMI, the main display went off, though seems system is still running. can only hard shutdown. both HDMI TV and LG Monitor.

any hint is greatly appreciated. thanks.
 

Attachments

  • kextcache_output.txt
    1.1 KB · Views: 156
  • kextstat_output.txt
    822 bytes · Views: 165
  • ioreg_hdmi.zip
    1.3 MB · Views: 88
  • CLOVER.zip
    1.5 MB · Views: 91
Last edited:
went through 58 pages, almost done, but something interesting found - with HDMI device plug in, the framebuffer connect type change back to 00040000, even though it's patched to 00080000.
problem reporting files attached with 2 ioreg output - before and after hdmi plug in.

current situation is,
2 HDMI device tested - 1 HDMI TV, 1 HDMI display (LG UltraWide)
thinkpad x1 carbon, HD520, on board AppleHDA patchedby aDummyHDA+config.plist by AppleHDA pather, works well.
checked all the renames, framebuffer patch on both @1 and @2, (and connect to @1). layout_id and hda-gfx seetings are correct.

testing result
- no matter hotplug or not, HDMI audio works at first time on both HDMI devices
- LG monitor works well as secondary display , while no display at laptop when plug in HDMI TV, though looks like system still running (respond to mouse, keyboard light, etc.)
- unplug HDMI, the main display went off, though seems system is still running. can only hard shutdown. both HDMI TV and LG Monitor.

any hint is greatly appreciated. thanks.

Try other SMBIOS (ex. MacBookPro11,1).
Also, eliminate unused ports from the framebuffer (@2 not connected to anything?)
 
Try other SMBIOS (ex. MacBookPro11,1).
Also, eliminate unused ports from the framebuffer (@2 not connected to anything?)

tried MacBookPro11,1. removed @2 framebuffer patch. nothing changed. :(
given there are 2 other USB-C/TB port, will they affect anything?
 
tried MacBookPro11,1. removed @2 framebuffer patch. nothing changed. :(
given there are 2 other USB-C/TB port, will they affect anything?

My suggestion was not to remove any patches.
My suggestion was to eliminate unused connectors (requires different/additional patches).
 
Understand your suggestion. The @2 port didn’t connect to anything. Actually this laptop has 2 type-C TB and only one HDMI, no other display related port. Lenovo specs says it can connect to 3 displays at same time, means 2 TB+ 1 HDMI.
After HDMI was detected on @1, I should remove @2 framebuffer patch according to guide.
Have no idea on further/different/additional patch available.

Ps, using MacBookPro 11,1, more unstable strange behavior observed - occasionally very slow system or black screen. Simply switch back to 13,1 those issues disappeared. It’s not a problem report since I can hardly capture related files when it happen. Just FYI. And of course thanks.

Any suggestion on directions I can continue to try to solve this HDMI-Unplug-BlackScreen issue?
 
Understand your suggestion. The @2 port didn’t connect to anything.

So, eliminate it with appropriate KextsToPatch entry(s).

Actually this laptop has 2 type-C TB and only one HDMI, no other display related port. Lenovo specs says it can connect to 3 displays at same time, means 2 TB+ 1 HDMI.

That would be 4 displays if you include the internal display.
In that case, no connectors to remove, unless you're removing them just for testing.
 
Back
Top