PulseAudio Connection Terminated

272 views
Skip to first unread message

entr0py

unread,
Jul 29, 2016, 4:57:47 PM7/29/16
to qubes-users
On a freshly rebooted Qubes 3.1, dom0 pulseaudio process consumes 100% cpu every 5 secs. Pulseaudio Manager shows a connection to server for a split second before announcing `Failure: Connection terminated`. This cycles continuously.

Not sure what triggered this issue. May have been recent updates and/or "Attaching audio-input to VM". Have not experienced this in the prior year of using Qubes. "Detaching audio-input" does not work.

Tips to troubleshoot? TIA.

3n7r...@gmail.com

unread,
Jul 29, 2016, 6:33:39 PM7/29/16
to qubes-users
1. Deleting config files `~/.pulse`, `~/.config/pulse` did not resolve.

2. PulseAudio Manager Client Information says:
Linked to Library 5.0.0
Compiled with Library 4.0.0
Is that a problem?

3. pulseaudio -vvvv:
I: [pulseaudio] main.c: Daemon startup complete.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC1 is accessible: yes
D: [pulseaudio] module-udev-detect.c: Resuming all sinks and sources of card alsa_card.pci-0000_01_00.1.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] module-udev-detect.c: Resuming all sinks and sources of card alsa_card.pci-0000_00_1b.0.
I: [pulseaudio] module-suspend-on-idle.c: Source alsa_input.pci-0000_00_1b.0.analog-stereo idle for too long, suspending ...
D: [pulseaudio] source.c: Suspend cause of source alsa_input.pci-0000_00_1b.0.analog-stereo is 0x0004, suspending
I: [alsa-source-ALC898 Analog] alsa-source.c: Device suspended...
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is 0x0004, suspending
I: [alsa-sink-ALC898 Analog] alsa-sink.c: Device suspended...
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_01_00.1.hdmi-stereo idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.pci-0000_01_00.1.hdmi-stereo is 0x0004, suspending
Killed

Marek Marczykowski-Górecki

unread,
Jul 29, 2016, 6:51:31 PM7/29/16
to 3n7r...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Check kernel messages - maybe this is out of memory condition?


- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXm93tAAoJENuP0xzK19csaH8H+gOXLALzLuf+Mu0a7hMqUoQ/
P797s8dRQhZiaVdgLpQBowLiS65w15NS0sO9FXiTdCmArsGqyOFWP9cQ5wiIPTxN
1XZLfvjAECCvqB1oIvQzF7EWP6ex3MFpUo/mYhM7g15kQnnaxEZDXuYJonTVkb5V
7Dcxas42Yc7R1yLMYwpw+Xs+b64apfk9VSo+AiAWF8oOPWbayIcKN4baBJ9+RTSi
jmIG9t3iF1zky3k+SvSCtB6+dZZVWkuuqrGGcdTFk9DMx9vxz2cGduiyCanQm94k
lb+m1b5e65S8brmgAC9wAm5Li0F/9p/1HDNAV1UtCX6WaFiMuQJpIqPdiGeT8Eo=
=j9Vd
-----END PGP SIGNATURE-----

3n7r...@gmail.com

unread,
Jul 29, 2016, 10:25:59 PM7/29/16
to qubes-users, 3n7r...@gmail.com
On Friday, July 29, 2016 at 10:51:31 PM UTC, Marek Marczykowski-Górecki wrote:
>
> Check kernel messages - maybe this is out of memory condition?
>

No kernel error messages.
Machine has 16GB RAM - dom0 has 4GB.
No changes in hardware since last successful boot.

Really need some help with this.
Machine is locking up every 5 secs. Plus I need audio.
Thanks!

(For a few minutes I thought the issue might have resolved itself, but when I launched PulseAudio Volume Control, it went haywire again. No idea if those events are related.)

Marek Marczykowski-Górecki

unread,
Jul 30, 2016, 8:11:01 AM7/30/16
to 3n7r...@gmail.com, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Maybe it is related to HDMI audio output? Try to disable it (for example
unload snd-hda-codec-hdmi kernel module).

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXnJlPAAoJENuP0xzK19css4MH/jKfYGzVomZ1SRX/WhlbPql5
HVwB9NGSoehTvgUrgc+NeblOQMzBfoc/ChEEATPPAg+XZZXiP2IK7g2xqhULnG44
rkl+g27Fn8kRU6Wy3eCVngG4h+WuB2Uqek4TKn3YUgTmejqGK7p7Gr0E5Awt5fiK
bmjjn1SFq0d+8YUEqrcnjB0K+susTkqCbjPoWWm+QkBp+9YVxWLULKWGclJxbtXF
/qE6WtJE2VEGQjUyz31Emm1pUXTH3usJ9+ElFU90TCtk3Lpdu/EChKTTk6EXWGad
j1xBns9xJginf8Xc6+XjQknivrwPd/RXrHZ0EfKXRf2FGB2UVvkDC0aqHCJcLrk=
=NCPa
-----END PGP SIGNATURE-----

entr0py

unread,
Jul 30, 2016, 3:33:27 PM7/30/16
to Marek Marczykowski-Górecki, qubes-users
Marek Marczykowski-Górecki:
> Maybe it is related to HDMI audio output? Try to disable it (for example
> unload snd-hda-codec-hdmi kernel module).

Thanks Marek! I figured it out this morning but `Replied` to Myself :/ Sorry to waste your time.


> On Sat, Jul 30, 2016 at 04:11:50 AM UTC, 3n7r...@gmail.com wrote:
>
> Issue resolved (not sure if Qubes related or not):
>
> 2 sound devices are present: HDMI-Audio via graphics card & Integrated Intel HD Audio
> Launch `pavucontrol`. For HDMI-Audio, disable Profile (set to `off`).
>
> This means either:
> 1. I had the profile off originally and a recent update reset the setting or...
> 2. I had the profile on but a recent update requires that it be off.
>
Reply all
Reply to author
Forward
0 new messages