Contribute
Register

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

Ok @RehabMan , first of all thank you for all of the contributions you've made to this community. You have made things a lot easier than I could've hoped for. I followed your guide for the HP Envy J series laptops, but since the guide is a little dated it makes sense that I had some issues. The main issue is that no matter what I cannot seem to get audio to work.

I tried to follow your instructions about regenerating the AppleHDA_IDT76e0_Envy.kext file. However, whenever I try to the file ends up empty. If I don't rebuild it, it doesn't work either. I have attempted to AppleALC and Lilu, but still nothing.

Any tips? I am still new to this, but I have managed to hack everything together but this. I've attached my config.plist if you need it. Please and thank you!
 

Attachments

  • config.plist
    18.8 KB · Views: 119
Ok @RehabMan , first of all thank you for all of the contributions you've made to this community. You have made things a lot easier than I could've hoped for. I followed your guide for the HP Envy J series laptops, but since the guide is a little dated it makes sense that I had some issues. The main issue is that no matter what I cannot seem to get audio to work.

I tried to follow your instructions about regenerating the AppleHDA_IDT76e0_Envy.kext file. However, whenever I try to the file ends up empty. If I don't rebuild it, it doesn't work either. I have attempted to AppleALC and Lilu, but still nothing.

Any tips? I am still new to this, but I have managed to hack everything together but this. I've attached my config.plist if you need it. Please and thank you!

Reply in Envy guide thread with "Problem Reporting" files as per guide post #1.
 
Hey, Can someone please assist me in why my laptop reboots with HDMI cable plugged in and also to get HDMI audio working.
With my HDMI cable attached to laptop and monitor i get to the clover bootscreen, choose macOS, it loads a little then reboots.
If i let the laptop boot without the HDMI cable plugged in its fine but if i attach the HDMI cable after bootup i have no HDMI audio.

Code:
Shanes-MBP:~ shane$ kextstat|grep -y acpiplat

   13    2 0xffffff7f8328f000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Shanes-MBP:~ shane$ kextstat|grep -y appleintelcpu

Shanes-MBP:~ shane$ kextstat|grep -y applelpc

  114    0 0xffffff7f82afb000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <106 12 5 4 3>

Shanes-MBP:~ shane$ kextstat|grep -y applehda

  101    1 0xffffff7f82f62000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <100 99 42 12 7 6 5 4 3 1>

  117    0 0xffffff7f830e4000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <116 101 100 99 43 42 6 5 4 3 1>

Shanes-MBP:~ shane$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

KernelCache ID: 48413CBCA3F6093CDC1657C9C13960BE
 

Attachments

  • config.plist.zip
    3.6 KB · Views: 70
  • RehabMan.zip
    48.1 KB · Views: 87
  • Shane’s MacBook Pro.zip
    735.3 KB · Views: 82
Last edited:
Hey, Can someone please assist me in why my laptop reboots with HDMI cable plugged in and also to get HDMI audio working.
With my HDMI cable attached to laptop and monitor i get to the clover bootscreen, choose macOS, it loads a little then reboots.
If i let the laptop boot without the HDMI cable plugged in its fine but if i attach the HDMI cable after bootup i have no HDMI audio.

Code:
Shanes-MBP:~ shane$ kextstat|grep -y acpiplat

   13    2 0xffffff7f8328f000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Shanes-MBP:~ shane$ kextstat|grep -y appleintelcpu

Shanes-MBP:~ shane$ kextstat|grep -y applelpc

  114    0 0xffffff7f82afb000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <106 12 5 4 3>

Shanes-MBP:~ shane$ kextstat|grep -y applehda

  101    1 0xffffff7f82f62000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <100 99 42 12 7 6 5 4 3 1>

  117    0 0xffffff7f830e4000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <116 101 100 99 43 42 6 5 4 3 1>

Shanes-MBP:~ shane$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

KernelCache ID: 48413CBCA3F6093CDC1657C9C13960BE

You are injecting layout-id=0x1c on HDEF, but layout-id=0x0c on HDAU.
They must match (HDAU layout-id should match HDEF).
Also, you did not patch the framebuffer connector-type for HDMI.
See guide:
https://www.tonymacx86.com/threads/...o-sandy-ivy-haswell-broadwell-skylake.189495/
 
Hi,

I am seeking for help with my laptop (MSI GE72 Apache Pro 2QF).

I got almost everything working (even audio and HDMI audio) thanks to the guides in this section but I still face an issue patching the framebuffer to get all my outputs working.

If I use 0x16120003 as a platform-id and CSM/Legacy video I can get all my outputs correctly but I can't boot with HDMI connected and I have the strange lag/freeze at boot/wake.
If I disable CSM/Legacy I can boot with HDMI plugged but my laptop screen is garbled and I have to sleep/wake for it to come back and the lag/freeze is still present.

If I use another platform-id (0x1626006 for exemple), I can boot with all my screens connected (DP and HDMI) and the lag is gone but my DP screen is black (it does not appear connected anywhere including in ioreg).

I tried to change the connector type for my HDMI screen with 0x16120003 framebuffer but it didn't solved anything (or I failed).
I tried to edit the framebuffer to remove the last (not used) port but I failed too.

I use 3 screens in this configuration :
Laptop screen : 1920x1080 -> eDP
Dell U2515H : 2560x1440 -> DP
Dell U2515H : 2560x1440 -> HDMI (with pixel clock patch)

All audio devices appears in the audio menu, audio works (most of the time) with integrated speakers.

Thanks for your advices !
 

Attachments

  • Problem_Reporting.zip
    2.3 MB · Views: 94
Hi,

I am seeking for help with my laptop (MSI GE72 Apache Pro 2QF).

I got almost everything working (even audio and HDMI audio) thanks to the guides in this section but I still face an issue patching the framebuffer to get all my outputs working.

If I use 0x16120003 as a platform-id and CSM/Legacy video I can get all my outputs correctly but I can't boot with HDMI connected and I have the strange lag/freeze at boot/wake.
If I disable CSM/Legacy I can boot with HDMI plugged but my laptop screen is garbled and I have to sleep/wake for it to come back and the lag/freeze is still present.

If I use another platform-id (0x1626006 for exemple), I can boot with all my screens connected (DP and HDMI) and the lag is gone but my DP screen is black (it does not appear connected anywhere including in ioreg).

I tried to change the connector type for my HDMI screen with 0x16120003 framebuffer but it didn't solved anything (or I failed).
I tried to edit the framebuffer to remove the last (not used) port but I failed too.

I use 3 screens in this configuration :
Laptop screen : 1920x1080 -> eDP
Dell U2515H : 2560x1440 -> DP
Dell U2515H : 2560x1440 -> HDMI (with pixel clock patch)

All audio devices appears in the audio menu, audio works (most of the time) with integrated speakers.

Thanks for your advices !

Are you certain your laptop screen is eDP? Most laptops use LVDS, not eDP.
No need for pixel clock patch if you patch the framebuffer for HDMI (connector-type).
Probably you should plan on hotplugging external monitors...
You should make sure to patch whatever framebuffer (ig-platform-id) you're using such that the connectors match your physical connectors.
 
Are you certain your laptop screen is eDP? Most laptops use LVDS, not eDP.
No need for pixel clock patch if you patch the framebuffer for HDMI (connector-type).
Probably you should plan on hotplugging external monitors...
You should make sure to patch whatever framebuffer (ig-platform-id) you're using such that the connectors match your physical connectors.
Yes, I just double checked from both linux (xrandr shows "eDP-1 connected primary") and Windows (Intel graphics settings shows "Connector Type: Embedded DisplayPort").

I patched my connector for HDMI, it shows the right connector type (08) when disconnected but switch back to 04 when connected (same issue I had before), I used your patch that seems to target the platform-id that I am using(16120003) :
Code:
    <key>Comment</key>
    <string>HDMI-audio, port 0204, 0x16120003 0x16120005 0x16120006 0x16260006</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>AgQLAAAEAAAHBQAA</data>
    <key>MatchOS</key>
    <string>10.12.x</string>
    <key>Name</key>
    <string>com.apple.driver.AppleIntelBDWGraphicsFramebuffer</string>
    <key>Replace</key>
    <data>AgQLAAAIAACCAAAA</data>

I agree with you, hotpluging my second monitor is not that bad, it would be nice to fix the lag/freeze issue (by deleting the last framebuffer) I couldn't find a patch for that, it seems that there are not many people trying to drive 3 screens from a (laptop) hack.
 
Yes, I just double checked from both linux (xrandr shows "eDP-1 connected primary") and Windows (Intel graphics settings shows "Connector Type: Embedded DisplayPort").

I patched my connector for HDMI, it shows the right connector type (08) when disconnected but switch back to 04 when connected (same issue I had before), I used your patch that seems to target the platform-id that I am using(16120003) :
Code:
    <key>Comment</key>
    <string>HDMI-audio, port 0204, 0x16120003 0x16120005 0x16120006 0x16260006</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>AgQLAAAEAAAHBQAA</data>
    <key>MatchOS</key>
    <string>10.12.x</string>
    <key>Name</key>
    <string>com.apple.driver.AppleIntelBDWGraphicsFramebuffer</string>
    <key>Replace</key>
    <data>AgQLAAAIAACCAAAA</data>

I agree with you, hotpluging my second monitor is not that bad, it would be nice to fix the lag/freeze issue (by deleting the last framebuffer) I couldn't find a patch for that, it seems that there are not many people trying to drive 3 screens from a (laptop) hack.

To eliminate the lag, just disable the ports that you're not using.
As far as eDP, AFAIK, no Macs use it, but you could patch the connector-type for eDP ... <04 00 00 00>.
 
I patched my connector for HDMI, it shows the right connector type (08) when disconnected but switch back to 04 when connected.
RehabMan, this is a normal behavior in Haswell?. Can you please confirm this from your u430?
 
RehabMan, this is a normal behavior in Haswell?. Can you please confirm this from your u430?
I hope RehabMan will confirm this, my laptop is a "broadwell".

I managed to disable the last connector so the lag is gone, the reboot issue with HDMI connected is still present with my Dell WQHD screen but strangely not with my Samsung 4K TV, I will hotplug it, it's not that bad.

I paste the patch I used in case somebody need it :
Search : 03001216 01030403 00002002 00005001
Replace : 03001216 01030303 00002002 00005001
Code:
    <key>Comment</key>
    <string>0x16120003 4 Ports to 3 ports</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>AwASFgEDBAMAACACAABQAQ==</data>
    <key>MatchOS</key>
    <string>10.12.x</string>
    <key>Name</key>
    <string>com.apple.driver.AppleIntelBDWGraphicsFramebuffer</string>
    <key>Replace</key>
    <data>AwASFgEDAwMAACACAABQAQ==</data>
 
Back
Top