LMDE 5 Cinnamon
After the Dec. 18 update to kernel 5.10.158-2, I had the following problem:
playing Youtube video, audio was functional until I paused the video. When restarting after a few minutes, there was no sound -- either from the video or from other applications, including the test audio function in the sound settings. Logging off and on again did not help, but rebooting restored audio, until I paused a video again. Then the problem recurred. This happened with Firefox and Brave browsers. Falling back to kernel 5.10.149-2 solved the problem.
Kernel update breaks audio
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Kernel update breaks audio
Last edited by LockBot on Tue Jun 20, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Kernel update breaks audio
Are you certain it's the kernel that is causing this?
Try booting into the previous kernel from your grub menu at boot up to check if sound runs properly using that.
Try booting into the previous kernel from your grub menu at boot up to check if sound runs properly using that.
Re: Kernel update breaks audio
Yes, I have done this several times. The problem always exists with the new kernel and never with the old one.
The simplest test is this:
1. play a youtube video and pause it.
2. switch to twitter and try to play a tweet with audio.
With the new kernel (5.10.0-20-amd64) there will be no sound in any application after this point, including the test audio function in the sound settings application. Rebooting restores the sound, until I pause a video (etc.) The problem does not occur when I boot 5.10.0-19-amd64.
The computer is a ThinkPad E15 Gen 2. Audio device is
Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
driver: sof-audio-pci bus ID: 00:1f.3 chip ID: 8086:a0c8
Sound Server: ALSA v: k5.10.0-19-amd64 or ALSA v: k5.10.0-20-amd64 corresponding to kernel that is booted.
Re: Kernel update breaks audio
Thanks for the info but I don't think I can help any further with your specific proble.
I do use Debian Unstable (ie, what will become Debian 12) but I don't have LMDE to check your problem.
All I can suggest at present is to stick with your current "good" kernel and not use the problem version, but wait until the next new version turns up to see i fthat works as it should.
I do use Debian Unstable (ie, what will become Debian 12) but I don't have LMDE to check your problem.
All I can suggest at present is to stick with your current "good" kernel and not use the problem version, but wait until the next new version turns up to see i fthat works as it should.
Re: Kernel update breaks audio
When using 158-2, run this command when playing audio and reply back with what it shows.
It displays the current sample rate and what application is playing it.
For example,
It's not exactly related to your issue, I'm just curious to see if it detects anything even if you can't hear anything.
Also run this
It displays the pulseaudio version/status. Here's mine for example.
Code: Select all
pacmd list-sink-inputs | grep -e 'sample spec:' -e 'resample method:' -e 'application\.name'
For example,
Code: Select all
pacmd list-sink-inputs | grep -e 'sample spec:' -e 'resample method:' -e 'application\.name'
sample spec: float32le 2ch 48000Hz
resample method: copy
application.name = "Firefox"
Also run this
Code: Select all
pactl info
Code: Select all
pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 20
Tile Size: 65472
User Name: chris
Host Name: lmde
Server Name: pulseaudio
Server Version: 14.2
Default Sample Specification: float32le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Topping_D10s-00.analog-stereo
Default Source: alsa_output.usb-Topping_D10s-00.analog-stereo.monitor
Cookie: b64a:c427
Re: Kernel update breaks audio
victor@kasha:~ $ pacmd list-sink-inputs | grep -e 'sample spec:' -e 'resample method:' -e 'application\.name'
sample spec: float32le 2ch 44100Hz
resample method: speex-float-1
application.name = "Brave"
victor@kasha:~ $ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 19
Tile Size: 65472
User Name: victor
Host Name: kasha
Server Name: pulseaudio
Server Version: 14.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
Default Source: alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source
Cookie: 33f0:a105
sample spec: float32le 2ch 44100Hz
resample method: speex-float-1
application.name = "Brave"
victor@kasha:~ $ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 19
Tile Size: 65472
User Name: victor
Host Name: kasha
Server Name: pulseaudio
Server Version: 14.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
Default Source: alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source
Cookie: 33f0:a105
Re: Kernel update breaks audio
OK, all looks normal there.
This part intrigues me though.
The audio chain in linux is: application/s > pulseaudio > kernel + ALSA > hardware
ALSA can only send one application at a time to the hardware, in this case pulseaudio. However, pulseaudio can feed multiple sound sources to ALSA all at once. Sounds like either pulseaudio is broken somewhere, or the connection from pulseaudio to ALSA drops every time sound is paused (which I find hard to believe). Have you previously played with the pulseaudio config file (etc/pulse/daemon.conf) before installing the newer kernel?
This part intrigues me though.
Is that in the same browser using multiple tabs, or are you switching browsers for each website?The simplest test is this:
1. play a youtube video and pause it.
2. switch to twitter and try to play a tweet with audio.
The audio chain in linux is: application/s > pulseaudio > kernel + ALSA > hardware
ALSA can only send one application at a time to the hardware, in this case pulseaudio. However, pulseaudio can feed multiple sound sources to ALSA all at once. Sounds like either pulseaudio is broken somewhere, or the connection from pulseaudio to ALSA drops every time sound is paused (which I find hard to believe). Have you previously played with the pulseaudio config file (etc/pulse/daemon.conf) before installing the newer kernel?
Re: Kernel update breaks audio
It doesn't matter whether I do it with multiple tabs or multiple browsers. In fact, the first time it occurred, I had paused a youtube video and did something not related to sound for a few minutes. When I went back to the video, it was silent.Demmers wrote: ⤴Wed Dec 21, 2022 6:03 pmIs that in the same browser using multiple tabs, or are you switching browsers for each website?The simplest test is this:
1. play a youtube video and pause it.
2. switch to twitter and try to play a tweet with audio.
The audio chain in linux is: application/s > pulseaudio > kernel + ALSA > hardware
ALSA can only send one application at a time to the hardware, in this case pulseaudio. However, pulseaudio can feed multiple sound sources to ALSA all at once. Sounds like either pulseaudio is broken somewhere, or the connection from pulseaudio to ALSA drops every time sound is paused (which I find hard to believe). Have you previously played with the pulseaudio config file (etc/pulse/daemon.conf) before installing the newer kernel?
I haven't changed /etc/pulse/daemon.conf and it seems to be all commented out. Here it is showing the defaults:
Code: Select all
; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
; high-priority = yes
; nice-level = -11
; realtime-scheduling = yes
; realtime-priority = 5
; exit-idle-time = 20
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa
; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0
; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; remixing-produce-lfe = no
; remixing-consume-lfe = no
; lfe-crossover-freq = 0
; flat-volumes = no
; rescue-streams = yes
; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000
; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right
; default-fragments = 4
; default-fragment-size-msec = 25
; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0