Jump to content

El Capitan AppleHDA HDMI Audio

HDMI AppleHDA Intel AMD Nvidia

  • Please log in to reply
154 replies to this topic

#21
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

v1.2: 2/18/16 - cloverHDMI/X99, X79, X58 support

See Post #1



#22
jromejr

jromejr

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

Toleda,

 

Works perfectly. Just FYI, the two lines 

External (_SB_.PCI0.PEG1, UnknownObj)

External (_SB_.PCI0.PEG2, UnknownObj)

 

couldn't be found after going through the steps, but still compiled. Thank you so much for your help. 

 

I'm assuming the DSDT still will work after any updates as long as I patch the kexts with the script?



#23
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

I'm assuming the DSDT still will work after any updates as long as I patch the kexts with the script?

Yes.  BIOS update requires patching new dsdt.



#24
Alby128

Alby128

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 179 posts
  • Gender:Male
  • Location:Pisa, Italy
Hi,

Is it possible that this method will work with 10.11.1 and a Nvidia GeForce GT 240? I am using latest Enoch as bootloader.

Thanks,
Alberto

#25
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

Is it possible that this method will work with 10.11.1 and a Nvidia GeForce GT 240?

10.11.1, yes

GT240, special edit required.



#26
Alby128

Alby128

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 179 posts
  • Gender:Male
  • Location:Pisa, Italy

10.11.1, yes

GT240, special edit required.

 

 

I have done this yesterday, it works with latest Enoch and edited DSDT. It did not work in the first place because I was using GraphicsEnabler=Yes and none of the DSDT GPU parameters was actually injected.

 

Thanks,

Alberto



#27
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

v1.3: 4/8/16 - Skylake/HD5x0 HDMI audio support (cloverHDMI, ssdt or Bootloader/Clover)

See Post #1.



#28
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts

X - Problem Reporting (post to this thread with requested information attached)

  1.     1.  Description of HDMI audio problem 

          > No HDMI Device or Sound over HDMI

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

          > 10.10.5 (14F27), Gigabyte Z97X Gaming GT, AMI Alaska UEFI, i7-4790K,EVGA GTX970 AAC+ 2,0 SC

  1.     3.  Procedure/Guide used

          > CloverALC.Command

  1.     4.  Installed S/L/E/AppleHDA.kext

          > Vanilla

  1.  
  2.  
  3. Copy of IOReg - IOReg_v2.1/File/Save a Copy As…, verify file (Tools 1.)
  4. Screen shot/DPCIManager/Status (Tools 2.)
  5. DPCIManager/Misc/Boot Log
  6. MaciASL/File/Export Tableset As... (Tools 3.)
  7. Terminal/Shell/File/Export Text As. . . /audio_cloverHDMI-110.command
  8. EFI/CLOVER/config.plist
  9. DPCIManager/Misc/Boot Log
  10. EFI/CLOVER/ACPI/Patched/ssdt.aml

Attached Files



#29
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

         > No HDMI Device or Sound over HDMI

Motherboard has a pci multiplexer, special edits required

Replace EFI/ACPI/patch/SSDT-HDMI-NVIDIA-PEG0.aml with attached

Reply with new files.

Attached Files



#30
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts

Thanks Toleda! Still does not work. Files attached. Others remain the same.

 

 

Attached Files



#31
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

Still does not work.

My mistake, try attached

Issue is _ADR, your card is a different slot.  

            Device (PLX0)
            {
                Name (_ADR, 0x00011000)

Attached Files



#32
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts

Unfortunately still does not work. 

 

Just to be sure. I am using a fresh and Vanilla OS X (from Time Machine just after installation), even used Kext Utility installing the AppleHDA.kext from the Installation.App to be absolutely sure. Removed AppleALC.kext and restart. Run the script and failed, now changed the .ssdt twice without any change.

 

Thanks for all your help, really appreciate it! What can make it so complicated? Others have this card OOB, I read.

 

I have no DSDT, I am not using any other HDMI stuff.

 

Start to worry if it may work at all :)

 

Even more strange, when putting back the ALC.kext - it is not showing up under kextstat anymore, don´t know if that means anything.

 

Meanwhile, I rebuild my system again, used the piker alpha script, got the applehda8series.kext, audio enable. Then used the ssdt you sent = no hdmi audio. 

 

Do you have any idea?

Attached Files



#33
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

still does not work. 

The problem is the address of you graphics card, Clover:

0:100  0:000  PCI (00|02:11.00) : 10B5 8747 class=060400

Try attached.

Attached Files



#34
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
0:100  0:000  PCI (00|05:00.00) : 10DE 13C2 class=030000
0:100  0:000  Found NVidia model=EVGA GeForce GTX 970 family #x
0:100  0:000  PCI (00|05:00.01) : 10DE 0FBB class=040300
 
Checking that - this seems to be the entries for my GFX as to DPCI. 
 
The SSDT leads to a black screen - no not really black, I can see the backlight in the corners on but no picture.
 
Could this be related me copying the AGPM values from AGPM.kext to my Fake SMC? --> guess not, just checked really only AGPM related data, should not influence the address.


#35
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
P.S. Tried to play around with the ADR Values but without luck. Please tell me if I can do/prepare anything to make it easier for you helping. 


#36
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

 

Checking that - this seems to be the entries for my GFX as to DPCI. 
The SSDT leads to a black screen - no not really black, I can see the backlight in the corners on but no picture.
Could this be related me copying the AGPM values from AGPM.kext to my Fake SMC? --> guess not, just checked really only AGPM related data, should not influence the address.

 

Not correct, the multiplexer is before the graphics card, the injection bridges graphics and audio.

0:100  0:000  PCI (00|02:11.00) : 10B5 8747 class=060400
0:100  0:000  PCI (00|05:00.00) : 10DE 13C2 class=030000

IORegs are the only way to see what has happened.  Without IOReg, no idea.

AGPM has no effect on ACPI edits.

Other users have success when graphics is installed in the IOReg/@10 slot (first + ssdt)

Try other addresses; PLX replaces pci-bridge when it is working.



#37
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
Tried out with several dresses, but got a step further - this time he did the boot into OS X with your ssdt. But I can see in IOREG, PLX not added. Even tried to address of pcibridge-1ß which should also work, right? It did not. Does it make sense to swap the card at this point? I can try that tomorrow. Other than that - is there any BIOS setting that could prevent this from happening?


#38
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,042 posts
  • Gender:Male

Even tried to address of pcibridge-1ß which should also work, right? It did not. Does it make sense to swap the card at this point.

It is hardware,specifically, the PLX PEX 8747 pci multiplexer.  If you moved the card to @10, a different address is needed; see below. Perhaps, the correct ACPI/address edit will be found.  In the meantime, the only solution is a different motherboard.


                    Device (PLX0)

                    {

                        Name (_ADR, 0x00100000)



#39
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
OK,
 
what I understood so far:
 
DSDT defines:
 
Device (PEG0)
         {
         Name (_ADR, 0x00010000)  // _ADR: Address
         Device (PEGP)
          {
                   Name (_ADR, Zero)  // _ADR: Address
           }
 
Clover Boot says: 
 
0:100  0:000  PCI (00|00:00.00) : 8086 0C00 class=060000 = pci8086,  c00@0
0:100  0:000  PCI (00|00:01.00) : 8086 0C01 class=060400 = PEG0
0:100  0:000  PCI (00|01:00.00) : 10B5 8747 class=060400 = PEGP
0:100  0:000  PCI (00|02:08.00) : 10B5 8747 class=060400 = pci-bridge 8
0:100  0:000  PCI (00|02:10.00) : 10B5 8747 class=060400 = pic-bridge 10
0:100  0:000  PCI (00|04:00.00) : 10DE 13C2 class=030000 = GTX970 
0:100  0:000  Found NVidia model=EVGA GeForce GTX 970 family #x
0:100  0:000  PCI (00|04:00.01) : 10DE 0FBB class=040300 = GT970 HDA
 
From not knowing better I would say the addresses of PEG0 vary?
 
Further examination, using some of your files, I can only make anything happen when having this initialise in the SSDT.
 
I will experiment a bit more and come back with results. It can´t be true that this is impossible.
 


#40
G.com

G.com

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
Hi Toleda

Hoping you are still up for helping me. I really tried to get something going and realised a fact that might be part of the truth. Only problem is me not understanding all this coding. I got the logic and I understand what is happening but I do not really see through the jungle.

Nevertheless, difference between your file PEG0 and PEG0+ is one specific command:

External (_SB_.PCI0.PEG0.PEGP._ADR, IntObj)
.
.
.
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
Store (0x0F, \_SB.PCI0.PEG0.PEGP._ADR)
}
.
.
.
Putting this as:

External (_SB_.PCI0.PEG0.PEGP._ADR, IntObj)
.
.
.
Device (PEGP)
{
Name (_ADR, Zero) // _ADR: Address
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
Store (0x0F, \_SB.PCI0.PEG0.PEGP._ADR)
}
.
.
.
This makes the difference that now in IOReg the first device "PEGP" can be renamed to e.g. "GFX0". Somehow I even managed to make something wrong so system called it pci-bridge@something.

This leads me to the conclusion there must be a correlation between request for rebranding of pci-bridge@10 or @11 and this initialising procedure. I am just lacking understanding how to assign the correct object and initialise it correctly.

Does this all make sense to you? Any idea of how to solve it?

Attached Files








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy