Contribute
Register

Solved > ALC887 - Layoutid 7 - B150m - Help

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,450
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
Okok, In fact i have created two efi folders .. One where I start with VodooHDA and the other where I use AppleALC.

The question is:
Why with voodoo HDA is enabled, and with AppleALC isn't?

What should I do to tell the driver to also charge the HDAU device ?
Most people only use voodoo when it’s the only alternative. ALC is more supported especially in Open Core.

if your goal is to only get HDMI/DisplayPort working you may want to try the fakepciid kext mentioned earlier. Remove any of the other two fixes and add those kexts only.

Which version of MacOS are you using? Nvidia Web drivers?
 
Joined
Apr 22, 2021
Messages
128
Motherboard
MSI B150M BAZOOKA (U3E1)
CPU
i5 6500
Graphics
GTX 970
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. Android
No no, I want to add HDMI to all devices as well. I don't have a particular preference, but I want to complement this hackintosh. A few years ago I tried with a laptop and I managed to fix everything and it was really very difficult for my hd3000 in combination with an nvidia gpu ...
Could it also be the fault of the CLOVER version?

ps. I'm on High Sierra 10.13.6 with the appropriate drivers (taken after various searches).

So if I use fakepciid, I only have the hdmi and all other peripherals disabled?

Does it install itself without AppleALC and LILU? Or together with these?

Thank you!
 

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,450
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
No no, I want to add HDMI to all devices as well. I don't have a particular preference, but I want to complement this hackintosh. A few years ago I tried with a laptop and I managed to fix everything and it was really very difficult for my hd3000 in combination with an nvidia gpu ...
Could it also be the fault of the CLOVER version?

ps. I'm on High Sierra 10.13.6 with the appropriate drivers (taken after various searches).

So if I use fakepciid, I only have the hdmi and all other peripherals disabled?

Does it install itself without AppleALC and LILU? Or together with these?

Thank you!
It works alone for HDMI or DisplayPort.
 
Joined
Apr 22, 2021
Messages
128
Motherboard
MSI B150M BAZOOKA (U3E1)
CPU
i5 6500
Graphics
GTX 970
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. Android
I meant: I want sound working on all peripherals, not all video card outputs.

Anyway, if you have any advice on how to get the Hdau device recognized, I'm here
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
21,952
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
I meant: I want sound working on all peripherals, not all video card outputs.

Anyway, if you have any advice on how to get the Hdau device recognized, I'm here
you will still need Lilu and AppleALC for your built-in audio
 
Joined
Apr 22, 2021
Messages
128
Motherboard
MSI B150M BAZOOKA (U3E1)
CPU
i5 6500
Graphics
GTX 970
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. Android
you will still need Lilu and AppleALC for your built-in audio
Ah OK! now i get it, so for integrated audio I need AppleALC and LILU, while for HDMI you need something else right?
However, it remains a mystery that it fails to inject audio into the Hdau peripheral.
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
21,952
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Ah OK! now i get it, so for integrated audio I need AppleALC and LILU, while for HDMI you need something else right?
However, it remains a mystery that it fails to inject audio into the Hdau peripheral.
yes

for hdmi audio:
sometimes you need FakePCIID and hdmi kexts, although sometimes whatevergreen can take care of it

example, my skylake laptop system requires both fake* kexts, some newer systems don't require it

sometimes a rename patch is required:
Code:
<dict>
                    <key>Comment</key>
                    <string>change HDAS to HDEF</string>
                    <key>Find</key>
                    <data>SERBUw==</data>
                    <key>Replace</key>
                    <data>SERFRg==</data>
                </dict>

although they say the Lilu kexts already should take care of that
 

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,450
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
yes

for hdmi audio:
sometimes you need FakePCIID and hdmi kexts, although sometimes whatevergreen can take care of it

example, my skylake laptop system requires both fake* kexts, some newer systems don't require it

sometimes a rename patch is required:
Code:
<dict>
                    <key>Comment</key>
                    <string>change HDAS to HDEF</string>
                    <key>Find</key>
                    <data>SERBUw==</data>
                    <key>Replace</key>
                    <data>SERFRg==</data>
                </dict>

although they say the Lilu kexts already should take care of that
The AZAL to HDAU patch is another to consider.
 
Joined
Apr 22, 2021
Messages
128
Motherboard
MSI B150M BAZOOKA (U3E1)
CPU
i5 6500
Graphics
GTX 970
Mac
  1. iMac
  2. Mac mini
Mobile Phone
  1. Android
At this point I have to summarize all the steps to understand what's wrong:

System = High Sierra 10.13.6 (17G65)
Bootloader = Clover_v2.5k_r5102​

Steps:
- I've downloaded and installed AppleALC 1.5.9 e Lilu 1.5.2
- Config.plist. - Inject 7 (Layout id)
- DSDT - HDAS to HDEF
- SSDT gpu - for gtx970 ---- HDAU e GFX1 (instead of PEGP and D053) in PEG0.
All is working except HDMI audio.



What i tried for hdmi audio:
- Extracted codecs from clover at boot with f8.​

I have several bin files: 4 on Nvidia (Unknown) and 2 on the Realtek ALC888B codec.
Nvidia (Unknown)
- Opened NVIDIA with PinConfigurator and at the
bottom pressed on get config data.
- Copied the Hex text and transformed to Base 64.
- Then pasted in layout id 7, replacing the previous
one.
- On reboot, the 4 ports and only those are displayed,
no more other outputs (so it worked) but the audio is
not enabled.
Here is the output with PinConfigurator:
00471CF0 00471D00 00471E56 00471F18 00571CF0 00571D00 00571E56 00571F18 00671CF0 00671D00 00671E56 00671F18 00771CF0 00771D00 00771E56 00771F18
In base 64: AEcc8ABHHQAARx5WAEcfGABXHPAAVx0AAFceVgBXHxgAZxzwAGcdAABnHlYAZx8YAHcc8AB3HQAAdx5WAHcfGA==
- opened Realtek ALC888B with PinConfigurator and at
the bottom pressed on get config data.
- Copied the Hex text and transformed to Base 64.
- Then pasted in layout id 7, replacing the previous
one.
- On reboot, all the ports are ok (also mic) but there is
no trace of HDMI.
Here is the output with PinConfigurator:
71471C10 71471D40 71471E01 71471F01 71470C02 71B71C20 71B71D40 71B71E21 71B71F02 71B70C02 71871C30 71871D90 71871EA1 71871F01 71A71C3F 71A71D30 71A71E81 71A71F01 71171C40 71171DC0 71171E37 71171F40 71971C40 71971D90 71971EA1 71971F02 71D71C6B 71D71DC6 71D71E28 71D71F40 71271CF0 71271D11 71271E11 71271F41 71571CF0 71571D11 71571E11 71571F41 71671CF0 71671D11 71671E11 71671F41 71771CF0 71771D11 71771E11 71771F41 71C71CF0 71C71D11 71C71E11 71C71F41 71E71CF0 71E71D11 71E71E11 71E71F41 71F71CF0 71F71D11 71F71E11 71F71F41
In base 64:
cUccEHFHHUBxRx4BcUcfAXFHDAJxtxwgcbcdQHG3HiFxtx8CcbcMAnGHHDBxhx2QcYceoXGHHwFxpxw/cacdMHGnHoFxpx8BcRccQHEXHcBxFx43cRcfQHGXHEBxlx2QcZceoXGXHwJx1xxrcdcdxnHXHihx1x9AcScc8HEnHRFxJx4RcScfQXFXHPBxVx0RcVceEXFXH0FxZxzwcWcdEXFnHhFxZx9BcXcc8HF3HRFxdx4RcXcfQXHHHPBxxx0RccceEXHHH0Fx5xzwcecdEXHnHhFx5x9Bcfcc8HH3HRFx9x4RcfcfQQ==

Checking ioreg I don't see HDAU loaded in the device, which happens with VodooHDA.

The last test would be to merge the two outputs to see what happens, but I don't know how the code goes together.

Configuration with VoodooHDA:
- AppleALC 1.1.0, LILU 1.4.0 VodooHDA 2.9.2
- DConfig.plist. - Inject 1 (Layout id)
- Dsdt - HDAS to HDEF
- SSDT gpu - for gtx970 ---- HDAU e GFX1 (instead of PEGP and D053) in PEG0.

With that kext:
every port works including the 4 in HDMI (all hdmi because in layout id in the SSDT I set 00 08 00 00, but if I wanted the displayport I would have entered 00 04 00 00) and at that point I would have had that.




...I enclose everything...
 

Attachments

  • Extracted Codec.zip
    12.1 KB · Views: 6
  • EFI - AppleHDA.zip
    30.5 MB · Views: 5
  • EFI - VodooHDA.zip
    57.7 MB · Views: 7
  • AppleHDA bootlog.txt
    32.6 KB · Views: 5
  • Ioreg HDAU.ioreg
    5.8 MB · Views: 5
Last edited:

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,450
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
At this point I have to summarize all the steps to understand what's wrong:

System = High Sierra 10.13.6 (17G65)
Bootloader = Clover_v2.5k_r5102​

Steps:
- I've downloaded and installed AppleALC 1.5.9 e Lilu 1.5.2
- Config.plist. - Inject 7 (Layout id)
- DSDT - HDAS to HDEF
- SSDT gpu - for gtx970 ---- HDAU e GFX1 (instead of PEGP and D053) in PEG0.
All is working except HDMI audio.



What i tried for hdmi audio:
- Extracted codecs from clover at boot with f8.​

I have several bin files: 4 on Nvidia (Unknown) and 2 on the Realtek ALC888B codec.
Nvidia (Unknown)
- Opened NVIDIA with PinConfigurator and at the
bottom pressed on get config data.
- Copied the Hex text and transformed to Base 64.
- Then pasted in layout id 7, replacing the previous
one.
- On reboot, the 4 ports and only those are displayed,
no more other outputs (so it worked) but the audio is
not enabled.
Here is the output with PinConfigurator:
00471CF0 00471D00 00471E56 00471F18 00571CF0 00571D00 00571E56 00571F18 00671CF0 00671D00 00671E56 00671F18 00771CF0 00771D00 00771E56 00771F18
In base 64: AEcc8ABHHQAARx5WAEcfGABXHPAAVx0AAFceVgBXHxgAZxzwAGcdAABnHlYAZx8YAHcc8AB3HQAAdx5WAHcfGA==
- opened Realtek ALC888B with PinConfigurator and at
the bottom pressed on get config data.
- Copied the Hex text and transformed to Base 64.
- Then pasted in layout id 7, replacing the previous
one.
- On reboot, all the ports are ok (also mic) but there is
no trace of HDMI.
Here is the output with PinConfigurator:
71471C10 71471D40 71471E01 71471F01 71470C02 71B71C20 71B71D40 71B71E21 71B71F02 71B70C02 71871C30 71871D90 71871EA1 71871F01 71A71C3F 71A71D30 71A71E81 71A71F01 71171C40 71171DC0 71171E37 71171F40 71971C40 71971D90 71971EA1 71971F02 71D71C6B 71D71DC6 71D71E28 71D71F40 71271CF0 71271D11 71271E11 71271F41 71571CF0 71571D11 71571E11 71571F41 71671CF0 71671D11 71671E11 71671F41 71771CF0 71771D11 71771E11 71771F41 71C71CF0 71C71D11 71C71E11 71C71F41 71E71CF0 71E71D11 71E71E11 71E71F41 71F71CF0 71F71D11 71F71E11 71F71F41
In base 64:
cUccEHFHHUBxRx4BcUcfAXFHDAJxtxwgcbcdQHG3HiFxtx8CcbcMAnGHHDBxhx2QcYceoXGHHwFxpxw/cacdMHGnHoFxpx8BcRccQHEXHcBxFx43cRcfQHGXHEBxlx2QcZceoXGXHwJx1xxrcdcdxnHXHihx1x9AcScc8HEnHRFxJx4RcScfQXFXHPBxVx0RcVceEXFXH0FxZxzwcWcdEXFnHhFxZx9BcXcc8HF3HRFxdx4RcXcfQXHHHPBxxx0RccceEXHHH0Fx5xzwcecdEXHnHhFx5x9Bcfcc8HH3HRFx9x4RcfcfQQ==

Checking ioreg I don't see HDAU loaded in the device, which happens with VodooHDA.

The last test would be to merge the two outputs to see what happens, but I don't know how the code goes together.

Configuration with VoodooHDA:
- AppleALC 1.1.0, LILU 1.4.0 VodooHDA 2.9.2
- DConfig.plist. - Inject 1 (Layout id)
- Dsdt - HDAS to HDEF
- SSDT gpu - for gtx970 ---- HDAU e GFX1 (instead of PEGP and D053) in PEG0.

With that kext:
every port works including the 4 in HDMI (all hdmi because in layout id in the SSDT I set 00 08 00 00, but if I wanted the displayport I would have entered 00 04 00 00) and at that point I would have had that.




...I enclose everything...
What about clover ACPI DSDt fixes?
check to see that the below settings are disabled or false. Test with and without them. These are recommended to be set to false for using most audio fixes or at least fir testing as they can interfere with kexts and or other settings.

Add HDMI
Fix HPET
Fix Regions
Reset HDA
Afterglow

look into using some of the other audio related patches for Clover ACPI section.
Check clover Configurator for common patches

AZAL to HDAU patch
 
Top