Contribute
Register

Help Getting HDMI Audio with GA-Z87X-UD7 TH and GTX 770

Status
Not open for further replies.
Did everything right. Because your motherboard has a PCI bridge, more work is required. See GA-Z87X-UD7 TH - HDMI Audio woes - Page 2

I was able to complete the first Lines of edit, the first 6 ** lines, I deleted the *'s and added 2 spaces for each lines. I run into problems with the last 2 lines of code, I don't know where they go..? My code for the first section exactly matches yours:
You have a PLX bridge, special edits required:
1. Find PEGP, rename PEGP to PEG0 // note: zero
2. Copy code with **, paste without ** // 8 lines total
3. Compile, save, install, restart.
4. Reply with new dsdt and ioreg.

Code:
            Device (PEG0)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (PICM)
                    {
                        Return (AR02 ())
                    }
                    Return (PR02 ())
                }

**                Device (PEGP)
**                {
**                    Name (_ADR, Zero) 
**                    Device (PLX0)
**                    {
**                        Name (_ADR, 0x00100000) 
                        Device (GFX0)
                        {
                            Name (_ADR, Zero)
                            Name (_SUN, One) 
                            Method (_DSM, 4, NotSerialized)  
                            {
                                If (LEqual (Arg2, Zero))
                                {
                                    Return (Buffer (One)
                                    {
                                         0x03
                                    })
                                }

                                Return (Package (0x0A)
                                {
                                    "@0,connector-type", 
                                    Buffer (0x04)
                                    {
                                         0x00, 0x08, 0x00, 0x00
                                    }, 

                                    "@1,connector-type", 
                                    Buffer (0x04)
                                    {
                                         0x00, 0x08, 0x00, 0x00
                                    }, 

                                    "@2,connector-type", 
                                    Buffer (0x04)
                                    {
                                         0x00, 0x08, 0x00, 0x00
                                    }, 

                                    "@3,connector-type", 
                                    Buffer (0x04)
                                    {
                                         0x00, 0x08, 0x00, 0x00
                                    }, 

                                    "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 (0x04)
                                {
                                    "layout-id", 
                                    Buffer (0x04)
                                    {
                                         0x01, 0x00, 0x00, 0x00
                                    }, 

                                    "hda-gfx", 
                                    Buffer (0x0A)
                                    {
                                        "onboard-2"
                                    }
                                })
                            }
                        }
**                    }
**                }
            }
But my code drastically changes from the middle to the end. I did not do the last 2 lines (**7 and **8), when I compile, I get 2 errors. I can't make a dsdt for you to look at. The errors are listed below in the "ERROR shot" as well as my edits and my bridge code "shot 1, shot 2, and shot 3".

I started my edit at line 7031 by renaming to "PEG0", then i added lines 7043 - 7048 per instructions above, but beyond that point my code and the code you provided do not match, so i do not know where the brackets go. I thought they would go below line 7202, but they seem to already be there, plus, nothing is really lining up (don't know if that matters)

I provide screenshots of all my code related to the edit in shots 1,2, and 3... and I'm adding my error shot.

I am learning, but..... :banghead:
 

Attachments

  • ERROR shot.png
    ERROR shot.png
    96.5 KB · Views: 100
  • shot 3.png
    shot 3.png
    118 KB · Views: 94
  • shot 2.png
    shot 2.png
    110 KB · Views: 89
  • shot 1.png
    shot 1.png
    127.8 KB · Views: 104
I can't make a dsdt
Yes you can. Screenshots are useless for solving code problems.
The last two lines are very important. Start over. Paste all 8 lines, no extra lines, then save.
MaciASL/File/Save As... Set File Format to Disassembled ASL File and save
Compile. Save. If errors, attached the dsdt.dsl (compressed).
 
Yes you can. Screenshots are useless for solving code problems.
The last two lines are very important. Start over. Paste all 8 lines, no extra lines, then save.
MaciASL/File/Save As... Set File Format to Disassembled ASL File and save
Compile. Save. If errors, attached the dsdt.dsl (compressed).

Ok, I won't send you screenshots anymore... Can you please tell me or show me where the last 2 lines of code go? The code you show is so different then mine... How do I find where to put the brackets if my code is so different?
 
Yes you can. Screenshots are useless for solving code problems.
The last two lines are very important. Start over. Paste all 8 lines, no extra lines, then save.
MaciASL/File/Save As... Set File Format to Disassembled ASL File and save
Compile. Save. If errors, attached the dsdt.dsl (compressed).


I added the last 2 brackets to line 7208 and line 7209... i have 3 errors
Thank you so much for the help... i really appreciate it.
 

Attachments

  • Bridge edit DSDT copy.dsl.zip
    33.7 KB · Views: 50
I added the last 2 brackets to line 7208 and line 7209... i have 3 errors
Thank you so much for the help... i really appreciate it.
Did not mention the dsdt was edited with other patches, that is why your dsdt looks different.
Brackets are in the wrong place, remove. (wrong HDAU)
Add brackets to line 7115 (between HDAU and P0PA)

To compile:
1. Patch/Clean Compile or remove 2 lines of code that cause "Name already.."
2. Edit this line
From: Notify (\_SB.PCI0.PEGP.GFX0, 0x02)
To: Notify (\_SB.PCI0.PEG0.PEGP.PLX0.GFX0, 0x02)

Compile, save, install.
Reply with edited dsdt and new ioreg.
 
Did not mention the dsdt was edited with other patches, that is why your dsdt looks different.
Brackets are in the wrong place, remove. (wrong HDAU)
Add brackets to line 7115 (between HDAU and P0PA)

To compile:
1. Patch/Clean Compile or remove 2 lines of code that cause "Name already.."
2. Edit this line
From: Notify (\_SB.PCI0.PEGP.GFX0, 0x02)
To: Notify (\_SB.PCI0.PEG0.PEGP.PLX0.GFX0, 0x02)

Compile, save, install.
Reply with edited dsdt and new ioreg.

YOU ARE A ROCKSTAR!! :headbang: Thank you very very much, i wish I had your skills.

I attached my working DSDT and IOReg, this is from a complete reinstall (fresh) as I wanted to recreate and fix my situation. Thank you again, especially for having patience with me.

I have a few final questions:
1) Did I purchase the wrong motherboard? I need to build a DAW and I thought this board was going to be a golden build, seems like gigabyte is not selling these anymore and I'm not sure why.... I fear I could have selected a better one, any suggestions? or should I hang on to this Motherboard...?
2) Did I install these edits the hard way? was there an easier method?
3) will I need to redo this procedure after every update?
4) Will this same procedure apply to the new OSx (coming soon)?

I can't thank you enough, Thanks again, I hope you find everything is in working order in regards to to the files I attached.

THANKS TOLEDA!
 

Attachments

  • IOReg.iojones
    2.3 MB · Views: 86
  • Fixed HDMI PLX Bridge DSDT.aml.zip
    16.5 KB · Views: 51
I have a few final questions:
1) Did I purchase the wrong motherboard?
2) Did I install these edits the hard way? was there an easier method?
3) will I need to redo this procedure after every update?
4) Will this same procedure apply to the new OSx (coming soon)?
If you want HD4600 HDMI Audio, Azul frameuffer edits are required. Answers
1. Nothing wrong with the most featured 8 series motherboard
2. Made it harder than it needed to be. Not for your motheboard
3. No. Update AppleHDA.kext with MultiBeast after each update. BIOS update requires edits for new dsdt
4. Unless you update the BIOS, no change.
 
If you want HD4600 HDMI Audio, Azul frameuffer edits are required. Answers
1. Nothing wrong with the most featured 8 series motherboard
2. Made it harder than it needed to be. Not for your motheboard
3. No. Update AppleHDA.kext with MultiBeast after each update. BIOS update requires edits for new dsdt
4. Unless you update the BIOS, no change.

My Peg error keeps returning but I am not having any issues, I still get HDMI audio on the 4600 and the GTX770... but now there is a third one. I delete them, but they always return. 1st compile is always error free. if this is not an issue then Im golden.
line 61 code 6074 "Name already exists in scope (_SB_.PC10.PEG0)
line 62 code 6074 "Name already exists in scope (_SB_.PC10.PEG1)
line 63 code 6074 "Name already exists in scope (_SB_.PC10.PEG2)
And 1 final question, there are rumblings of future support of the GTX980 around the 16th... I imagine you guys have been working relentlessly getting things ready for the 16th. I am within my return/exchange window on my GTX770, If you were me, would you exchange it for the GTX980? My only concern is the Bridge problem I have with my board and I don't know if I will be in worse trouble after the 16th or if I should just keep what I have and stay on mavericks.

I really appreciate your attention and support, you are a skilled individual. Thanks man
:clap:

 
My Peg error keeps returning
And 1 final question, there are rumblings of future support of the GTX980 around the 16th...
The errors are not in the binary; the disassembler adds the lines. Remove the lines that error to compile.
If I knew, I could not say; see Rules/Prerelease.... In my opinion, unlikely.
 
Status
Not open for further replies.
Back
Top