You are not logged in.
When using PulseAudio, everything's fine. Today I tried to switch to PipeWire. I can manually change the volumes in alsamixer so that I hear sound on headphones (using combo jack) or speakers or both (if I wanted to).
But I would expect WirePlumber to do the switching for me since it clearly is recognized, at least by acpi output:
jack/headphone HEADPHONE plug
jack/microphone MICROPHONE plug
jack/headphone HEADPHONE unplug
jack/microphone MICROPHONE unplugI have installed:
wireplumber
pipewire-pulse
pipewire-alsa
alsa-utilsI ran through everything I could find, but even when searching for wireplumber auto-mute mode, nothing helpful to me came up.
Any help is appreciated.
Last edited by Kepis (2022-10-14 18:02:10)
Offline
Moved to "Applications and Desktop Environments" per-request of the poster.
All the best,
-HG
Offline
Does it work if you manually set the headphones as the default output in pavucontrol?
https://gitlab.freedesktop.org/pipewire … issues/352
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I have only one output/input sink/source available. How can I change it? It doesn't seem to be hidden anywhere in pw.
I can only change the settings in alsamixer, like pulseaudio seemed to be doing.
pw-cli ls Node (filtered audio only): has identical output with and without headphones.
id 28, type PipeWire:Interface:Node/3
object.serial = "28"
factory.id = "10"
priority.driver = "20000"
node.name = "Dummy-Driver"
id 29, type PipeWire:Interface:Node/3
object.serial = "29"
factory.id = "10"
priority.driver = "19000"
node.name = "Freewheel-Driver"
id 37, type PipeWire:Interface:Node/3
object.serial = "42"
factory.id = "10"
client.id = "34"
node.name = "Midi-Bridge"
media.class = "Midi/Bridge"
id 54, type PipeWire:Interface:Node/3
object.serial = "59"
object.path = "alsa:pcm:1:hw:1,0:playback"
factory.id = "18"
client.id = "34"
device.id = "45"
priority.session = "1000"
priority.driver = "1000"
node.description = "Family 17h/19h HD Audio Controller Pro"
node.name = "alsa_output.pci-0000_05_00.6.pro-output-0"
node.nick = "ALC257 Analog"
media.class = "Audio/Sink"
id 55, type PipeWire:Interface:Node/3
object.serial = "60"
object.path = "alsa:pcm:1:hw:1,0:capture"
factory.id = "18"
client.id = "34"
device.id = "45"
priority.session = "2000"
priority.driver = "2000"
node.description = "Family 17h/19h HD Audio Controller Pro"
node.name = "alsa_input.pci-0000_05_00.6.pro-input-0"
node.nick = "ALC257 Analog"
media.class = "Audio/Source"Offline
amixer -c 0 sset 'Auto-Mute Mode' EnabledThis helped with auto-mute, but the volume stays the same, like in Windows, unlike pulsaudio
Offline
alsa_output.pci-0000_05_00.6.pro-output-0It looks like you chose the "pro" profile for your card. I'd suggest you try to set it to the normal "analog stereo duplex" with pavucontrol. The pro profile might disable things like autodetect, hardware volume control and so on and give direct access to all ports to audio software.
Last edited by progandy (2022-10-13 16:07:30)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Oh, didn't think of that, but it would make sence. And actually it did fix the issue, thanks.
By the way, when set like this, I noticed in alsamixer the PCM is often adjusted too, like 97 instead of 100. Is there a particular reason why it changes PCM instead of only using master volume?
Offline
To map them logically to HW volume, you can technically configure them to not touch the mixers at all and just use software volume but that could directly conflict with e.g. the desire to remember headphone/non-headphone volume states and the like. it also allows more fine grained volume control that can properly map to the HW.
For the technical details read: https://www.freedesktop.org/wiki/Softwa … MyVolumes/ (in case you are wondering why this is a pulseaudio link, the general logic here is directly shared and copied from pulseaudio so all of this generally still applies)
Last edited by V1del (2022-10-14 13:10:37)
Offline