EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Reputation:

Audio is an essential component of any system. Having a HDMI/DP Audio is a great pleasure on Mac. With this feature enabled, you can enjoy watching movies, shows on your big screen television or external Monitor. If having a 4K, the pleasure would be great with the amazing display quality.

The following is a guide for enabling NVIDIA HDMI/DP Audio for Desktops.

Before using this guide, we recommend you to perform a clean installation of macOS.

The method is supported on the following.

macOS/OS X versions:
  • Supports macOS/OS X versions: 10.14.x, 10.13.x, 10.12.x, 10.11.x and earlier
Supported Vendors:
  • NVIDIA Supported Graphics on macOS
Requirements
  • Any of the above chipset
  • Any of the above macOS/OS X version
  • Working NVIDIA Graphics with correct VRAM and Full QE/CI
  • Audio using AppleALC

Before you start

Notes :

  • If you've used any other method such as VoodooHDA, aDummyHDA etc, make sure to remove those files to avoid conflicts.
  • If you're using any injector, make sure to remove it.
  • AppleHDADisabler, HDAEnabler should be removed.
  • If you're using HDMIAudio.kext, make sure to remove it.
  • Your Graphics should be working natively with the particular OS X or macOS version and should have no issues.
  • Your Audio should be working using AppleALC method. For more information, read here: https://www.elitemacx86.com/threads/guide-how-to-enable-audio-on-your-hardware.99/
Download AppleALC and Lilu
The first step is to download the required kexts to enable audio. AppleALC doesn't works alone. AppleALC and Lilu is needed together to work with conjunction in order to enable the audio.

Downloads
The downloads are available in the Download section of this forum. Alternatively, you can download it from the link below.
  1. AppleALC
  2. Lilu
Notes :
  • Download the latest version for better support.
  • Download only RELEASE.zip file.
Mounting the EFI Partition and placing kexts
  1. Mount your EFI partition of your system drive
  2. Copy AppleALC.kext and Lilu.kext from RELEASE folder downloaded above.
  3. Navigate to EFI/Clover/kexts/Other and place the both the kexts to this location.
Notes :
  • If the kext is already present in the directory, replace them with a new version
  • Do not use AppleALC.kext.dSYM and Lilu.kext.dSYM
Rename Audio Device and set Layout ID
  1. After placing the kexts, the next step is to rename the audio device and set the device id to enable audio.
  2. Open your config.plist file
  3. Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.
Code:
Comment: Rename HDAS to HDEF
Find* [HEX]: 48444153
Replace [HEX]: 48444546
4. Navigate to Devices tab in the left pane, and type the layout ID under Inject.​
The audio ID depends on the audio codec your motherboard uses. The common layout ID for the common audio codecs has been mentioned in this guide. The tested layout IDs are marked bold and we recommend to use them to avoid any issues.

For a complete list of supported codecs and the Audio ID, see AppleALC Supported Codecs

5. Check ResetHDA checkbox under Audio section in Devices pane​
6. Save your config.plist

Restart your System
After performing all the above steps, restart your system in order to enable the NVIDIA HDMI/DP Audio.
Now you should have a working HDMI Audio

Notes :
  • OS X/macOS does not allow control of HDMI Audio from the system. You need to control it from the HDMI/DP Device.
  • If you're having a Pascal GPU (NVIDIA 10xx), there is no HDMI Audio on connected HDMI port after boot. Try all the HDMI ports available. You can also try adapters such as DP/DVI2HDMI or DP to DP.
  • For some cards, you may need to swap the port. If the active connection is a HDMI, switching to DP port will have a working HDMI/DP Audio, vice-versa.
  • If you're using macOS 10.13.4 and above, and using some old cards, you'll need to use AppleHDA from macOS 10.13.3.
Problem Reporting

Details
:
  1. Audio Codec
  2. macOS version
  3. Copy of IOReg
  4. Installed AppleALC and Lilu.kext
Screen shots :
  • DPCIManager/Status
  • System Information/Hardware/Audio (All the available Devices)
  • System Preferences/Sound/Output
  • System Preferences/Sound/Input
Clover Files :
  • Compress EFI/Clover, exclude the themes folder Do not include complete EFI folder.
Put all files in a folder with your name, compress files as Zip and attach files using site attachments only. Do not use any external links.

Sample Attachment
The NVIDIA GTX 650 from MSI, GTX 980Ti from EVGA, GTX 1050Ti from MSI, and Dual GTX 1080Ti from EVGA are used as the example in this guide.
 

Attachments

  • Screenshot 2018-10-09 at 21.10.49.png
    Screenshot 2018-10-09 at 21.10.49.png
    144.2 KB · Views: 926
  • Screenshot 2018-10-09 at 21.10.57.png
    Screenshot 2018-10-09 at 21.10.57.png
    155.4 KB · Views: 948
  • Screenshot 2018-10-10 at 10.12.20.png
    Screenshot 2018-10-10 at 10.12.20.png
    109.9 KB · Views: 931
  • Screen Shot 2018-10-10 at 8.28.53 AM.png
    Screen Shot 2018-10-10 at 8.28.53 AM.png
    110.6 KB · Views: 919
  • Screen Shot 2018-10-10 at 8.33.22 AM.png
    Screen Shot 2018-10-10 at 8.33.22 AM.png
    122 KB · Views: 898
  • Screen Shot 2018-10-10 at 8.27.51 AM.png
    Screen Shot 2018-10-10 at 8.27.51 AM.png
    68.2 KB · Views: 857
  • Screen Shot 2018-10-11 at 7.12.51 AM.png
    Screen Shot 2018-10-11 at 7.12.51 AM.png
    110.5 KB · Views: 864
  • Screen Shot 2018-10-11 at 7.55.04 AM.png
    Screen Shot 2018-10-11 at 7.55.04 AM.png
    122.8 KB · Views: 840
  • Screen Shot 2018-10-11 at 7.13.21 AM.png
    Screen Shot 2018-10-11 at 7.13.21 AM.png
    67.9 KB · Views: 777
  • Screen Shot 2018-11-02 at 7.28.47 PM.png
    Screen Shot 2018-11-02 at 7.28.47 PM.png
    111.4 KB · Views: 742
  • Screen Shot 2018-11-02 at 7.29.20 PM.png
    Screen Shot 2018-11-02 at 7.29.20 PM.png
    139.2 KB · Views: 802
  • Screen Shot 2018-11-02 at 7.30.01 PM.png
    Screen Shot 2018-11-02 at 7.30.01 PM.png
    68.4 KB · Views: 910
Last edited:
  • Like
Reactions: arsradu

arsradu

Super Moderator
Staff member
Joined
Sep 17, 2018
Motherboard
MSi Z97S SLI Krait Edition
CPU
Intel Core i5-4750
Graphics
MSI Nvidia GTX 650 OC 2GB DDR5
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mobile Phone
  1. Android
  2. iOS

Reputation:

Very, very nice guide! Well done!
 
  • Like
Reactions: EliteMacx86

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Reputation:

deesto

New member
Joined
Sep 30, 2020
Motherboard
2008
CPU
Mac Pro 3.1
Graphics
GTX 680
OS X/macOS
10.15.x
Bootloader
  1. OpenCore
Mac
  1. Mac Pro
Mobile Phone
  1. iOS

Reputation:

Hi, just to mention I'm not using Clover.

I'm on Catalina 10.15.7 on a MAC PRO 2008 3.1 (dosdude 1), with a Geforce GTX 680, plus a factory GFX card (so i can also see boot options etc). I was trying to add some kexts to make the HDMI of the GTX680 work, and so I stumbled on AppleALC, WateverGreen & Lilu kexts.

With kext utility and some Terminal commands, I've managed to get all three to load up, and the HDMI to work. However, the internal mac sound card i/outputs have now vanished!

The system i think recognises both cards now. But only on Hackintool - not on the Audio pane of the system report.

Id like to carry on without using Clover, as I'm not too familiar.

Anyway to make this work?

Btw, the internal soundcard of the MAC PRO DOES comes back alive if i remove the kexts from System/Library/Extensions and i use kext utility to recache and repair permissions etc. Although this of course gets rid of the HDMI output as well.

Somehow AppleALC.kext seems to makes the internal soundcard disappear and leaves me with only the HDMI usable.

WhateverGreen & Lilu don't do seem to do anything, and i guess i just need AppleALC.kext only. But will leave all 3 installed for now, until i can be told better :)

According to hackintool my internal sound card is a 0x8086269A Device, 0x00000000 Sub Device, 0x10EC0885 Codec, 0x000 Revision, Realtek ALC885

and a HDMI one for a 0x10DE0E0A Device, 0x38420969 Sub Device, 0x10DE0040 Codec, 0x0000 Revision, Nvidia GTX680 HDMI

I also used to use HDMIAudio.kext 1.1 in Sierra, but it doesn't load on Catalina any longer.
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Reputation:

I'm on Catalina 10.15.7 on a MAC PRO 2008 3.1 (dosdude 1), with a Geforce GTX 680, plus a factory GFX card (so i can also see boot options etc). I was trying to add some kexts to make the HDMI of the GTX680 work, and so I stumbled on AppleALC, WateverGreen & Lilu kexts.
On a real Mac, you don't need these kexts.
With kext utility and some Terminal commands, I've managed to get all three to load up, and the HDMI to work. However, the internal mac sound card i/outputs have now vanished!
For that, you need to find what layout ID your Mac was using previously and then inject the same Layout ID.
 

kahuna0k

New member
Joined
Apr 3, 2021
Motherboard
Alienware M15 R1
CPU
i7-9750H
Graphics
HD 630 + RTX 2060 + GTX 1080 Ti
OS X/macOS
10.13.x
Bootloader
  1. Clover (UEFI)
Mobile Phone
  1. Android

Reputation:

I'm in the process of modernizing my High Sierra hackintosh Alienware m15 R1 I configured around two years ago. I was using VodooHDA 2.8.9, and I was getting all audio outputs activated all the time, that is the Speakers and Headphones in the Realtek ALC289 codec, 4 DisplayPort digital audio outputs through the NVIDIA GTX 1080 Ti (connected to the laptop through the Alienware Graphics Amplifier) and the internal Intel HDMI output.

After some work I was able to move to AppleALC and have the internal audio working, but I've been unable to make the DP/HDMI outputs appear, also using hackingtool the NVIDIA Audio device does not seems to be properly detected. Using DPCIManager I can see all devices when using VoodooHDA but only the NVIDIA and the Realtek when using AppleALC.

My reason to update to AppleALC is that, with VodooHDA 2.8.9, Codecommander does not work and I cannot fix the headphones distortion. With AppleALC I can use alc-verb and have undistorted output through them. I've tried VoodooHDA 2.9.2, the devices are detected but I was unable to get Audio through any of the DP/HDMI outputs.

I found a post somewhere saying that they had the same problem and fixed it by changing ResetHDA to false but it didn't work for me.

Also if I add the AddProperties following the other guide here for iGPU HDMI audio, the only difference is that I get the third audio device in DPCIManager but nothing else changes, even HackingTool doesn't show it.
 
Last edited:

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Reputation:

I'm in the process of modernizing my High Sierra hackintosh Alienware m15 R1 I configured around two years ago. I was using VodooHDA 2.8.9, and I was getting all audio outputs activated all the time, that is the Speakers and Headphones in the Realtek ALC289 codec, 4 DisplayPort digital audio outputs through the NVIDIA GTX 1080 Ti (connected to the laptop through the Alienware Graphics Amplifier) and the internal Intel HDMI output.

After some work I was able to move to AppleALC and have the internal audio working, but I've been unable to make the DP/HDMI outputs appear, also using hackingtool the NVIDIA Audio device does not seems to be properly detected. Using DPCIManager I can see all devices when using VoodooHDA but only the NVIDIA and the Realtek when using AppleALC.

My reason to update to AppleALC is that, with VodooHDA 2.8.9, Codecommander does not work and I cannot fix the headphones distortion. With AppleALC I can use alc-verb and have undistorted output through them. I've tried VoodooHDA 2.9.2, the devices are detected but I was unable to get Audio through any of the DP/HDMI outputs.

I found a post somewhere saying that they had the same problem and fixed it by changing ResetHDA to false but it didn't work for me.

Also if I add the AddProperties following the other guide here for iGPU HDMI audio, the only difference is that I get the third audio device in DPCIManager but nothing else changes, even HackingTool doesn't show it.
Incomplete PR files attached.
IOReg is corrupt and Kextcache output is missing.

Moreover, your configuration is not as per the guide.

Start here:
 

kahuna0k

New member
Joined
Apr 3, 2021
Motherboard
Alienware M15 R1
CPU
i7-9750H
Graphics
HD 630 + RTX 2060 + GTX 1080 Ti
OS X/macOS
10.13.x
Bootloader
  1. Clover (UEFI)
Mobile Phone
  1. Android

Reputation:

Incomplete PR files attached.
IOReg is corrupt and Kextcache output is missing.

Sorry, didn't see the kextcache output as required in the notes of the first post. Attached here. Also the IOReg is a save of the IORegistryApp, should I run ioreg from the command line and upload its output? I've also added a getdump with the VodooHDA 2.8.9 that detects everything correctly.

I know that I have not followed the guide, as I said I'm upgrading an already working hackintosh (built two years ago). Starting from scratch is not an option, as it is the machine I use and almost everything is working. Many of the things that are working in my laptop are not trivial, and I have found no guide for all of it, for example I've found no guide for OLED displays or having the Alienware Graphics Amplifier with an NVIDIA card working at the same time that the internal RTX is disabled. I've put many hours in this configuration, I'm trying to figure it out HDMI audio with AppleALC without starting from scratch.

EDIT: Solved. I somehow failed to delete the Graphics/Inject section that I was using before WhateverGreen and Lilu. Now this thing is "almost" perfect (still trying to get Thunderbolt hotplug working, but is not as important as audio).
 
Last edited:

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Reputation:

Sorry, didn't see the kextcache output as required in the notes of the first post. Attached here. Also the IOReg is a save of the IORegistryApp, should I run ioreg from the command line and upload its output? I've also added a getdump with the VodooHDA 2.8.9 that detects everything correctly.

I know that I have not followed the guide, as I said I'm upgrading an already working hackintosh (built two years ago). Starting from scratch is not an option, as it is the machine I use and almost everything is working. Many of the things that are working in my laptop are not trivial, and I have found no guide for all of it, for example I've found no guide for OLED displays or having the Alienware Graphics Amplifier with an NVIDIA card working at the same time that the internal RTX is disabled. I've put many hours in this configuration, I'm trying to figure it out HDMI audio with AppleALC without starting from scratch.

EDIT: Solved. I somehow failed to delete the Graphics/Inject section that I was using before WhateverGreen and Lilu. Now this thing is "almost" perfect (still trying to get Thunderbolt hotplug working, but is not as important as audio).
For TB Hotplug, refer to the guide linked below.
 

Trending Threads

Latest posts

Forum statistics

Threads
456
Messages
4,217
Members
3,963
Latest member
Gabik