You are not logged in.

#1 2022-02-26 16:40:08

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 125

[SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

Hi,

on my laptop (Lenovo Flex 5i 14ITL05), Pipewire shows several sources and sinks for the sof-hda-dsp internal soundcard.
It could just be the digital inputs or something, but it's always a guessing game, so I wonder if there's a way to have pipewire
show me the names with some qualification, instead of just 'sof-hda-dsp' ?


lspci | grep audio:

00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20) 

Best,
N

Last edited by oxygen_wobble (2022-11-09 14:32:01)

Offline

#2 2022-02-26 18:35:13

radiomike
Member
Registered: 2013-12-19
Posts: 61

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

Did you enable the "Pro Audio" profile for that card? If so, change it back to "Analogue Stereo Duplex".

The "Pro Audio" profile is not relevant to most internal sound cards, it's designed for cards with lots of IO and for use in professional audio setups, like recording studios. 

See https://gitlab.freedesktop.org/pipewire … io-profile

Offline

#3 2022-02-26 19:43:01

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 125

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

Hmm I didn't set any profile from what I remember, so unless it's enabled by default, no ...

Offline

#4 2022-02-26 22:25:07

radiomike
Member
Registered: 2013-12-19
Posts: 61

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

Ok, then try posting the results of

sudo fuser -v /dev/snd/*
sudo dmesg | grep -iE 'snd|sof'
aplay -lL #alsa-utils
pactl list cards
pactl list sinks
pactl list sink-inputs

Offline

#5 2022-02-28 19:31:09

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 125

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

sudo fuser -v /dev/snd/*:

                                      USER        PID ACCESS COMMAND
/dev/snd/controlC0:   **         733 F.... pipewire
                                       **         734 F.... wireplumber
/dev/snd/seq:              **         733 F.... pipewire

Offline

#6 2022-02-28 19:32:06

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 125

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

sudo dmesg | grep -iE 'snd|sof':

[    0.340322] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.356187] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.356187] software IO TLB: mapped [mem 0x0000000025295000-0x0000000029295000] (64MB)
[   19.892584] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   19.892610] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   20.226200] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   20.226227] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   20.226253] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[   20.226480] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   20.528893] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   20.556917] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[   20.626444] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[   20.626447] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   20.626452] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   20.630355] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
[   20.630357] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[   20.630359] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[   20.630362] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[   20.742775] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
[   20.742777] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[   20.742778] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[   20.787691] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:20:0 Kernel ABI 3:18:0
[   20.787693] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[   20.808706] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   20.808708] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   20.808709] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   20.808710] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[   20.808710] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   20.808711] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[   20.853682] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[   20.853686] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[   20.875058] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
[   20.875202] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21
[   20.875271] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input22
[   20.875290] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input23
[   20.875354] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input24

Offline

#7 2022-02-28 19:32:56

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 125

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

aplay -lL #alsa-utils

null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=sofhdadsp
    sof-hda-dsp, 
    Default Audio Device
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#8 2022-11-09 14:31:44

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 125

Re: [SOLVED] Pipewire shows multiple sof-hda-dsp sources/sinks

Hmm it seems that it was just the various DisplayPort or HDMI outputs. Several updates later, the ports show up with readable and meaningful names.

Offline

Board footer

Powered by FluxBB