[Sound] No Audio Output Detected

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
Desames
Posts: 4
Joined: 2022-11-22 00:37
Has thanked: 1 time

[Sound] No Audio Output Detected

#1 Post by Desames »

Hi, everyone! I am new to your forums, and Linux in general. I am having an issue with my audio output. I typically work with my sound muted, but at some point my audio output was no longer recognized when I went to use it again (within the past 1-2 weeks or so). I have tried looking for some guides to resolve the "dummy audio output" issue / no audio output, but I am having problems as nothing I tried seems to have resolved anything.

I've included a few screenshots with my system information from the tutorials I found.

Any help would be much appreciated! Have a wonderful day!

system: https://ibb.co/S7zN4F4
Audio Output: https://ibb.co/nr14SLZ
lspci / aplay : https://ibb.co/znSV1Hn
dmesg: https://ibb.co/XY3dTmf
journal: https://ibb.co/F5ys8zc

User avatar
FreewheelinFrank
Posts: 1158
Joined: 2010-06-07 16:59
Has thanked: 15 times
Been thanked: 86 times

Re: [Sound] No Audio Output Detected

#2 Post by FreewheelinFrank »

Please post your output in code tags. Pictures are not searchable.

Does sound work booting from the previous installed kernel? It's possible kernel 6.0 introduced a bug and broke sound.

User avatar
sunrat
Administrator
Administrator
Posts: 5084
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 53 times
Been thanked: 186 times

Re: [Sound] No Audio Output Detected

#3 Post by sunrat »

Moved to Sid /Testing subforum
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Desames
Posts: 4
Joined: 2022-11-22 00:37
Has thanked: 1 time

Re: [Sound] No Audio Output Detected

#4 Post by Desames »

FreewheelinFrank wrote: 2022-11-22 07:06 Please post your output in code tags. Pictures are not searchable.
I can absolutely do that! How is this:

lspci -nnk | grep -A2 audio

Code: Select all

spacewalk@Starship:~$ lspci -nnk | grep -A2 audio
0000:00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
        Subsystem: Dell Tiger Lake-LP Smart Sound Technology Audio Controller [1028:0991]
        Kernel driver in use: sof-audio-pci-intel-tgl
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
aplay -l

Code: Select all

spacewalk@Starship:~$ aplay -l
**** 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 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
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
neofetch

Code: Select all

spacewalk@Starship:~$ neofetch
       _,met$$$$$gg.          spacewalk@Starship 
    ,g$$$$$$$$$$$$$$$P.       ------------------ 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux bookworm/sid x86_64 
 ,$$P'              `$$$.     Host: XPS 13 9310 
',$$P       ,ggs.     `$$b:   Kernel: 6.0.0-4-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 10 mins 
 $$P      d$'     ,    $$P    Packages: 2353 (dpkg), 8 (flatpak), 6 (snap) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.2 
 $$;      Y$b._   _,d$P'      Resolution: 1920x1200 
 Y$$.    `.`"Y$$$$P"'         DE: Plasma 5.26.3 
 `$$b      "-.__              WM: KWin 
  `Y$$                        WM Theme: Layan 
   `Y$$.                      Theme: [Plasma], Breeze [GTK2/3] 
     `$$b.                    Icons: Inverse-blue-dark [Plasma], Inverse-blue-dark [GTK2/3] 
       `Y$$b.                 Terminal: konsole 
          `"Y$b._             CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz 
              `"""            GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
                              Memory: 2708MiB / 7667MiB 
sudo dmesg | grep snd

Code: Select all

spacewalk@Starship:~$ sudo dmesg | grep snd
[    2.699096] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.699262] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.261096] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC289: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    3.261100] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.261101] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.261102] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    3.261103] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    3.261104] snd_hda_codec_realtek ehdaudio0D0:      Headset Mic=0x19
[    3.261104] snd_hda_codec_realtek ehdaudio0D0:      Headphone Mic=0x1b
[    3.972279] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    3.972321] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
sudo journalctl -k | grep -E1 "snd|sound|audio|multi"

Code: Select all

spacewalk@Starship:~$ sudo journalctl -k | grep -E1 "snd|sound|audio|multi"
Nov 23 17:52:21 Starship kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
Nov 23 17:52:21 Starship kernel: ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Nov 23 17:52:21 Starship kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
--
Nov 23 17:52:22 Starship kernel: input: DLL0945:00 06CB:CDE6 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL0945:00/0018:06CB:CDE6.0001/input/input12
Nov 23 17:52:22 Starship kernel: hid-multitouch 0018:06CB:CDE6.0001: input,hidraw0: I2C HID v1.00 Mouse [DLL0945:00 06CB:CDE6] on i2c-DLL0945:00
Nov 23 17:52:22 Starship kernel: alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
--
Nov 23 17:52:22 Starship kernel: resource sanity check: requesting [mem 0xfedc0000-0xfedcdfff], which spans more than pnp 00:05 [mem 0xfedc0000-0xfedc7fff]
Nov 23 17:52:22 Starship kernel: caller __uncore_imc_init_box+0xc4/0x120 [intel_uncore] mapping multiple BARs
Nov 23 17:52:22 Starship kernel: Intel(R) Wireless WiFi driver for Linux
--
Nov 23 17:52:22 Starship kernel: cryptd: max_cpu_qlen set to 1000
Nov 23 17:52:22 Starship kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Nov 23 17:52:22 Starship kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Nov 23 17:52:22 Starship kernel: AVX2 version of gcm_enc/dec engaged.
--
Nov 23 17:52:22 Starship kernel: iwlwifi 0000:00:14.3: Detected RF HR B5, rfid=0x10a100
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
Nov 23 17:52:22 Starship kernel: iwlwifi 0000:00:14.3: base HW address: 2c:6d:c1:90:94:ad
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-tgl.ri
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
Nov 23 17:52:22 Starship kernel: intel_rapl_msr: PL4 support detected.
--
Nov 23 17:52:22 Starship kernel: iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
Nov 23 17:52:22 Starship kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
Nov 23 17:52:22 Starship kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC289: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0:    inputs:
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0:      Headset Mic=0x19
Nov 23 17:52:22 Starship kernel: snd_hda_codec_realtek ehdaudio0D0:      Headphone Mic=0x1b
Nov 23 17:52:23 Starship kernel: loop: module loaded
--
Nov 23 17:52:23 Starship kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Nov 23 17:52:23 Starship kernel: Bluetooth: BNEP filters: protocol multicast
Nov 23 17:52:23 Starship kernel: Bluetooth: BNEP socket layer initialized
--
Nov 23 17:52:23 Starship kernel: i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
Nov 23 17:52:23 Starship kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
Nov 23 17:52:23 Starship kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
Nov 23 17:52:23 Starship kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
--
Nov 23 17:52:23 Starship kernel: skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
Nov 23 17:52:23 Starship kernel: input: sof-hda-dsp Headphone Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
Nov 23 17:52:23 Starship kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
Nov 23 17:52:23 Starship kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
Nov 23 17:52:23 Starship kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
Nov 23 17:52:24 Starship kernel: loop9: detected capacity change from 0 to 8
FreewheelinFrank wrote: 2022-11-22 07:06 Does sound work booting from the previous installed kernel? It's possible kernel 6.0 introduced a bug and broke sound.
I'm not sure how to boot into a previously installed kernel. I would be happy to try it out if you can point me in the right direction.

Thanks for all your help, it's very much appreciated!
Last edited by Desames on 2022-11-24 23:15, edited 2 times in total.

User avatar
FreewheelinFrank
Posts: 1158
Joined: 2010-06-07 16:59
Has thanked: 15 times
Been thanked: 86 times

Re: [Sound] No Audio Output Detected

#5 Post by FreewheelinFrank »

Desames wrote: 2022-11-24 02:10
I can absolutely do that! How is this:

I'm not sure how to boot into a previously installed kernel. I would be happy to try it out if you can point me in the right direction.

Thanks for all your help, it's very much appreciated!
That's great, thanks for doing that.

You have posted your output and comment inside the quote tags, that's the only problem. If you edit your post, you should see a

</quote>

tag at the bottom - that needs to be at the top, after "Pictures are not searchable." Don't worry - done it myself before.

When you boot, you should see the Grub screen, usually blue, with a countdown timer for 4 seconds at the bottom. Reboot, and have your finger on the down arrow key. When the Grub menu appears, click on the down arrow to Advanced Options and press enter. You should see options to boot from an older kernel. Choose the previous kernel. System default is to save backup kernels, so there should be at least one there.

Booting from the previous kernel is completely safe. The system should boot normally from that point - assuming the previous kernel worked, of course.

You're welcome for the help. This sound issue seems to be affecting quite a few issues, so if we can get to the bottom of it, it will help other users too. Thanks for the information provided.

jaswkah
Posts: 28
Joined: 2014-08-10 18:18

Re: [Sound] No Audio Output Detected

#6 Post by jaswkah »

hello

i managed to get pipewire running on my system. i completely uninstalled pulse audio, except for xfce4-pulseaudio-plugin, which is part of the xfce desktop, and installed all the necessary pipewire dependencies.

what was originally getting me hung up was not having any output devices or sound output. to solve this problem, i went to the "configuration" tab of the pavucontrol (xfce4-pulseaudio-plugin) sound mixer and chose "analog stereo output." after i did this i had output devices again and sound from my speakers, headphones, etc.

one other thing i did was to permanently change the default clock rate from 48000 khz to 44100. i did this because whenever i opened an audio application (like ardour or audacity) the sample rate was set to 48000, which i rarely use. to do this i went to /etc/pipewire/pipewire.conf and un-hashed and edited default.clock.rate line in /etc/pipewire/pipewire.conf to 44100.

hope this helps!

Desames
Posts: 4
Joined: 2022-11-22 00:37
Has thanked: 1 time

Re: [Sound] No Audio Output Detected

#7 Post by Desames »

FreewheelinFrank wrote: 2022-11-24 06:06
Desames wrote: 2022-11-24 02:10
I can absolutely do that! How is this:

I'm not sure how to boot into a previously installed kernel. I would be happy to try it out if you can point me in the right direction.

Thanks for all your help, it's very much appreciated!
That's great, thanks for doing that.

You have posted your output and comment inside the quote tags, that's the only problem. If you edit your post, you should see a

</quote>

tag at the bottom - that needs to be at the top, after "Pictures are not searchable." Don't worry - done it myself before.

When you boot, you should see the Grub screen, usually blue, with a countdown timer for 4 seconds at the bottom. Reboot, and have your finger on the down arrow key. When the Grub menu appears, click on the down arrow to Advanced Options and press enter. You should see options to boot from an older kernel. Choose the previous kernel. System default is to save backup kernels, so there should be at least one there.

Booting from the previous kernel is completely safe. The system should boot normally from that point - assuming the previous kernel worked, of course.

You're welcome for the help. This sound issue seems to be affecting quite a few issues, so if we can get to the bottom of it, it will help other users too. Thanks for the information provided.
I tried booting into a previous version (6.0.0-3-amd64) and the problem is still present there. I only have 6.0.0-4-amd, and 6.0.0-3-amd64 versions in the grub screen to select (and the associated recovery mode selections).

Desames
Posts: 4
Joined: 2022-11-22 00:37
Has thanked: 1 time

Re: [Sound] No Audio Output Detected

#8 Post by Desames »

jaswkah wrote: 2022-11-24 14:31 hello

i managed to get pipewire running on my system. i completely uninstalled pulse audio, except for xfce4-pulseaudio-plugin, which is part of the xfce desktop, and installed all the necessary pipewire dependencies.

what was originally getting me hung up was not having any output devices or sound output. to solve this problem, i went to the "configuration" tab of the pavucontrol (xfce4-pulseaudio-plugin) sound mixer and chose "analog stereo output." after i did this i had output devices again and sound from my speakers, headphones, etc.

one other thing i did was to permanently change the default clock rate from 48000 khz to 44100. i did this because whenever i opened an audio application (like ardour or audacity) the sample rate was set to 48000, which i rarely use. to do this i went to /etc/pipewire/pipewire.conf and un-hashed and edited default.clock.rate line in /etc/pipewire/pipewire.conf to 44100.

hope this helps!
I would be happy to try this, but I'm not sure how to go about it. How do I uninstall pulse audio, minus the xfce4-pulseaudio-plugin? Whenever I uninstall a program I typically use "apt-get purge", my understanding is that "apt-get remove" leaves the configuration file. Is it some variation of this?

Thanks for all your help, I appreciate your time!

User avatar
FreewheelinFrank
Posts: 1158
Joined: 2010-06-07 16:59
Has thanked: 15 times
Been thanked: 86 times

Re: [Sound] No Audio Output Detected

#9 Post by FreewheelinFrank »

You should follow the instructions in the Debian Wiki. It is not necessary to uninstall Pulseaudio first. When I switched to the new sound system in Testing, I had to install pipewire-pulse manually, but it may happen automatically as it is a recommend of WirePlumber. This may be a recent change, as I installed pipewire-pulse six weeks ago after sound stopped working. Up to this point, PulseAudio is not uninstalled by default (or wasn't for me). If you install Pipewire for Alsa clients, PulseAudio is uninstalled automatically.

Not sure why this didn't occur to me straight away, as I'd fixed the same problem on my computer. :oops: :roll:
Debian Testing/Unstable

The newer version of PipeWire that will be present in Debian 12, and that is currently present in Debian Testing/Unstable, has vastly improved compatibility and reliability, and is also much easier to configure as a replacement.

Two session managers are now available. The one pulled in by default (pipewire-media-session) is primitive, and is best when using PipeWire just for its basic functionality like screensharing. When using PipeWire as your system's sound server, the maintainer recommends installing the more advanced WirePlumber instead. This command will install WirePlumber while removing the old session manager:

# apt install wireplumber pipewire-media-session-

You will then need to enable WirePlumber in "systemd" (running as user, not as root):

$ systemctl --user --now enable wireplumber.service

When using WirePlumber, the amount of required configuration to use PipeWire as your sound server is very minimal. In fact, the WirePlumber package recommends pipewire-pulse, so that will likely happen automatically. You'll only have to enable the ALSA and JACK layers manually, which no longer require creating an empty file in your media session's configuration directory (as that directory won't even exist when using WirePlumber), but will still require copying files from your /usr/share/doc/pipewire/examples/ directory, as described in the Debian 11 instructions.
PulseAudio

Install the pipewire-pulse package, and reboot. This will configure PipeWire to activate its PulseAudio replacement daemon. Verify that it's enabled by running:

LANG=C pactl info | grep '^Server Name'

If PipeWire is configured properly, this will print "Server Name: PulseAudio (on PipeWire 0.3.XX)" If it's not working properly, see the Debian 11 instructions for masking PulseAudio.
https://wiki.debian.org/PipeWire#Debian ... 2FUnstable

PS, I also have the XFCE panel plugin - it seems to work quite happily with pipewire-pulse.

Desames
Posts: 4
Joined: 2022-11-22 00:37
Has thanked: 1 time

Re: [Sound] No Audio Output Detected

#10 Post by Desames »

@FreewheelinFrank Thank you so much!I followed the directions in the link you provided and it seems to have solved the problem. I appreciate all your help. Have a wonderful day!

Post Reply