Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
I did a lame hex replace of "22 05 04 02" to "22 05 01 04" - seemed that did the job for the video. I did this through clover kextandpatches, no direct AMD file editing.
Not valid, native:
Code:
Aji (4) @ 0x1cc3f0
DP, DP, DDVI, HDMI
00040000040300000001010112040501
00040000040300000001020122050402
04000000140200000001030000000306
00080000040200000001040011020104
edited a DP connector (0004), made senseid 04 on two connectors, not valid
HDMI connector (0008) is already sense-id 04, not clear why HDMI audio is not working
If you have a DP2HDMI adapter, try it.

Reminder, use Aji only if HDMI video is stable.
What HDMI device is connected?
 
Not valid, native:
Code:
Aji (4) @ 0x1cc3f0
DP, DP, DDVI, HDMI
00040000040300000001010112040501
00040000040300000001020122050402
04000000140200000001030000000306
00080000040200000001040011020104
edited a DP connector (0004), made senseid 04 on two connectors, not valid
HDMI connector (0008) is already sense-id 04, not clear why HDMI audio is not working
If you have a DP2HDMI adapter, try it.

Reminder, use Aji only if HDMI video is stable.
What HDMI device is connected?

Hello Toleda,

I do not have a DP2HDMI, my setup is the following:

Sapphire R9 280x -> HDMI -> Yamaha Receiver RV-375
Sapphire R9 280x -> DP -> Monitor Dell P2314H

Mavericks and Yosemite -> HDMI audio was working, probably HDAenabler was used, but I did not install anything special.

About the FBs, I was not able to get HDMI video with a native Frambuffer, the only 2 that worked were Aji and Hamachi, with patching the HDMI through Clover -> kextandkernel patches - but now when I read your reply it seems I messed it up.

Hamachi output I have from ati-personalities:

Personality: Hamachi
ConnectorInfo count in decimal: 4
Disk offset in decimal 1885712
0000000 00 04 00 00 04 03 00 00 00 01 01 01 12 04 05 01
0000010 00 04 00 00 04 03 00 00 00 01 02 01 22 05 04 02
0000020 04 00 00 00 14 02 00 00 00 01 03 00 00 00 03 06
0000030 00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 04
0000040

So I see that my Hamachi output is different from my output, strange, cause my AMDController.kext should be El Capitan native. I will try to HEX replace my hamachi code with the one you gave.

My HDMI output decoding:

Connector at index 1
Type [@offset 43608]: HDMI-A (11)
Encoder [@offset 43612]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43743]: 0x93, OSX senseid:0x4
HotPlugID: 1

Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: tr

So this is how I came up with building the HDMI code by using the mapping example by Fl0rian in the Radeon Compatibility Guide - ATI/AMD Graphics Cards thread.

So I got

22 05 01 04

Will try now to replace my hamachi with the real native provided by you and let see what happens.

Update2:

Replaced:

00 04 00 00 04 03 00 00 00 01 01 01 12 04 05 01
00 04 00 00 04 03 00 00 00 01 02 01 22 05 04 02
04 00 00 00 14 02 00 00 00 01 03 00 00 00 03 06
00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 04

with

00 04 00 00 04 03 00 00 00 01 01 01 12 04 05 01
00 04 00 00 04 03 00 00 00 01 02 01 22 05 04 02
04 00 00 00 14 02 00 00 00 01 03 00 00 00 03 06
00 08 00 00 04 02 00 00 00 01 04 00 22 02 01 04

Now I have super weird sound when booting, HDMI video is not OK, I got the HDMI input in the sound settings but STILL no sound. Will keep experimenting...

Update1: No the HDMI input are gone too, weird...

Update2: No matter what I do, the only way to get the HDMI video is the "crazy" non sense Hex replace 22050402 -> 22050104 - actually only the 04 (sense id) put`s the video back... I am not sure really what else could be, we have tried it all!

As my last resort I was trying to see if there is another bios update, but no, have the latest. I have a legacy/UEFI switch on the GPU, but I am using legacy MB, so I am not sure this will do any difference.
 
Mavericks and Yosemite -> HDMI audio was working, probably HDAenabler was used, but I did not install anything special.

with

00 04 00 00 04 03 00 00 00 01 01 01 12 04 05 01
00 04 00 00 04 03 00 00 00 01 02 01 22 05 04 02
04 00 00 00 14 02 00 00 00 01 03 00 00 00 03 06
00 08 00 00 04 02 00 00 00 01 04 00 22 02 01 04

As my last resort I was trying to see if there is another bios update, but no, have the latest. I have a legacy/UEFI switch on the GPU, but I am using legacy MB, so I am not sure this will do any difference.
To be clear, HDAEnabler disables HDMI audio; not the reason HDMI audio worked in 10.9 and 10.10.
Restore 10.9 or 10.10 to validate working HDMI audio.
22 on 2 connectors is not valid.
Unlikely BIOS makes any difference.
 
To be clear, HDAEnabler disables HDMI audio; not the reason HDMI audio worked in 10.9 and 10.10.
Restore 10.9 or 10.10 to validate working HDMI audio.
22 on 2 connectors is not valid.
Unlikely BIOS makes any difference.

Probably I will have to go that route ;(

Toleda, though what do you think though why this "22 05 04 02" to "22 05 01 04" is making my HDMI Video working?

This does not make sense at all for me... :(

As this line is even taken from the DP line from hamachi... what do you think, any clue? The only difference is getting the 04 = Sense ID = which should have been already 4 from the native hamachi but in the native hamachi I do not have HDMI Video.

That`s a mystery to me. I have npci=0x3000 that allows me to boot, but I doubt that`s the issue. Should I use ATI inject ( I think it`s for older cards)...

Now - the gpu info is gone again - shows ATY, Aji 3072mb instead of Radeon...


DefinitionBlock ("iASL0osn8r.aml", "DSDT", 1, "Apple ", "A1012001", 0x00000001)
{ - no AMI in DSDT - can this be the issue?
 
do you think though why this "22 05 04 02" to "22 05 01 04" is making my HDMI Video working?
only difference is getting the 04 = Sense ID = which should have been already 4 from the native hamachi but in the native hamachi I do not have HDMI Video.
have npci=0x3000 that allows me to boot
Now - the gpu info is gone again - shows ATY, Aji 3072mb instead of Radeon...
no AMI in DSDT - can this be the issue?
No idea, if you want HDMI/22, change DP/22 to what HDMI was, i.e., 2 connector edits
trail and error is the only was to determine correct edits
npci=0x3000 disables sound, use npci=02000, use Inject/Ati/NO.
bad edits.
Clover edits the dsdt to Apple
 
No idea, if you want HDMI/22, change DP/22 to what HDMI was, i.e., 2 connector edits
trail and error is the only was to determine correct edits
npci=0x3000 disables sound, use npci=02000, use Inject/Ati/NO.
bad edits.
Clover edits the dsdt to Apple

Thank you mate!!!!

I have reinstalled El Capitan, now HDMI video works flawless out of the box:) I believe i have damaged too much my El Capo, will now start gently with framebuffers edit and let`s see what will happen.

The npci=0x3000 - i was not able to boot w/o it, will no try with 0x2000

Will keep you posted

Update: Success!

I have reinstalled El Capitan this time completely skipping AppleHDA codec for my ALC1200/888 legacy onboard audio. Then by using your script audio_cloverHDMI-110_v0.8.2 I got HDMI audio.

No Framebuffer edits, no connector patching, straight out of the box!

My video card is displayed as AMD Radeon HD 7xxx 3072 MB but it seems I have hardware acceleration, I am not sure if worth to edit Framebuffer to get this right, any clue?

But our mission - success!

Thank you Toleda!

p.s. I started to think - what will happen if I put ALC888 kext... this will probably install AppleHDA with HDAenabler and break my HDMI audio - too scared to try! What do you think?
 
I get this when I run the script: "
File: audio_cloverHDMI-110.command_v0.9
EFI partition not mounted
Mac/EFI folder found
Confirm Clover Legacy Install (y/n): y
Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout

[Process completed]
"
I'm a complete noob, please bear with me.
 
I get this when I run the script: "
File: audio_cloverHDMI-110.command_v0.9
EFI partition not mounted
Mac/EFI folder found
Confirm Clover Legacy Install (y/n): y
Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout

[Process completed]
"
I'm a complete noob, please bear with me.


Try to download Clover configurator -> open -> go to tools -> Mount EFI -> check partition -> mount EFI partition -> run script again.
 

Seems you do not have EFI partition, rather EFI folder on the main OS X drive. Can you attach your config.plist? What config do you have, how did you install OS, did you use unibeast USB + Multibeast setup or Clover post-install on top?

More details would be appreciated in how you have setup your OS X, version, method used, hardware used (video card, motherboard, bios).
 
Status
Not open for further replies.
Back
Top