pipewire 0.3.24 rotates channel config, swapping speakers around
If you are filing this issue with a regular release please try master as it might already be fixed.
well given 0.3.24 has only been out for a few days, I figured this'll be a lot less pain than installing from HEAD.
Version, Distribution, Desktop Environment: EndeavourOS (Arch variant), Cinnamon desktop
Description of Problem: I've noticed a weird problem in the last week, likely since the 0.3.24 release. while playing audio continuously, the channels will swap around, switching left and right in stereo mode, and seemingly swapping the channels at random in 5.1 via HDMI. so right now, front-left output comes from front-right, center seems to go to the subwoofer, front-right comes from rear-left, rear-left from rear-right, and rear-right from center.
I've fully unplugged and replugging my AV receiver while this is happening, as well as tested audio from other sources, nothing else seems to cause this problem, so I'm fairly sure it's a problem with pipewire itself. restarting the pipewire user services doesn't help, have to reboot when it happens.
How Reproducible: happens every couple of days after extended audio usage. I haven't figured out a pattern that'll trigger it on demand, which makes this harder to debug. however, the error does feel like an index offset error, where it's doing an offset mod of the channel indexes and they just get rotated around before being output on the HDMI. maybe that'll help track down where this occurring in the codebase.
Steps to Reproduce:
- play audio for a few hours.
Actual Results: channels swap around at some point with audio coming from all the wrong places.
audio keeps playing as normal forever.
Additional Info Eg.
pw-dump > file (As Attachment Please):