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

Discussion in 'HDMI Audio' started by ok1ok1, Oct 22, 2014.

  1. william57m

    william57m

    Joined:
    Feb 14, 2016
    Messages:
    34
    Mobo:
    AsRock H170M Pro4
    CPU:
    Intel Core i7 6700k
    Graphics:
    Nvidia GTX 1060 6GB
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Apr 20, 2017 at 1:24 PM #161
    william57m

    william57m

    Joined:
    Feb 14, 2016
    Messages:
    34
    Mobo:
    AsRock H170M Pro4
    CPU:
    Intel Core i7 6700k
    Graphics:
    Nvidia GTX 1060 6GB
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    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: Apr 23, 2017
  2. lilins

    lilins

    Joined:
    Mar 6, 2016
    Messages:
    30
    Mobo:
    Chipset Intel 100 Series, NVIDIA
    CPU:
    Processor Intel Core i5-6400T (quad-core, 2.2 GHz, up to 2.8 GHz)
    Graphics:
    Graphics Engine GeForce® GTX 1060 6GB GDDR5 192-bit
    Mac:
    MacBook Air, Mac mini
    Mobile Phone:
    Android, iOS
    Apr 24, 2017 at 6:17 PM #162
    lilins

    lilins

    Joined:
    Mar 6, 2016
    Messages:
    30
    Mobo:
    Chipset Intel 100 Series, NVIDIA
    CPU:
    Processor Intel Core i5-6400T (quad-core, 2.2 GHz, up to 2.8 GHz)
    Graphics:
    Graphics Engine GeForce® GTX 1060 6GB GDDR5 192-bit
    Mac:
    MacBook Air, Mac mini
    Mobile Phone:
    Android, iOS
    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
     
  3. joevt

    joevt

    Joined:
    Apr 5, 2016
    Messages:
    437
    Mobo:
    GIGABYTE Z170X-Gaming 7, GIGABYTE Z170N-Gaming 5
    CPU:
    Intel Core i7-6700K 4.6 GHz, Intel Core i7-6600K 4.4 GHz
    Graphics:
    EVGA GeForce GTX TITAN X 12GB SC Gaming, EVGA GeForce GTX 1070 8GB
    Mac:
    iMac, MacBook, MacBook Air, MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Apple, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 25, 2017 at 5:49 PM #163
    joevt

    joevt

    Joined:
    Apr 5, 2016
    Messages:
    437
    Mobo:
    GIGABYTE Z170X-Gaming 7, GIGABYTE Z170N-Gaming 5
    CPU:
    Intel Core i7-6700K 4.6 GHz, Intel Core i7-6600K 4.4 GHz
    Graphics:
    EVGA GeForce GTX TITAN X 12GB SC Gaming, EVGA GeForce GTX 1070 8GB
    Mac:
    iMac, MacBook, MacBook Air, MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Apple, LC, Power Mac
    Mobile Phone:
    iOS
    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.
     
    lilins likes this.
  4. lilins

    lilins

    Joined:
    Mar 6, 2016
    Messages:
    30
    Mobo:
    Chipset Intel 100 Series, NVIDIA
    CPU:
    Processor Intel Core i5-6400T (quad-core, 2.2 GHz, up to 2.8 GHz)
    Graphics:
    Graphics Engine GeForce® GTX 1060 6GB GDDR5 192-bit
    Mac:
    MacBook Air, Mac mini
    Mobile Phone:
    Android, iOS
    Apr 25, 2017 at 9:10 PM #164
    lilins

    lilins

    Joined:
    Mar 6, 2016
    Messages:
    30
    Mobo:
    Chipset Intel 100 Series, NVIDIA
    CPU:
    Processor Intel Core i5-6400T (quad-core, 2.2 GHz, up to 2.8 GHz)
    Graphics:
    Graphics Engine GeForce® GTX 1060 6GB GDDR5 192-bit
    Mac:
    MacBook Air, Mac mini
    Mobile Phone:
    Android, iOS
    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!!! :)
     
  5. joevt

    joevt

    Joined:
    Apr 5, 2016
    Messages:
    437
    Mobo:
    GIGABYTE Z170X-Gaming 7, GIGABYTE Z170N-Gaming 5
    CPU:
    Intel Core i7-6700K 4.6 GHz, Intel Core i7-6600K 4.4 GHz
    Graphics:
    EVGA GeForce GTX TITAN X 12GB SC Gaming, EVGA GeForce GTX 1070 8GB
    Mac:
    iMac, MacBook, MacBook Air, MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Apple, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 26, 2017 at 12:33 PM #165
    joevt

    joevt

    Joined:
    Apr 5, 2016
    Messages:
    437
    Mobo:
    GIGABYTE Z170X-Gaming 7, GIGABYTE Z170N-Gaming 5
    CPU:
    Intel Core i7-6700K 4.6 GHz, Intel Core i7-6600K 4.4 GHz
    Graphics:
    EVGA GeForce GTX TITAN X 12GB SC Gaming, EVGA GeForce GTX 1070 8GB
    Mac:
    iMac, MacBook, MacBook Air, MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Apple, LC, Power Mac
    Mobile Phone:
    iOS
    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.

    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).

    I don't have a solution to this problem. I was just enumerating the different places where a solution might go.
     
    lilins likes this.
  6. lilins

    lilins

    Joined:
    Mar 6, 2016
    Messages:
    30
    Mobo:
    Chipset Intel 100 Series, NVIDIA
    CPU:
    Processor Intel Core i5-6400T (quad-core, 2.2 GHz, up to 2.8 GHz)
    Graphics:
    Graphics Engine GeForce® GTX 1060 6GB GDDR5 192-bit
    Mac:
    MacBook Air, Mac mini
    Mobile Phone:
    Android, iOS
    Apr 27, 2017 at 8:04 AM #166
    lilins

    lilins

    Joined:
    Mar 6, 2016
    Messages:
    30
    Mobo:
    Chipset Intel 100 Series, NVIDIA
    CPU:
    Processor Intel Core i5-6400T (quad-core, 2.2 GHz, up to 2.8 GHz)
    Graphics:
    Graphics Engine GeForce® GTX 1060 6GB GDDR5 192-bit
    Mac:
    MacBook Air, Mac mini
    Mobile Phone:
    Android, iOS
    And thanks for all these detailes informations :)
     
  7. TeK9Samurai

    TeK9Samurai

    Joined:
    Apr 9, 2013
    Messages:
    41
    Mobo:
    GA-Z170X-UD5 TH
    CPU:
    i7-6700K
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME
    Mobile Phone:
    Android
    May 1, 2017 at 4:03 PM #167
    TeK9Samurai

    TeK9Samurai

    Joined:
    Apr 9, 2013
    Messages:
    41
    Mobo:
    GA-Z170X-UD5 TH
    CPU:
    i7-6700K
    Graphics:
    Gigabyte GeForce GTX 1080 XTREME
    Mobile Phone:
    Android
    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.
     
  8. nigelwilson

    nigelwilson

    Joined:
    Apr 25, 2017
    Messages:
    1
    May 2, 2017 at 4:29 AM #168
    nigelwilson

    nigelwilson

    Joined:
    Apr 25, 2017
    Messages:
    1
  9. ok1ok1

    ok1ok1

    Joined:
    Feb 28, 2013
    Messages:
    15
    Mobo:
    Desktop
    CPU:
    I5
    Graphics:
    Gforce 650 TI
    May 10, 2017 at 3:51 PM #169
    ok1ok1

    ok1ok1

    Joined:
    Feb 28, 2013
    Messages:
    15
    Mobo:
    Desktop
    CPU:
    I5
    Graphics:
    Gforce 650 TI
    Thanks for the heads up. Looks like a dropbox update killed it. Should be fixed now.
     
  10. d5aqoep

    d5aqoep

    Joined:
    Aug 16, 2016
    Messages:
    163
    Mobo:
    ASUS Z270 IX Hero
    CPU:
    Intel i7 6700K
    Graphics:
    Gigabyte GTX 1080Ti OC
    Mobile Phone:
    Android, iOS
    May 14, 2017 at 11:59 AM #170
    d5aqoep

    d5aqoep

    Joined:
    Aug 16, 2016
    Messages:
    163
    Mobo:
    ASUS Z270 IX Hero
    CPU:
    Intel i7 6700K
    Graphics:
    Gigabyte GTX 1080Ti OC
    Mobile Phone:
    Android, iOS
    Sorry for late reply. Make sure you have enabled kext-dev-mode (Usage of unsigned kexts) in config.plist. Edit that option by opening your config.plist in clover configurator.
     

Share This Page