pwvucontrol icon indicating copy to clipboard operation
pwvucontrol copied to clipboard

Spamming wireplumber's `wp-event-dispatcher ... failed ...link failed: some node was destroyed before the link was created`

Open C0rn3j opened this issue 4 months ago • 3 comments

Repro possible with python's playsound library, or more directly with gst which it uses:

  1. pwvucontrol
  2. journalctl --user -efu wireplumber
  3. gst-launch-1.0 -v playbin 'uri=file:///home/c0rn3j/Nextcloud/HugeFiles/Music/Alissic - bugfood/01 - bugfood.mp3'
  4. See the log:
Sep 30 19:46:47 Luxuria wireplumber[2630621]: wp-event-dispatcher: <WpAsyncEventHook:0x5bc5428b1c40> failed: <WpSiStandardLink:0x5bc542e325a0> link failed: some node was destroyed before the link was created

pavucontrol&pavucontrol-qt suffer from the same bug, but they do not handle the stream errors/readiness at all, so they bug out severely as per https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/154

gst somehow creates multiple sinks I suppose?

Maybe pwvucontrol should wait a couple miliseconds before creating the link? Maybe it's a gst bug that should ALSO be fixed?

I have no idea.

This ends up spamming my wireplumber log badly, as the line can trigger multiple times per played file.

C0rn3j avatar Sep 30 '24 17:09 C0rn3j