Re: sof-audio-pci-intel-tgl/soundwire 6.6.8 kernel outputs no sound on speakers but works on headphones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



[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




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux