Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

Need help with peripherals or devices?
Message
Author
craigwilliamsonnz
Posts: 26
Joined: 2021-08-14 09:06
Has thanked: 1 time
Been thanked: 1 time

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#21 Post by craigwilliamsonnz »

Hi there. I did some more digging over the weekend and I saw someone on an arch forum did the following command to get the logs for the sound card:

Code: Select all

sudo dmesg | grep -iE 'snd|sof'
I did that and the output I got was the following:

Code: Select all

sudo dmesg | grep -iE 'snd|sof'
[    1.371172] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.371173] software IO TLB: mapped [mem 0x0000000026008000-0x000000002a008000] (64MB)
[    1.788112] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    1.788122] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    1.891771] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.629245] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    3.629345] snd_hda_intel 0000:01:00.1: Disabling MSI
[    3.629354] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.759581] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.759797] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    3.759894] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.766581] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    3.943914] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    3.943917] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    3.943923] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 0
[    3.947287] sof-audio-pci 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-tgl.ri
[    3.947295] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man header type 6 size 0x20
[    3.947299] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:7:0-47d07
[    3.947300] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:18:1 Kernel ABI 3:17:0
[    3.947300] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    3.947307] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man header type 3 size 0x30
[    3.947307] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man header type 5 size 0x20
[    4.032988] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:7:0-47d07
[    4.032989] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:18:1 Kernel ABI 3:17:0
[    4.032989] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    5.183394] usb 3-1.4: Manufacturer: Microsoft
[    6.419505] sof-audio-pci 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic.tplg
[    6.419518] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:18:1 Kernel ABI 3:17:0
[    6.419519] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    6.433138] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    6.462953] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC700: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line
[    6.462955] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.462956] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    6.462957] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    6.462958] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    6.748066] input: Microsoft Natural® Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.4/3-1.4:1.0/0003:045E:00DB.0003/input/input19
[    6.807243] microsoft 0003:045E:00DB.0003: input,hidraw2: USB HID v1.11 Keyboard [Microsoft Natural® Ergonomic Keyboard 4000] on usb-0000:00:14.0-1.4/input0
[    6.807424] input: Microsoft Natural® Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.4/3-1.4:1.1/0003:045E:00DB.0004/input/input20
[    7.058908] microsoft 0003:045E:00DB.0004: input,hidraw3: USB HID v1.11 Device [Microsoft Natural® Ergonomic Keyboard 4000] on usb-0000:00:14.0-1.4/input1
[    7.321350] usbcore: registered new interface driver snd-usb-audio
[    7.493925] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    7.493931] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[    7.520256] input: sof-hda-dsp Front Line Out as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input25
[    7.520305] input: sof-hda-dsp Front Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input26
[    7.520631] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input27
[    7.520665] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input28
[    7.520700] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input29
I saw in there that the topology ABI in the driver package is newer than the topology ABI that is shipped in the default Bullseye kernel (3.18 in driver package vs 3.17 in kernel). Do you think that could be part of the problem why my sound card isn't being detected when using the SOF drivers? Its just a thought so I could be wrong there. Thanks and good luck.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#22 Post by FreewheelinFrank »

Sof 1.8 has improved support for Tiger Lake, and needs the 5.12 kernel.

https://github.com/thesofproject/sof/releases

It may be that your hardware is not supported yet. It might be an idea to try a live image that has the latest Sof and kernel and see if your hardware just works.

Bookworm has Sof 1.9 and the 5.14 kernel.

https://cdimage.debian.org/cdimage/week ... so-hybrid/

craigwilliamsonnz
Posts: 26
Joined: 2021-08-14 09:06
Has thanked: 1 time
Been thanked: 1 time

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#23 Post by craigwilliamsonnz »

Hi there,

Thanks for the suggestion. Unfortunately it wasn't my lucky day. I updated everything to bookworm which had linux kernel 5.14 with and sof-firmware 1.9. I get a similar error to before so I'm stumped now with what to do. I'll keep digging and see where it leads me. Here is the output that I got after updating:

Code: Select all

[    0.767888] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.804906] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.804907] software IO TLB: mapped [mem 0x0000000029690000-0x000000002d690000] (64MB)
[    2.307833] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.307905] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.307910] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.583626] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[    2.959717] Modules linked in: snd_sof_intel_hda pcc_cpufreq(-) snd_sof_pci acpi_cpufreq(-) intel_uncore mac80211 snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus ledtrig_audio libarc4 pcspkr snd_soc_core intel_spi_pci intel_spi spi_nor vfat snd_compress ac97_bus i2c_i801 fat mtd snd_pcm_dmaengine i2c_smbus iwlwifi igc mei_me mei cfg80211 intel_lpss_pci intel_lpss idma64 rfkill thunderbolt(+) i915 nouveau intel_pmt snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec mxm_wmi drm_ttm_helper i2c_algo_bit ttm i2c_nvidia_gpu drm_kms_helper snd_hda_core snd_hwdep snd_pcm cec snd_timer intel_gtt snd agpgart syscopyarea sysfillrect sysimgblt soundcore fb_sys_fops tpm_crb tpm_tis tpm_tis_core wmi video tpm rng_core mac_hid acpi_pad acpi_tad drm fuse crypto_user ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq rtsx_pci_sdmmc mmc_core rtsx_pci xhci_pci crc32c_intel
[    2.960319] snd_hda_codec_hdmi hdaudioC0D0: HDMI: pin NID 0x6 not registered
[    3.121082] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.121302] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    3.121375] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.128412] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    3.238512] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    3.238515] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    3.238520] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 0
[    3.241988] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 1:9:0-fa857
[    3.241991] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:19:0 Kernel ABI 3:18:0
[    3.241993] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    3.241997] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    3.335260] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 1:9:0-fa857
[    3.335263] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:19:0 Kernel ABI 3:18:0
[    3.335265] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    3.343447] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:19:0 Kernel ABI 3:18:0
[    3.343450] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    3.360264] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    3.385380] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC700: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line
[    3.385383] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.385385] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.385386] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    3.385387] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    4.366453] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    4.366458] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[    4.383838] input: sof-hda-dsp Front Line Out as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input11
[    4.383871] input: sof-hda-dsp Front Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input12
[    4.383892] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input13
[    4.383911] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input14
[    4.383941] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input15
[    4.544821] usb 3-1.4: Manufacturer: Microsoft
[    5.769468] input: Microsoft Natural® Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.4/3-1.4:1.0/0003:045E:00DB.0003/input/input24
[    5.824247] microsoft 0003:045E:00DB.0003: input,hidraw2: USB HID v1.11 Keyboard [Microsoft Natural® Ergonomic Keyboard 4000] on usb-0000:00:14.0-1.4/input0
[    5.824591] input: Microsoft Natural® Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.4/3-1.4:1.1/0003:045E:00DB.0004/input/input25
[    5.977431] microsoft 0003:045E:00DB.0004: input,hidraw3: USB HID v1.11 Device [Microsoft Natural® Ergonomic Keyboard 4000] on usb-0000:00:14.0-1.4/input1
[    6.522895] usbcore: registered new interface driver snd-usb-audio

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#24 Post by FreewheelinFrank »

AFAIK, the Sof driver is supposed to work without any hacks, so I would try removing this

Code: Select all

options snd-intel-dspcfg dsp_driver=3
and then, as this is a new system, trying the steps you have tried previously again to see where we are at. Frustrating I know, but maybe something has changed.

craigwilliamsonnz
Posts: 26
Joined: 2021-08-14 09:06
Has thanked: 1 time
Been thanked: 1 time

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#25 Post by craigwilliamsonnz »

Hi there,

Thanks for the suggestion. Unfortunately if I remove that line the system automatically goes back to the snd_hda_intel driver.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#26 Post by kedaha »

Hi,
You might try ticking the advanced codec options in pavucontrol as detailed at iec958-s-pdif-not-working.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: With bulleye can't get Intel NUC 11 Enthusiast's S/PDIF (IEC958) audio to work

#27 Post by FreewheelinFrank »

All I can suggest is to post the output of these commands (slightly different) both without and with Sof forced:

Code: Select all

$ aplay -lL

Code: Select all

$ amixer -c0

Code: Select all

$ pacmd list-cards
One avenue we haven't explored is why you can see S/PDIF in Alsamixer but we haven't seen it in aplay. amixer may help with that.

I wonder if we missed something like this:

https://wiki.archlinux.org/title/PulseA ... n_the_card

Post Reply