Ubuntu 18.04 - Pulseaudio started & loaded twice - 2 PIDs accessing sound card - Need help to...
up vote
0
down vote
favorite
I hope someone can help me troubleshoot why and from where Pulseaudio is started and loaded twice.
This creates issues when plugging headphones and sometimes there are small pauses in sound.
Here is some info:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
pulseaudio --version
pulseaudio 11.1
fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/dev/snd/controlC1: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/var/log/syslog |grep pulseaudio (last boot)
Dec 4 22:10:00 hdl dbus-daemon[1603]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.25' (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined")
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.40" (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1487 comm="/usr/lib/bluetooth/bluetoothd " label="unconfined")
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module.c: Module "module-switch-on-connect" should be loaded once at most. Refusing to load.
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module-gconf.c: pa_module_load() failed
The sound still works... I believe that the errors are created by the second process loading.
sound pulseaudio alsa
add a comment |
up vote
0
down vote
favorite
I hope someone can help me troubleshoot why and from where Pulseaudio is started and loaded twice.
This creates issues when plugging headphones and sometimes there are small pauses in sound.
Here is some info:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
pulseaudio --version
pulseaudio 11.1
fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/dev/snd/controlC1: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/var/log/syslog |grep pulseaudio (last boot)
Dec 4 22:10:00 hdl dbus-daemon[1603]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.25' (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined")
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.40" (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1487 comm="/usr/lib/bluetooth/bluetoothd " label="unconfined")
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module.c: Module "module-switch-on-connect" should be loaded once at most. Refusing to load.
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module-gconf.c: pa_module_load() failed
The sound still works... I believe that the errors are created by the second process loading.
sound pulseaudio alsa
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I hope someone can help me troubleshoot why and from where Pulseaudio is started and loaded twice.
This creates issues when plugging headphones and sometimes there are small pauses in sound.
Here is some info:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
pulseaudio --version
pulseaudio 11.1
fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/dev/snd/controlC1: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/var/log/syslog |grep pulseaudio (last boot)
Dec 4 22:10:00 hdl dbus-daemon[1603]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.25' (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined")
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.40" (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1487 comm="/usr/lib/bluetooth/bluetoothd " label="unconfined")
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module.c: Module "module-switch-on-connect" should be loaded once at most. Refusing to load.
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module-gconf.c: pa_module_load() failed
The sound still works... I believe that the errors are created by the second process loading.
sound pulseaudio alsa
I hope someone can help me troubleshoot why and from where Pulseaudio is started and loaded twice.
This creates issues when plugging headphones and sometimes there are small pauses in sound.
Here is some info:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
pulseaudio --version
pulseaudio 11.1
fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/dev/snd/controlC1: horatiu 2328 F.... pulseaudio
horatiu 5872 F.... pulseaudio
/var/log/syslog |grep pulseaudio (last boot)
Dec 4 22:10:00 hdl dbus-daemon[1603]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.25' (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined")
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Dec 4 22:10:02 hdl pulseaudio[2328]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.40" (uid=1000 pid=2328 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1487 comm="/usr/lib/bluetooth/bluetoothd " label="unconfined")
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module.c: Module "module-switch-on-connect" should be loaded once at most. Refusing to load.
Dec 4 22:10:24 hdl pulseaudio[5872]: [pulseaudio] module-gconf.c: pa_module_load() failed
The sound still works... I believe that the errors are created by the second process loading.
sound pulseaudio alsa
sound pulseaudio alsa
asked Dec 5 at 3:50
Horatiu D.
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Solved.
Got the process who started the first instance of pulseaudio by running systemctl status on the pulseaudio pid.
systemctl status 2328
It turned out that the process was getting started by the mpd daemon. I don't use mpd so I didn't bother trying to set it up in a way that it doesn't spawn a pulseaudio process at boot. I just removed mpd.
This effectively got rid of the first instance of pulseaudio and solved the issues with the sound.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098550%2fubuntu-18-04-pulseaudio-started-loaded-twice-2-pids-accessing-sound-card%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Solved.
Got the process who started the first instance of pulseaudio by running systemctl status on the pulseaudio pid.
systemctl status 2328
It turned out that the process was getting started by the mpd daemon. I don't use mpd so I didn't bother trying to set it up in a way that it doesn't spawn a pulseaudio process at boot. I just removed mpd.
This effectively got rid of the first instance of pulseaudio and solved the issues with the sound.
add a comment |
up vote
0
down vote
Solved.
Got the process who started the first instance of pulseaudio by running systemctl status on the pulseaudio pid.
systemctl status 2328
It turned out that the process was getting started by the mpd daemon. I don't use mpd so I didn't bother trying to set it up in a way that it doesn't spawn a pulseaudio process at boot. I just removed mpd.
This effectively got rid of the first instance of pulseaudio and solved the issues with the sound.
add a comment |
up vote
0
down vote
up vote
0
down vote
Solved.
Got the process who started the first instance of pulseaudio by running systemctl status on the pulseaudio pid.
systemctl status 2328
It turned out that the process was getting started by the mpd daemon. I don't use mpd so I didn't bother trying to set it up in a way that it doesn't spawn a pulseaudio process at boot. I just removed mpd.
This effectively got rid of the first instance of pulseaudio and solved the issues with the sound.
Solved.
Got the process who started the first instance of pulseaudio by running systemctl status on the pulseaudio pid.
systemctl status 2328
It turned out that the process was getting started by the mpd daemon. I don't use mpd so I didn't bother trying to set it up in a way that it doesn't spawn a pulseaudio process at boot. I just removed mpd.
This effectively got rid of the first instance of pulseaudio and solved the issues with the sound.
answered Dec 6 at 0:06
Horatiu D.
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098550%2fubuntu-18-04-pulseaudio-started-loaded-twice-2-pids-accessing-sound-card%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown