[pulseaudio-tickets] [Bug 102987] The "pacmd set-default-sink" command doesn't work anymore (as of v11.x)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 12 16:20:26 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102987

--- Comment #9 from Tanu Kaskinen <tanuk at iki.fi> ---
The behaviour that Nils sees is indeed expected. But the behaviour on Xavion's
machine is not. PulseAudio sees that HDMI is available and headphones are not.
In this situation the HDMI sink should automatically become the default.

Can you attach (use the "Add an attachment" link, don't paste to the comment
box) the verbose log of the pulseaudio server? Instructions for getting the
log:

1. Disable automatic starting of PulseAudio. If your distro uses
systemd's socket activation to start PulseAudio, run

    systemctl --user --now mask pulseaudio.service pulseaudio.socket

If your distro doesn't do that, put "autospawn = no" to
~/.config/pulse/client.conf.

2. Stop pulseaudio with "killall pulseaudio" (the previous systemctl
command might have stopped it already, though).

3. Start pulseaudio in a terminal with verbose logging:

    pulseaudio -vv

4. Run "pactl set-default-sink alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1"

5. Stop pulseaudio with ctrl-c.

6. To return things back to normal, run

    systemctl --user unmask pulseaudio.service pulseaudio.socket

if you masked the service before. And remove the "autospawn = no" line
from client.conf if you added it there.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20171012/47f280c5/attachment.html>


More information about the pulseaudio-bugs mailing list