Jump to content

NUC6i3SYK (OpenCore Monterey): HMDI audio possible?


Eifeldragon

Recommended Posts

Hello everyone,

I have a NUC6i3SYK, ALC283, GPU Intel HD520 and am trying to get audio to the TV via HDMI with no success. I installed Monterey with this EFI https://github.com/HVD3S/nuc6i3syk-EFI-Opencore Is it basically possible to say whether it works at all with the hardware or is there a simple and understandable guide to activating HDMI audio without FakePCIID or Voodoo?

I read through some things and tried to patch it with the help of the hacking tool But that doesn't really work, sound via the headphone connection is no problem (ALC ID 1 or 45 work) In any case, an HDMI connection never appears in the audio setting.

Link to comment
Share on other sites

  • Administrators

Normally, all you'd need is to ensure that the connector type of the port used for HDMI output is set to HDMI (00080000). In the config file of the pack you linked to, I see:

AAPL,ig-platform-id        00001219        DATA
framebuffer-patch-enable   01000000        DATA
framebuffer-con1-enable    01000000        DATA
framebuffer-con1-alldata   01050900 00080000 87010000 02040A00 00080000 87010000 DATA

 

SKL framebuffer 0x19120000 is defined as follows:

ID: 19120000, STOLEN: 34 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000110F
TOTAL STOLEN: 56 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 124 MB, MAX OVERALL: 125 MB (131608576 bytes)
Model name: Intel HD Graphics SKL CRB
Camellia: CamelliaDisabled (0), Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[255] busId: 0x00, pipe: 0, type: 0x00000001, flags: 0x00000020 - ConnectorDummy
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000187 - ConnectorDP
FF000000 01000000 20000000
01050900 00040000 87010000
02040A00 00040000 87010000

 

So, if your HDMI output registers against con1 or con2, you should be Ok. What does it show in IOReg?

 

I also noticed that SMBIOS was set to laptop model (MBP13,3). So you may want switch to SKL framebuffer 0x19160000 instead and see how that goes.

ID: 19160000, STOLEN: 34 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000090F
TOTAL STOLEN: 56 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 124 MB, MAX OVERALL: 125 MB (131608576 bytes)
Model name: Intel HD Graphics SKL CRB
Camellia: CamelliaDisabled (0), Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - ConnectorLVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000187 - ConnectorDP
00000800 02000000 98000000
01050900 00040000 87010000
02040A00 00040000 87010000

 

I've no issue getting HDMI audio out of my Skylake/HD520 Dell Latitude E7270 laptop (ALC293 codec, layout-id 11) under Monterey with the following iGPU properties (and only those), SMBIOS MBP13,1 and igfxonln=1 boot arg:

AAPL,ig-platform-id        00001619        DATA
framebuffer-patch-enable   1               NUMBER
framebuffer-con1-enable    1               NUMBER
framebuffer-con1-type      00080000        DATA
hda-gfx                    onboard-1       STRING

 

Maybe you should remove those extra properties dealing with HDMI.

Link to comment
Share on other sites

  • Administrators

Ok, IOReg shows that:

  1. your HDMI display hooks to connector con1 
  2. connector con1 is suitably set to type HDMI

On paper and in theory, all looks Ok on that front but I believe you're missing an essential piece of information about your platform...

 

The other thing to look at is the Codec.

 

You're using AppleALC as expected so one could suggest you played with the various layouts available for Realtek ALC283 and you may have already done that, albeit without any success. Well, given what Intel's NUC6i3SYB Technical Product Specification detail for audio, I'm not surprised:

NUC6i3SYB_audio_specs.jpg

-> It appears that HDMI and DP audio outputs are not processed through the Realtek codec but through the Intel codec. That would explain why you never see any HDMI audio output option.

 

Given that I've not seen any support for Intel NUC6 in the AppleALC wiki, I don't believe you're likely to obtain any HDMI audio until the necessary support is added. I've never had to do this so no experience on the matter but you'll find several threads on the forum about dumping Codec info and tuning AppleHDA/AppleALC for the target hardware. In turn, this could be your valuable own contribution to AppleALC as a new controller patch for Intel's NUC6.

Of course, you may check the details of the patches for the listed Intel controllers in case one matches your NUC's hardware. They are listed at the bottom of the wiki page. Maybe you could get lucky with NUC8, who knows?

 

I don't believe deprecated FakePCIID will be of any help here but maybe VoodooHDA will do the trick; it's a very long time since I last used it, so...`

 

With regards to SMBIOS, do experiment but wouldn't Macmini8,1 be the most appropriate? I presume your NUC6i3SYB is fitted with i3-6300U CPU so, if you have to use a laptop SMBIOS, you may find dual-core MBP13,1 to be better suited than quad-core MBP13,3. iMac17,1 is fitted with desktop quad-core Skylake CPU + AMD dGPU, so not the best target SMBIOS for your platform I reckon.

Link to comment
Share on other sites

  • Administrators

Oh but it does! Just not through the Realtek Codec but the Intel one: Intel Sunrise Point-LP HD audio 8086:9D70. So you need AppleALC to have a patch for that controller. Failing that, it's jack output to an analog audio input of your TV, meaning 2 cables between your NUC and your screen. Far from great but better than nothing I suppose...

 

I think you have a better chance to obtain HDMI audio through VoodooHDA. Russian developper @Slice continues to support VoodooHDA development. You can always try and contact him, probably at InsanelyMac because he does not visit OSXL much.

https://www.insanelymac.com/forum/topic/314406-voodoohda-302

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...