You are not logged in.

#1 2024-11-05 04:37:03

Unsecured443
Member
Registered: 2023-07-08
Posts: 21

Weird Intel SND HDA Initialization Errors

Out of curiousity, I checked my boot logs today. I found these "errors" logged:

kernel: snd_hda_codec_generic ehdaudio0D2: snd_soc_find_pcm_from_dai: didn't find PCM for DAI intel-hdmi-hifi1
kernel: snd_hda_codec_generic ehdaudio0D2: ASoC: error at snd_soc_dai_startup on intel-hdmi-hifi1: -22
kernel: snd_hda_codec_generic ehdaudio0D2: snd_soc_find_pcm_from_dai: didn't find PCM for DAI intel-hdmi-hifi2
kernel: snd_hda_codec_generic ehdaudio0D2: ASoC: error at snd_soc_dai_startup on intel-hdmi-hifi2: -22
kernel: snd_hda_codec_generic ehdaudio0D2: snd_soc_find_pcm_from_dai: didn't find PCM for DAI intel-hdmi-hifi3
kernel: snd_hda_codec_generic ehdaudio0D2: ASoC: error at snd_soc_dai_startup on intel-hdmi-hifi3: -22

The weird part about these "errors" is that, my sound works completely fine even with these supposed initialization errors. They work properly, they suspend properly, and redirect properly. Even the mics work properly. So I am not sure what these "errors" mean. Does anyone else have these "errors" logged? Even though it doesn't affect functionality whatsoever, is there a way to make these "errors" go away?

Here's the sound device information. Let me know if any more information is needed. Thanks!

$ pactl list sinks
Sink #53
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
	Description: Alder Lake PCH-P High Definition Audio Controller Speaker
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 13107 /  20% / -41.94 dB,   front-right: 13107 /  20% / -41.94 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.class = "generic"
		alsa.components = "HDA:8086281c,80860101,00100000 HDA:10ec0287,17aa22e6,00100002 cfg-dmics:4"
		alsa.device = "0"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		alsa.id = "HDA Analog (*)"
		alsa.long_card_name = "LENOVO-21CDCTO1WW-ThinkPadX1YogaGen7"
		alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
		alsa.mixer_name = "Realtek ALC287"
		alsa.name = ""
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "LENOVO-21CDCTO1WW-ThinkPadX1YogaGen7"
		api.alsa.card.name = "sof-hda-dsp"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:sofhdadsp"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "48"
		device.profile.description = "Speaker"
		device.profile.name = "HiFi: Speaker: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink"
		node.nick = "Speaker"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:sofhdadsp:0:playback"
		port.group = "playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "47"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "52"
		object.serial = "53"
		api.acp.auto-port = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
		device.nick = "sof-hda-dsp"
		device.plugged.usec = "5495512"
		device.product.id = "0x51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
	Active Port: [Out] Speaker
	Formats:
		pcm

Offline

#2 2024-11-05 08:39:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,203

Re: Weird Intel SND HDA Initialization Errors

Those affect the hdmi integration, which I'm assuming wouldn't work. If you're not using HDMI audio, it's safe to ignore them. The proper way to make them "go away" is report them to the sof-firmware project, because I doubt this is inherently intentional.

Last edited by V1del (2024-11-05 08:40:44)

Offline

Board footer

Powered by FluxBB