- Package:
- pulseaudio
- Source:
- pulseaudio
- Description:
- PulseAudio sound server
- Submitter:
- Eric Chassande-Mottin
- Date:
- 2023-08-03 16:12:03 UTC
- Severity:
- normal
Dear Maintainer,
I upgraded my system (Dell XPS 13 laptop) to Debian 12 today.
The Pulseaudio daemon does not start automatically at start up.
I can fix the problem by issuing:
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
systemctl --user start pulseaudio.socket
systemctl --user start pulseaudio.service
sudo pulseaudio --system
I'd like to know how to fix the issue cleanly.
Could you please help?
You'll find below some information to help debugging.
Feel free to ask more.
Best,
Eric CM
$ pacmd info
No PulseAudio daemon running, or not running as session daemon.
$ pacmd list-sinks
No PulseAudio daemon running, or not running as session daemon.
$ fuser -v /dev/snd/*
$ fuser -v /dev/dsp
Specified filename /dev/dsp does not exist.
$ loginctl show-session $XDG_SESSION_ID
[stalls]
$ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 16.1
I: [pulseaudio] main.c: Page size is 4096 bytes
[...]
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-16.1+dfsg1/modules/module-esound-protocol-unix.so': failure
E: [pulseaudio] socket-server.c: bind(): Address already in use
E: [pulseaudio] module.c: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
[...]
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #19; argument: "").
E: [pulseaudio] main.c: D-Bus name org.pulseaudio.Server already taken.
I: [pulseaudio] main.c: Daemon startup complete.
[...]
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1f.3.analog-stereo idle for too long, suspending ...
I: [alsa-sink-ALC3246 Analog] alsa-sink.c: Device suspended...
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 39
Tile Size: 65472
User Name: ecm
Host Name: tchao
Server Name: PulseAudio (on PipeWire 0.3.65)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: @DEFAULT_SINK@
Default Source: @DEFAULT_SOURCE@
Cookie: 4c9b:a38b
$ pactl list modules short
1 libpipewire-module-rt {
nice.level = -11
#rt.prio = 88
#rt.time.soft = -1
#rt.time.hard = -1
}
2 libpipewire-module-protocol-native
3 libpipewire-module-profiler
5 libpipewire-module-metadata
7 libpipewire-module-spa-device-factory
9 libpipewire-module-spa-node-factory
11 libpipewire-module-client-node
13 libpipewire-module-client-device
15 libpipewire-module-portal
16 libpipewire-module-access {
# access.allowed to list an array of paths of allowed
# apps.
#access.allowed = [
# /usr/bin/pipewire-media-session
#]
# An array of rejected paths.
#access.rejected = [ ]
# An array of paths with restricted access.
#access.restricted = [ ]
# Anything not in the above lists gets assigned the
# access.force permission.
#access.force = flatpak
}
17 libpipewire-module-adapter
19 libpipewire-module-link-factory
21 libpipewire-module-session-manager
536870912 module-always-sink
I'm seeing the same issue after an upgrade from Debian 11 to Debian 12. Manually stopping and starting the service, as Eric suggests gets me a working audio-system. Please let me know if additional logs or configuration data may be useful to anyone looking into this.
I observe the same issue on an Lenovo L480 laptop. After upgrading from Debian11 to Debian12, audio/sound did not work anymore. Running these commands systemctl --user stop pulseaudio.socket systemctl --user stop pulseaudio.service systemctl --user start pulseaudio.socket systemctl --user start pulseaudio.service enables the the audio system. But the settings do not survive a reboot. I'm using the Mate desktop. Let me know if you need anymore information. Cheers, Alois
Hello I was coping with the same problem after and upgrade Debian 11->12 and was starting pulseaudio manually like you Here is the solution I used Debian 12 now also comes with https://wiki.debian.org/PipeWire which has a pulseaudio implementation I did fix the problem by using "apt install pipewire pipewire-audio-client-libraries" + reboot It did purge pulseaudio and now provides sound via pipewire Start-Date: 2023-07-25 10:02:41 Commandline: apt install pipewire pipewire-audio-client-libraries Requested-By: mlr (1000) Install: pipewire-pulse:amd64 (0.3.65-3, automatic), pipewire-audio-client-libraries:amd64 (0.3.65-3), pipewire:amd64 (0.3.65-3), pipewire-jack:amd64 (0.3.65-3, automatic), pipewire-audio:amd64 (0.3.65-3, automatic), wireplumber:amd64 ( 0.4.13-1, automatic), pipewire-alsa:amd64 (0.3.65-3, automatic), libwireplumber-0.4-0:amd64 (0.4.13-1, automatic) Remove: pulseaudio-module-gsettings:amd64 (16.1+dfsg1-2+b1), pulseaudio:amd64 (16.1+dfsg1-2+b1), pulseaudio-module-bluetooth:amd64 (16.1+dfsg1-2+b1) End-Date: 2023-07-25 10:02:44 Best Regards
On Tue, 25 Jul 2023 08:19:23 +0000 Marc Leurent <marc.leurent@vtx-telecom.ch> wrote: > Hello > > I was coping with the same problem after and upgrade Debian 11->12 and was starting pulseaudio manually like you > Here is the solution I used > Debian 12 now also comes with https://wiki.debian.org/PipeWire which has a pulseaudio implementation > I did fix the problem by using "apt install pipewire pipewire-audio-client-libraries" + reboot > It did purge pulseaudio and now provides sound via pipewire > > Start-Date: 2023-07-25 10:02:41 > Commandline: apt install pipewire pipewire-audio-client-libraries > Requested-By: mlr (1000) > Install: pipewire-pulse:amd64 (0.3.65-3, automatic), pipewire-audio-client-libraries:amd64 (0.3.65-3), pipewire:amd64 (0.3.65-3), pipewire-jack:amd64 (0.3.65-3, automatic), pipewire-audio:amd64 (0.3.65-3, automatic), wireplumber:amd64 ( > 0.4.13-1, automatic), pipewire-alsa:amd64 (0.3.65-3, automatic), libwireplumber-0.4-0:amd64 (0.4.13-1, automatic) > Remove: pulseaudio-module-gsettings:amd64 (16.1+dfsg1-2+b1), pulseaudio:amd64 (16.1+dfsg1-2+b1), pulseaudio-module-bluetooth:amd64 (16.1+dfsg1-2+b1) > End-Date: 2023-07-25 10:02:44 > > > > Best Regards Thanks for these hints. These lead in the right directions but was not sufficient for me. So I followed also the instructions from https://wiki.debian.org/PipeWire#Debian_12 and run also # apt install wireplumber pipewire-media-session- $ systemctl --user --now enable wireplumber.service This did not immediately provide a solution, and then after trying connect head phones and installing qpwgraph, I got sound. And sound was still available after reboot - so the is no need anymore to run "systemctl --user ...." after a reboot. I'm not sure which step was decisive here - fiddling with the headphone plug, or installing one of these other packages. Here is my apt/history on this: Start-Date: 2023-07-25 19:45:52 Commandline: apt install pipewire pipewire-audio-client-libraries Install: pipewire-audio-client-libraries:amd64 (0.3.65-3), pipewire-jack:amd64 (0.3.65-3, automatic), pipewire-alsa:amd64 (0.3.65-3, automatic) Remove: pulseaudio:amd64 (16.1+dfsg1-2+b1) End-Date: 2023-07-25 19:45:57 Start-Date: 2023-07-25 19:54:34 Commandline: apt purge pulseaudio Purge: pulseaudio:amd64 () End-Date: 2023-07-25 19:54:37 Start-Date: 2023-07-25 19:59:56 Commandline: apt install wireplumber pipewire-media-session- Install: wireplumber:amd64 (0.4.13-1), libwireplumber-0.4-0:amd64 (0.4.13-1, automatic) End-Date: 2023-07-25 19:59:58 Start-Date: 2023-07-25 20:04:46 Commandline: apt install qpwgraph Install: libqt6network6:amd64 (6.4.2+dfsg-10, automatic), qt6-gtk-platformtheme:amd64 (6.4.2+dfsg-10, automatic), libqt6widgets6:amd64 (6.4.2+dfsg-10, automatic), libqt6dbus6:amd64 (6.4.2+dfsg-10, automatic), libqt6gui6:amd64 (6.4.2+dfsg-10, automatic), libqt6xml6:amd64 (6.4.2+dfsg-10, automatic), qpwgraph:amd64 (0.3.9-1), qt6-qpa-plugins:amd64 (6.4.2+dfsg-10, automatic), libts0:amd64 (1.22-1+b1, automatic) End-Date: 2023-07-25 20:05:00
Hi! I've resolved this issue by following the instructions given here: https://github.com/QubesOS/qubes-issues/issues/8193 that is: remove/reinstall all pipewire, pulseaudio and pavucontrol packages Cheers, Eric