Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
1. Description of audio problem

I have only the onboard audio, no HDMI or DP audio



2. Specs:

OS Version 10.12.6

Mobo Z270x-UD5

I7-770k

Nvidia GTX 970



3. Method

Installed using multibeast - codec for 1120 + 100 / 200 series audio - got audio devices (mobo only)

Used audio_cloverHDMI-120_v1.0d.command - still no HDMI / DP audio

Tried quick fix method 1 - FakePCIID.kext + FakePCIID_Intel_HDMI_Audio.kext



4. File: audio_codecdetect.command_v2.2


HDMI audio codec(s)

Nvidia: 0x10de0071


Onboard audio codec

Device: Not supported

Realtek: 0x10ec1220

Name: Realtek ALC

Audio ID: Not supported

Current Audio ID: 1 (valid: 1, 2, or 3)

FIX, try:

1. https://github.com/toleda/audio_ALCInjection/tree/master/ssdt_hdef/

ssdt_hdef-1-with_ioreg/hdef.zip (or -2 or -3, select View Raw)

2. CLOVER/config.plist/Devices/Audio/Inject/1 (or 2 or 3)


No system files were changed


8. No sound assertions on console
 

Attachments

  • AppleHDA.kext.zip
    1.7 MB · Views: 69
  • boot log.txt
    25.6 KB · Views: 96
  • config.plist
    5.5 KB · Views: 185
  • enm1.ioreg
    8.1 MB · Views: 64
  • Screen Shot 2017-09-08 at 15.31.05.png
    Screen Shot 2017-09-08 at 15.31.05.png
    113 KB · Views: 117
  • Screen Shot 2017-09-08 at 15.31.44.png
    Screen Shot 2017-09-08 at 15.31.44.png
    160.7 KB · Views: 87
  • Screen Shot 2017-09-08 at 15.32.01.png
    Screen Shot 2017-09-08 at 15.32.01.png
    76 KB · Views: 96
  • audio_cloverHDMI-120_v1.0d terminal.txt
    1.4 KB · Views: 93
  • SSDT-HDMI-NVIDIA-PEG0.aml
    458 bytes · Views: 65
If the TV doesn't show anything, the setup is not correct.

Try the manual.


Thanks for the feedback, since there is no signal out and this can't be controlled by AMI's Aptio utility in BIOS on my MSI laptop, it may be something I've turned off with one of my SSDT's or it's hard-coded/wired which GPU gives signal to HDMI ?

I've tried HDMI both in Linux and Windows where this works, my laptop comes with a discrete NVIDIA GeForce GTX 1060-3GB Graphics Card, since discrete graphics card in a switched dual-GPU configuration is not usable on macOS it's turned off with an SSDT.

I have not managed to identify which GPU takes care of HDMI in my tests, but assuming based on what I've written above it may be the GTX 1060, that I've turned off...

Sorry if the information above should have been in my initial post :rolleyes:

Patching of ACPI is a bit challenging to get into, especially finding the right repositories and correct edits without destroying too much on my hackintosh at the same time, so like many others I've got help with my DSDT and one SSDT that has turned off my discrete graphics card. Perhaps something should have been done differently in my edits to make HDMI work?

Have I misunderstood or exist other solutions to route HDMI over integrated graphics ?

I really appreciate your help with this :wave:
 
Last edited:
Have I misunderstood or exist other solutions to route HDMI over integrated graphics ?
No idea.
Use Windows/Linux to determine which graphics system supports the HDMI connector.
 

Attachments

  • DSDT.aml
    163.6 KB · Views: 86
No idea.
Use Windows/Linux to determine which graphics system supports the HDMI connector.


I've tried in Linux since Windows Device Manager -> Expanded both Display Adapters and Connected TV does not show which GPU HDMI uses.

Entered the line below in Linux terminal and pressed enter without HDMI cable, waited a few seconds and with HDMI cable connected.

clear && sudo lshw -numeric -C display && echo -e "\ n" && read -n 1 -s -r - p "HDMI disconnected" && echo -e "\ n" && xrandr --listproviders --listmonitors && echo -e "\ n" && read -n 1 -s -r -p "HDMI Connected" && echo -e "\ n "&& xrandr --listproviders --listmonitors


Which gave me the following output:


*-display
description: VGA compatible controller
product: NVIDIA Corporation [10DE:1C20]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master
cap_list rom
configuration: driver=nvidia latency=0
resources: irq:147 memory:de000000-deffffff
memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128)
memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation [8086:591B]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master
cap_list rom
configuration: driver=i915 latency=0
resources: irq:132 memory:dd000000-ddffffff
memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff


HDMI disconnected

Providers: number : 3
Provider 0: id: 0x246 cap: 0x1, Source Output crtcs: 4 outputs: 3
associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1
associated providers: 1 name:modesetting
Provider 2: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1
associated providers: 1 name:modesetting
Monitors: 1
0: +*eDP-1-1 1920/381x1080/214+0+0 eDP-1-1


HDMI connected

Providers: number : 3
Provider 0: id: 0x246 cap: 0x1, Source Output crtcs: 4 outputs: 3
associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1
associated providers: 1 name:modesetting
Provider 2: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1
associated providers: 1 name:modesetting
Monitors: 2
0: +*eDP-1-1 1920/381x1080/214+0+0 eDP-1-1
1: +HDMI-0 1920/1060x1080/626+1920+0 HDMI-0


Then it is confirmed that it is NVIDIA that gives signal, is there any hope now ?
 
Hey, I'm getting "Device ID: 0x12590000 not supported". Last time this error was mentioned in this thread, you said it was because Kaby Lake wasn't natively supported, but now that it is, I'm hoping something has changed!
Code:
$ ./audio_cloverHDMI-120_v1.0d.command

Agreement
The audio_cloverHDMI script is for personal use only. Do not distribute
the patch, any or all of the files for any reason without permission.
The audio_cloverHDMI script is provided as is and without any warranty.

File: audio_cloverHDMI-120.command_v1.0d
Release Mode
EFI partition is mounted
HDMI audio codec(s)
Intel:    0x8086280b
Device ID: 0x12590000 not supported
rm: /tmp/HDEF.txt: No such file or directory
AMD/Nvidia not found
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
My current situation is that I have onboard audio, but no HDMI audio. Nothing shows up in Sound settings:

sound-settings.png
I'm running macOS 10.12.6 on a Fatal1ty Z270 Gaming-ITX/ac (Realtek ALC1220 Audio Codec) with an Intel i5 7600T (HD630) CPU. macOS recognizes it properly as "Intel HD Graphics 630 1536 MB". No dedicated GPU. The machine is connected to an LG 4K TV.

System Information
system-information.png
DPCIManager
dpcimanager.png

My AppleHDA is the original that came with the installation (AppleHDA 279.48), but I've added it anyway for good measure.

I've tried applying the patches from your config-hdmi_hd6x0-120.plist.zip, but I'm unable to boot with the 10.8+-Rename-GFX02IGPU patch. It causes my TV to lose connection to the machine.
Code:
<dict>
  <key>Comment</key>
  <string>10.8+-Rename-GFX02IGPU</string>
  <key>Find</key>
  <data>R0ZYMA==</data>
  <key>Replace</key>
  <data>SUdQVQ==</data>
</dict>

I have two SSDTs, the one from you (SSDT-HDMI-HD630.aml) and SSDT_NVMe-Pcc.aml from RehabMan. I need the last one to be able to see my NVMe SSD where macOS is installed. No other files in EFI/CLOVER/ACPI/patched than those two.


Thanks in advance!
 
Last edited:
it is confirmed that it is NVIDIA that gives signal, is there any hope now ?
Remove everything that disables macOS/Nvidia graphics.
With HDMI device connected, reply with new IOReg.
 
Remove everything that disables macOS/Nvidia graphics.
With HDMI device connected, reply with new IOReg.


Ok,

Have 2 copies of IOReg, #1 Removed SSDT which turns off the NVIDIA card and if that's not enough, I've also removed DSDT on #2, hope one of them contains the right info. :angel:
 

Attachments

  • IOReg #1 & #2.zip
    1.4 MB · Views: 67
Status
Not open for further replies.
Back
Top