Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
PEG0@1/PEGP@0/pci-bridge@10 and PEG0@1/PEGP@0/pci-bridge@11.
dsdt edits, ssdt similar

@10: _ADR, 0x00010000 (as noted below)
@11: _ADR, 0x00011000 (duplicate all below)

Code:
Edit/From
        Notify (\_SB.PCI0.PEGP.GFX0, 0x02)
Edit/To:
        Notify (\_SB.PCI0.PEG0.PEGP.PLX0.GFX0, 0x02)

            Device (PEG0)
            {
                Name (_ADR, 0x00010000)
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR02 ())
                    }

                    Return (PR02 ())
                }

                Device (PEGP)                                 // Add code from this line
                {                                                   //
                    Name (_ADR, Zero)                    //
                    Device (PLX0)                            //
                    {                                              //
                        Name (_ADR, 0x00100000)    // to this line
                        Device (GFX0)
                        {
                            Name (_ADR, Zero)
                            Name (_SUN, One)
                            Method (_DSM, 4, NotSerialized)
                            {
                                If (LEqual (Arg2, Zero))
                                {
                                    Return (Buffer (One)
                                    {
                                        0x03
                                    })
                                }

                                Return (Package (0x02)
                                {
                                    "hda-gfx",
                                    Buffer (0x0A)
                                    {
                                        "onboard-2"
                                    }
                                })
                            }
                        }

                        Device (HDAU)
                        {
                            Name (_ADR, One)
                            Method (_DSM, 4, NotSerialized)
                            {
                                If (LEqual (Arg2, Zero))
                                {
                                    Return (Buffer (One)
                                    {
                                        0x03
                                    })
                                }

                                Return (Package (0x02)
                                {
                                    "hda-gfx",
                                    Buffer (0x0A)
                                    {
                                        "onboard-2"
                                    }
                                })
                            }
                        }
                    }
                }                                        // Add code from this line
            }                                            // to this line
 
Need the missing files: cloverHDMI output, boot log (path is provided), AppleHDA.kext (hidden file)
I included the cloverHDMI output and the AppleHDA.kext but I can't find the boot log
In your instructions it says to (Set config.plist/Boot/Debug/YES)
I open up EFI/CLOVER/config.plist in xCode and look under Boot, there is no Debug option. I tried Cmd+F to find Debug and I found one under Root/ACPI/DSDT/Debug which was set to "NO" initially but I changed it to "YES" and restarted, but there's still no Boot log under the misc folder.
I see another method:
  1. or DPCIManager/Misc/Boot Log
but I downloaded DPCIManager from source forge already and I can't find the Boot Log.
Please advice
 

Attachments

  • cloverHDMI output.txt
    1.2 KB · Views: 118
  • AppleHDA.kext.zip
    1.7 MB · Views: 96
Remove SSDT-HDMI and SSDT-HDEF. Run cloverHDMI.
Reply with new files.
here they are again...!
I can see the hdmi in system profiler but not at sound preferences....see screenshot...
 

Attachments

  • AppleHDA.kext.zip
    1.7 MB · Views: 90
  • config.plist
    6.9 KB · Views: 174
  • boot.txt
    25.3 KB · Views: 95
  • iojones.iojones
    2 MB · Views: 106
  • ioreg.ioreg
    7.2 MB · Views: 97
  • Terminal Saved Output.txt
    1,012 bytes · Views: 119
  • Screen Shot 2016-10-01 at 11.07.41.png
    Screen Shot 2016-10-01 at 11.07.41.png
    1 MB · Views: 95
Last edited:
dsdt edits, ssdt similar

@10: _ADR, 0x00010000 (as noted below)
@11: _ADR, 0x00011000 (duplicate all below)

Code:
Edit/From
        Notify (\_SB.PCI0.PEGP.GFX0, 0x02)
Edit/To:
        Notify (\_SB.PCI0.PEG0.PEGP.PLX0.GFX0, 0x02)

Sorry Toleda,

but need more HELP here, cause i can't find any of the quoted entries in my DSDT - so i don't know where to change what.
Attached my actual DSDT.aml. Currently no SSDT.aml used for HDMI-Audio.

Would be happy, if you would find the time to take a look at it. Thx. in advance... Mork vom Ork

EDIT #1: Got it... no more Help needed. Thanx anyway
 

Attachments

  • DSDT.aml.zip
    33.8 KB · Views: 95
Last edited:
https://www.tonymacx86.com/threads/new-automatic-hdmi-audio-script-released.184867/page-10

Hello Toleda,

In Post #95 I asked you “Do you have any plans to extend this to the new AMD 4xx cards?”. To which you replied in Post #96 “Yes, don't expect any changes for 4xx.“

So I gave it a try using the script audio_cloverHDMI-120_v1.0.command linked to in the first post, following along the sections for the AMD cards, which led to SSDT-HDMI-AMD-PEG0.aml .

I put this file in the EFI/Clover/ACPI/patched/ folder and rebooted. But things did not go as well as I was hoping.

[Prior to doing this, I had ran the command audio_cloverHDMI-120_v1.0.command which gave me basic audio outputs. This works well.]

So I am filing a problem report:

1. Details
1. Description of audio problem

A.) There is no sound though the HDMI port. The port shows up in the Sound preferences pane (screen capture is included) and is selectable. Both iTunes and Kodi recognize the connection with Kodi allowing for full 7.1 channel output along with DTS and Dolby sound etc. as choosable options. Neither application has any actual output sound for any kind of file being played, audio or video.

B.) There is sound through the DisplayPort, but it is not good. It sounds like it is being dragged though molasses and mudpits, in that it has been very slowed down. The pitch and tone are horrible.

Both the HDMI and DisplayPort connections appear, when they are plugged in, and disappear when not plugged in, in the Sound Preferences pane. Sound through the line-out connection is good as is sound through the optical digital out port.


2. OS X version/motherboard model/BIOS version/processor/graphics

macOS 10.12.1 (Public) BETA 3 (build 16B2338c) / Gigabyte GA-Z97n Gaming 5 / Bios: F5 / i5-4690s / Intel HD4600 and Gigabyte AMD RX 460 4GB

I have included the requested screen shots and the IORegistryExplorer output in the included gzip file. These are taken with the SSDT installed. If it is any use, I also have similar files without the SSDT installed. I did not include them yet, I can upload those if they are needed.

For what it is worth, I have read in several places that beginning with the Polaris GPU series, AMD has stopped using TrueAudio and is now using a new setup they call TrueAudio Next.

Thank you for your help.
 

Attachments

  • With_SSDT.tar copy.gz.zip
    947.3 KB · Views: 96
Last edited:
Need the missing files: cloverHDMI output, boot log (path is provided), AppleHDA.kext (hidden file)
any news Toleda about the hdmi problem?
i have uploaded the requested files....
 
no sound though the HDMI port
macOS/Polaris/AMD9500Congtroller is not ready.
AMD HDMI audio is configured properly.
If/when Polaris ships native, it will work
Hawaii/Bonair/AMD8000Controller has same problem.
 
macOS/Polaris/AMD9500Congtroller is not ready.
AMD HDMI audio is configured properly.
If/when Polaris ships native, it will work
Hawaii/Bonair/AMD8000Controller has same problem.

Thanks for the information. Hopefully the wait will not be tooooo long.
 
Status
Not open for further replies.
Back
Top