wwmm / easyeffects

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

Audio doesn't work after waking from sleep. #2480

Open tazihad opened 12 months ago

tazihad commented 12 months ago

EasyEffects Version

7.0.6

What package are you using?

Flatpak (Flathub)

Distribution

Fedora Kinoite 38

Describe the bug

I have applied the convolver effect from here. When laptop is wake from sleep. Audio doesn't work. It used to work in older versions. But if I disable the effect sound works again.

Expected Behavior

No response

Debug Log

No response

Additional Information

No response

wwmm commented 5 months ago

I've tried to run EasyEffects in a distrobox rather than Flatpak. The bug is still there, but I can just close EE and the sound comes back. No need to run easyeffects -q.

By closing do you mean closing its window? Did easyeffects process die after closing it? Strange... Unless the option that that lets the process die when the window is closed is enabled...

bhack commented 5 months ago

Based on some of the logs above the "sleep bug" does not depend on the default device signal

Where is this log?

checkinindza commented 5 months ago

Can you check the received log events before sleep and after resume from sleep with #2920 (comment) ?

I am curious to see if you are receiving a new default sink event on resume

Log ``` (process:22476): easyeffects-DEBUG: 19:33:11.772: easyeffects.cpp:35 easyeffects version: 7.1.4 (process:22476): easyeffects-DEBUG: 19:33:11.773: easyeffects.cpp:45 locale directory: /usr/share/locale (easyeffects:22476): easyeffects-DEBUG: 19:33:11.774: presets_manager.cpp:162 user presets directory already exists: /home/righn/.config/easyeffects/ (easyeffects:22476): easyeffects-DEBUG: 19:33:11.774: presets_manager.cpp:162 user presets directory already exists: /home/righn/.config/easyeffects/input (easyeffects:22476): easyeffects-DEBUG: 19:33:11.774: presets_manager.cpp:162 user presets directory already exists: /home/righn/.config/easyeffects/output (easyeffects:22476): easyeffects-DEBUG: 19:33:11.774: presets_manager.cpp:162 user presets directory already exists: /home/righn/.config/easyeffects/autoload/input (easyeffects:22476): easyeffects-DEBUG: 19:33:11.774: presets_manager.cpp:162 user presets directory already exists: /home/righn/.config/easyeffects/autoload/output (easyeffects:22476): Gtk-WARNING **: 19:33:11.790: Unknown key gtk-modules in /home/righn/.config/gtk-4.0/settings.ini (easyeffects:22476): Adwaita-WARNING **: 19:33:11.850: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. (easyeffects:22476): easyeffects-DEBUG: 19:33:11.870: pipe_manager.cpp:1481 compiled with PipeWire: 1.0.2 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.870: pipe_manager.cpp:1482 linked to PipeWire: 1.0.3 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1452 core version: 1.0.3 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1453 core name: pipewire-0 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1364 found metadata: settings (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1364 found metadata: default (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1364 found metadata: sm-objects (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1364 found metadata: route-settings (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1219 Audio/Sink 55 alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink with serial 1652 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1219 Audio/Source 89 alsa_input.pci-0000_07_00.6.HiFi__hw_Generic__source with serial 1653 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1219 Audio/Source 45 alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source with serial 1654 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1219 Audio/Sink 68 easyeffects_sink with serial 1771 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:1219 Audio/Source/Virtual 62 easyeffects_source with serial 1772 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:955 new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_07_00.3-usb-0_3_1.0"} (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:955 new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink"} (easyeffects:22476): easyeffects-DEBUG: 19:33:11.874: pipe_manager.cpp:955 new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source"} (easyeffects:22476): easyeffects-DEBUG: 19:33:11.875: pipe_manager.cpp:1578 easyeffects_sink node successfully retrieved with id 68 and serial 1771 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.875: pipe_manager.cpp:1583 easyeffects_source node successfully retrieved with id 62 and serial 1772 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.879: plugin_base.cpp:370 soe: output_level successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.880: plugin_base.cpp:370 soe: spectrum successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.923: lv2_wrapper.cpp:100 http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:22476): easyeffects-DEBUG: 19:33:11.931: plugin_base.cpp:370 soe: equalizer successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.932: pipe_manager.cpp:1259 easyeffects_sink port 65 is connected to ee_soe_equalizer port 106 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.932: pipe_manager.cpp:1259 easyeffects_sink port 71 is connected to ee_soe_equalizer port 105 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.933: plugin_base.cpp:370 soe: convolver successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.934: pipe_manager.cpp:1259 ee_soe_equalizer port 104 is connected to ee_soe_convolver port 109 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.934: pipe_manager.cpp:1259 ee_soe_equalizer port 103 is connected to ee_soe_convolver port 108 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.937: plugin_base.cpp:370 sie: output_level successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.939: plugin_base.cpp:370 sie: spectrum successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.940: stream_output_effects.cpp:328 disconnecting the convolver filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:11.941: pipe_manager.cpp:213 110 ee_soe_convolver has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:11.941: stream_output_effects.cpp:328 disconnecting the equalizer filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:11.941: pipe_manager.cpp:213 102 ee_soe_equalizer has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:11.944: plugin_base.cpp:370 soe: equalizer successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.944: pipe_manager.cpp:1259 easyeffects_sink port 65 is connected to ee_soe_equalizer port 93 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.944: pipe_manager.cpp:1259 easyeffects_sink port 71 is connected to ee_soe_equalizer port 92 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.945: plugin_base.cpp:370 soe: convolver successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:11.945: pipe_manager.cpp:1259 ee_soe_equalizer port 53 is connected to ee_soe_convolver port 111 (easyeffects:22476): easyeffects-DEBUG: 19:33:11.945: pipe_manager.cpp:1259 ee_soe_equalizer port 102 is connected to ee_soe_convolver port 106 easyeffects-INFO: 19:33:11.950: application.cpp:52 disabling global bypass (easyeffects:22476): easyeffects-DEBUG: 19:33:11.974: application_ui.cpp:91 Icon Theme Tela-blue-dark detected (easyeffects:22476): easyeffects-DEBUG: 19:33:12.180: convolver_ui.cpp:624 irs directory already exists: /home/righn/.config/easyeffects/irs (easyeffects:22476): easyeffects-DEBUG: 19:33:12.262: stream_output_effects.cpp:328 disconnecting the convolver filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:12.263: pipe_manager.cpp:213 105 ee_soe_convolver has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:12.263: stream_output_effects.cpp:328 disconnecting the equalizer filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:12.264: pipe_manager.cpp:213 122 ee_soe_equalizer has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:12.267: plugin_base.cpp:370 soe: equalizer successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:12.267: pipe_manager.cpp:1259 easyeffects_sink port 65 is connected to ee_soe_equalizer port 109 (easyeffects:22476): easyeffects-DEBUG: 19:33:12.267: pipe_manager.cpp:1259 easyeffects_sink port 71 is connected to ee_soe_equalizer port 108 (easyeffects:22476): easyeffects-DEBUG: 19:33:12.269: plugin_base.cpp:370 soe: convolver successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:12.269: pipe_manager.cpp:1259 ee_soe_equalizer port 59 is connected to ee_soe_convolver port 104 (easyeffects:22476): easyeffects-DEBUG: 19:33:12.270: pipe_manager.cpp:1259 ee_soe_equalizer port 122 is connected to ee_soe_convolver port 93 (easyeffects:22476): easyeffects-DEBUG: 19:33:12.275: application.cpp:80 new default output device: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink (easyeffects:22476): easyeffects-DEBUG: 19:33:12.275: application.cpp:88 new default input device: alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source (easyeffects:22476): easyeffects-DEBUG: 19:33:12.275: application.cpp:132 device alsa_card.pci-0000_07_00.6 has changed its output route to: [Out] Speaker (easyeffects:22476): easyeffects-DEBUG: 19:33:12.275: application.cpp:100 device alsa_card.pci-0000_07_00.6 has changed its input route to: [In] Mic1 (easyeffects:22476): easyeffects-DEBUG: 19:33:12.275: application.cpp:120 input autoloading: the target node name does not match the input device name (easyeffects:22476): easyeffects-DEBUG: 19:33:22.410: stream_output_effects.cpp:162 No app linked to our device wants to play. Unlinking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:33:22.410: stream_output_effects.cpp:328 disconnecting the convolver filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:22.411: pipe_manager.cpp:213 92 ee_soe_convolver has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:22.411: stream_output_effects.cpp:328 disconnecting the equalizer filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:22.412: pipe_manager.cpp:213 127 ee_soe_equalizer has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:22.413: stream_input_effects.cpp:168 No app linked to our device wants to play. Unlinking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:33:30.986: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:31.233: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:31.461: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.119: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.160: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.200: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.240: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.280: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.320: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.359: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.400: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.440: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.480: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.519: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.559: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.600: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:32.916: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.764: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.866: pipe_manager.cpp:1219 Stream/Output/Audio 41 Firefox with serial 2036 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:41.867: pipe_manager.cpp:955 new metadata property: 41, target.node, Spa:Id, 68 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.867: pipe_manager.cpp:955 new metadata property: 41, target.object, Spa:Id, 1771 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.871: pipe_manager.cpp:1259 Firefox port 118 is connected to easyeffects_sink port 67 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.871: pipe_manager.cpp:1259 Firefox port 111 is connected to easyeffects_sink port 63 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.876: stream_output_effects.cpp:150 At least one app linked to our device wants to play. Linking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:33:41.878: plugin_base.cpp:370 soe: equalizer successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:41.878: pipe_manager.cpp:1259 easyeffects_sink port 65 is connected to ee_soe_equalizer port 122 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.878: pipe_manager.cpp:1259 easyeffects_sink port 71 is connected to ee_soe_equalizer port 59 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.880: plugin_base.cpp:370 soe: convolver successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:41.880: pipe_manager.cpp:1259 ee_soe_equalizer port 108 is connected to ee_soe_convolver port 105 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.881: pipe_manager.cpp:1259 ee_soe_equalizer port 53 is connected to ee_soe_convolver port 130 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: convolver.cpp:284 soe: convolver: irs file: /home/righn/.config/easyeffects/irs/Razor Surround ((48k Z-Edition)) 2.Stereo +20 bass.irs (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: output_level.cpp:37 soe: output_level: PipeWire blocksize: 2048 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: convolver.cpp:285 soe: convolver: irs rate: 48000 Hz (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: output_level.cpp:38 soe: output_level: PipeWire sampling rate: 48000 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: convolver.cpp:286 soe: convolver: irs channels: 2 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: convolver.cpp:287 soe: convolver: irs frames: 8916 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.895: convolver.cpp:326 soe: convolver: kernel initialized (easyeffects:22476): easyeffects-DEBUG: 19:33:41.896: convolver.cpp:362 soe: autogain factor: 0.7589114 (easyeffects:22476): easyeffects-DEBUG: 19:33:41.898: convolver.cpp:444 soe: convolver: zita is ready (easyeffects:22476): easyeffects-DEBUG: 19:33:41.908: convolver.cpp:244 soe: convolver latency: 0 s (easyeffects:22476): easyeffects-DEBUG: 19:33:41.908: effects_base.cpp:265 soe: pipeline latency: 0 ms (easyeffects:22476): easyeffects-DEBUG: 19:33:42.419: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:42.460: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:42.501: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:42.953: pipe_manager.cpp:955 new metadata property: 131, target.node, Spa:Id, -1 (easyeffects:22476): easyeffects-DEBUG: 19:33:48.405: stream_output_effects.cpp:162 No app linked to our device wants to play. Unlinking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:33:48.405: stream_output_effects.cpp:328 disconnecting the convolver filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:48.406: pipe_manager.cpp:213 92 ee_soe_convolver has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:48.406: stream_output_effects.cpp:328 disconnecting the equalizer filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:33:48.407: pipe_manager.cpp:213 127 ee_soe_equalizer has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:59.452: pipe_manager.cpp:213 Audio/Sink 55 alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:59.452: pipe_manager.cpp:213 Audio/Source 89 alsa_input.pci-0000_07_00.6.HiFi__hw_Generic__source has been removed (easyeffects:22476): easyeffects-DEBUG: 19:33:59.452: pipe_manager.cpp:213 Audio/Source 45 alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source has been removed (easyeffects:22476): easyeffects-WARNING **: 19:33:59.454: pipe_manager.cpp:1428 Remote error res: No such file or directory (easyeffects:22476): easyeffects-WARNING **: 19:33:59.454: pipe_manager.cpp:1429 Remote error message: unknown resource 39 op:2 (easyeffects:22476): easyeffects-WARNING **: 19:33:59.454: pipe_manager.cpp:1428 Remote error res: No such file or directory (easyeffects:22476): easyeffects-WARNING **: 19:33:59.454: pipe_manager.cpp:1429 Remote error message: unknown resource 39 op:2 (easyeffects:22476): easyeffects-DEBUG: 19:33:59.454: node_info_holder.cpp:98 55, alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink finalized (easyeffects:22476): easyeffects-DEBUG: 19:33:59.454: node_info_holder.cpp:98 89, alsa_input.pci-0000_07_00.6.HiFi__hw_Generic__source finalized (easyeffects:22476): easyeffects-DEBUG: 19:33:59.455: node_info_holder.cpp:98 45, alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source finalized (easyeffects:22476): easyeffects-DEBUG: 19:33:59.456: pipe_manager.cpp:955 new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"easyeffects_sink"} (easyeffects:22476): easyeffects-DEBUG: 19:33:59.456: pipe_manager.cpp:955 new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"easyeffects_source"} (easyeffects:22476): easyeffects-DEBUG: 19:33:59.456: pipe_manager.cpp:955 new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"libcamera_input.__SB_.PCI0.GP17.XHC0.RHUB.PRT3-3_1.0-05c8_03df"} (easyeffects:22476): easyeffects-DEBUG: 19:33:59.597: pipe_manager.cpp:1219 Audio/Sink 113 alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink with serial 2179 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:59.597: pipe_manager.cpp:1219 Audio/Source 89 alsa_input.pci-0000_07_00.6.HiFi__hw_Generic__source with serial 2180 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:59.597: pipe_manager.cpp:1219 Audio/Source 84 alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source with serial 2181 has been added (easyeffects:22476): easyeffects-DEBUG: 19:33:59.600: plugin_base.cpp:370 soe: equalizer successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:59.600: pipe_manager.cpp:1259 easyeffects_sink port 65 is connected to ee_soe_equalizer port 55 (easyeffects:22476): easyeffects-DEBUG: 19:33:59.601: pipe_manager.cpp:955 new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_07_00.3-usb-0_3_1.0"} (easyeffects:22476): easyeffects-DEBUG: 19:33:59.601: pipe_manager.cpp:1259 easyeffects_sink port 71 is connected to ee_soe_equalizer port 101 (easyeffects:22476): easyeffects-DEBUG: 19:33:59.602: plugin_base.cpp:370 soe: convolver successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:33:59.602: pipe_manager.cpp:1259 ee_soe_equalizer port 85 is connected to ee_soe_convolver port 131 (easyeffects:22476): easyeffects-DEBUG: 19:33:59.602: pipe_manager.cpp:1259 ee_soe_equalizer port 124 is connected to ee_soe_convolver port 136 (easyeffects:22476): easyeffects-DEBUG: 19:33:59.607: pipe_manager.cpp:955 new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink"} (easyeffects:22476): easyeffects-DEBUG: 19:33:59.607: pipe_manager.cpp:955 new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source"} (easyeffects:22476): easyeffects-DEBUG: 19:33:59.608: application.cpp:132 device alsa_card.pci-0000_07_00.6 has changed its output route to: [Out] Speaker (easyeffects:22476): easyeffects-DEBUG: 19:33:59.608: application.cpp:100 device alsa_card.pci-0000_07_00.6 has changed its input route to: [In] Mic1 (easyeffects:22476): easyeffects-DEBUG: 19:33:59.608: application.cpp:80 new default output device: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic__sink (easyeffects:22476): easyeffects-DEBUG: 19:33:59.608: application.cpp:88 new default input device: alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source (easyeffects:22476): easyeffects-DEBUG: 19:34:00.771: stream_output_effects.cpp:162 No app linked to our device wants to play. Unlinking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:34:00.771: stream_output_effects.cpp:328 disconnecting the convolver filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:34:00.772: pipe_manager.cpp:213 98 ee_soe_convolver has been removed (easyeffects:22476): easyeffects-DEBUG: 19:34:00.772: stream_output_effects.cpp:328 disconnecting the equalizer filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:34:00.773: pipe_manager.cpp:213 42 ee_soe_equalizer has been removed (easyeffects:22476): easyeffects-DEBUG: 19:34:00.774: stream_input_effects.cpp:168 No app linked to our device wants to play. Unlinking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:34:10.176: pipe_manager.cpp:213 Stream/Output/Audio 41 Firefox has been removed (easyeffects:22476): easyeffects-DEBUG: 19:34:10.178: app_info.cpp:343 Firefox disposed (easyeffects:22476): easyeffects-DEBUG: 19:34:10.179: app_info.cpp:351 Firefox finalized (easyeffects:22476): easyeffects-DEBUG: 19:34:10.179: app_info.cpp:29 data struct destroyed (easyeffects:22476): easyeffects-DEBUG: 19:34:10.179: node_info_holder.cpp:98 41, Firefox finalized (easyeffects:22476): easyeffects-DEBUG: 19:34:10.198: pipe_manager.cpp:1219 Stream/Output/Audio 41 Firefox with serial 2222 has been added (easyeffects:22476): easyeffects-DEBUG: 19:34:10.199: pipe_manager.cpp:955 new metadata property: 41, target.node, Spa:Id, 68 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.199: pipe_manager.cpp:955 new metadata property: 41, target.object, Spa:Id, 1771 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.203: pipe_manager.cpp:1259 Firefox port 111 is connected to easyeffects_sink port 67 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.203: pipe_manager.cpp:1259 Firefox port 52 is connected to easyeffects_sink port 63 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.204: stream_output_effects.cpp:150 At least one app linked to our device wants to play. Linking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:34:10.205: plugin_base.cpp:370 soe: equalizer successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:34:10.206: pipe_manager.cpp:1259 easyeffects_sink port 65 is connected to ee_soe_equalizer port 114 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.206: pipe_manager.cpp:1259 easyeffects_sink port 71 is connected to ee_soe_equalizer port 110 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.208: plugin_base.cpp:370 soe: convolver successfully connected to PipeWire graph (easyeffects:22476): easyeffects-DEBUG: 19:34:10.208: pipe_manager.cpp:1259 ee_soe_equalizer port 105 is connected to ee_soe_convolver port 107 (easyeffects:22476): easyeffects-DEBUG: 19:34:10.208: pipe_manager.cpp:1259 ee_soe_equalizer port 104 is connected to ee_soe_convolver port 92 (easyeffects:22476): easyeffects-DEBUG: 19:34:42.772: stream_output_effects.cpp:162 No app linked to our device wants to play. Unlinking our filters. (easyeffects:22476): easyeffects-DEBUG: 19:34:42.772: stream_output_effects.cpp:328 disconnecting the convolver filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:34:42.773: pipe_manager.cpp:213 132 ee_soe_convolver has been removed (easyeffects:22476): easyeffects-DEBUG: 19:34:42.773: stream_output_effects.cpp:328 disconnecting the equalizer filter from PipeWire (easyeffects:22476): easyeffects-DEBUG: 19:34:42.774: pipe_manager.cpp:213 130 ee_soe_equalizer has been removed ```
wwmm commented 5 months ago

Where is this log?

One example is https://github.com/wwmm/easyeffects/issues/2480#issuecomment-1937274663. Take a look at the pw-dot image. The link is there but audio failed anyway. Also notice that he has only one soundcard. So the whole problem about EE not getting the correct default device does not even make sense in this case because there is always only one. The bug you are seeing is something that can only happen for people with multiple soundcards.

Like I said before PulseEffects also has the sleep bug on Pulseaudio. This bug has a deeper cause.

carolfs commented 5 months ago

By closing do you mean closing its window? Did easyeffects process die after closing it? Strange... Unless the option that that lets the process die when the window is closed is enabled...

Yes, just close the window. This was how I initially experienced the bug.

wwmm commented 5 months ago

Yes, just close the window. This was how I initially experienced the bug.

Strange. Closing the window should just close the window without finishing EE. It should not have the same effect as easyeffects -q that kills EE process... Can you see in your system process manager if EasyEffects process dies after closing its window?

carolfs commented 5 months ago

Yes, it dies.

wwmm commented 5 months ago

Yes, it dies.

Hum... Is Shutdown on Window Closing enabled in its preferences window? If yes then it makes sense. But if not it should not die after its window is closed. Is this also something that only happens after the system wakes?

carolfs commented 5 months ago

This option is disabled. No, this happens regardless of suspend/wake.

wwmm commented 5 months ago

This option is disabled. No, this happens regardless of suspend/wake.

I see. Maybe in your system EE is never started in service mode. Which desktop do you use? Usually on GNOME and KDE EE starts automatically in service mode when the user clicks on its launcher icon.

carolfs commented 5 months ago

GNOME. But notice that with Flatpak it works as you say it should.

rscm commented 5 months ago

I just gave every permission to EE using Flatseal and the sound worked after suspend. In the end, after trying several options, the result was that by activating socket=session-bus I no longer have the problem. I will test it a few days, but for now there's no issue for me.

carolfs commented 5 months ago

I had to try this one, but it doesn't solve the issue for me, unfortunately.

rscm commented 5 months ago

I just gave every permission to EE using Flatseal and the sound worked after suspend. In the end, after trying several options, the result was that by activating socket=session-bus I no longer have the problem. I will test it a few days, but for now there's no issue for me.

well I changed the sleep state from s2idle to deep (cat /sys/power/mem_sleep) and now it doesn't work. even with all the permissions enabled I don't get sound. I forgot that I was using s2idle due a bug I had.

I'll post every file again with deep state enabled, just in case they are different

at least we know

wwmm commented 5 months ago

well I changed the deep state from s2idle to deep (cat /sys/power/mem_sleep) and now it doesn't work. >even with all the permissions enabled I don't get sound. I forgot that I was using s2idle due a bug I had.

My desktop is set to deep. So having s2idle isn't a requirement for things to work. I wonder why the sleep mode is making a difference...

carolfs commented 1 month ago

FYI I haven't experienced this bug for a while.

wwmm commented 1 month ago

FYI I haven't experienced this bug for a while.

This is a sign that the bug is somewhere outside EasyEffects. But I wonder what changed. If it was PipeWire or the soundcard drivers.