Configure wireplumber to not show unavailable sinks

Which Linux distro are you using?
NixOS
Which release version?
rolling
Which kernel are you using?
6.16.4
Which BIOS version are you using?
0.0.3.4
Which Framework Laptop 13 model are you using? (AMD Ryzen™ AI 300 Series, AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)
Ryzen 5 AI 300

Every time I plug my computer to a monitor, instead of having 1 more pipewire sink becoming available, I’m getting four new (in pwvucontrol, or other programs listing my sinks):

  • Rembrandt Radeon High Definition HDMI / DisplayPort 1 Output
  • Rembrandt Radeon High Definition HDMI / DisplayPort 2 Output
  • Rembrandt Radeon High Definition HDMI / DisplayPort 3 Output
  • Rembrandt Radeon High Definition HDMI / DisplayPort 4 Output

Yet, only one of those is available (because i’m plugging only to one port). The three other are superfluous.

How can I configure wireplumber to not list the unavailable routes as available sinks?

I suggest filing a bug against wireplumber. Maybe it needs to be looking at the enabled attribute in drm for the output to deciding whether the stream is available or something?

You should also file a second bug to drop the word Rembrandt. I think it’s better to say something like Integrated Radeon HDMI / DisplayPort # Output