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

 

 

 

[Solved] [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

Need help with peripherals or devices?
Post Reply
Message
Author
katzen
Posts: 22
Joined: 2021-12-25 19:20

[Solved] [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#1 Post by katzen »

Hello,
I'm running Debian testing on Samsung laptop and most sound devices work great. Speakers work and Bluetooth audio works, no issues.
My only problem is with wired headphones, when I plug them in the sound device appears (Headphones Alder Lake PCH-P High Definition Audio Controller) but the sound is really bad.
I can't hear anything with volume below 80% and above sound is riddled with crackles and noise. Headphones work fine when plugged into my cell phone.
I know Linux sound on laptops is a bit of an issue but is there anything I can upgrade or configure to make my headphones work?
Thank you for your help,
K
Last edited by katzen on 2023-12-07 20:56, edited 1 time in total.

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#2 Post by Random_Troll »

Some PulseAudio suggestions here: https://wiki.archlinux.org/title/PulseA ... headphones

Unfortunately I don't actually know which sound server bookworm uses by default (I avoid sound servers whenever possible). Check with

Code: Select all

fuser -v /dev/snd/*
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

katzen
Posts: 22
Joined: 2021-12-25 19:20

Re: [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#3 Post by katzen »

I tried to change pulseaudio settings as suggested but it looks like pulseaudio server is not even running (there is no pulseaudio process listed).
I'm still getting audio from speakers, maybe I should start by checking what is producing the sound on my laptop.
I can see these (driver) modules being loaded:
soundwire_intel
snd_hda_intel
And a bunch of snd_soc, snd_sof and snd_hda drivers, but these are the hardware drivers. I'm not sure what is the audio framework that's running, I can see these processes:
/usr/bin/pipewire
/usr/bin/wireplumber
/usr/bin/pipewire-pulse

Any ideas on how I can find out more about my audio system?
Thank you,
K

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

Re: [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#4 Post by FreewheelinFrank »

katzen wrote: 2023-06-03 17:13 I can see these (driver) modules being loaded:
soundwire_intel
snd_hda_intel
And a bunch of snd_soc, snd_sof and snd_hda drivers, but these are the hardware drivers. I'm not sure what is the audio framework that's running, I can see these processes:
/usr/bin/pipewire
/usr/bin/wireplumber
/usr/bin/pipewire-pulse

Any ideas on how I can find out more about my audio system?
Thank you,
K
For Alder Lake, you will need to make sure the SOF driver is running correctly.

Do you have firmware-sof-signed installed?

Do you have theses repositories enabled in your /etc/apt/source.list?

Code: Select all

deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
Please post output of following:

Code: Select all

# dmesg | grep 'sof\\snd\|audio\|firmware'

Code: Select all

# journalctl -k | grep -i 'alsa\|hda\|sof\|snd'

katzen
Posts: 22
Joined: 2021-12-25 19:20

Re: [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#5 Post by katzen »

Hello,
Package firmware-sof-signed is installed on my laptop. See below for output from dmesg & journalctl commands.
Thank you,
K

Code: Select all

dmesg |grep sof
[    0.043713] software IO TLB: area num 16.
[    1.339157] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.339158] software IO TLB: mapped [mem 0x0000000054a39000-0x0000000058a39000] (64MB)
[    2.015081] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    2.015090] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    4.845283] systemd[1]: Unnecessary job was removed for dev-nvme0n1p5.device - SN530 SDBPNPZ-512G-1004 software.
[    5.398170] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.398236] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    5.398262] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.398400] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    5.398456] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.405455] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    5.427654] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    5.427657] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.427659] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    5.428511] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-adl.ri
[    5.428516] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    5.428517] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    5.428520] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    5.524288] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    5.524301] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    5.535701] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
[    5.535713] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[    5.629559] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
[    5.629777] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
[    5.629980] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
[    5.630111] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input33
[    5.630378] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input34

Code: Select all

dmesg |grep snd
[    5.234883] snd_hda_intel: unknown parameter 'vid' ignored
[    5.234886] snd_hda_intel: unknown parameter 'pid' ignored
[    5.234956] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.239495] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    5.558794] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    5.558803] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.558806] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.558809] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    5.558811] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    5.558813] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    5.608704] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    5.608729] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

Code: Select all

dmesg |grep audio
[    5.398170] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    5.398236] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    5.398262] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.398400] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    5.398456] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.405455] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    5.427654] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    5.427657] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.427659] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    5.428511] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-adl.ri
[    5.428516] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    5.428517] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    5.428520] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    5.524288] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    5.524301] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    5.535701] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
[    5.535713] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[    5.558794] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    5.558803] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.558806] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.558809] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    5.558811] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    5.558813] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    5.608704] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    5.608729] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

Code: Select all

dmesg |grep firmware
[    2.667433] i915 0000:00:02.0: firmware: direct-loading firmware i915/adlp_dmc_ver2_16.bin
[    2.668956] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[    2.690618] i915 0000:00:02.0: firmware: direct-loading firmware i915/adlp_guc_70.bin
[    2.690774] i915 0000:00:02.0: firmware: direct-loading firmware i915/tgl_huc.bin
[    2.788432] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
[    2.788435] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[    5.122251] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    5.122759] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    5.175082] iwlwifi 0000:00:14.3: firmware: direct-loading firmware iwlwifi-so-a0-gf-a0-72.ucode
[    5.175464] iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    5.175466] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    5.175473] iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    5.175475] iwlwifi 0000:00:14.3: loaded firmware version 72.daa05125.0 so-a0-gf-a0-72.ucode op_mode iwlmvm
[    5.372025] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    5.373760] bluetooth hci0: firmware: direct-loading firmware intel/ibt-0040-0041.sfi
[    5.373766] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[    5.428511] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-adl.ri
[    5.535701] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
[    5.543286] iwlwifi 0000:00:14.3: firmware: direct-loading firmware iwlwifi-so-a0-gf-a0.pnvm
[    7.047033] Bluetooth: hci0: Waiting for firmware download to complete
[    7.068178] bluetooth hci0: firmware: direct-loading firmware intel/ibt-0040-0041.ddc

Code: Select all

journalctl -k |grep -i "hda"
Jun 08 14:17:54 laptop kernel: snd_hda_intel: unknown parameter 'vid' ignored
Jun 08 14:17:54 laptop kernel: snd_hda_intel: unknown parameter 'pid' ignored
Jun 08 14:17:54 laptop kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jun 08 14:17:54 laptop kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Jun 08 14:17:55 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    inputs:
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
Jun 08 14:17:55 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input33
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input34

Code: Select all

journalctl -k |grep -i "sof"
Jun 08 14:17:54 laptop kernel: software IO TLB: area num 16.
Jun 08 14:17:54 laptop kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Jun 08 14:17:54 laptop kernel: software IO TLB: mapped [mem 0x0000000054a39000-0x0000000058a39000] (64MB)
Jun 08 14:17:54 laptop kernel: integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
Jun 08 14:17:54 laptop kernel: integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
Jun 08 14:17:54 laptop systemd[1]: Unnecessary job was removed for dev-nvme0n1p5.device - SN530 SDBPNPZ-512G-1004 software.
Jun 08 14:17:54 laptop kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-adl.ri
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Jun 08 14:17:54 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
Jun 08 14:17:55 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Jun 08 14:17:55 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Jun 08 14:17:55 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
Jun 08 14:17:55 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input33
Jun 08 14:17:55 laptop kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input34

Code: Select all

journalctl -k |grep -i "snd"
Jun 08 14:17:54 laptop kernel: snd_hda_intel: unknown parameter 'vid' ignored
Jun 08 14:17:54 laptop kernel: snd_hda_intel: unknown parameter 'pid' ignored
Jun 08 14:17:54 laptop kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jun 08 14:17:54 laptop kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:    inputs:
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
Jun 08 14:17:55 laptop kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

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

Re: [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#6 Post by FreewheelinFrank »

Thanks.

Code: Select all

grep 'sof\\snd\|audio\|firmware'
filters for any of those strings, so you don't need to run them individually. Doing so just produces man duplicates, because may include more than one of the strings.

But anyway, I can't see a problem with SOF. It might be hardware or setup specific.

Could you install package inix and give us output of the following please?

Code: Select all

$ inxi -Faz
Also run

Code: Select all

$ aplay -l
and give us output of

Code: Select all

$ amixer -cn
replacing "n" with the number of the card (probably 0).

Also, make sure you try the suggestions in Random_Troll's post which apply to Alsa in Bookworm as well and not just to PulseAudio.

katzen
Posts: 22
Joined: 2021-12-25 19:20

Re: [Hardware] Debian testing choppy/noisy sound from headphones on Alder Lake PCH-P

#7 Post by katzen »

I "solved" this problem by using an external USB audio card and connecting headphones to it. Audio works and I can record audio too.
Thanks for all the help.

Post Reply