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] No more audio after update (Debian 11)

Linux Kernel, Network, and Services configuration.
Message
Author
linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

[Solved] No more audio after update (Debian 11)

#1 Post by linuxsat »

Hello,

after the last update (on sat 17, the list of updated package is given bellow) the integrated audio card does not work any more.
I'm on Debian 11, the Motherboard is a Gigabyte GA-P55A-UD3 with an i5/750 2.67 GHz,

I made a comparison between the output of the command

Code: Select all

sudo dmesg
for this version (Debian 11) and the previous one (Debian 10) still bootable on an other HDD in my computer with no problem on sound,
and find no noticeable differences for the lines concerned.

any idea is welcome!


PS:

Info on the audio device:

Code: Select all

$ sudo lspci -k | grep -A 4 Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Se[    7.818116] snd_hda_codec_realtek hdaudioC0D2: autoconfig for ALC888: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
ries Chipset High Definition Audio (rev 06)
        Subsystem: Gigabyte Technology Co., Ltd 5 Series/3400 Series Chipset High Definition Audio
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
        Kernel driver in use: pcieport
Info on kernel modules:

Code: Select all

$ sudo lsmod |grep snd
snd_hrtimer            16384  1
snd_seq                94208  1
snd_seq_device         16384  1 snd_seq
snd_hda_codec_realtek   163840  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  3
snd_intel_dspcfg       28672  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
snd_soc_core          319488  1 soundwire_intel
snd_compress           32768  1 snd_soc_core
snd_hda_codec         176128  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          110592  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               143360  7 snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
snd_timer              49152  4 snd_seq,snd_hrtimer,snd_pcm
snd                   110592  16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd
Packages updated (history from apper)
Installed: base-files, base-files, nftables, libnftables1, libtasn1-6, libtasn1-6, nano, chromium, chromium-common, chromium-sandbox, distro-info-data, firefox-esr-l10n-en-gb, firefox-esr-l10n-fr, firefox-esr, grub2-common, grub-pc, grub-pc-bin, grub-common, libbluray2, mariadb-common, libmariadb3, libpq5, speech-dispatcher-espeak-ng, speech-dispatcher, speech-dispatcher-audio-plugins, libspeechd2, libtinyxml2.6.2v5, libvncclient1, linux-compiler-gcc-10-x86, linux-headers-5.10.0-20-common, linux-kbuild-5.10, linux-headers-5.10.0-20-amd64, linux-headers-amd64, linux-image-5.10.0-20-amd64, linux-image-amd64, linux-libc-dev, mariadb-client-core-10.5, mariadb-server-core-10.5, nvidia-detect, python3-speechd, thunderbird-l10n-fr, thunderbird, speech-dispatcher-audio-plugins, linux-compiler-gcc-10-x86, libnftables1, nftables, nvidia-detect, python3-speechd, distro-info-data, libpq5, linux-libc-dev, chromium-sandbox, mariadb-common, grub-common, libvncclient1, libspeechd2, linux-headers-5.10.0-20-common, libmariadb3, libtinyxml2.6.2v5, nano, linux-image-5.10.0-20-amd64, linux-kbuild-5.10, chromium-common, thunderbird, chromium, libbluray2, firefox-esr, firefox-esr-l10n-en-gb, mariadb-server-core-10.5, thunderbird-l10n-fr, grub2-common, linux-image-amd64, grub-pc-bin, speech-dispatcher, grub-pc, linux-headers-5.10.0-20-amd64, mariadb-client-core-10.5, speech-dispatcher-espeak-ng, firefox-esr-l10n-fr, linux-headers-amd64
Last edited by linuxsat on 2023-03-04 17:45, edited 1 time in total.

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

Re: [Software] No more audio after update (Debian 11)

#2 Post by FreewheelinFrank »

Have you had a look in sound settings to check if an application has taken control of sound playback?

What does

Code: Select all

pacmd list-sinks
say?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [Software] No more audio after update (Debian 11)

#3 Post by sunrat »

Also check pavucontrol and alsamixer to make sure volumes are turned up and not muted.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!


linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#5 Post by linuxsat »

FreewheelinFrank wrote: 2022-12-18 21:43 Have you had a look in sound settings to check if an application has taken control of sound playback?
Yes, and indeed the sound settings show no devices at all
FreewheelinFrank wrote: 2022-12-18 21:43 What does

Code: Select all

pacmd list-sinks
say?
Thanks for that command I didn't know it before! The pulseaudio daermon is not running

Code: Select all

$ sudo pacmd list-sink
[sudo] password for toor:
No PulseAudio daemon running, or not running as session daemon.

With the Debian 10 on the same machine (another ssd) I obtain

Code: Select all

$ sudo pacmd list-sink
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 54401 /  83% / -4.85 dB,   front-right: 54401 /  83% / -4.85 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC888 Analog"
		alsa.id = "ALC888 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xfbff8000 irq 36"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC888"
		alsa.components = "HDA:10ec0888,1458a002,00100001"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>
	$
	
sunrat wrote: 2022-12-18 22:08 Also check pavucontrol and alsamixer to make sure volumes are turned up and not muted.
These two are not installed (and was not before the update), now no volume control is available.
Thanks for that posts, they are pretty technical for me I will work on it.

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

Re: [Software] No more audio after update (Debian 11)

#6 Post by FreewheelinFrank »

The list-sinks command seems to need you to start pulseaudio in this way before it will work.

Code: Select all

pulseaudio -D

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#7 Post by linuxsat »

FreewheelinFrank wrote: 2022-12-19 18:36 The list-sinks command seems to need you to start pulseaudio in this way before it will work.

Code: Select all

pulseaudio -D
Thanks for your help,
Indeed pulseaudio seems to not start

Code: Select all

$pulseaudio -D
E: [pulseaudio] main.c: Daemon startup failed.
$
But! I check in the System Monitor (Ksysguard on my KDE Desktop) and it is indicated as running?
The command

Code: Select all

 ps -ax
returns, amongst others lines

Code: Select all

  1024 ?        S<sl   0:14 /usr/bin/pulseaudio --daemonize=no --log-target=journal
while

Code: Select all

pacmd list-sink
is still silent.

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

Re: [Software] No more audio after update (Debian 11)

#8 Post by FreewheelinFrank »

Code: Select all

pacmd list-sinks
Plural, with an "s", works on my Bullseye install.

I know I used pulseaudio -D to get it working on another install, but I can't remember if that was a Bullseye install that I messed up or Testing (I don't have pulseaudio installed in Testing any more, so can't check that).

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

Re: [Software] No more audio after update (Debian 11)

#9 Post by FreewheelinFrank »

Seems to be an issue with the updated kernel, several people have reported the same issue.

Boot with the old kernel until the issue is fixed.

viewtopic.php?t=153532

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#10 Post by linuxsat »

FreewheelinFrank wrote: 2022-12-20 22:04

Code: Select all

pacmd list-sinks
Plural, with an "s", works on my Bullseye install.

I know I used pulseaudio -D to get it working on another install, but I can't remember if that was a Bullseye install that I messed up or Testing (I don't have pulseaudio installed in Testing any more, so can't check that).
You are right, after correcting my misprint I get

Code: Select all

$pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <auto_null>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1000
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 344 KiB
        max rewind: 344 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        module: 10
        properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"
$

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#11 Post by linuxsat »

FreewheelinFrank wrote: 2022-12-22 08:41 Seems to be an issue with the updated kernel, several people have reported the same issue.

Boot with the old kernel until the issue is fixed.

viewtopic.php?t=153532
Thanks for the link. I already tried but unfortunately booting on the previous kernel (5.10.0-19) do not restore the previous state.
It is nevertheless reassuring that this problem is not so specific.

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

Re: [Software] No more audio after update (Debian 11)

#12 Post by FreewheelinFrank »

Looks like the driver isn't loading. Could you post output of

Code: Select all

# dmesg | grep 'snd_hda_intel'
?

I am not going to give up on the kernel update just yet. Could you try booting into the 5.10.0-19 kernel and doing the following?

Code: Select all

# modprobe snd-hda-intel

Code: Select all

$ rm -r ~/.config/pulse*

Code: Select all

$ pulseaudio -k
This should load the module and reset and restart pulseaudio.

Code: Select all

# dmesg | grep 'snd_hda_intel'
In 5.10.0-19 would be useful too.

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#13 Post by linuxsat »

Hi thanks again for your help
FreewheelinFrank wrote: 2022-12-22 20:57 Looks like the driver isn't loading. Could you post output of

Code: Select all

# dmesg | grep 'snd_hda_intel'
The result is

Code: Select all

 [    7.520540] snd_hda_intel 0000:00:1b.0: device 1458:a002 is on the power_save denylist, forcing power_save to 0
$
On the 5.10.0-19 kernel the output is

Code: Select all

[    6.926818] snd_hda_intel 0000:00:1b.0: device 1458:a002 is on the power_save denylist, forcing power_save to 0
$
The following command

Code: Select all

$ sudo  modprobe snd-hda-intel
no out at all

Code: Select all

$ rm -r ~/.config/pulse*
no out at all

Code: Select all

$ pulseaudio -k
no output on the terminal but on the screen (temporarily) "no audio device", thus unfortunately still no audio.

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

Re: [Software] No more audio after update (Debian 11)

#14 Post by FreewheelinFrank »

Well, if PulseAudio can't see the sound device, can Alsa? What is the output of

Code: Select all

$ aplay -l
?

Reviewing the thread I noticed that you'd added 'sudo' to the

Code: Select all

pacmd list-sink
command, which is why it wasn't working: PulseAudio runs as user not root. So

Code: Select all

$ pacmd list-sink
Apologies for missing that and not specifying that the command is as user.

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#15 Post by linuxsat »

Thanks again,I apologize for the delay in my anser! Happy new year!
Results are below
FreewheelinFrank wrote: 2022-12-27 09:18 Well, if PulseAudio can't see the sound device, can Alsa? What is the output of

Code: Select all

$ aplay -l

Code: Select all

 $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$
FreewheelinFrank wrote: 2022-12-27 09:18 Reviewing the thread I noticed that you'd added 'sudo' to the

Code: Select all

pacmd list-sink
command, which is why it wasn't working: PulseAudio runs as user not root. So
Ok!

Code: Select all

$ list-sink      
bash: list-sink: command not found
but the option -h gives me the command

Code: Select all

pacmd list-sink-inputs
1 sink input(s) available.
    index: 0
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <auto_null>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 31.22 ms
        requested latency: 18.75 ms
        sample spec: float32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 6
        client: 6 <Firefox>
        properties:
                media.name = "AudioCallbackDriver"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1555"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "firefox-esr"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
                application.icon_name = "firefox-esr"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
and

Code: Select all

$pacmd list-source-outputs
0 source output(s) available.
Apologies for missing that and not specifying that the command is as user.
[/quote]

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

Re: [Software] No more audio after update (Debian 11)

#16 Post by FreewheelinFrank »

No problem. Happy new year to you too.

It looks like Firefox has control of PulseAudio output. As I wrote previously:
FreewheelinFrank wrote: 2022-12-18 21:43 Have you had a look in sound settings to check if an application has taken control of sound playback?
To check if sound is working in Alsa, run this command with speakers turned on:

Code: Select all

$ speaker-test
You should hear white noise.

If you don't already have it, install Pulse Audio Volume Control.

Code: Select all

pavucontrol
And check in the Playback tab that Firefox is not the default input.

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#17 Post by linuxsat »

FreewheelinFrank wrote: 2022-12-18 21:43 Have you had a look in sound settings to check if an application has taken control of sound playback?
Yes: Audio volume in the panel and the pavucontrol program show devices and applications firefox is not marked as default.
To check if sound is working in Alsa, run this command with speakers turned on:

Code: Select all

$ speaker-test
You should hear white noise.
Unfortunately no sound, The program is running and in pavucontrol the panel "Output devices" the meter works for the "dummy output".
But no physical output seems present.The output of the console is

Code: Select all

$ speaker-test 

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
 0 - Front Left
Time per period = 10.952402
 0 - Front Left
Time per period = 10.953352


I stop it using ctrl c

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

Re: [Software] No more audio after update (Debian 11)

#18 Post by FreewheelinFrank »

Do you get any output with the Alsa device ID?

Code: Select all

speaker-test -D hw:0,0 -c2
Edit: try these commands too.

Code: Select all

$ rm -r ~/.config/pulse /tmp/pulse-*
$ systemctl --user restart pulseaudio.service
https://wiki.debian.org/PulseAudio#Miss ... io_capture

Leder
Posts: 2
Joined: 2017-12-08 07:26

Re: [Software] No more audio after update (Debian 11)

#19 Post by Leder »

Hello Debian Community,

I have exactly the same problem after receiving the same updates ( to be honest i don't remember exactly the days but comparing the dates of your 1st post around the same time we started having this problem ).

Debian GNU/Linux 11.6 (bullseye)

All the "hot" details and the status of my system now : https://pastebin.com/raw/H8N0Kjqf

Quick workaround for now:

Code: Select all

systemctl --user restart pulseaudio.service
Another thing I've also noticed through the GNOME 3.38.5 desktop environment is that sometimes when I (finally) hear the sound and want to turn the volume down or up from my keyboard, I see the classic GNOME volume bar and turn it down or up but it doesn't work. When it gets to full silence or volume (and until then nothing has changed for me at all) - another GNOME volume bar comes out and that now actually applies/matches the sound I'm hearing. It's crazy!
Image
FreewheelinFrank wrote: 2022-12-22 08:41 Seems to be an issue with the updated kernel, several people have reported the same issue.

Boot with the old kernel until the issue is fixed.

viewtopic.php?t=153532

Could it be something related to kernel ?
Because :

Code: Select all

uname -srvmpio
Linux 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 unknown unknown GNU/Linux

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

Re: [Software] No more audio after update (Debian 11)

#20 Post by FreewheelinFrank »

Leder wrote: 2023-01-14 08:55 Hello Debian Community,

I have exactly the same problem after receiving the same updates....
That is not at all certain. This user has tried reverting to the previous kernel, and it didn't fix the problem.

It is possible that reverting to the previous kernel will fix your issue, but even if it isn't, your issue may be entirely different to this users.

Please start your own thread. We will be happy to help you there. Trying to deal with two issues in the same thread is confusing for everybody.

Post Reply