wwmm / easyeffects

Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
GNU General Public License v3.0
6.5k stars 269 forks source link

Sink lost when application stops or switches #1544

Open Eonfge opened 2 years ago

Eonfge commented 2 years ago

EasyEffects Version

6.2.5 Flatpak

What package are you using?

Flatpak (Flathub)

Distribution

Fedora 36

Describe the bug

When switching tracks or halting the audio for a bit, the sink that the music player is connected to 'disappears' and it won't recover itself when I resume playback.

How to

Expected Behavior

I I expect that when I now click on another album, that EasyEffects keeps its 'enabled' behaviour for Lollypop.

Debug Log

I'll see if I can get it print a debug... You'll always see that the moment you enable debugging... things start to act up. Here is a partial trace.

(easyeffects:2): easyeffects-DEBUG: 21:54:31.714: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 21:54:31.714: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 21:54:31.714: pipe_manager: Stream/Output/Audio 136 Lollypop with timestamp 1653422071714412392 was added
(easyeffects:2): easyeffects-DEBUG: 21:54:31.714: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 21:54:31.714: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 21:54:31.714: node holder: 136, Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 21:54:31.715: pipe_manager: new metadata property: 136, , , 

Additional Information

No response

wwmm commented 2 years ago

As Process All Outputs is disabled what you are seeing may be a side effect of the solution for #1515. Long story short the media session manager (wireplumber or the built-in) is responsible for managing the stream when Process All Outputs is disabled.

Eonfge commented 2 years ago

Got a full log when I switched tracks a few times

(easyeffects:2): easyeffects-DEBUG: 22:17:28.085: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.085: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.086: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.086: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.086: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.086: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.087: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.087: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.087: node holder: 219, Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.100: pipe_manager: Stream/Output/Audio 220 Lollypop with timestamp 1653423448100209051 was added
(easyeffects:2): easyeffects-DEBUG: 22:17:28.101: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.101: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.102: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.102: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.102: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.102: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.104: pipe_manager: new metadata property: 220, target.node, Spa:Id, 91
(easyeffects:2): easyeffects-DEBUG: 22:17:28.104: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.104: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.113: pipe_manager: Lollypop port 135 is connected to easyeffects_sink port 195
(easyeffects:2): easyeffects-DEBUG: 22:17:28.113: pipe_manager: Lollypop port 210 is connected to easyeffects_sink port 128
(easyeffects:2): easyeffects-DEBUG: 22:17:28.115: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.115: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.115: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.115: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.120: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.121: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.121: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.121: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.121: pipe_manager: Stream/Output/Audio 136 Lollypop with timestamp 1653423448121618534 was added
(easyeffects:2): easyeffects-DEBUG: 22:17:28.121: node holder: 220, Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.122: pipe_manager: new metadata property: 220, , , 
(easyeffects:2): easyeffects-DEBUG: 22:17:28.123: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.123: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.124: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.124: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.124: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.124: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.134: pipe_manager: new metadata property: 136, target.node, Spa:Id, 91
(easyeffects:2): easyeffects-DEBUG: 22:17:28.134: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.134: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.218: pipe_manager: Lollypop port 101 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 51
(easyeffects:2): easyeffects-DEBUG: 22:17:28.218: pipe_manager: Lollypop port 209 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 53
(easyeffects:2): easyeffects-DEBUG: 22:17:28.218: pipe_manager: Lollypop port 197 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 55
(easyeffects:2): easyeffects-DEBUG: 22:17:28.218: pipe_manager: Lollypop port 100 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 57
(easyeffects:2): easyeffects-DEBUG: 22:17:28.221: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.221: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.222: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.222: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.222: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.222: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.228: pipe_manager: Lollypop port 100 is connected to easyeffects_sink port 195
(easyeffects:2): easyeffects-DEBUG: 22:17:28.228: pipe_manager: Lollypop port 197 is connected to easyeffects_sink port 128
(easyeffects:2): easyeffects-DEBUG: 22:17:28.232: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.233: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.497: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.497: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.498: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.498: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.498: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.498: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.499: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.499: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.499: node holder: 136, Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.512: pipe_manager: Stream/Output/Audio 113 Lollypop with timestamp 1653423448512308609 was added
(easyeffects:2): easyeffects-DEBUG: 22:17:28.514: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.514: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.516: pipe_manager: new metadata property: 113, target.node, Spa:Id, 91
(easyeffects:2): easyeffects-DEBUG: 22:17:28.517: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.517: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.517: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.517: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.518: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.518: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.525: pipe_manager: Lollypop port 105 is connected to easyeffects_sink port 195
(easyeffects:2): easyeffects-DEBUG: 22:17:28.525: pipe_manager: Lollypop port 218 is connected to easyeffects_sink port 128
(easyeffects:2): easyeffects-DEBUG: 22:17:28.527: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.527: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.527: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.527: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.533: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.533: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.533: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.533: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 22:17:28.533: pipe_manager: Stream/Output/Audio 220 Lollypop with timestamp 1653423448533753243 was added
(easyeffects:2): easyeffects-DEBUG: 22:17:28.533: node holder: 113, Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:17:28.534: pipe_manager: new metadata property: 113, , , 
(easyeffects:2): easyeffects-DEBUG: 22:17:28.535: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.535: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.536: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.536: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.536: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.536: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.546: pipe_manager: new metadata property: 220, target.node, Spa:Id, 91
(easyeffects:2): easyeffects-DEBUG: 22:17:28.547: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.547: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.645: pipe_manager: Lollypop port 131 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 51
(easyeffects:2): easyeffects-DEBUG: 22:17:28.645: pipe_manager: Lollypop port 210 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 53
(easyeffects:2): easyeffects-DEBUG: 22:17:28.645: pipe_manager: Lollypop port 208 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 55
(easyeffects:2): easyeffects-DEBUG: 22:17:28.645: pipe_manager: Lollypop port 221 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 57
(easyeffects:2): easyeffects-DEBUG: 22:17:28.648: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.648: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.649: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.649: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.649: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.649: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.653: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.653: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.655: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:28.655: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:17:34.277: soe: No app linked to our device wants to play. Unlinking our filters.

And another one with an actual crash:

(easyeffects:2): easyeffects-DEBUG: 22:32:33.277: soe: No app linked to our device wants to play. Unlinking our filters.
(easyeffects:2): easyeffects-DEBUG: 22:32:41.834: pipe_manager: new metadata property: 225, target.object, Spa:Id, 2146
(easyeffects:2): easyeffects-DEBUG: 22:32:43.404: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 22:32:43.405: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.405: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.407: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 22:32:43.407: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:32:43.407: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 22:32:43.430: pipe_manager: Stream/Output/Audio 225 Lollypop with timestamp 1653424363430407499 was added
(easyeffects:2): easyeffects-DEBUG: 22:32:43.432: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.432: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.433: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.433: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.433: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.433: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.435: pipe_manager: new metadata property: 225, target.node, Spa:Id, 91
(easyeffects:2): easyeffects-DEBUG: 22:32:43.435: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.435: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.442: pipe_manager: Lollypop port 80 is connected to easyeffects_sink port 195
(easyeffects:2): easyeffects-DEBUG: 22:32:43.442: pipe_manager: Lollypop port 208 is connected to easyeffects_sink port 128
(easyeffects:2): easyeffects-DEBUG: 22:32:43.443: soe: At least one app linked to our device wants to play. Linking our filters.
(easyeffects:2): easyeffects-DEBUG: 22:32:43.445: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.445: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.445: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.445: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.451: pipe_manager: Stream/Output/Audio Lollypop was removed
(easyeffects:2): easyeffects-DEBUG: 22:32:43.451: app_info: Lollypop disposed
(easyeffects:2): easyeffects-DEBUG: 22:32:43.452: app_info: Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:32:43.452: app_info: data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 22:32:43.452: node holder: 225, Lollypop finalized
(easyeffects:2): easyeffects-DEBUG: 22:32:43.452: pipe_manager: Stream/Output/Audio 210 Lollypop with timestamp 1653424363452281484 was added
(easyeffects:2): easyeffects-DEBUG: 22:32:43.452: pipe_manager: new metadata property: 225, , , 
(easyeffects:2): easyeffects-DEBUG: 22:32:43.454: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.454: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.455: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.455: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.455: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.455: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.465: pipe_manager: new metadata property: 210, target.node, Spa:Id, 91
(easyeffects:2): easyeffects-DEBUG: 22:32:43.466: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.466: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.584: pipe_manager: Lollypop port 86 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 51
(easyeffects:2): easyeffects-DEBUG: 22:32:43.584: pipe_manager: Lollypop port 215 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 53
(easyeffects:2): easyeffects-DEBUG: 22:32:43.584: pipe_manager: Lollypop port 226 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 55
(easyeffects:2): easyeffects-DEBUG: 22:32:43.584: pipe_manager: Lollypop port 221 is connected to alsa_output.usb-2516_Sirus_Headset-00.analog-surround-40 port 57
(easyeffects:2): easyeffects-DEBUG: 22:32:43.587: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.587: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.588: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.588: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.588: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.588: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.592: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 22:32:43.592: app_info: cannot lookup application icon org.gnome.Lollypop in /usr/local/share/pixmaps

(easyeffects:2): easyeffects-WARNING **: 22:32:43.880: pipe_manager: Remote error res: Broken pipe

(easyeffects:2): easyeffects-WARNING **: 22:32:43.880: pipe_manager: Remote error message: connection error
(easyeffects:2): easyeffects-DEBUG: 22:32:45.767: node holder: 225, Lollypop finalized

In the second case, I was switching songs and trying to enable EasyEffects in an attempt to get it restored.

wwmm commented 2 years ago

And another one with an actual crash:

The broken connection warning isn't necessarily a crash. I think EasyEffects still works after printing them.

I think I will need some clarification about what you mean by sink lost. Is our virtual device disappearing? Or is lollypop going to another one when you start a new stream? Once you tell EasyEffects to not process all streams it will be up to PipeWire's media session manager to decide where the new stream should go.

sephid86 commented 2 years ago

@Eonfge

It could be a problem with 'pipewire-media-session'.

I too have had a similar experience.

In my case, installing 'wireplumber' solved it.

archiwiki recommends 'wireplumber' as media-session-manager.

wwmm commented 2 years ago

In my case, installing 'wireplumber' solved it.

Now I wonder if the built-in session manager does not have the "stream device restoration magic". Maybe it is a wireplumber thing... In any case the future of PipeWire is having these tasks in wireplumber. So the worst case would be to have wireplumber broken.

sephid86 commented 2 years ago

Now I wonder if the built-in session manager does not have the "stream device restoration magic".

@wwmm The translator is stupid, so I don't know what you're talking about.

maybe this? https://github.com/wwmm/easyeffects/issues/1550

Every time I see your nickname here, I bow my head to say thank you. :)

wwmm commented 2 years ago

The translator is stupid, so I don't know what you're talking about.

As the problem seems to happen when Process All Outputs is disabled a possible cause would be the session manager not moving the new player streamer to our device. Once you disable Process All Outputs in EasyEffects it is the session manager job to decide to where the new stream will be linked to. If changing to wireplumber is fixing the problem it is probably because it is doing something that the built-in manager does not.

Every time I see your nickname here, I bow my head to say thank you. :)

:smile:

sephid86 commented 2 years ago

This stupid translator only now understands what you're saying.

Process al output audio = false; Looking at this option, I think it's a problem with 'pipewire-media-session'.

If not... no idea..

If changing to wireplumber is fixing the problem it is probably because it is doing something that the built-in manager does not.

My guess is that 'pipewire-media-session' is lazy.

Looks like 'wireplumber' is holding a whip.