Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
For the 4th time, no HDMI audio dsdt edits results in no HDMI audio.
See post #1, edit you dsdt for HDMI audio.
Reply with HDMI audio edited dsdt.

I downloaded the dsdt and started from scratch. This is my edited dsdt:
View attachment Jimmy's Mac Pro DSDT.aml

Thank you again for your patience with me. I used the awards 5 series option; i hope that was correct. But still no hdmi. Totally a noob at this for sure just looking for some desperate help

Jimmy
 
there you go
IOReg is showing and edited PEG0; do you have an ssdt installed? If yes remove. If no, there is another dsdt somewhere in your system, remove.
dsdt/PEGP is not correct:
find:
Code:
            Device (PEGP)
            {
                Name (_ADR, 0x00030000)
Replace:
Name (_ADR, 0x00070000)

Reply with edited dsdt and new IOReg.
 
Replace:
Name (_ADR, 0x00070000)

Ahhh that worked!!! Changing it to 00070000!

I didn’t change anything else except I had ssdt options in clover such as generate p and c states. I didn’t have any extra dsdt’s.aml or ssdt’s.aml

Thank you so so very much!

I have a question: why did I have to change it to 7 instead of 3? I just want to learn and understand more about this if that’s not too much trouble to ask

You’re a real hero! Cheers! And thanks for putting up with my noobness haha
 
why did I have to change it to 7 instead of 3?
IOReg shows the graphics card at PEGP@7. Your sound card is in @3. Likely graphics is not in a x16 slot and the sound card (x1 or x4) is.
 
IOReg shows the graphics card at PEGP@7. Your sound card is in @3. Likely graphics is not in a x16 slot and the sound card (x1 or x4) is.

Thank you for the explanation; weird thing is my graphics is definitely in a x16 slot (just checked) and my only other sound card that doesnt work with my hack (or i dont know how to) is my x-fi bravura 7.1 card. the other sound devices are onboard on my ex-58. But i get it now kinda of. slowly getting the hang of understanding this.

Thank you!
 
To summarize what I did:

Hdmi Audio with Clover and Nvidia Web Driver: 346.02.02f03 and OSX 10.10.4
Boot with the Option:
DSDT=Null
Open MaciASL
Go to MaciASL/Preferences/Sources, add http://pjalm.com/repos/graphics/ (add http://pjalm.com/repos/mainboard manufacturer)
Klick Patch, select „Generic Discrete Graphics (AMD/nVidia)“, replace

Store (Package (0x0E) {\n
"AAPL,slot-name", "Slot-1",\n
"name", "Display Controller",\n
"@0,connector-type", Buffer(0x04) {0x00,0x08,0x00,0x00},\n
"@1,connector-type", Buffer(0x04) {0x00,0x08,0x00,0x00},\n
"@2,connector-type", Buffer(0x04) {0x00,0x08,0x00,0x00},\n
"@3,connector-type", Buffer(0x04) {0x00,0x08,0x00,0x00},\n

with

Store (Package (0x12) {\n
"AAPL,slot-name", "Slot-1",\n
"name", "Display Controller",\n
"@0,connector-type", Buffer() {0x00,0x08,0x00,0x00},\n
"@1,connector-type", Buffer() {0x00,0x08,0x00,0x00},\n
"@2,connector-type", Buffer() {0x00,0x08,0x00,0x00},\n
"@3,connector-type", Buffer() {0x00,0x08,0x00,0x00},\n
"@4,connector-type", Buffer() {0x00,0x08,0x00,0x00},\n
"@5,connector-type", Buffer() {0x00,0x08,0x00,0x00},\n


Klick Apply, Close, Compile. If there is no error, go to File/Save as, select File Format „ACPI Machine Language Binary“ and Save as „DSDT.aml“. Copy this file to the ESP-Partition where Clover resides, into the folder EFI/CLOVER/ACPI/patched.

Et voila, Display Port and Hdmi Audio of the GTX970 work.
 
Problem reporting:
1 - With dual Graphics Card I can get HDMI Audio just from the first one. Do I need additional/alternative DSDT patch?
2 - Yosemite 10.10.4/Asus P9X79 WS/BIOS 4802/Intel Xeon E5 2687W V2/Dual MSI Radeon R9 280X (pci-e 1 + pci-e 4 —> dual x16 Pci-e 3.0) with one 27” Apple Cinema Display each (DP version)
3 - UEFI Clover install method/SSDT generated by PikeRAlpha’s script/DSDT patched by custom toleda_hdmi_5series
4 - Attached IOReg native + IOReg with first GFX HDMI
5 - Copy of Console - All Messages attached
6 - Native System/Library/Extensions/AppleHDA.kext (Clover config.plist patch)
8/1 - EFI/CLOVER/config.plist
8/2 - EFI/CLOVER/misc/debug.log
8/3 - EFI/CLOVER/ACPI/Patched/dsdt.aml
8/4 - EFI/CLOVER/ACPI/Patched/ssdt.aml​
 

Attachments

  • P9X79 WS HDMI.zip
    4.4 MB · Views: 71
Do I need additional/alternative DSDT patch?
Yes.
Rename NPE7 to PEG1 (2x)
Paste code over PEG1:
Code:
          Device (PEG1)
            {
                Name (_ADR, 0x00030000) 
                Method (_PRW, 0, NotSerialized) 
                {
                    Return (GPRW (0x09, 0x04))
                }


                Method (_PRT, 0, NotSerialized) 
                {
                    If (PICM)
                    {
                        Return (AR27)
                    }


                    Return (PR27)
                }
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
                        Return (Package()
                        {
                            "hda-gfx", Buffer() { "onboard-1" },
                        })
                    }
                }
                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
                        Return (Package()
                        {
                            "hda-gfx", Buffer() { "onboard-1" },
                        })
                    }
                }
            }
FYI, to inject an AMD framebuffer, modify GFX0 as appropriate:
Code:
           Device (GFX0)
            {
                Name (_ADR, Zero) 
                Name (_SUN, One) 
                Method (_DSM, 4, NotSerialized) 
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                             0x03                                           
                        })
                    }


                    Return (Package (0x0C)
                    {
                        "device-id", 
                        Buffer (0x04)
                        {
                             0x3F, 0x68, 0x00, 0x00                         
                        }, 


                        "@0,name", 
                        Buffer (0x0E)
                        {
                            "ATY,Dashimaki"
                        }, 


                        "@1,name", 
                        Buffer (0x0E)
                        {
                            "ATY,Dashimaki"
                        }, 


                        "@2,name", 
                        Buffer (0x0E)
                        {
                            "ATY,Dashimaki"
                        }, 


                        "model", 
                        Buffer (0x13)
                        {
                            "AMD Radeon HD 7750"
                        }, 


                        "hda-gfx", 
                        Buffer (0x0A)
                        {
                            "onboard-2"
                        }
                    })
                }
            }
 
Status
Not open for further replies.
Back
Top