You are not logged in.
Cinnamon desktop environment, output audio device duplication, multiplication after every suspend.
I noticed this happening perhaps a year and a half ago, then for some time it stopped probably after a full update, then it started again maybe in December or November .
It's annoying because the DE crashes if you click on any of the fake duplicated outputs.
I think there were some suggestions on the net to restart pipewire but if I remember correctly it didn't do anything.
Only
sudo systemctl restart lightdm
resets the list to normal.
How would one go about investigating the cause? Is this a known bug?
Last edited by mrkli (2024-06-02 09:09:57)
Offline
The state of these nodes is handled by wireplumber, so that's the thing to restart. Make sure you're up to date, the newest, just released wireplumber 0.5.3 is supposed to contain a few fixes for this.
Offline
Forgot to add that I tried that too (yesterday again) but it doesn't do anything, except shuffle the outputs, or at least the order seemed to be changed a few times when I did it. I'm not sure since I didn't take screenshots every time.
Installing the update as we speak. Let's hope it does the trick.
Last edited by mrkli (2024-06-02 21:38:01)
Offline
Rebooted after wireplumber update.
No dice.
Suspended once, fine, twice, it starts again.
Offline
I stopped updating the kernel due to Nvidia after standby black screen, so I can't say if anything was fixed,
but this is one way of getting around the GUI mess:
-output switching
wpctl status
wp set-default <id>
bind the commands to some shortcuts hotkeys and you're golden.
Guess not.
Ran into problems with <id> changing around.
Alternative commands which find <id> by name of the device
(btw sh -c "command" doesn't work)
sh -c 'wpctl set-default $(wpctl status | grep "name" | grep "\d+" -Po | head -n 1)'
sh -c 'wpctl set-default $(wpctl status | grep "HDMI" | grep "\d+" -Po | head -n 1)'
Last edited by mrkli (2025-01-11 15:17:47)
Offline