Contribute
Register

Help getting HDMI audio and sleep to work on i5-8250u (Asus X507UAR)

Status
Not open for further replies.
Joined
Oct 9, 2018
Messages
17
Motherboard
Asus X507UAR
CPU
i5-8250u
Graphics
Intel UHD 620
Mobile Phone
  1. Android
I'm on opencore Monterey right now and I've managed to get almost everything else working. This is the last piece of the puzzle honestly. I followed the frame buffer patch and managed to get HDMI working. I have sound but only when I boot and unplug and replug the HDMI cable. I used hackintool to determine my codec and layout-id after replugging and put the values in the config plist, but nothing changes on boot. I will attach the EFI here for more clarity. Also when I do a sleep and wake up on the system, it goes into a kernel panic and reboots. Any ideas why that happens?

Another thing to keep in mind is that I've removed the keyboard, trackpad, primary display and I'm running on HDMI only which is why I've left out the voodoo kexts (using this laptop like a desktop)
 

Attachments

  • EFI.zip
    3.7 MB · Views: 71
I'm on opencore Monterey right now and I've managed to get almost everything else working. This is the last piece of the puzzle honestly. I followed the frame buffer patch and managed to get HDMI working. I have sound but only when I boot and unplug and replug the HDMI cable. I used hackintool to determine my codec and layout-id after replugging and put the values in the config plist, but nothing changes on boot. I will attach the EFI here for more clarity. Also when I do a sleep and wake up on the system, it goes into a kernel panic and reboots. Any ideas why that happens?

Another thing to keep in mind is that I've removed the keyboard, trackpad, primary display and I'm running on HDMI only which is why I've left out the voodoo kexts (using this laptop like a desktop)
remove this from your boot arguments:
alcid=layout-id

should be using MacBookPro14,1

pop over here:

download and run the script to generate your own HPET file as well as possible config.plist renames


may need to enable:
ActivateHpetSupport
 
Did exactly what you asked for, no change still it stays the same. One question - when choosing the option to path HPET, I chose the default option C (which is to patch out legacy) correct?. No change tho. Config plist renames? I didn't understand. Updated EFI uploaded.
 

Attachments

  • EFI 2.zip
    3.7 MB · Views: 57
remove this from your boot arguments:
alcid=layout-id

should be using MacBookPro14,1

pop over here:

download and run the script to generate your own HPET file as well as possible config.plist renames


may need to enable:
ActivateHpetSupport
By renames I'm guessing you mean ACPI renames..
 
By renames I'm guessing you mean ACPI renames..
needs to be enabled:
Code:
<key>Base</key>
                <string>\_SB.PCI0.LPCB.HPET</string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>HPET _CRS to XCRS</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>X0NSUw==</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>WENSUw==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data></data>

did it not create a config.plist with irq conflicts renames?

also you will have to test each id, resetting nvram on each try:
 
needs to be enabled:
Code:
<key>Base</key>
                <string>\_SB.PCI0.LPCB.HPET</string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>HPET _CRS to XCRS</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <false/>
                <key>Find</key>
                <data>X0NSUw==</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>WENSUw==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data></data>

did it not create a config.plist with irq conflicts renames?

also you will have to test each id, resetting nvram on each try:
Okay understood about the ACPI renames, patched accordingly. Testing each id meaning in which section exactly? Is it for alcid=xxx in boot args? Attaching latest EFI patched.
 

Attachments

  • EFI Mar16 2022.zip
    3.7 MB · Views: 54
Okay understood about the ACPI renames, patched accordingly. Testing each id meaning in which section exactly? Is it for alcid=xxx in boot args? Attaching latest EFI patched.
not boot arguments but in this section:
Code:
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>device_type</key>
                <string>Audio device</string>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>hda-idle-support</key>
                <integer>1</integer>
                <key>layout-id</key>
                <data>gIYoCw==</data>
                <key>model</key>
                <string>Sunrise Point-LP HD Audio</string>
                <key>name</key>
                <string>audio</string>
            </dict>
 
not boot arguments but in this section:
Code:
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>device_type</key>
                <string>Audio device</string>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>hda-idle-support</key>
                <integer>1</integer>
                <key>layout-id</key>
                <data>gIYoCw==</data>
                <key>model</key>
                <string>Sunrise Point-LP HD Audio</string>
                <key>name</key>
                <string>audio</string>
            </dict>
Understood. Layout 11 seems to be the correct one for my use case because of the sunrise-point audio with ALC256, and my internal speakers also show up. I saw a dell laptop that got HDMI working through layout 11 and codec commander. Any idea if that would work for me as well?
 
Understood. Layout 11 seems to be the correct one for my use case because of the sunrise-point audio with ALC256, and my internal speakers also show up. I saw a dell laptop that got HDMI working through layout 11 and codec commander. Any idea if that would work for me as well?
back in the day I needed FakePCIID.kext and FakePCIID_Intel_HDMI_Audio.kext which made hdmi and dp audio to work

i then added new properties in my config.plist:

Code:
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>alc-verbs</key>
                <integer>1</integer>
                <key>device-id</key>
                <data>
                cKEAAA==
                </data>
                <key>device_type</key>
                <string>Audio device</string>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>layout-id</key>
                <integer>17</integer>
                <key>model</key>
                <string>100 Series/C230 Series Chipset Family HD Audio Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AAAbGQ==
                </data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>device-id</key>
                <data>
                GxkAAA==
                </data>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>force-online</key>
                <integer>1</integer>
                <key>framebuffer-con0-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-flags</key>
                <data>
                mAAAAA==
                </data>
                <key>framebuffer-con0-index</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-busid</key>
                <data>
                BQAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-flags</key>
                <data>
                hwEAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                AAQAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-flags</key>
                <data>
                hwEAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con3-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con3-flags</key>
                <data>
                IAAAAA==
                </data>
                <key>framebuffer-con3-index</key>
                <data>
                /////w==
                </data>
                <key>framebuffer-con3-pipe</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-type</key>
                <data>
                AQAAAA==
                </data>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel HD Graphics 530</string>
            </dict>
and i am nbow able to have hdmi/dp audio out without the kexts above
 
back in the day I needed FakePCIID.kext and FakePCIID_Intel_HDMI_Audio.kext which made hdmi and dp audio to work

i then added new properties in my config.plist:

Code:
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>alc-verbs</key>
                <integer>1</integer>
                <key>device-id</key>
                <data>
                cKEAAA==
                </data>
                <key>device_type</key>
                <string>Audio device</string>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>layout-id</key>
                <integer>17</integer>
                <key>model</key>
                <string>100 Series/C230 Series Chipset Family HD Audio Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AAAbGQ==
                </data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>device-id</key>
                <data>
                GxkAAA==
                </data>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>force-online</key>
                <integer>1</integer>
                <key>framebuffer-con0-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-flags</key>
                <data>
                mAAAAA==
                </data>
                <key>framebuffer-con0-index</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-busid</key>
                <data>
                BQAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-flags</key>
                <data>
                hwEAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                AAQAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-flags</key>
                <data>
                hwEAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con3-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con3-flags</key>
                <data>
                IAAAAA==
                </data>
                <key>framebuffer-con3-index</key>
                <data>
                /////w==
                </data>
                <key>framebuffer-con3-pipe</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-type</key>
                <data>
                AQAAAA==
                </data>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel HD Graphics 530</string>
            </dict>
and i am nbow able to have hdmi/dp audio out without the kexts above
back in the day I needed FakePCIID.kext and FakePCIID_Intel_HDMI_Audio.kext which made hdmi and dp audio to work

i then added new properties in my config.plist:

Code:
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,31,3</string>
                <key>alc-verbs</key>
                <integer>1</integer>
                <key>device-id</key>
                <data>
                cKEAAA==
                </data>
                <key>device_type</key>
                <string>Audio device</string>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>layout-id</key>
                <integer>17</integer>
                <key>model</key>
                <string>100 Series/C230 Series Chipset Family HD Audio Controller</string>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AAAbGQ==
                </data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>device-id</key>
                <data>
                GxkAAA==
                </data>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>force-online</key>
                <integer>1</integer>
                <key>framebuffer-con0-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-flags</key>
                <data>
                mAAAAA==
                </data>
                <key>framebuffer-con0-index</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-busid</key>
                <data>
                BQAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-flags</key>
                <data>
                hwEAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                AAQAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-flags</key>
                <data>
                hwEAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con3-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con3-flags</key>
                <data>
                IAAAAA==
                </data>
                <key>framebuffer-con3-index</key>
                <data>
                /////w==
                </data>
                <key>framebuffer-con3-pipe</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-type</key>
                <data>
                AQAAAA==
                </data>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel HD Graphics 530</string>
            </dict>
and i am nbow able to have hdmi/dp audio out without the kexts above
Okay so I kinda sorta figured it out, when I boot only alc256 is available, but when I unplug and replug both ALC256 and kabylake HDMI show up. I'm guessing I need to make Kabylake HDMI more permanent with a patch? How do I go about doing this?
 

Attachments

  • alc256(1).png
    alc256(1).png
    196.1 KB · Views: 68
  • kabylakehdmi(2).png
    kabylakehdmi(2).png
    187.5 KB · Views: 60
Status
Not open for further replies.
Back
Top