Contribute
Register

[solved] HD5500 Lag on Boot

Status
Not open for further replies.
Joined
Jul 2, 2011
Messages
56
Motherboard
--
CPU
--
Graphics
--
After seeing a post by @RehabMan regarding patching the Intel framebuffer to eliminate input lag on boot/wake, I decided to try something similar with the HD5500 on my laptop. The patch is supposed to remove extra ports in the kext.

I am using ig-platform-id 0x16160002, so I applied the following patches to com.apple.driver.AppleIntelBDWGraphicsFramebuffer, and it definitely eliminated the input lag on boot. However, the side effect is that backlight control (using AppleBacklightInjector) stopped working entirely. Along with that, my laptop crashes on waking from sleep. I'm hoping someone can help me figure out what I should do differently.

The patches I have applied are:

Comment: Change 3 ports to 2
Find: <02001616 01030303 00002002 00005001>
Replace: <02001616 01030202 00002002 00005001>

Comment: Remove Port
Find: <02040a00 00040000 07050000 ff000000>
Replace: <01000000 40000000 0a4b0000 05050600>

Comment: Replace Unused Port with HDMI
Find: <30020000 01050900 00040000 07050000>
Replace: <02040a00 00040000 07050000 ff000000>
 

Attachments

  • Problem Reporting.zip
    2.7 MB · Views: 84
After seeing a post by @RehabMan regarding patching the Intel framebuffer to eliminate input lag on boot/wake, I decided to try something similar with the HD5500 on my laptop. The patch is supposed to remove extra ports in the kext.

I am using ig-platform-id 0x16160002, so I applied the following patches to com.apple.driver.AppleIntelBDWGraphicsFramebuffer, and it definitely eliminated the input lag on boot. However, the side effect is that backlight control (using AppleBacklightInjector) stopped working entirely. Along with that, my laptop crashes on waking from sleep. I'm hoping someone can help me figure out what I should do differently.

The patches I have applied are:

Comment: Change 3 ports to 2
Find: <02001616 01030303 00002002 00005001>
Replace: <02001616 01030202 00002002 00005001>

Comment: Remove Port
Find: <02040a00 00040000 07050000 ff000000>
Replace: <01000000 40000000 0a4b0000 05050600>

Comment: Replace Unused Port with HDMI
Find: <30020000 01050900 00040000 07050000>
Replace: <02040a00 00040000 07050000 ff000000>

Problems:
- you have two PNLF devices (it is obvious from ioreg). One is in DSDT.aml at _SB.PNLF, the other is from SSDT-PNLF.aml at _SB.PCI0.IGPU.PNLF. As per backlight guide, you should have removed all previous PNLF (aka. "Brightness Fix") from DSDT.

- your setup for SSDT-PNLF is wrong. As per guide, if your ig-platform-id uses a PWMMax different from what SSDT-PNLF assumes (for Broadwell, assumes 0xad9), then you must use SSDT-Config.aml to set RMCF.LMAX to the correct PWMMax that your ig-platform-id is using. Your ig-platform-id 0x16160002 uses 0x56c. So you need to add SSDT-Config.aml with LMAX set to 0x56c.
(Note: For PWMMax problem you could also patch the ig-platform-id data to change the PWMMax that it is using)

Fix those two things first, then we'll see what the current state is...
 
Oops, I recently repatched my DSDT and used my old patches by accident. I've added an SSDT-Config.aml with the LMAX set (earlier I was using a Clover kext patch). The issue is still there though. Any idea what else I could look at?
 

Attachments

  • Problem Reporting.zip
    2.7 MB · Views: 98
Oops, I recently repatched my DSDT and used my old patches by accident. I've added an SSDT-Config.aml with the LMAX set (earlier I was using a Clover kext patch). The issue is still there though. Any idea what else I could look at?

The patches you have for the framebuffer are nonsense.
You can see that connector-type in framebuffer@1 is not valid...
This is probably confusing the heck out of the graphics kext code (surprising it didn't crash).

Remove all patches for the framebuffer and attach ioreg with an external monitor connected (so I can see which connector is associated with your external port).

Also, what kind of external port?
 
Oops :| The port is a mini-DP. @egore maybe you can help out? I can't find my mini-DP to HDMI cable. Maybe we can get audio working at the same time.

No ioreg attached.
Read post #4.
 
Sorry, I've attached it now

The ioreg shows external monitor on the 0105 port.
Disable the 0204 port...
Find: 02 04 0A 00 00 04 00 00 07 05 00 00
Replace: FF 00 00 00 01 00 00 00 40 00 00 00
 
Status
Not open for further replies.
Back
Top