Resolved HDMI / Displayport audio fix

h9826790

macrumors G5
Original poster
Apr 3, 2014
14,150
6,786
Hong Kong
thunder72fr made a post in the PULSE RX580 ROM study thread about that he can get HDMI audio working properly in Mojave with just Lilu.kext and AppleALC.kext installed.

I further tested it on my own cMP and confirmed it can work. And the process is simpler than HDMIAudio.kext + AppleHDA.kext patch.



However, I have no idea if this method also work on any other cards. If we can confirm this method work on most cards, or figured out the specific conditions, then I think I can put this method in the sticky thread.

So, if anyone looking for HDMI / Displayport audio, please try the following steps.

1) Disable SIP (in my case, I disabled Gatekeeper as well, not sure if make any difference)

2) Make sure HDMIAudio.kext is NOT installed. If it's installed, REMOVE it from the System/Library/Extension folder.

3) Make sure the AppleHDA.kext is NOT patched. If not, revert it (you should always make a backup of the original kext before patch it)

4) Download AppleALC.kext V1.3.2 (Link)

5) Download Lilu.kext V1.2.7 (Link)

6) Download KextUtility V2.6.6 (Link)

7) Unzip everything

8) Open Kext Utility (enter your admin password as required), it will auto perform some maintenance job, let it finish. You will see something like this


9) Drag Lilu.kext into the Kext Utility window. Again, enter password as required, and let it finish its job.


10) Drag AppleALC.kext into Kext Utility windows, enter password as required, and let it finish its job


11) Reboot

N.B For Nvidia card users, you may need WhateverGreen.kext V1.2.3 (Link) as well. If the above steps doesn't work, you may install this kext (via kext utility) and try again.

After test, please leave a post and tell us your graphic card model with details. e.g. Sapphire PULSE RX580 8GB, but not just RX580.

And which OS you are running (with build number).

For Nvidia card users, please also state if you need WhateverGreen.kext to make it work. Million thanks in advance.
 

eksu

macrumors 6502
Aug 3, 2017
260
119
Done on a Gigabyte Windforce 280x Revision 2 with SIP disabled.

On the UEFI & EFI bootrom I have audio over Displayport & HDMI. I re-enabled SIP with the --without kext --without nvram flags and it still works.

I was going to patch the HDMI audio last night, but it looked like a lot of work. Thanks for figuring this out. So the AppleALC is from 10.13.3 and Lilu allows it to be installed or?
 
Last edited:
  • Like
Reactions: h9826790

cdf

macrumors 6502a
Jul 27, 2012
803
647
Lilu and the AppleALC plugin currently constitute the state of the art for enabling audio on graphics cards. It's what I've been using since Mojave with my 8 GB Pulse RX580. It works perfectly.

Lilu is also useful for other fixes, such as making PCI drives appear as internal—the Innie plugin—and enabling Night Shift—the NightShiftUnlocker plugin (which, however, requires minor modifications to its code for compatibility with Mojave).

Note that for simplicity when using Lilu, it is possible to place all the plugins inside the contents of the kext (as can be understood from the instructions here).
[doublepost=1539468664][/doublepost]
So the AppleALC is from 10.13.3 and Lilu allows it to be installed or?
No AppleALC is a plugin for Lilu. It does not come from macOS.
 

h9826790

macrumors G5
Original poster
Apr 3, 2014
14,150
6,786
Hong Kong
Lilu and the AppleALC plugin currently constitute the state of the art for enabling audio on graphics cards. It's what I've been using since Mojave with my 8 GB Pulse RX580. It works perfectly.

Lilu is also useful for other fixes, such as making PCI drives appear as internal—the Innie plugin—and enabling Night Shift—the NightShiftUnlocker plugin (which, however, requires minor modifications to its code for compatibility with Mojave).

Note that for simplicity when using Lilu, it is possible to place all the plugins inside the contents of the kext (as can be understood from the instructions here).
[doublepost=1539468664][/doublepost]

No AppleALC is a plugin for Lilu. It does not come from macOS.
I really want to have Night Shift, but too bad that my monitor seems not supported.

The exact setup with Apple ACD is OK, but if I switch to CHG90, then the Night Shift box disappear in system preference.
 

cdf

macrumors 6502a
Jul 27, 2012
803
647
The exact setup with Apple ACD is OK, but if I switch to CHG90, then the Night Shift box disappear in system preference.
Unfortunately, it seems that Night Shift doesn't work for some monitors. Just to clarify, though: are you using the Lilu plugin (properly modified) for this?
 

h9826790

macrumors G5
Original poster
Apr 3, 2014
14,150
6,786
Hong Kong
Unfortunately, it seems that Night Shift doesn't work for some monitors. Just to clarify, though: are you using the Lilu plugin (properly modified) for this?
I believe so. But I will re-read the source page later to see if I miss anything. Have to go to work now, can’t test it again until I back home again after few days.
 

Johnjr08

macrumors newbie
Oct 14, 2018
1
1
This worked for me!! On an AMD Radeon R9 280x with Mac OS Mojave 10.14 (Build 18A391).

Followed your instructions exactly, and working great.
 
  • Like
Reactions: h9826790

H2SO4

macrumors 601
Nov 4, 2008
4,585
4,807
Works perfectly for me first time.
I didn't mess about with partly enabling SIP mine is off completely.
So running 10.14 build 18A391.
GPU is a Sapphire OC Radeon RX470 4GB. HDMI Triple DP UEFI.
 
  • Like
Reactions: h9826790

Fangio

macrumors 6502
Jan 25, 2011
357
382
Just works. Nice!

Since HDMIAudio v1.1 wasn't working anymore in Mojave I've now replaced it with Lilu and AppleALC. And yes thats simple, much easier than the AppleHDA patch.

I like Lilu's plugin options, will try out Innie and NightShiftUnlocker later.

10.14.1 build 18B57c and another Gigabyte 280X v2.
 
  • Like
Reactions: h9826790

lamateur2MacPro

macrumors newbie
Oct 17, 2018
1
1
Works here on macPro 5,1 2012, OS 10.13.6 with Sapphire Radeon Nitro+ RX580 8GB and Dell U3818DW monitor hooked to displayPort.

Regardless of what I tried, I could not get this to work previously with HDMIaudio & appleHDA mods, so a big thank you to all involved. I wish Apple would show some decency and work like this on our behalf...

Note that the .RU site for kext Utility was really fishy. My first three attempts to download the file lead to outside "gaming" sites. A force reload of the page fixed the link.
 
  • Like
Reactions: h9826790

h9826790

macrumors G5
Original poster
Apr 3, 2014
14,150
6,786
Hong Kong
It seems this method is proved work quite well.

I put this link inside the sticky upgrade thread now.
 
Last edited:

DarkRaverNL

macrumors newbie
Aug 7, 2016
6
2
For me it did not work. Shows not loaded. No audio preference pane and no PCIE device supported.

Have Mac Pro 2009 4.1 > 5.1 with Mojave and bottom 140, with RX 580 Dual OC Asus 8GB version.
 

h9826790

macrumors G5
Original poster
Apr 3, 2014
14,150
6,786
Hong Kong
For me it did not work. Shows not loaded. No audio preference pane and no PCIE device supported.

Have Mac Pro 2009 4.1 > 5.1 with Mojave and bottom 140, with RX 580 Dual OC Asus 8GB version.
Did you keep SIP disabled?

Did you check if the kext are loaded?
 

DarkRaverNL

macrumors newbie
Aug 7, 2016
6
2
Did you keep SIP disabled?

Did you check if the kext are loaded?
I disabled SIP when flashing 4.1 to 5.1, never enabled it after, or does a software update do that? Anyway I didn’t not see any errors in the Kext app and I never edited the kext files before. No the AppleHDA shows not loaded after reboot.

Also I meant Bootrom 140.0.0.0
 

bookemdano

macrumors 65816
Jul 29, 2011
1,302
742
SIP can get re-enabled without you doing it manually. For instance a PRAM reset will turn SIP back on. So to be on the safe side, try to disable it again and try to re-do the kext install.
 

NC_Bulldog

macrumors newbie
Nov 14, 2017
6
3
Worked for me!

Sapphire PULSE RX580 8GB Mojave 10.4.1 Beta 4 18B67a, Boot ROM 138.0.0.0, DisplayPort connected to LG Ultra Wide. After the kext install, I enabled SIP and sound continues to work.

Sound via DisplayPort also works on same system with an Nvidia Quadra 4000 2GB GDDR5 for Mac graphics card. (I was using this card since it shows the boot screen.) I wish Apple would support the Sapphire PULSE RX580 boot screen!

Sound also works with HDMI from PULSE RX580 to the LG Ultra Wide.
 
Last edited:
  • Like
Reactions: h9826790

h9826790

macrumors G5
Original poster
Apr 3, 2014
14,150
6,786
Hong Kong
I disabled SIP when flashing 4.1 to 5.1, never enabled it after, or does a software update do that? Anyway I didn’t not see any errors in the Kext app and I never edited the kext files before. No the AppleHDA shows not loaded after reboot.

Also I meant Bootrom 140.0.0.0
Please double check your current SIP status
Screenshot 2018-10-21 at 07.12.48.png
 
  • Like
Reactions: DarkRaverNL

ZED_

macrumors newbie
Oct 27, 2018
2
1
Working!

Running 10.14 (18A389) with Radeon RX 580 over HDMI, still SIP disabled.

Volume over HMDI can not be controlled with keyboard keys or within Mojave.
 
  • Like
Reactions: h9826790

DarkRaverNL

macrumors newbie
Aug 7, 2016
6
2
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.