Jump to content

Yosemite AppleHDA HDMI Audio


toleda
 Share

323 posts in this topic

Recommended Posts

take a look at Archive 2.zip

My mistake. Archive 2/ssdt  is working.  Is onboard audio disabled in the BIOS?

 

Fnd a working HDMI framebuffer, see Post #1/Requirements/2. Graphics/2, AMD HD5xxx/HD6xxx/HD7xxx.  Also see [Case_Studies]_AMD-HD5xxx-HD6xxx_HDMI_Audio_v2.pdf

yesterday when all of sudden after restarting my computer my hdmi stopped working and the Device from my sound options disappeared. I don't know what happened... the only thing I did was update to the latest clover boot loader 3113. 

 

Not sure if Clover caused the problem. Try adding layout-id to HDAU as shown.  Reply with edited dsdt and IOReg.

                Device (HDAU)
                {
                    Name (_ADR, One)  // _ADR: Address
                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        Store (Package (0x04)
                            {
                                "layout-id", 
                                Buffer (0x04)
                                {
                                     0x01, 0x00, 0x00, 0x00
                                },
                                
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-2"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
Link to comment
Share on other sites

 

My mistake. Archive 2/ssdt  is working.  Is onboard audio disabled in the BIOS?

 

Fnd a working HDMI framebuffer, see Post #1/Requirements/2. Graphics/2, AMD HD5xxx/HD6xxx/HD7xxx.  Also see [Case_Studies]_AMD-HD5xxx-HD6xxx_HDMI_Audio_v2.pdf

 

 

 

Thanks! what was the changes to my system with your SSDT.aml :-) ? can I see exactly what the improvement was?

 

And I think I'm completely lost to find a framebuffer :-(

 

//Peter

Link to comment
Share on other sites

I made IT ! Did some test with org.chameleon.Boot.plist

 

And this enabled HDMI sound !!

 

See attachments

 

The Volume control is disabled in OS X , but I can control the volyme on my monitor

 

Thanks for all help !!!

 

And this is my Virtual Machine on unRAID running QEMU/KVM  with the GPU passed trough. 

 

//Peter

Archive 4.zip

Link to comment
Share on other sites

  • 3 weeks later...

 Will that require an ati connector patch for clover to work?

Yes. The physical HDMI connector is mapped to a framebuffer DP connector.  Futomaki requires connector edits.

 

radeon_bios_decode shows the BIOS/HDMI connector has a sense_id of 0x02

ati_personality.pl shows Futomaki HDMI connector has a sense_id of 0x03

 

Without knowing the physical connectors on your 280x, a suggested edit is not possible. At least one edit swapping the sense_ids of  DP and HDMI is required.  It is likely DP, DVI and HDMI connectors can be enabled, including audio on the HDMI and DP connectors.

Futomaki (4) @ 0x19cad0
DP, DP, DDVI, HDMI
00040000040300000001010112040401
00040000040300000001020122050502
04000000140200000001030000000606
00080000040200000001040011020103

10.10/Sapphire HD 7750 Example:

1.[Case_Studies]_AMD-HD7xxx_HDMI_Audio_v2.pdf.zip

2.config-hdmi_hd7750-100.plist.zip

Link to comment
Share on other sites

 

Without knowing the physical connectors on your 280x, a suggested edit is not possible. 

 

Is a saphire dual-x oc uefi or theres two ddvis on the left and an HDMI and dp on the right. Ive not seen a framebuffer with this same configuration in amd7000controllers. 

Link to comment
Share on other sites

Yes. The physical HDMI connector is mapped to a framebuffer DP connector.  Futomaki requires connector edits.

 

radeon_bios_decode shows the BIOS/HDMI connector has a sense_id of 0x02

ati_personality.pl shows Futomaki HDMI connector has a sense_id of 0x03

 

Without knowing the physical connectors on your 280x, a suggested edit is not possible. At least one edit swapping the sense_ids of  DP and HDMI is required.  It is likely DP, DVI and HDMI connectors can be enabled, including audio on the HDMI and DP connectors.

Futomaki (4) @ 0x19cad0
DP, DP, DDVI, HDMI
00040000040300000001010112040401
00040000040300000001020122050502
04000000140200000001030000000606
00080000040200000001040011020103

10.10/Sapphire HD 7750 Example:

1.[Case_Studies]_AMD-HD7xxx_HDMI_Audio_v2.pdf.zip

2.config-hdmi_hd7750-100.plist.zip

Any chance to enable HDMI audio for AMD R9 290X in Yosemite 10.10.1 or 10.10.2 now ?

Link to comment
Share on other sites

Any chance to enable HDMI audio for AMD R9 290X in Yosemite 10.10.1 or 10.10.2 now ?

I dont have 10.10.2 but pretty sure if you look at your hdau in registry under iocodecdevice in iohdacodecrevisionID it wont say 0x100300 which is the latest supported by apple I know of.

Link to comment
Share on other sites

HDMI audio for my Intel i3 4330 / HD4600

 

AppleHDAController

 

10.10.1-10.10.2

Find

<3d0c0a00 00740e>

Replace

<3d0c0c00 00740e>

 

10.10.1-10.10.2

Find

<3d0c0a00 000f84>

Replace

<3d0c0c00 000f84>

 

10.10.1

Find

<3d0c0c00 000f8520 010000>

Replace

<3d0c0c00 00744b90 909090> 

all above credit to TimeWalker75a and toleda

or

<3d0c0c00 000f8447 000000> not test

 

10.10.2

Find

<3d0c0c00 000f85ed 000000>

Replace

<3d0c0c00 000f8442 000000> following revogirl’s guide and studied TimeWalker75a’s work

Link to comment
Share on other sites

Toleda:

In post #1 you have mentioned:

Yosemite HDMI audio support with Intel HD3000/HD4000/HD4600, AMD HD5xxx/HD6xxx/HD7xxx/R7/R9, Nvidia 4xx/5xx/6xx/7xx, Intel/AMD and Intel/Nvidia graphics configurations.

 

Could you show me which part of guide is specifically applied for AMD R9 290X display card's HDMI audio ?

Because following your guide I can enable HDMI audio from AMD HD 7950 in 10.10.1, not working for AMD R9 290X yet.

 

Thanks for your kind help and advice since long time ago.

Link to comment
Share on other sites

Is a saphire dual-x oc uefi or theres two ddvis on the left and an HDMI and dp on the right. Ive not seen a framebuffer with this same configuration in amd7000controllers. 

Rarely is there an OS X framebuffer that matches a retail graphics card.  Proposed 280x/Futomaki framebuffer edit:

DP, HDMI and 1 DVI connector may work. Reply with IOReg and working/not working for each physical connector.

280x/Futomaki-a
00040000040300000001010112040401
00080000040200000001020122050502
04000000140200000001030000000606
00040000040300000001040011020103

Does this look alright to you Toleda? 

Posted at the same time.  Try both.  Reply with results.

HDMI audio for my Intel i3 4330 / HD4600

Thanks for the update.

Suggest: Post #1/Credits/Timewalker75a; patch has worked for every version of Yosemite (to date) and Mavericks.

See audio_CloverHDMI/config-hdmi_hd4600-100.plist.zip/KernelAndKextPatches/KextsToPatch/Item 0 and Item 1.

Because following your guide I can enable HDMI audio from AMD HD 7950 in 10.10.1, not working for AMD R9 290X yet.

Details:

1. R9 290X supports AMD TrueAudio with AMD HDMI audio codec revision_id: 0x100500.  (R7 260X, R9 285 and R9 290X: same)

2. OS X supports AMD HDMI audio codec revision_id: 0x100300

3. TrueAudio has no effect on HDMI/DP audio

4. OS X/TrueAudio support is highly unlikely

5. No idea how to fake the revision_id

6. If/when Bonaire/Hawaii is fully supported natively (shipping), OS X HDMI audio will work.

  • Like 2
Link to comment
Share on other sites

Toleda's post

Details:

1. R9 290X supports AMD TrueAudio with AMD HDMI audio codec revision_id: 0x100500.  (R7 260X, R9 285 and R9 290X: same)

2. OS X supports AMD HDMI audio codec revision_id: 0x100300

3. TrueAudio has no effect on HDMI/DP audio

4. OS X/TrueAudio support is highly unlikely

5. No idea how to fake the revision_id

6. If/when Bonaire/Hawaii is fully supported natively (shipping), OS X HDMI audio will work.

 

Thanks for your excellent explanation and reply !

By the way just inform you a good news for Nvidia GTX 980's DP audio which's working in 10.10.2 with latest Web Driver (343.02.02f01).

The details please find here:

Post #85

http://www.insanelymac.com/forum/topic/302429-yosemite-gtx-9xx750750-ti-compatibility-report/page-5?p=2106910

Edited by jsl
  • Like 1
Link to comment
Share on other sites

Attach IOReg.

I think maybe not working because of the initialize numbers are all 01

Which DVI connector worked?  Attach IOReg.

Or it was two of them were 01, I changed the numbers to have hdmi 1st dvi second then whatever cause I dont have those connectors and it works.

 

Thanks again, Toleda.

Bee11island’s iMac.zip

Bee11island’s iMac.zip

Link to comment
Share on other sites

 changed the numbers to have hdmi 1st dvi second then whatever cause I dont have those connectors and it works.

Objective not clear: HDMI only (working), DVI-I only (working), HDMI and DVI, etc.?

Suggest: use first 2 connectors (DP/HDMI) from Post #162.

Experiment with DVI-I and DVI-D on the last two connectors.

Link to comment
Share on other sites

Objective not clear: HDMI only (working), DVI-I only (working), HDMI and DVI, etc.?

Suggest: use first 2 connectors (DP/HDMI) from Post #162.

Experiment with DVI-I and DVI-D on the last two connectors.

Meant to do two separate posts, so the 1st ioreg was the dvi only working. The second, (derived from basic same set of numbers) I had changed the initialize order values, which had achieved enabling both the hdmi with working audio and the dvi top port.(Cards specs say 2xdual-link dvi but rom results show the 2 with sense id 06 and 1 with sense id 03) Ive not yet bothered to get the bottom dvi port to work. It just comes up with a black screen. I have never used a dp.

 

Main objective to begin with was to use futomaki and have hdmi audio work at the same time. Just did not want to use the default fb though it was working.

Link to comment
Share on other sites

  • 2 weeks later...

 

Details:

1. R9 290X supports AMD TrueAudio with AMD HDMI audio codec revision_id: 0x100500.  (R7 260X, R9 285 and R9 290X: same)

2. OS X supports AMD HDMI audio codec revision_id: 0x100300

3. TrueAudio has no effect on HDMI/DP audio

4. OS X/TrueAudio support is highly unlikely

5. No idea how to fake the revision_id

6. If/when Bonaire/Hawaii is fully supported natively (shipping), OS X HDMI audio will work.

 

Hi, Toleda:

Can you take a look at post here:

« Reply #21 on: February 08, 2015, 11:29:30 PM »

http://forum.netkas.org/index.php/topic,8481.15.html

Someone mentioned HDMI audio is working from AMD R9 290X now.

Link to comment
Share on other sites

Hi Toleda,

 

I hope I'm posting this on the correct thread this time. My Mackintosh is built on - Yosemite 10.10 / UFEI - Clover / AsRock H97m-ITX/ac / i7 4790s / HD4600 onboard / ALC892.

 

I have followed your guides and have done the following:

 

1. audio_cloverALC-100_v1.0.4b (on board audio working)

2. Kext Binary Patching-config-hdmi_hd4600-100.plist

3. HDMI Audio ACPI Patching- ssdt injection 

 

Thanks to you, everything, including HDMI, is working well. But text doesn't look good. When I take out  the following patch out of Config.plist, the everything and text looks good but HDMI doesn't work. With the patch in, HDMI works but text is not "smooth".

 

<dict>

<key>Comment</key>
<string>10.10-Azul-Port_0x7-DP2HDMI</string>
<key>Find</key>
<data>AwYIAAAEAAARAAAA</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>AwYIAAAIAAAGAAAA</data>
</dict>

 

 

I have attached some of the information required for you to check my problem. Hope you can help me get both text and HDMI work well together.

 

Thank you

config.plist.zip

IO Reg.zip

Link to comment
Share on other sites

When I take out  the following patch out of Config.plist, the everything and text looks good but HDMI doesn't work. With the patch in, HDMI works but text is not "smooth".

What display is connected?

If the display is a TV, the problem is the TV.  Set the TV format to pixel by pixel/dot by dot/full pixel (Sony)

Link to comment
Share on other sites

Does the framebuffer edit work? all connectors? Attach IOReg.

Toleda, you are right !

In 10.10.1,10.10.2 & 10.10.3 this AMD8000Controller & AMD9000Controller editing did not change anything at all.

DP, HDMI, & DVI ports are working at the same time, but HDMI audio is not working yet.

The IORegistry in 10.10.1 after patched and 10.10.3 before patched are here:

 
 

290X_10.10.1.zip

10.10.3_290X.zip

Edited by jsl
Link to comment
Share on other sites

Hi Toleda, could you please help me with my problem?

My audio codec is ALC282 which was patched by Vusun123 with the layout-id 28. I've already injected the layout-id into DSDT together with ig-platform-id 0x01660003. The audio built-in works perfectly except for the HDMI audio. It's not detected although the display is ok. I have no idea of anything wrong here. I attach the Ioreg, patched DSDT and Config.plist. Hope that you'll help!

Thank u so much!

Dell 3421.zip

post-1412164-0-17394600-1425291685_thumb.png

post-1412164-0-76400900-1425291689_thumb.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...