Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
Joined
May 5, 2013
Messages
71
Motherboard
Asus Sabertooth Z77
CPU
i5 3570K
Graphics
EVGA GTX 970 SSC
Mac
Classic Mac
Mobile Phone
Hello,

1. I get no HDMI audio device.

2. OS X 10.10.4 / Sabertooth Z77 / 3570k / EVGA GTX 970 SSC

3. 1st attempt at clover/yosemite, with HD4000, didn't have Audio Devices, was able to enable audio devices by using "audio_cloverALC-110.command, and no HDMI audio. Then I got a EVGA GTX 970 SSC, reformated and installed 970, disabled HD4000 and made a new DSDT following via MaciASL (Pjalm) asus mobo only + (toleda's HDMI audio) nvidia A1. Since i've installed the GTX 970 and reformated, i haven't run the audio_cloverALC-110.command, but i still see the AppleHDA KextToPatch on config.

4. I have attached req. troubleshooting files. Note: Attached S/L/E AppleHDA.kext "should" be native. (???) Under DPCIManager i see the ALC892 codec.

Thank you.
 

Attachments

  • DSDT.aml
    45.3 KB · Views: 65
  • config.plist
    4.5 KB · Views: 160
  • debug.log
    17.6 KB · Views: 67
  • mrkonowIO.iojones
    854 KB · Views: 53
  • AppleHDA.kext.zip
    1.6 MB · Views: 57
Joined
Sep 16, 2011
Messages
185
Motherboard
<< need manufacturer name and model # >> See Forum Rules !!
CPU
i7 4770k
Graphics
HD4600 + GTX 650ti
Mac
  1. iMac
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Hello Toleda


I have the hackintosh of a friend with this configuration


CPU: i7 3770k
Motherboard: Gigabyte z77x-ud5h rev 1.1
BIOS version: F15Q (last version)
Onboard video: disabled
Discret video: MSI nVidia GTX650 1024 Mb
Bootloader: Clover (last version)
ALC codec: 898
OS: Mavericks 10.9.5


... and I want activate audio HDMI using the graphic card nVidia.


The onboard audio is working using this method

Realtek ALC AppleHDA Audio Patch Methods - select one (requires native S/L/E/AppleHDA.kext)
1. realtekALC/patch in place: script detects the codec and patches the native AppleHDA.kext for ALC onboard audio. Run the same script to restore audio after Software Update.


  1. realtekALC/patch in place
    1. Bootloaders: Chimera, Chameleon, Clover
    2. Software Update: run same script after update restart
    3. More Info: toleda/audio_RealtekALC
    4. Installation - realtekALC
      1. Download: (View Raw) audio_realtekALC-110.command.zip
      2. Double click: Downloads/audio_realtekALC-110.command
      3. Password?
      4. Confirm Realtek ALC (y/n): (885, 887, 888, 889, 892, 898, 1150 only)
      5. Legacy_v100202 (y/n): (887, 888 only)
      6. Enable HD4600 HDMI audio (y/n): (887, 892, 898, 1150 only)
      7. Verify Patched AppleHDA kext installed
        1. S/L/E/AppleHDA.kext_vx.x-toledaALCxxx
      8. Restart
      9. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device


Could you say the method to follow for enable the HDMI audio using only the video card nVidia?

Thanks in advanced

Greetings
 

toleda

Moderator
Joined
May 19, 2010
Messages
22,921
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
Could you say the method to follow for enable the HDMI audio using only the video card nVidia?
See Post #1/Part A/HD4000/7series
Download HD4000 pdf and dsdt method pdf
See Note/Note/1. MaciASL/dsdt patches

Support; see Post #1/Problem Reporting
 
Joined
May 5, 2013
Messages
71
Motherboard
Asus Sabertooth Z77
CPU
i5 3570K
Graphics
EVGA GTX 970 SSC
Mac
Classic Mac
Mobile Phone
No HDMI audio edits in the attached dsdt.

True, i must have ignored that when I try to compile the DSDT i get:
Code:
10396, 6085, Object not found or not accessible from scope (_SB.PCI0.PEG0)
Code:
10396, 6116, Forward references from Scope operator not allowed (_SB.PCI0.PEG0)

However PEG0 is present. !?!?!
 

toleda

Moderator
Joined
May 19, 2010
Messages
22,921
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
Recommended to apply HDMI audio patches before PJALM.
For your dsdt, edit the AMI-HD4000-AMD-Nvidia-A3 patch:
Code:
HD4000/AMI-HD4000-AMD-Nvidia-A3

edit patch #4. add:
                "@4,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },\n
                "@5,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },\n

remove patch #6:
# 6. Insert HDMI audio injection into device HDEF (HD4K HDMI audio - Part 2/2)
into method label _DSM parent_adr 0x001B0000 remove_entry;
into device name_adr 0x001B0000 insert
begin
    Method (_DSM, 4, NotSerialized)\n
    {\n
        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
        Return (Package()\n
        {\n
                "layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n
                "PinConfigurations", Buffer(Zero) {},\n
              "hda-gfx", Buffer() { "onboard-1" },\n
        })\n
    }\n
end;

Apply

paste:
into scope label _SB.PCI0.PEG0 set_label begin _SB.PCI0.PEGP end

Apply
Close
Compile
 
Joined
Aug 14, 2011
Messages
3
Motherboard
Lenovo P580
CPU
Intel Core i5-3210M
Graphics
Intel HD 4000
Mac
Classic Mac
Mobile Phone
  1. Android
  2. Other
I need a little help with getting the HDMI to work or to let me know that is a lost cause. With a patched AppleHDA and some DSDT patches my HDMI video is working, following the guide results in no audio and a crash when HDMI is connected. I'm attaching files for both states.

1.- Laptop crashes (kernel panic attached screen shoot) when rebooted with HDMI cable or connecting the cable when OS X booted.
No Audio when booting without HDMI cable plugged in.
Audio and HDMI video with patched AppleHDA.kext.
2.- Mac OS X 10.10.4 / Laptop Lenovo Ideapad P580 / BIOS 5ECN96WW(V9.01) White list removed + advanced options enabled / Intel Core i5-3210M / Intel HD 4000
3.- Several the one that worked was this one http://www.insanelymac.com/forum/topic/298663-applehda-for-yosemite/, then I tried some more for the HDMI, the last was this thread.
4.- Attached ioreg files for boot with HDMI patches and with only patched AppleHDA kext.
5.- Attached DPCIManager pic and System Information pic for both instances
6.- Attached modified AppleHDA.kext and clean AppleHDA.kext
7.- None
8.- Using Clover
9.- Attached config.plist, log, DSDT and SSDT.aml for both working and not working

Thanks in advance.
 

Attachments

  • Only HDMI video.zip
    3.6 MB · Views: 67
  • Patched HDMI video.zip
    5 MB · Views: 49
Joined
Sep 16, 2011
Messages
185
Motherboard
<< need manufacturer name and model # >> See Forum Rules !!
CPU
i7 4770k
Graphics
HD4600 + GTX 650ti
Mac
  1. iMac
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Thanks Toleda by your hard effort

Works perfectly :thumbup:


Greetings
 

toleda

Moderator
Joined
May 19, 2010
Messages
22,921
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
I need a little help with getting the HDMI to work
No idea what is causing the panic.
HDMI audio works with the native AppleHDA.kext.
Without a HDMI device connected in IOReg, problem solving is not possible.
 
Status
Not open for further replies.
Top