Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
My understanding is that Lilu is required for AppleALC. In my case, even with Lilu, HDMIAudio would not work, so I just used the previous version of AppleHDA (see post 646).

So, all you did is just

1) Replace the 10.13.4 AppleHDA.kext by the 10.13.3 version
2) Install AppleALC.kext 1.2.6 to S/L/E
3) Installed HDMIAudio.kext 1.1

on your Mac Pro. Is that correct?
 

bsbeamer

macrumors 601
Sep 19, 2012
4,313
2,713
Should have access to a clean 5,1 that never messed with HDMI audio later this week. If there's anything quick/easy that would be beneficial or helpful to test, post some instructions and will attempt to try for you.
 
  • Like
Reactions: ActionableMango

cdf

macrumors 68020
Jul 27, 2012
2,256
2,583
So, all you did is just

1) Replace the 10.13.4 AppleHDA.kext by the 10.13.3 version
2) Install AppleALC.kext 1.2.6 to S/L/E
3) Installed HDMIAudio.kext 1.1

on your Mac Pro. Is that correct?

No need for step 2 in this case. I did steps 1 and 3, and my audio was back.

An alternative (which keeps AppleHDA.kext untouched) is to install AppleALC.kext, Lilu.kext, and HDMIAudio.kext. This option, however, did not work on my cMP (maybe it only works for hackintoshes).
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
No need for step 2 in this case. I did steps 1 and 3, and my audio was back.

An alternative (which keeps AppleHDA.kext untouched) is to install AppleALC.kext, Lilu.kext, and HDMIAudio.kext. This option, however, did not work on my cMP (maybe it only works for hackintoshes).

I see. Thanks for the clarification.

I tired both, in my case, both won't work with my 1080Ti.
 

d5aqoëp

macrumors 68000
Feb 9, 2016
1,808
3,189
Use latest lilu.kext and AppleALC.kext by installing it in System/Library/Extensions. Use kexts installer like kextbeast which is available on site tonymacx86

Now I don’t know which are the latest versions but the ones I downloaded from reddit.com/r/hackintosh section worked. Found it. Link here

No need for HDMIAudio.kext. It has reached it’s end of life.

But if you use AppleHDA.kext from 10.13.3 then you can use HDMIAudio.kext but for how long will you depend on 10.13.3 kext?
 
Last edited:
  • Like
Reactions: Susurs

cdf

macrumors 68020
Jul 27, 2012
2,256
2,583
Use latest lilu.kext and AppleALC.kext by installing it in System/Library/Extensions.

This is a great solution (if I can get it to work). Could you confirm that you are on a cMP with an Nvidia graphics card? Are you also using NvidiaGraphicsFixup.kext?
 

toleda

macrumors newbie
Jan 20, 2010
24
6
Use latest lilu.kext and AppleALC.kext by installing it in System/Library/Extensions
Note: The 10.13.4 AppleHDAController binary fix in AppleALC.kext supports one Nvida HDMI codec device_id, 0x0fbb. Any other device id requires an edit to the patch. Once edited, recompile AppleALC and install the new AppleALC.kext. Credit: FredWst
Screen Shot 2018-04-10 at 3.36.08 PM.png
 
  • Like
Reactions: h9826790

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
Both kexts were loaded and reported as loaded in Extensions. But no sound via HDMI, GTX 980...

There are some boot arguments as far as I understand from the developers page for both kexts, for example:
  • “-alcbeta - to enable AppleALC on unsupported systems (usually unreleased or old ones)” ...Could this help?
 

toleda

macrumors newbie
Jan 20, 2010
24
6
@h9826790
No HDAU, did you remove HDMIAudio.kext? If yes, restore.
Use Xcode/IORegistryExplorer
Reply with a copy of IOReg.
 

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
Stupid question: Sound over USB-C card is possible only for devices with Thunderbolt? There is no way to output sound via USB-C PCI-E card on cMP, right?
 

cdf

macrumors 68020
Jul 27, 2012
2,256
2,583
Stupid question: Sound over USB-C card is possible only for devices with Thunderbolt? There is no way to output sound via USB-C PCI-E card on cMP, right?

With a USB-C DisplayPort alternate card like the Sunix UPD2018 it should be possible. But since that card needs to be connected to the display port of the graphics card, it would still require HDMI (or DP) audio.
 

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
Assume you mean USB-C directly, not when using a USB-C audio interface, correct?

I ment, for example, using USB-C to HDMI cable with my Sonnet Alegro USB-C card in cMP. Was just wondering what would happen if I attach it to a spare HDMI port on a TV or some audio receiver - could I get sound output? :rolleyes:
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
I'm interested in seeing the AppleALC approach work.

@h9826790 perhaps you could try the version of IORegistryExplorer provided at https://github.com/toleda/audio_ALCInjection and zip the exported file. In my case, the file was less than 1 MB.

Compress the file, attach .zip

Thanks both!

I didn't realise there is an IORegistryExplorer 2.1 on github, which export a much smaller file then the current IORegistryExplorer 3.0.2.

Anyway, here is the ioreg. Million thanks in advance!
 

Attachments

  • Mac Pro.ioreg.zip
    1.1 MB · Views: 341

toleda

macrumors newbie
Jan 20, 2010
24
6
here is the ioreg.
The process that enabled all Nvidia HDMI audio codecs has been disabled in 10.13.4 AppleHDAController.kext.
IOReg show the Nvidia HDMI codec is not recognized, no AppleHDAController.
Screen Shot 2018-04-16 at 5.24.40 PM.png
1080 Ti/HDMI audio codec id is 10ef.
The simplest fix to patch the binary (hex editor):

Binary: AppleHDAController
Find: de 10 1a 0e
Replace: de 10 ef 10 (1x)

AppleALC.kext_v1.2.6 does not support 10ef, the next release will.
Attached is a preview of the next version supporting 10ef

Install either method and reply with new IOReg.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.