You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to this PR (#3638) we now have source audio support in Waybar 🎉 !
I have noticed a weird bug from this, and while I think it is a upstream Wireplumber issues. I think we should put a fix/hack in place for now.
Steps to reproduce:
Disable any sources you have. I used pwvucontrol and set the default sound card's (the one built into my laptop) profile to only output, and then I unplugged any webcams/microphones.
Run wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
This will then toggle the mute on the SINK i.e. the output instead of the source (input).
Due to this weird behavior, waybar crashes on launch as it tries to update the name of the card.
[2025-03-28 12:57:30.741] [error] [wireplumber]: Object '81' not found
[2025-03-28 12:57:30.741] [error] [wireplumber]: Object '81' not found
> pw-cli ls | grep -A 11 "id 81"
id 81, type PipeWire:Interface:Node/3
object.serial = "375"
object.path = "alsa:acp:Generic:3:playback"
factory.id = "19"
client.id = "43"
device.id = "51"
priority.session = "1009"
priority.driver = "1009"
node.description = "Family 17h/19h/1ah HD Audio Controller Analog Stereo"
node.name = "alsa_output.pci-0000_06_00.6.analog-stereo"
node.nick = "ALC287 Analog"
media.class = "Audio/Sink"
with just return it prints off the error, but keeps the program running.
But if you try to change the volume, mute, or use the module, it will instead send the commands down to the sink instead. This is the same behaviour as wireplumber wpctl command.
The text was updated successfully, but these errors were encountered:
Thanks to this PR (#3638) we now have source audio support in Waybar 🎉 !
I have noticed a weird bug from this, and while I think it is a upstream Wireplumber issues. I think we should put a fix/hack in place for now.
Steps to reproduce:
pwvucontrol
and set the default sound card's (the one built into my laptop) profile to only output, and then I unplugged any webcams/microphones.wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
Due to this weird behavior, waybar crashes on launch as it tries to update the name of the card.
my config
Notice how it's trying to reference the object with "Audio/Sink" instead of a source.
@RowanLeeder, any ideas on how we should fix this? We could try and split out the code like in PR: #1905
If we place
Waybar/src/modules/wireplumber.cpp
Line 77 in 4a8d527
return
it prints off the error, but keeps the program running.But if you try to change the volume, mute, or use the module, it will instead send the commands down to the sink instead. This is the same behaviour as wireplumber
wpctl
command.The text was updated successfully, but these errors were encountered: