Resolved HDMI / Displayport audio fix

Discussion in 'Mac Pro' started by h9826790, Oct 13, 2018.

  1. h9826790 macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #1
    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.
    [​IMG]
    [​IMG]

    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
    [​IMG]

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

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

    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.
     
  2. eksu, Oct 13, 2018
    Last edited: Oct 13, 2018

    eksu macrumors regular

    Joined:
    Aug 3, 2017
    #2
    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?
     
  3. cdf macrumors regular

    Joined:
    Jul 27, 2012
    #3
    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).
    --- Post Merged, Oct 13, 2018 ---
    No AppleALC is a plugin for Lilu. It does not come from macOS.
     
  4. h9826790 thread starter macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #4
    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.
     
  5. cdf macrumors regular

    Joined:
    Jul 27, 2012
    #5
    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?
     
  6. Partridge macrumors 6502

    Joined:
    Jul 28, 2007
    #6
    Mojave 10.14 18A391
    MSI Gaming Radeon RX560 4gb
    LG UltraWide monitor

    Works!!!
     
  7. BillyBobBongo macrumors 68020

    BillyBobBongo

    Joined:
    Jun 21, 2007
    Location:
    On The Interweb Thingy!
    #7
    Got it working on:

    Mojave 10.14 (18A391)
    Sapphire Pulse RX 580 8GB
    Dell U3415W
     

    Attached Files:

  8. h9826790 thread starter macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #8
    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.
     
  9. Johnjr08 macrumors newbie

    Joined:
    Oct 14, 2018
    #9
    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.
     
  10. H2SO4 macrumors 601

    Joined:
    Nov 4, 2008
    #10
    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.
     
  11. Fangio macrumors 6502

    Joined:
    Jan 25, 2011
    #11
    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.
     
  12. lamateur2MacPro macrumors newbie

    Joined:
    Oct 17, 2018
    #12
    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.
     
  13. h9826790, Oct 17, 2018
    Last edited: Oct 20, 2018

    h9826790 thread starter macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #13
    It seems this method is proved work quite well.

    I put this link inside the sticky upgrade thread now.
     
  14. DarkRaverNL macrumors newbie

    DarkRaverNL

    Joined:
    Aug 7, 2016
    #14
    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.
     
  15. h9826790 thread starter macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #15
    Did you keep SIP disabled?

    Did you check if the kext are loaded?
     
  16. DarkRaverNL macrumors newbie

    DarkRaverNL

    Joined:
    Aug 7, 2016
    #16
    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
     
  17. bookemdano macrumors 65816

    Joined:
    Jul 29, 2011
    #17
    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.
     
  18. thunder72fr macrumors newbie

    thunder72fr

    Joined:
    Mar 11, 2017
    Location:
    LE MANS, FRANCE
    #18
    I'm happy to have contributed for the forum.
     
  19. NC_Bulldog, Oct 20, 2018
    Last edited: Oct 20, 2018

    NC_Bulldog macrumors newbie

    Joined:
    Nov 14, 2017
    #19
    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.
     
  20. h9826790 thread starter macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #20
    Please double check your current SIP status
    Screenshot 2018-10-21 at 07.12.48.png
     
  21. DarkRaverNL macrumors newbie

    DarkRaverNL

    Joined:
    Aug 7, 2016
    #21
    It is now correctly working, indeed my SIP was enabled again, after disable and repeated procedure it now shows my display as output device, and in PCIE device supported, and extension loaded loaded !
     
  22. ZED_ macrumors newbie

    Joined:
    Oct 27, 2018
    #22
    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.
     
  23. DarkRaverNL macrumors newbie

    DarkRaverNL

    Joined:
    Aug 7, 2016
    #23
    I think its normal that the volume controls don't work, since you send the digital audio to a other device (screen, amp, tv whatever) and that controls the volume.

    You could try this if it still works in Mojave: https://lifehacker.com/how-to-enable-mac-volume-control-for-hdmi-or-displaypor-1793607216
     
  24. ZED_ macrumors newbie

    Joined:
    Oct 27, 2018
    #24
  25. h9826790 thread starter macrumors G4

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #25

    Try this

    https://staticz.com/soundcontrol/
     

Share This Page