From: Marc MERLIN <marc@merlins.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Rander Wang <rander.wang@intel.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: sof-audio-pci-intel-tgl/soundwire 6.6.8 kernel outputs no sound on speakers but works on headphones
Date: Wed, 27 Dec 2023 11:02:02 -0800 [thread overview]
Message-ID: <ZYx0qurc3PfaxfT5@merlins.org> (raw)
In-Reply-To: <20231223234430.GA11359@merlins.org>
I'm still stuck with no sound :-/
I did more testing and 6.5.0-14-generic from ubuntu gives sound when I
boot it in ubuntu 23, but the same kernel in debian 12, seems to load
but gives a device that only gives sound via headphones. Nothing through
the speakers, and they are not muted (as checked in alsamixer)
I ran a diff between dmesg between the 2 boots, and I do see when
running the same kernel in debian12:
input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input27
input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input28
input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input29
input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input30
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
merlin:/boot/sound# dmesg |grep intel-tgl
[ 14.629851] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 14.631966] sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[ 14.633819] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 14.635615] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 14.637179] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 14.650766] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[ 14.668269] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
[ 14.674395] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 14.675880] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 14.677283] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 14.771750] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 14.773456] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 14.791223] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[ 23.851544] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.851573] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[ 23.851575] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[ 23.852609] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.852622] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[ 23.852630] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[ 23.853634] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.853645] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[ 23.853653] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[ 23.854644] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.854646] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
(...) many lines deleted
I realize that userspace is different and it could be a problem
with pipewire and wireplumber, but the ASoC errors above look
like a kernel issue. What do you think?
merlin:/boot/sound$ diff -u inxi_aA_*
--- inxi_aA_deb 2023-12-27 08:22:43.869118470 -0800
+++ inxi_aA_ubnt 2023-12-27 09:23:06.442760237 -0800
@@ -1,9 +1,10 @@
Audio:
- Device-1: Intel vendor: Dell driver: sof-audio-pci-intel-tgl
+ Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Dell
+ driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
chip-ID: 8086:51ca class-ID: 0401
- API: ALSA v: k6.5.0-14-generic status: kernel-api with: aoss
- type: oss-emulator tools: alsamixer,amixer
- Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse
+ API: ALSA v: k6.5.0-14-generic status: kernel-api
+ tools: alsactl,alsamixer,amixer
+ Server-1: PipeWire v: 0.3.79 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
- 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
+ tools: pw-cat,pw-cli,wpctl
merlin:/boot/sound$ diff -u wpctl_status_*
shows
Audio
├─ Devices:
│ 44. sof-soundwire [alsa]
│
├─ Sinks:
- │ * 53. sof-soundwire Stereo [vol: 1.00]
+ │ 45. sof-soundwire HDMI / DisplayPort 3 Output [vol: 1.00]
+ │ 46. sof-soundwire HDMI / DisplayPort 2 Output [vol: 1.00]
+ │ 47. sof-soundwire HDMI / DisplayPort 1 Output [vol: 1.00]
+ │ 48. sof-soundwire Headphones [vol: 1.00]
+ │ * 49. sof-soundwire Speaker [vol: 0.90]
│
├─ Sink endpoints:
│
├─ Sources:
+ │ 50. sof-soundwire Headset Microphone [vol: 1.00]
+ │ * 51. sof-soundwire SoundWire microphones [vol: 0.76]
Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Home page: http://marc.merlins.org/ | PGP 7F55D5F27AAF9D08
WARNING: multiple messages have this Message-ID (diff)
From: Marc MERLIN <marc@merlins.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Rander Wang <rander.wang@intel.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org
Subject: Re: sof-audio-pci-intel-tgl/soundwire 6.6.8 kernel outputs no sound on speakers but works on headphones
Date: Wed, 27 Dec 2023 11:02:02 -0800 [thread overview]
Message-ID: <ZYx0qurc3PfaxfT5@merlins.org> (raw)
In-Reply-To: <20231223234430.GA11359@merlins.org>
[adding linux-sound after no reply on alsa-devel which is now bouncing
my Emails]
I'm still stuck with no sound :-/
I did more testing and 6.5.0-14-generic from ubuntu gives sound when I
boot it in ubuntu 23, but the same kernel in debian 12, seems to load
but gives a device that only gives sound via headphones. Nothing through
the speakers, and they are not muted (as checked in alsamixer)
I ran a diff between dmesg between the 2 boots, and I do see when
running the same kernel in debian12:
input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input27
input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input28
input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input29
input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input30
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
merlin:/boot/sound# dmesg |grep intel-tgl
[ 14.629851] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 14.631966] sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[ 14.633819] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 14.635615] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 14.637179] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 14.650766] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[ 14.668269] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
[ 14.674395] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 14.675880] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 14.677283] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 14.771750] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 14.773456] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 14.791223] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[ 23.851544] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.851573] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[ 23.851575] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[ 23.852609] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.852622] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[ 23.852630] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[ 23.853634] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.853645] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[ 23.853653] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[ 23.854644] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[ 23.854646] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
(...) many lines deleted
I realize that userspace is different and it could be a problem
with pipewire and wireplumber, but the ASoC errors above look
like a kernel issue. What do you think?
merlin:/boot/sound$ diff -u inxi_aA_*
--- inxi_aA_deb 2023-12-27 08:22:43.869118470 -0800
+++ inxi_aA_ubnt 2023-12-27 09:23:06.442760237 -0800
@@ -1,9 +1,10 @@
Audio:
- Device-1: Intel vendor: Dell driver: sof-audio-pci-intel-tgl
+ Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Dell
+ driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
chip-ID: 8086:51ca class-ID: 0401
- API: ALSA v: k6.5.0-14-generic status: kernel-api with: aoss
- type: oss-emulator tools: alsamixer,amixer
- Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse
+ API: ALSA v: k6.5.0-14-generic status: kernel-api
+ tools: alsactl,alsamixer,amixer
+ Server-1: PipeWire v: 0.3.79 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
- 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
+ tools: pw-cat,pw-cli,wpctl
merlin:/boot/sound$ diff -u wpctl_status_*
shows
Audio
├─ Devices:
│ 44. sof-soundwire [alsa]
│
├─ Sinks:
- │ * 53. sof-soundwire Stereo [vol: 1.00]
+ │ 45. sof-soundwire HDMI / DisplayPort 3 Output [vol: 1.00]
+ │ 46. sof-soundwire HDMI / DisplayPort 2 Output [vol: 1.00]
+ │ 47. sof-soundwire HDMI / DisplayPort 1 Output [vol: 1.00]
+ │ 48. sof-soundwire Headphones [vol: 1.00]
+ │ * 49. sof-soundwire Speaker [vol: 0.90]
│
├─ Sink endpoints:
│
├─ Sources:
+ │ 50. sof-soundwire Headset Microphone [vol: 1.00]
+ │ * 51. sof-soundwire SoundWire microphones [vol: 0.76]
Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Home page: http://marc.merlins.org/ | PGP 7F55D5F27AAF9D08
next prev parent reply other threads:[~2024-01-03 0:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-23 23:44 sof-audio-pci-intel-tgl/soundwire 6.6.8 kernel outputs no sound on speakers but works on headphones Marc MERLIN
2023-12-23 23:44 ` Marc MERLIN
2023-12-27 19:02 ` Marc MERLIN [this message]
2023-12-27 19:02 ` Marc MERLIN
2024-01-02 9:26 ` Kai Vehmanen
2024-01-02 10:23 ` Marc MERLIN
2024-01-02 18:03 ` sof-audio-pci-intel-tgl/soundwire 6.6.8 kernel outputs no sound on speakers but works on headphones => missing alsa-ucm-conf Marc MERLIN
2024-01-02 19:14 ` Marc MERLIN
2024-01-02 21:24 ` Marc MERLIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZYx0qurc3PfaxfT5@merlins.org \
--to=marc@merlins.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=rander.wang@intel.com \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.