Lakka-LibreELEC icon indicating copy to clipboard operation
Lakka-LibreELEC copied to clipboard

HDMI Audio not working on Intel NUC 10

Open netthier opened this issue 2 years ago • 5 comments

  • Which version of Lakka are you using? devel-20221119002255-5a6e401 (Generic.x86_64)
  • What system hardware are you using? Intel NUC10i7FNH
  • What did you do? I attempted listening to my games
  • What did you expect to happen? For the games to produce sounds
  • What happened instead? They did not produce sounds.

retroarch -v outputs the following:

[ERROR] ALSA: Failed to initialize...
[ERROR] Failed to initialize audio driver. Will continue without audio.

aplay -l is empty, aplay -L lists some front:CARD=PCH, surround21:CARD=PCH etc, but none of them react to speaker-test. The device does seem to be detected though:

# cat /proc/asound/card0/codec\#2
Codec: Intel Kabylake HDMI

Interestingly, dmesg | grep "audio" shows this:

[    3.633817] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
[    3.751371] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered

which seems to be related to this kernel/ALSA bug patched in July 2021: https://github.com/clearlinux/distribution/issues/2396 I was unable to apply the workarounds mentioned in that thread as /lib/firmware is not writable and hdajackretask is a GUI tool. Is it possible that this patch is not included in Lakka builds yet, or am I encountering a different issue?

When booting into the latest Arch Linux ISO on the same device, both aplay -l and -L show multiple HDMI outputs and speaker-test also works as expected, leading me to believe the patch simply isnt included in Lakka yet.

netthier avatar Dec 16 '22 19:12 netthier

Hi,

I was unable to apply the workarounds mentioned in that thread as /lib/firmware is not writable

You can add firmware in /storage/.config/firmware.

If it still not working we might need to wait Lakka 5.x to make some test as we will be using newer kernel.

gouchi avatar Jan 02 '23 12:01 gouchi

Can you try to make a test with dev build from Lakka 5.x ?

Thank you.

gouchi avatar Jan 25 '23 22:01 gouchi

Can you try to make a test with dev build from Lakka 5.x ?

Thank you.

Hi @gouchi, sorry to revive a semi-old issue, but this issue still persists on Intel NUC Systems (or at least I can confirm it exists on a NUC6CAYH) on both the main and latest nightly build of Lakka

Zeron100Z avatar Jun 09 '23 11:06 Zeron100Z

@Zeron100Z Please provide some logs otherwise it will be difficult to fix this issue. Thank you.

P.S = It might not be the same issue as you are not using Intel NUC 10.

gouchi avatar Jun 09 '23 11:06 gouchi

@netthier Did you have the opportunity to make some test with Lakka 5.x build or X11 build ?

Thank you.

gouchi avatar Dec 19 '23 15:12 gouchi

no response - feel free to re-open/submit new issue

ToKe79 avatar Apr 04 '24 16:04 ToKe79