On 08/31/2016 08:14 PM, entr0py wrote:
Eva Star:
3.2rc2 - clean install (on 3.2rc1 with updates I do not have this problem)

At dom0 pulseaudio proccess always eat 100% of CPU.
If I kill it, then it starts again!
Please, help. Hot to fix this issue or how to disable pulseaudio start after 
kill.

Same problem here, only by updating though.

Had similar symptoms on Qubes 3.1. If you have multiple audio adapters (ie Onboard 
+ HDMI), disable one. (On KDE, it was PulseAudio Volume Control > 
Configuration. Don't know XFCE.)

I also have multiple (incl. external). Disconnecting the external one does not appear to help though.

Pulseaudio child processes constantly die and get started again, i.e. the PID is changing every 1-2s. I guess that's not normal? Sound in VMs is stuttering.

rsyslogd also eats quite a lot of CPU, but I bet it's due to the pulse logs.

Sample log and /etc/pulse/default.pa attached.

Anyone got an idea?

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/8ded276e-db56-ef34-b44e-62c09fc928e6%40hackingthe.net.
For more options, visit https://groups.google.com/d/optout.
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev 
support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 
sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with 
the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict 
with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
#load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input

#tripleh: for USB sound card
set-default-sink 2
Sep 02 18:31:05 dom0 pulseaudio[9400]: [pulseaudio] pid.c: Daemon already 
running.
Sep 02 18:31:05 dom0 systemd[1]: Received SIGCHLD from PID 9399 (pulseaudio).
Sep 02 18:31:05 dom0 systemd[1]: Child 9399 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:05 dom0 systemd[1]: Received SIGCHLD from PID 9400 (pulseaudio).
Sep 02 18:31:05 dom0 systemd[1]: Child 9400 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:05 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:11 dom0 systemd[1]: Received SIGCHLD from PID 9388 (gconf-helper).
Sep 02 18:31:11 dom0 systemd[1]: Child 9260 (pulseaudio) died (code=killed, 
status=9/KILL)
Sep 02 18:31:11 dom0 systemd[1]: Child 9388 (gconf-helper) died (code=killed, 
status=15/TERM)
Sep 02 18:31:11 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:11 dom0 pulseaudio[9553]: [pulseaudio] authkey.c: Failed to open 
cookie file '/home/tripleh/.config/pulse/cookie': No such file or directory
Sep 02 18:31:11 dom0 pulseaudio[9553]: [pulseaudio] authkey.c: Failed to load 
authorization key '/home/tripleh/.config/pulse/cookie': No such fil...directory
Sep 02 18:31:11 dom0 pulseaudio[9556]: [pulseaudio] authkey.c: Failed to open 
cookie file '/home/tripleh/.config/pulse/cookie': No such file or directory
Sep 02 18:31:11 dom0 pulseaudio[9556]: [pulseaudio] authkey.c: Failed to load 
authorization key '/home/tripleh/.config/pulse/cookie': No such fil...directory
Sep 02 18:31:11 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:11 dom0 pulseaudio[9555]: [pulseaudio] authkey.c: Failed to open 
cookie file '/home/tripleh/.config/pulse/cookie': No such file or directory
Sep 02 18:31:11 dom0 pulseaudio[9555]: [pulseaudio] authkey.c: Failed to load 
authorization key '/home/tripleh/.config/pulse/cookie': No such fil...directory
Sep 02 18:31:11 dom0 pulseaudio[9557]: [pulseaudio] authkey.c: Failed to open 
cookie file '/home/tripleh/.config/pulse/cookie': No such file or directory
Sep 02 18:31:11 dom0 pulseaudio[9557]: [pulseaudio] authkey.c: Failed to load 
authorization key '/home/tripleh/.config/pulse/cookie': No such fil...directory
Sep 02 18:31:11 dom0 pulseaudio[9554]: [pulseaudio] authkey.c: Failed to open 
cookie file '/home/tripleh/.config/pulse/cookie': No such file or directory
Sep 02 18:31:11 dom0 pulseaudio[9554]: [pulseaudio] authkey.c: Failed to load 
authorization key '/home/tripleh/.config/pulse/cookie': No such fil...directory
Sep 02 18:31:11 dom0 rtkit-daemon[1452]: Successfully made thread 9561 of 
process 9561 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level 
-11.
Sep 02 18:31:11 dom0 rtkit-daemon[1452]: Supervising 1 threads of 1 processes 
of 1 users.
Sep 02 18:31:11 dom0 pulseaudio[9561]: [pulseaudio] pid.c: Stale PID file, 
overwriting.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 1 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9679 of 
process 9561 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 2 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 2 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9681 of 
process 9561 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 3 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 3 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9685 of 
process 9561 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 4 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 4 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9686 of 
process 9561 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 5 threads of 1 processes 
of 1 users.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 pulseaudio[9561]: [pulseaudio] authkey.c: Failed to open 
cookie file '/home/tripleh/.config/pulse/cookie': No such file or directory
Sep 02 18:31:20 dom0 pulseaudio[9561]: [pulseaudio] authkey.c: Failed to load 
authorization key '/home/tripleh/.config/pulse/cookie': No such fil...directory
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9560 (pulseaudio).
Sep 02 18:31:20 dom0 systemd[1]: Child 9560 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9690 of 
process 9690 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level 
-11.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 6 threads of 2 processes 
of 1 users.
Sep 02 18:31:20 dom0 pulseaudio[9690]: [pulseaudio] pid.c: Daemon already 
running.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9690 (pulseaudio).
Sep 02 18:31:20 dom0 systemd[1]: Child 9689 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Child 9690 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9692 of 
process 9692 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level 
-11.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 6 threads of 2 processes 
of 1 users.
Sep 02 18:31:20 dom0 pulseaudio[9692]: [pulseaudio] pid.c: Daemon already 
running.
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9692 (pulseaudio).
Sep 02 18:31:20 dom0 systemd[1]: Child 9692 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Child 9691 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9691 (n/a).
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9694 of 
process 9694 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level 
-11.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 6 threads of 2 processes 
of 1 users.
Sep 02 18:31:20 dom0 pulseaudio[9694]: [pulseaudio] pid.c: Daemon already 
running.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9694 (pulseaudio).
Sep 02 18:31:20 dom0 systemd[1]: Child 9694 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Child 9693 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Successfully made thread 9696 of 
process 9696 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level 
-11.
Sep 02 18:31:20 dom0 rtkit-daemon[1452]: Supervising 6 threads of 2 processes 
of 1 users.
Sep 02 18:31:20 dom0 pulseaudio[9696]: [pulseaudio] pid.c: Daemon already 
running.
Sep 02 18:31:20 dom0 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9696 (pulseaudio).
Sep 02 18:31:20 dom0 systemd[1]: Received SIGCHLD from PID 9695 (pulseaudio).
Sep 02 18:31:20 dom0 systemd[1]: Child 9696 (pulseaudio) died (code=exited, 
status=0/SUCCESS)
Sep 02 18:31:20 dom0 systemd[1]: Child 9695 (pulseaudio) died (code=exited, 
status=0/SUCCESS)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to