Contribute
Register

Clover HDMI audio for NVIDIA & AMD cards. Easy way.

Status
Not open for further replies.
I also have problem, I don't have sound on HDMI output. I have a GTX 1060.
I put the HDMIAudio.kext (1.1) in S/L/E, I also tried in Clover/kexts/other, I tried with both then just in S/L/E then just in Clover/kext/other but it's not working.
It worked once but I don't know what I did, because I was already trying to make working dual monitor in same time so it's possible I updated something else but I didn't rembember.

Thanks for your help,
Will.

EDIT: Actually it works since I changed my HDMI cable, it was certainly defective.
 
Last edited:
Hi, honestly i have tried this method and other and i can't get any hdmi audio. my audio card see my airplay, usb or BT audio devices and can reach them, but it seems jack audio doesn't work, hdmi neither :(

chipset is intel 100 series, gpu gtx1060 and connexion to display is through displayport cable
 
Hi, honestly i have tried this method and other and i can't get any hdmi audio. my audio card see my airplay, usb or BT audio devices and can reach them, but it seems jack audio doesn't work, hdmi neither :(

chipset is intel 100 series, gpu gtx1060 and connexion to display is through displayport cable

Airplay, USB, BT are all different devices which use different drivers than jack audio and hdmi.

Jack audio (motherboard) and graphics card audio (HDMI, DisplayPort) are difference devices also but they both use the AppleHDA.kext because they conform to the Intel High Definition Audio spec.
http://www.intel.com/content/www/us/en/standards/high-definition-audio-specification.html

HDMIAudio.kext adds some properties to the IORegistry so that AppleHDA.kext will work with the HDA devices on the graphics card (Intel, AMD, Nvidia). An alternative method is to modify your DSDT with the required properties:
https://www.tonymacx86.com/threads/audio-hdmi-audio-applehda-guide.143760/
Even so, this requires that the graphics card's drivers (or some other driver) sets the graphics card's HDA controller correctly when displays are connected or disconnected. This doesn't seem to be working correctly for all the graphics card's connectors.

AppleHDA.kext can be patched to work with HDA controllers that aren't supported by Apple (including your motherboard audio).
http://www.insanelymac.com/forum/topic/311293-applealc-—-dynamic-applehda-patching/
Maybe it already supports Nvidia chips - at least those used in MacBook Pros? Maybe a patch for these Nvidia cards could be added.

Or additional code could be added to HDMIAudio.kext.

One problem is that we don't know how exactly the Nvidia HDA controller works. There are 4 pin complexes that can be connected to 4 audio output widgets but the graphics card has 5 connectors (DVI, DP1, DP2, HDMI, DP3) all of which can output audio (maximum of 4 active displays). Also, the DisplayPort connectors can be used as HDMI connectors with a passive DisplayPort to HDMI adapter. The Nvidia audio driver in Windows numbers displays as 0,4,8,C but those numbers don't seem to be specific to a graphics card connector. They might refer to the 4 audio output widgets. It's hard to tell, since the "High Definition Audio Utility 3.3" doesn't work the the Nvidia devices. Maybe testing in Ubuntu would give some useful information, but Nvidia's graphics card drivers for Linux are not open source.

VoodooHDA.kext is a complete replacement of AppleHDA.kext. So it might be easier to use that to figure out how the Nvidia HDA controller works. It seems to be missing some features of AppleHDA.kext though, such as hot plug detect of display audio devices and usage of the display name as the audio device name.
 
Thanks for the reply!

Yes for the drivers, i meant by that that the audio card works, it's not like there is no sound processiong at all. but yes, missing driver for jack and hdmi

I have a question on this. because my unit is closer from a laptop than a desktop. there is an intel hd530 and an nvidia gtx 1060. i just desactivated the igfx. Does the nvidia is just a pass through of audio, and i should install audio hd driver for the intel 530, or i just should go with the Voodoo or dynamic apple hda patching?

I tried the first link about applehda guide but i stayed focus on nvidia, maybe i should take into account the intel integrated graphics for hdmi?

Anyway i will look at the second link you provided and i'm gonna use my head next week end :)

I really want this to work as this is the only thing not working i can't physically change

But if anyone has more information, or similar setup, don't hesitate to post your tips if you achieved something!!! :)
 
I have a question on this. because my unit is closer from a laptop than a desktop. there is an intel hd530 and an nvidia gtx 1060. i just desactivated the igfx. Does the nvidia is just a pass through of audio, and i should install audio hd driver for the intel 530, or i just should go with the Voodoo or dynamic apple hda patching?
All the graphics devices (Intel, AMD, Nvidia) in your computer have their own HDA device (you should be able to see them in the IORegistry but your BIOS setting might remove the Intel CPU graphics HDA device). If you could get Intel and Nvidia to work at the same time with two different displays (I don't know if that's possible, I think some people have done it?), then you would want HDMI audio to work for both of them. An HDA audio driver (either AppleHDA.kext or VoodooHDA.kext) will attach to both HDA devices.

If you find that AppleHDA.kext works better for one device and VoodooHDA.kext works better for a different device, then maybe there's a way to get them both working at the same time, by modifying their info.plist files, but I wouldn't worry about that for now since you only need audio to work from one device.

I tried the first link about applehda guide but i stayed focus on nvidia, maybe i should take into account the intel integrated graphics for hdmi?
Ignore Intel integrated graphics if you're not going to connect a display to it. The HDA devices (Intel, motherboard, Nvidia) are all separate. The guide or HDMIAudio.kext should be able to get at least one of your graphics card's ports to work but it might not be the one you want. HDMIAudio.kext doesn't have anything you can tweak. You would have to rewrite it (it's small), then add stuff. I haven't looked at the properties that the guide adds, so I don't know if there's anything in there that can be tweaked. You should not use the guide and HDMIAudio.kext at the same time, since they may conflict, as they both set similar properties. Both of them set those properties so AppleHDA.kext can work with those graphics devices.

The guide is better than HDMIAudio.kext since it has more information and can be modified. HDMIAudio.kext is better for real Macs where you can't easily modify the DSDT. If a solution requires code to dynamically modify the IO Registry or access the HDA codec, then you would want to use a rewritten/modified HDMIAudio.kext or figure out how to add that code to AppleHDA.kext (probably by doing it in AppleALC.kext which is built to patch AppleHDA.kext).

VoodooHDA.kext is a replacement for AppleHDA.kext and doesn't require or use the properties set by the guide or HDMIAudio.kext. It's much easier to modify this since you don't have to worry about what AppleHDA.kext is doing (there's no source code for AppleHDA.kext).

Anyway i will look at the second link you provided and i'm gonna use my head next week end :)
I really want this to work as this is the only thing not working i can't physically change
But if anyone has more information, or similar setup, don't hesitate to post your tips if you achieved something!!! :)
I don't have a solution to this problem. I was just enumerating the different places where a solution might go.
 
And thanks for all these detailes informations :)
 
The information here really helped me. So happy to get rid of VoodooHDA.
With my GTX 1080 the DP port closest to HDMI was not giving me audio. I plugged into the DP port furthest to the left and it immediately detected my display.

Thank you all for your help.
 
Updated 10/16/2016 to reflect a small installation change to regain HDMI audio functionality in Sierra . This solution will work in Sierra as well as several previous versions of MacOS. Keep in mind that I didn't create the tools I only figured out how to use them. Credit for the kext goes to andrejkw at macrumors. Your mileage may vary but this is the easiest solution I've found. It has worked for many others. Definitely worth a try.

1. Download package located here https://www.dropbox.com/s/8hay1m0rec93vvo/HDMIAudio-1.0.dmg?dl=0
2. Mount HDMIAudio-1.0 disk image
3. Mount your EFI partition. You may need to use Clover Configurator or similar tool to do this.
3. Copy HDMIAudio.kext from the HDMIAudio disk image to EFI/Clover/Kexts/Other
4. Reboot. (x2) Clover may hang on the initial boot attempt, if so a restart of the computer should have you up and running.

There you have it, a simple file copy.
After the reboot I had working HDMI Audio.
Hopefully this helps someone else.

If you're confused there is a quick rundown in this video.
*the video was for a previous version of MacOS. Make note of the kext folder in this updated guide!

*Don't forget to select the proper output! System Preferences/Sound/output or hold the Option key while clicking volume icon.

So now you have HDMI audio, but what about volume control? OSX doesn't support volume control of HDMI devices natively. Use one of the utilities below to enable it.
Audio Hijack
Sound Siphon

Please people anyone helps me !
After I done this I have not audio output anymore ! even in onboard headphone
When i use the toleda detect script this is the result :
------------------------------------------------------
File: audio_codecdetect.command_v2.2

HDMI audio codec(s)
Nvidia: 0x10de0084

Onboard audio codec
Realtek: 0x10ec0887
Name: Realtek ALC887
Audio ID: 3

Valid audio codec, audio device and Audio ID; audio injection is working
Finished-
------------------------------------------------------

But when i install the kext all my audio outputs disapear in the Mac audio control panel.
 
Last edited:
Status
Not open for further replies.
Back
Top