You are not logged in.

#1 2021-08-21 22:20:40

Endling
Member
From: Sweden
Registered: 2020-10-25
Posts: 4

No HDMI sound on Intel NUC10i5FNK

I have been trying to get sound over HDMI working for 5 hours straight but so far only failed. I just bought this little machine, so I haven't tried any other OS.
The HDMI cable works fine with an older Gigabyte BRiX, albeit with an Intel Haswell HDMI controller.

i@nuc2:~$ hostnamectl | grep -P 'Kernel|Model'
          Kernel: Linux 5.13.12-arch1-1
  Hardware Model: NUC10i5FNK

All I see in alsamixer are the items "S/PDIF" and "S/PDIF 1", both of which are at "00" and cannot be raised, only muted/unmuted.

Including some information that have been requested in other sound issue threads, let me know if something else could help.

i@nuc2:~$ lspci | grep Audio
00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS
i@nuc2:~$ journalctl -b
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- Journal begins at Sat 2021-08-21 15:53:54 CEST, ends at Sun 2021-08-22 01:21:12 CEST. --
Aug 22 01:10:21 nuc2 systemd[418]: Queued start job for default target Main User Target.
Aug 22 01:10:21 nuc2 systemd[418]: Created slice User Application Slice.
Aug 22 01:10:21 nuc2 systemd[418]: Reached target Paths.
Aug 22 01:10:21 nuc2 systemd[418]: Reached target Timers.
Aug 22 01:10:21 nuc2 systemd[418]: Starting D-Bus User Message Bus Socket...
Aug 22 01:10:21 nuc2 systemd[418]: Listening on GnuPG network certificate management daemon.
Aug 22 01:10:21 nuc2 systemd[418]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 22 01:10:21 nuc2 systemd[418]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Aug 22 01:10:21 nuc2 systemd[418]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Aug 22 01:10:21 nuc2 systemd[418]: Listening on GnuPG cryptographic agent and passphrase cache.
Aug 22 01:10:21 nuc2 systemd[418]: Listening on p11-kit server.
Aug 22 01:10:21 nuc2 systemd[418]: Listening on Sound System.
Aug 22 01:10:21 nuc2 systemd[418]: Listening on D-Bus User Message Bus Socket.
Aug 22 01:10:21 nuc2 systemd[418]: Reached target Sockets.
Aug 22 01:10:21 nuc2 systemd[418]: Reached target Basic System.
Aug 22 01:10:21 nuc2 systemd[418]: Reached target Main User Target.
Aug 22 01:10:21 nuc2 systemd[418]: Startup finished in 74ms.
Aug 22 01:10:24 nuc2 systemd[418]: Started D-Bus User Message Bus.
Aug 22 01:10:24 nuc2 systemd[418]: Created slice User Core Session Slice.
Aug 22 01:10:24 nuc2 systemd[418]: Starting Sound Service...
Aug 22 01:10:24 nuc2 dbus-daemon[460]: [session uid=1000 pid=460] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.3' (uid=1000 pid=471 comm="nm-applet ")
Aug 22 01:10:24 nuc2 systemd[418]: Starting Accessibility services bus...
Aug 22 01:10:24 nuc2 dbus-daemon[460]: [session uid=1000 pid=460] Successfully activated service 'org.a11y.Bus'
Aug 22 01:10:24 nuc2 systemd[418]: Started Accessibility services bus.
Aug 22 01:10:24 nuc2 at-spi-bus-launcher[554]: dbus-daemon[554]: Activating service name='org.a11y.atspi.Registry' requested by ':1.1' (uid=1000 pid=471 comm="nm-applet ")
Aug 22 01:10:24 nuc2 at-spi-bus-launcher[554]: dbus-daemon[554]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 22 01:10:24 nuc2 at-spi-bus-launcher[565]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 22 01:10:24 nuc2 pulseaudio[528]: stat('/etc/pulse/default.pa.d'): No such file or directory
Aug 22 01:10:24 nuc2 systemd[418]: Started Sound Service.
i@nuc2:~$ lsmod | grep snd
snd_sof_pci_intel_cnl    16384  0
snd_sof_intel_hda_common   106496  1 snd_sof_pci_intel_cnl
soundwire_intel        45056  1 snd_sof_intel_hda_common
snd_hda_codec_hdmi     73728  1
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_sof               147456  2 snd_sof_pci,snd_sof_intel_hda_common
ledtrig_audio          16384  1 snd_sof
snd_soc_skl           180224  0
snd_soc_hdac_hda       24576  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        40960  1 snd_soc_skl
snd_soc_acpi_intel_match    49152  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core          335872  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_compress           32768  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          57344  2
snd_intel_dspcfg       28672  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         176128  3 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core          110592  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               147456  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              45056  1 snd_pcm
snd                   114688  12 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd
i@nuc2:~$ sudo dmesg | grep snd
[    1.910282] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.086769] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
i@nuc2:~$ pactl list sinks
Sink #1
	State: SUSPENDED
	Name: alsa_output.hw_0_3
	Description: Built-in Audio
	Driver: module-alsa-sink.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 21
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.hw_0_3.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6023110000 irq 170"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "02c8"
		device.product.name = "Comet Lake PCH-LP cAVS"
		device.form_factor = "internal"
		device.string = "hw:0,3"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.description = "Built-in Audio"
		device.icon_name = "audio-card-pci"
	Formats:
		pcm

Sink #2
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1
	Description: Built-in Audio Digital Stereo (HDMI 2)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 1"
		alsa.id = "HDMI 1"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "7"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6023110000 irq 170"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "02c8"
		device.product.name = "Comet Lake PCH-LP cAVS"
		device.form_factor = "internal"
		device.string = "hdmi:0,1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra1"
		device.profile.description = "Digital Stereo (HDMI 2)"
		device.description = "Built-in Audio Digital Stereo (HDMI 2)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, not available)
	Active Port: hdmi-output-1
	Formats:
		pcm

I don't know how to get these to not be in a suspended state.

I have tried generating sound with

speaker-test -D plughw:0,3 -c 2
speaker-test -D plughw:0,7 -c 2
speaker-test -D hdmi:PCH -c 2

but never hear anything from the speakers.


Searching elsewhere on the net led me here which gave me some hope, but no success.
I tried both of these (with reboot after each):

i@nuc2:~$ cat /etc/modprobe.d/snd-hda-intel.conf
options snd-hda-intel model=auto
i@nuc2:~$ cat /etc/modprobe.d/snd-hda-intel.conf
options snd-hda-intel model=generic

Finding the codec

i@nuc2:~$ grep Codec /proc/asound/card0/codec#2 
Codec: Intel Kabylake HDMI

which they also suggested there did not help, as I cannot find the documentation locally and do not know which package provides it.


V1del wrote:

You have a sof card, install the sof-firmware and alsa-ucm-conf packages.

from this thread seemed promising, but didn't work, not even with the modprobe options.


What can I try?


Arch with i3wm on: Lenovo T440s (bedside/YouTube), Lenovo T440p (DAW), Lenovo Yoga 2 Pro (main/allround), Lenovo X1 Carbon 3rd Gen (work), Gigabyte BRiX (HTPC)

Offline

#2 2021-08-22 09:13:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: No HDMI sound on Intel NUC10i5FNK

Your HDMI device is present (two SPDIFs you can only mute or unmute is exactly what you're expected to see means from a detection standpoint you're where you want to be), if you do not get any audio output then that often means your monitor/DAC/whatever setup is wrong.

I suggest you revert everything you did in an attempt to fix this, get rid of the modprobe options, get rid of the manual device loading in pulseaudio, reboot and post a fresh

aplay -lL
pactl list cards
pactl list sinks
sudo fuser -v /dev/snd/*
speaker-test -Dhw:0,3 -c2

Then the elephant in the room. What are you connecting this to? if a monitor check in the monitor settings that it isn't muted, if some other DAC make sure it outputs from the correct input into the correct output.

Last edited by V1del (2021-08-22 09:14:32)

Offline

#3 2021-08-22 15:25:42

Endling
Member
From: Sweden
Registered: 2020-10-25
Posts: 4

Re: No HDMI sound on Intel NUC10i5FNK

Thanks for the reply!

V1del wrote:

I suggest you revert everything you did in an attempt to fix this, get rid of the modprobe options, get rid of the manual device loading in pulseaudio, reboot and post a fresh

aplay -lL
pactl list cards
pactl list sinks
sudo fuser -v /dev/snd/*
speaker-test -Dhw:0,3 -c2

I think everything is reverted now.

i@nuc2:~$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
i@nuc2:~$ pactl list cards
Card #0
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6023110000 irq 170"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "02c8"
		device.product.name = "Comet Lake PCH-LP cAVS"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
i@nuc2:~$ pactl list sinks
Sink #0
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: module-null-sink.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 12
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
	Formats:
		pcm
i@nuc2:~$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  i           527 F.... pulseaudio
i@nuc2:~$ speaker-test -Dhw:0,3 -c2

speaker-test 1.2.5.1

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Unknown
 1 - Unknown
Time per period = 10.943017
 0 - Unknown
 1 - Unknown
Time per period = 10.937714
 0 - Unknown
 1 - Unknown
V1del wrote:

Then the elephant in the room. What are you connecting this to? if a monitor check in the monitor settings that it isn't muted, if some other DAC make sure it outputs from the correct input into the correct output.

It's connected to a TV with ARC to a soundbar. If I swap this NUC with one of my other computers, then I get sound via HDMI, so I'm assuming neither the TV nor the HDMI cable is causing the issue. Nothing is changed on the TV/soundbar.
The biggest difference with this NUC from other PCs is that it doesn't have any other audio ports, which just adds to the frustration.


Arch with i3wm on: Lenovo T440s (bedside/YouTube), Lenovo T440p (DAW), Lenovo Yoga 2 Pro (main/allround), Lenovo X1 Carbon 3rd Gen (work), Gigabyte BRiX (HTPC)

Offline

Board footer

Powered by FluxBB