2021-07-20, 00:01
Note: Including some background info on the hardware and software I'm using to provide as much info as I think may be relevant, but skip to Current Issues for TLDR.
Hello, all. Been at this on and off for a few days trying to get audio working from my new Tiger Lake NUC and just can't get it. Could really use any pointers, whether it's some config issue or possibly even a kernel/driver bug or something since this is relatively. Just not sure how to effectively troubleshoot this.
Hardware
I'm running a Panther Canyon (Tiger Lake) NUC w/ Inte Xe graphics - also called NUC 11 Performance. Specific model is NUC11PAKi5. This is connected to a Denon AVR-X3300W via HDMI. Ideally, I'm trying to use passthrough audio for everything possible.
This is replacing an ASRock BeeBox-S 7200U based on Intel Kaby Lake and integrated video. I also had an older NUC 5 (broadwell) w/ integrated Intel video. Both were connected to this same receiver and TV and worked perfectly from an audio perspective, so reasonably sure the issue isn't with the receiver.
Software / Environment
Gentoo amd64
Kodi 19.1
Kernel 5.13.3
Mesa 21.1.4
ALSA 1.2.4
X.org 1.20.12
Intel modesetting driver
Basically, running latest versions of everything I can think of that may be relevant.
Sound / Video / Driver Selection
I'm currently using ALSA (no pulse) w/ the Intel modesetting driver as it seems to get me "closest" to a working system. Just for the record, I've also tried this using Pulse instead of ALSA, using the Intel DDX driver instead of modesetting, compiling the graphics and audio drives into the kernel vs. modules, with (I think) every combination of the previous options tested. I tend to get slightly different behavior from each combination, but none work reliably and consistently.
Current Issues
I have Passthrough audio enabled for all options. I can play basic DD and DTS 5.1 just fine. I cannot play DTS-HD MA or TrueHD - I get silence, then Kodi (usually) crashes shortly after stopping the video (it did crash when capturing the provided log). When reloading kodi, I get no further sound at all - not from UI sounds, not from previously working DD 5.1, etc. I need to reboot in order to get sound again, then the same behavior occurs.
If I disable Passthrough audio, I get no sound for anything using one of the passthrough formats. Ie., my FLAC music files still working, but I get silence from even basic DD 5.1. If I try to play a DD/DTS track, then it stops playing audio altogether again until I reboot.
As noted above, if I try using the Intel driver rather than modesetting, or try using Pulse rather than ALSA, I get varying other types of breakage. Sparing details here for the sake of brevity, but happy to provide more if one of those other options would be a better route for me.
Debug Files
https://boxdog.legroom.net/public/kodi-before.log
https://boxdog.legroom.net/public/kodi-after.log
debug-before.log covers this process on a fresh boot:
Navigating with UI sounds - works
Play FLAC audio file - works
Play DD 5.1 file w/ passthrough - works
Play DTS 5.1 file w/ passthrough - works
Noticed UI sounds stopped working
Play another DD 5.1 file w/ passthrough - still works
UI sounds resume working
Play DTS-HDMA file w/ passthrough - silence
After stopping video - crash
I'm also including debug-after.log, which does the following after restarting kodi following the above crash. I get nothing but silence, but maybe some difference between it and the before log will provide a clue?
Navigating with UI sounds - silence
Play FLAC audio file - silence
Play DD 5.1 file w/ passthrough - silence
Anything obviously wrong with my system or config based on the logs? If not... any suggestions on most likely culprit? Bug in kodi? bug/incomplete support in passthrough audio support for this particular chipset? If the latter, any suggestions on how to narrow it down to which component (kernel, ALSA, xorg driver, etc.)?
Appreciate any guidance. Thanks.
Hello, all. Been at this on and off for a few days trying to get audio working from my new Tiger Lake NUC and just can't get it. Could really use any pointers, whether it's some config issue or possibly even a kernel/driver bug or something since this is relatively. Just not sure how to effectively troubleshoot this.
Hardware
I'm running a Panther Canyon (Tiger Lake) NUC w/ Inte Xe graphics - also called NUC 11 Performance. Specific model is NUC11PAKi5. This is connected to a Denon AVR-X3300W via HDMI. Ideally, I'm trying to use passthrough audio for everything possible.
This is replacing an ASRock BeeBox-S 7200U based on Intel Kaby Lake and integrated video. I also had an older NUC 5 (broadwell) w/ integrated Intel video. Both were connected to this same receiver and TV and worked perfectly from an audio perspective, so reasonably sure the issue isn't with the receiver.
Software / Environment
Gentoo amd64
Kodi 19.1
Kernel 5.13.3
Mesa 21.1.4
ALSA 1.2.4
X.org 1.20.12
Intel modesetting driver
Basically, running latest versions of everything I can think of that may be relevant.
Sound / Video / Driver Selection
I'm currently using ALSA (no pulse) w/ the Intel modesetting driver as it seems to get me "closest" to a working system. Just for the record, I've also tried this using Pulse instead of ALSA, using the Intel DDX driver instead of modesetting, compiling the graphics and audio drives into the kernel vs. modules, with (I think) every combination of the previous options tested. I tend to get slightly different behavior from each combination, but none work reliably and consistently.
Current Issues
I have Passthrough audio enabled for all options. I can play basic DD and DTS 5.1 just fine. I cannot play DTS-HD MA or TrueHD - I get silence, then Kodi (usually) crashes shortly after stopping the video (it did crash when capturing the provided log). When reloading kodi, I get no further sound at all - not from UI sounds, not from previously working DD 5.1, etc. I need to reboot in order to get sound again, then the same behavior occurs.
If I disable Passthrough audio, I get no sound for anything using one of the passthrough formats. Ie., my FLAC music files still working, but I get silence from even basic DD 5.1. If I try to play a DD/DTS track, then it stops playing audio altogether again until I reboot.
As noted above, if I try using the Intel driver rather than modesetting, or try using Pulse rather than ALSA, I get varying other types of breakage. Sparing details here for the sake of brevity, but happy to provide more if one of those other options would be a better route for me.
Debug Files
https://boxdog.legroom.net/public/kodi-before.log
https://boxdog.legroom.net/public/kodi-after.log
debug-before.log covers this process on a fresh boot:
Navigating with UI sounds - works
Play FLAC audio file - works
Play DD 5.1 file w/ passthrough - works
Play DTS 5.1 file w/ passthrough - works
Noticed UI sounds stopped working
Play another DD 5.1 file w/ passthrough - still works
UI sounds resume working
Play DTS-HDMA file w/ passthrough - silence
After stopping video - crash
I'm also including debug-after.log, which does the following after restarting kodi following the above crash. I get nothing but silence, but maybe some difference between it and the before log will provide a clue?
Navigating with UI sounds - silence
Play FLAC audio file - silence
Play DD 5.1 file w/ passthrough - silence
Anything obviously wrong with my system or config based on the logs? If not... any suggestions on most likely culprit? Bug in kodi? bug/incomplete support in passthrough audio support for this particular chipset? If the latter, any suggestions on how to narrow it down to which component (kernel, ALSA, xorg driver, etc.)?
Appreciate any guidance. Thanks.