View previous topic :: View next topic |
Author |
Message |
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 290
|
Posted: Mon May 09, 2022 7:55 pm Post subject: No sound with pulseaudio after kernel 5.17.4+ |
|
|
Just like the title says, sound works fine with 5.17.3 but after upgrading to 5.17.4 through .6 pulseaudio is broken. Looking through the other issues on here and none of them apply to me, mainly pipewire was never installed and this isn't a pure bluetooth headset (has its own usb receiver that only works with these headphones).
Code: | $ inxi -A
Audio:
Device-1: NVIDIA GM204 High Definition Audio driver: snd_hda_intel
Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
Device-3: SteelSeries ApS Arctis 7 type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.17.6 running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes |
I can boot back into 5.17.3 and audio magically works again, boot into 5.17.6 and it's broken. Usually when I run into an issue like this I can wait a few kernel revisions and it will sort itself out, not this time apparently. Checking dmesg between the two kernels gives no relevant differences.
One weird workaround I have found is loading pavucontrol and leaving it running makes everything work again. I tried some media players and watched the output.
vlc (only these two lines were different)
Code: |
- bad (no audio)
pulse audio output debug: changing sink 2: PulseEffects_apps (PulseEffects(apps))
- good
pulse audio output debug: changing sink 1: alsa_output.usb-SteelSeries_SteelSeries_Arctis_7-00.stereo-game (SteelSeries Arctis 7 Game)
|
mpv (bad one outputted this with no audio)
Code: | AV: 00:00:00 / 00:03:39 (0%)
Audio device underrun detected.
AV: 00:00:00 / 00:03:39 (0%)
Audio device underrun detected.
AV: 00:00:00 / 00:03:39 (0%)
Audio device underrun detected.
AV: 00:00:00 / 00:03:39 (0%)
Audio device underrun detected.
AV: 00:00:01 / 00:03:39 (1%)
Audio device underrun detected.
AV: 00:00:01 / 00:03:39 (1%) |
edit: almost forgot, lot of these in the syslog when trying to play something
Code: | May 9 16:46:30 xx pulseaudio[4665]: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 384000/192000, New 352800/176400)
May 9 16:46:31 xx pulseaudio[4665]: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 384000/192000, New 352800/176400)
May 9 16:46:31 xx pulseaudio[4665]: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 384000/192000, New 352800/176400)
May 9 16:46:31 xx pulseaudio[4665]: [alsa-sink-USB Audio] alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 384000/192000, New 352800/176400) |
if you look at the kernel changelog for 5.17.4 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.4 there are a lot of alsa changes. I'm inclined to believe one of these created the problem. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2971 Location: Edge of marsh USA
|
Posted: Tue May 10, 2022 3:30 am Post subject: |
|
|
Did you run make oldconfig when upgrading from 5.17.3? _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 290
|
Posted: Tue May 10, 2022 6:33 am Post subject: |
|
|
figueroa wrote: | Did you run make oldconfig when upgrading from 5.17.3? |
No real changes. |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 251
|
Posted: Tue May 10, 2022 8:51 am Post subject: |
|
|
Saundersx wrote: | figueroa wrote: | Did you run make oldconfig when upgrading from 5.17.3? |
No real changes. |
If 'pa-info' reports different set of devices or sinks and sources with different kernel versions, you can try collecting verbose log from daemon (i.e. like in stopping running daemon and then 'pulseaudio -vvvv > /tmp/pulse-verbose.log') to compare what is going on while devices are probed by pulseaudio daemon.
This hopefully should reveal what is changed and how; if you are stuck attach 'pa-info' and verbose log for each kernel version. |
|
Back to top |
|
|
omidxo n00b
Joined: 23 Feb 2005 Posts: 71
|
Posted: Tue May 10, 2022 11:23 am Post subject: |
|
|
Try to turn it on in /etc/pulse/client.conf set autospawn = yes. Remove any ; at the beginning of the line.
The default setting is off. This is for pipewire set. If you well enable pipeware to replace pulseaudio, see https://wiki.gentoo.org/wiki/PipeWire. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21849
|
Posted: Tue May 10, 2022 3:34 pm Post subject: Re: No sound with pulseaudio after kernel 5.17.4+ |
|
|
Can you bisect between v5.17.3 and v5.17.4 to find which of these ALSA changes caused your problem? Per stable kernel rules, those patches should only be there if they are already in Linus' tree, so it is probable that v5.18, once released, will have the same problem for you. Finding the bad patch and arguing for its revert now, before v5.18 is released, will be easier than waiting and arguing later. |
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 290
|
Posted: Tue May 10, 2022 4:52 pm Post subject: |
|
|
Turns out this was something more simple. Had added a few lines for doom eternal back when it came out to fix the sound issues proton had with that game.
from /etc/pulse/daemon.conf , removed
Code: | default-sample-rate = 48000
alternate-sample-rate = 44100 |
I still think this is a bug but just glad I got it working again (hopefully with my short testing). |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 251
|
Posted: Tue May 10, 2022 4:55 pm Post subject: |
|
|
Saundersx wrote: | Turns out this was something more simple. Had added a few lines for doom eternal back when it came out to fix the sound issues proton had with that game.
from /etc/pulse/daemon.conf , removed
Code: | default-sample-rate = 48000
alternate-sample-rate = 44100 |
I still think this is a bug but just glad I got it working again (hopefully with my short testing). |
These overrides are usually not a problem unless your audio driver stopped working with 48000 sample rate. |
|
Back to top |
|
|
|