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

auto-start no audio until switch source #1451

Closed jkoking closed 2 years ago

jkoking commented 2 years ago

EasyEffects Version

6.2.4

What package are you using?

Arch (easyeffects)

Distribution

Arch Linux

Describe the bug

When I boot up my computer with auto start enabled audio input and output doesn't work I fix this temporarily by switching to my audio devices and then back to my easyeffects source's

Expected Behavior

No response

Debug Log

Debug Log
``` (process:3636): easyeffects-DEBUG: 13:12:23.214: easyeffects version: 6.2.4 (process:3636): easyeffects-DEBUG: 13:12:23.216: main: locale directory: /usr/share/locale (easyeffects:3636): easyeffects-DEBUG: 13:12:23.218: presets_manager: system input presets directory: "/etc/easyeffects/input"; (easyeffects:3636): easyeffects-DEBUG: 13:12:23.218: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input"; (easyeffects:3636): easyeffects-DEBUG: 13:12:23.218: presets_manager: system input presets directory: "/home/jacob/.config/kdedefaults/easyeffects/input"; (easyeffects:3636): easyeffects-DEBUG: 13:12:23.218: presets_manager: system output presets directory: "/etc/easyeffects/output"; (easyeffects:3636): easyeffects-DEBUG: 13:12:23.218: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output"; (easyeffects:3636): easyeffects-DEBUG: 13:12:23.218: presets_manager: system output presets directory: "/home/jacob/.config/kdedefaults/easyeffects/output"; (easyeffects:3636): easyeffects-DEBUG: 13:12:23.219: presets_manager: user presets directory already exists: /home/jacob/.config/easyeffects/ (easyeffects:3636): easyeffects-DEBUG: 13:12:23.219: presets_manager: user presets directory already exists: /home/jacob/.config/easyeffects/input (easyeffects:3636): easyeffects-DEBUG: 13:12:23.219: presets_manager: user presets directory already exists: /home/jacob/.config/easyeffects/output (easyeffects:3636): easyeffects-DEBUG: 13:12:23.219: presets_manager: user presets directory already exists: /home/jacob/.config/easyeffects/autoload/input (easyeffects:3636): easyeffects-DEBUG: 13:12:23.219: presets_manager: user presets directory already exists: /home/jacob/.config/easyeffects/autoload/output (easyeffects:3636): easyeffects-DEBUG: 13:12:23.935: pipe_manager: compiled with PipeWire: 0.3.48 (easyeffects:3636): easyeffects-DEBUG: 13:12:23.935: pipe_manager: linked to PipeWire: 0.3.48 (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: core version: 0.3.48 (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: core name: pipewire-0 (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: found metadata: settings (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: found metadata: default (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: found metadata: route-settings (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: Audio/Sink 40 easyeffects_sink with timestamp 1648573943946733295 was added (easyeffects:3636): easyeffects-DEBUG: 13:12:23.946: pipe_manager: Audio/Source/Virtual 41 easyeffects_source with timestamp 1648573943946758050 was added (easyeffects:3636): easyeffects-DEBUG: 13:12:23.947: pipe_manager: easyeffects_sink node successfully retrieved with id 40 and timestamp 1648573943946733295 (easyeffects:3636): easyeffects-DEBUG: 13:12:23.947: pipe_manager: easyeffects_source node successfully retrieved with id 41 and timestamp 1648573943946758050 (easyeffects:3636): easyeffects-DEBUG: 13:12:24.132: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, {"name":"easyeffects_sink"} (easyeffects:3636): easyeffects-DEBUG: 13:12:24.132: pipe_manager: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"} (easyeffects:3636): easyeffects-DEBUG: 13:12:24.251: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.256: pipe_manager: Audio/Sink 47 alsa_output.pci-0000_00_1f.3.analog-stereo with timestamp 1648573944256602538 was added (easyeffects:3636): easyeffects-DEBUG: 13:12:24.256: pipe_manager: Audio/Source 48 alsa_input.pci-0000_00_1f.3.analog-stereo with timestamp 1648573944256697007 was added (easyeffects:3636): easyeffects-DEBUG: 13:12:24.270: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"easyeffects_sink"} (easyeffects:3636): easyeffects-DEBUG: 13:12:24.270: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"} (easyeffects:3636): easyeffects-DEBUG: 13:12:24.270: pipe_manager: new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_00_14.0-usb-0_7_1.0"} (easyeffects:3636): easyeffects-DEBUG: 13:12:24.305: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.367: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.462: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.479: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.495: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.495: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options (easyeffects:3636): easyeffects-DEBUG: 13:12:24.524: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.572: soe: rnnoise using the default model (easyeffects:3636): easyeffects-DEBUG: 13:12:24.612: soe: output_level successfully connected to PipeWire graph (easyeffects:3636): easyeffects-DEBUG: 13:12:24.613: soe: spectrum successfully connected to PipeWire graph (easyeffects:3636): easyeffects-DEBUG: 13:12:24.615: soe: equalizer successfully connected to PipeWire graph (easyeffects:3636): easyeffects-DEBUG: 13:12:24.663: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.706: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.755: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.829: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.845: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.860: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.860: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options (easyeffects:3636): easyeffects-DEBUG: 13:12:24.887: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:3636): easyeffects-DEBUG: 13:12:24.925: sie: rnnoise using the default model (easyeffects:3636): easyeffects-DEBUG: 13:12:24.941: sie: output_level successfully connected to PipeWire graph (easyeffects:3636): easyeffects-DEBUG: 13:12:24.943: sie: spectrum successfully connected to PipeWire graph (easyeffects:3636): easyeffects-DEBUG: 13:12:24.945: sie: rnnoise successfully connected to PipeWire graph (easyeffects:3636): easyeffects-DEBUG: 13:12:24.947: sie: autogain successfully connected to PipeWire graph easyeffects-INFO: 13:12:24.952: application: disabling global bypass (easyeffects:3636): easyeffects-DEBUG: 13:12:24.956: application_ui: Icon Theme candy-icons detected (easyeffects:3636): easyeffects-DEBUG: 13:12:25.323: rnnoise_box: model directory already exists: /home/jacob/.config/easyeffects/rnnoise (easyeffects:3636): easyeffects-DEBUG: 13:12:25.409: application: device alsa_card.pci-0000_00_1f.3 has changed its input route to: analog-input-internal-mic (easyeffects:3636): easyeffects-DEBUG: 13:12:25.409: application: device alsa_card.pci-0000_00_1f.3 has changed its output route to: analog-output-speaker (easyeffects:3636): easyeffects-DEBUG: 13:12:25.409: application: output autoloading: the target node name does not match the output device name (easyeffects:3636): easyeffects-DEBUG: 13:12:25.409: new default input device: alsa_input.pci-0000_00_1f.3.analog-stereo (easyeffects:3636): easyeffects-DEBUG: 13:12:35.541: soe: No app linked to our device wants to play. Unlinking our filters. (easyeffects:3636): easyeffects-DEBUG: 13:12:35.545: sie: No app linked to our device wants to play. Unlinking our filters. (easyeffects:3636): easyeffects-DEBUG: 13:15:42.860: pipe_manager: Stream/Output/Audio 112 Firefox with timestamp 1648574142860199031 was added (easyeffects:3636): easyeffects-DEBUG: 13:15:42.862: pipe_manager: new metadata property: 112, target.node, Spa:Id, 40 (easyeffects:3636): easyeffects-DEBUG: 13:15:42.862: pipe_manager: new metadata property: 112, target.object, Spa:Id, 40 (easyeffects:3636): easyeffects-DEBUG: 13:15:42.868: pipe_manager: Firefox port 111 is connected to easyeffects_sink port 49 (easyeffects:3636): easyeffects-DEBUG: 13:15:42.868: pipe_manager: Firefox port 110 is connected to easyeffects_sink port 51 (easyeffects:3636): easyeffects-DEBUG: 13:15:42.896: soe: At least one app linked to our device wants to play. Linking our filters. (easyeffects:3636): easyeffects-DEBUG: 13:15:42.924: soe: output_level: new PipeWire blocksize: 2048 (easyeffects:3636): easyeffects-DEBUG: 13:17:02.547: application_ui: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.552: app_info: Firefox disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.553: app_info: Firefox finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.553: app_info: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.564: presets_menu: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.568: presets_menu: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.568: presets_menu: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.568: effects_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.568: chart_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.568: chart_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.569: blocklist_menu: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: blocklist_menu: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: blocklist_menu: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: apps_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: node holder: 112, Firefox finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: apps_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: apps_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.570: plugins_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.571: equalizer_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.579: equalizer_band_box: index: 0 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.581: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.581: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.581: equalizer_band_box: index: 1 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.583: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.583: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.583: equalizer_band_box: index: 2 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.585: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.585: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.585: equalizer_band_box: index: 3 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.586: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.586: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.586: equalizer_band_box: index: 4 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.587: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.587: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.587: equalizer_band_box: index: 5 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.589: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.589: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.589: equalizer_band_box: index: 6 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.590: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.590: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.590: equalizer_band_box: index: 7 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.595: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.595: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.595: equalizer_band_box: index: 8 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.596: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.596: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.596: equalizer_band_box: index: 9 disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: equalizer_band_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: equalizer_band_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: equalizer_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: equalizer_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: plugins_menu: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: plugins_menu: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: plugins_menu: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: plugins_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: plugins_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: effects_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: effects_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: effects_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.597: chart_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: chart_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: blocklist_menu: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: blocklist_menu: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: blocklist_menu: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: apps_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: apps_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: apps_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: plugins_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.598: rnnoise_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.599: rnnoise_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.599: rnnoise_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.599: autogain_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.600: autogain_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: autogain_box: finalize (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: plugins_menu: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: plugins_menu: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: plugins_menu: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: plugins_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: plugins_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: effects_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: effects_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.601: pipe_manager_box: disposed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.609: node holder: 48, alsa_input.pci-0000_00_1f.3.analog-stereo finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.611: node holder: 47, alsa_output.pci-0000_00_1f.3.analog-stereo finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.611: pipe_manager_box: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.611: test signals: destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.611: pipe_manager_box: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.611: application_ui: data struct destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.611: application_ui: finalized (easyeffects:3636): easyeffects-DEBUG: 13:17:02.612: presets_manager: destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.612: sie: destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.612: effects_base: destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.612: sie: stereo_tools destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.614: sie: rnnoise destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.614: sie: reverb destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.616: sie: pitch destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.616: sie: multiband_gate destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.617: sie: multiband_compressor destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.621: sie: maximizer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.623: sie: loudness destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.626: sie: limiter destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.628: sie: gate destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.629: sie: filter destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.630: sie: exciter destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.645: sie: equalizer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.648: sie: echo_canceller destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.648: sie: delay destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.650: sie: deesser destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.652: sie: crystalizer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.652: sie: crossfeed destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.652: sie: convolver destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.653: sie: compressor destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.655: sie: bass_loudness destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.657: sie: bass_enhancer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.659: sie: autogain destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.661: sie: spectrum destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.662: sie: output_level destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.663: soe: destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.663: effects_base: destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.663: soe: stereo_tools destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.664: soe: rnnoise destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.664: soe: reverb destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.665: soe: pitch destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.665: soe: multiband_gate destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.666: soe: multiband_compressor destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.668: soe: maximizer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.670: soe: loudness destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.671: soe: limiter destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.673: soe: gate destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.674: soe: filter destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.675: soe: exciter destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.677: soe: equalizer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.679: soe: echo_canceller destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.679: soe: delay destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.680: soe: deesser destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.681: soe: crystalizer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.681: soe: crossfeed destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.681: soe: convolver destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.681: soe: compressor destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.683: soe: bass_loudness destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.684: soe: bass_enhancer destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.686: soe: autogain destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.687: soe: spectrum destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.711: soe: output_level destroyed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Destroying PipeWire registry... (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Disconnecting PipeWire core... (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Audio/Sink easyeffects_sink was removed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Audio/Source/Virtual easyeffects_source was removed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Audio/Sink alsa_output.pci-0000_00_1f.3.analog-stereo was removed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Audio/Source alsa_input.pci-0000_00_1f.3.analog-stereo was removed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Stream/Output/Audio Firefox was removed (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Stopping PipeWire's loop... (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Destroying PipeWire's context... (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: pipe_manager: Destroying PipeWire's loop... (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: application: shutting down... (easyeffects:3636): easyeffects-DEBUG: 13:17:02.712: Exitting the main function with status: 0 ```

Additional Information

using KDE plasma and plasma-pa

wwmm commented 2 years ago

When I boot up my computer with auto start enabled audio input and output doesn't work

This may be a sign kde is autostarting EasyEffects before PipeWire is completely finished. It is not common but a long time ago something like this happened to a KDE user.

In any case kill EasyEffects easyeffects -q and restart it in debug mode G_MESSAGES_DEBUG=easyeffects easyeffects so we can see some logs.

jkoking commented 2 years ago

The bug does not occur when I run G_MESSAGES_DEBUG=easyeffects easyeffects. I tried using KDE plasma's auto start feature to run the above command as a script. Easyeffects still works as intended. The only way the bug occurs is when start automatically is turned on at log in. How do I get the debug log in this case?

wwmm commented 2 years ago

I tried using KDE plasma's auto start feature to run the above command as a script. Easyeffects still works as intended.

That is interesting. What the switch in our Preferences window does is creating an autostart file ~/.config/autostart/easyeffects-service.desktop with the following contents

[Desktop Entry]
Name=EasyEffects
Comment=EasyEffects Service
Exec=easyeffects --gapplication-service
Icon=easyeffects
StartupNotify=false
Terminal=false
Type=Application

It has been like this since we were using Pulseaudio. And still works here on GNOME. What is KDE putting in the autostart file it creates? Maybe something has changed on KDE and it needs something more on the autostart file.

CBx86 commented 2 years ago

Same issue on Fedora 35 KDE Plasma. EasyEffects 6.2.4 I will run this debug just after reboot.

CBx86 commented 2 years ago

https://pastebin.com/ACdD71E5

Running the debug mode all works fine! Without me doing anything. 🤔

/var/log/messages Mar 29 15:04:41 quati plasmashell[1362]: org.kde.plasma.pulseaudio: No object for name "easyeffects_sink" Mar 29 15:04:41 quati plasmashell[1362]: org.kde.plasma.pulseaudio: No object for name "easyeffects_sink"

wwmm commented 2 years ago

Running the debug mode all works fine! Without me doing anything.

When things work when launching after the login but not in the autostart phase it is a sign EasyEffects was started too soon and PipeWire was not fully loaded yet. I am not sure how but in the past a KDE user that had this problem solved it by using a custom autostart script that waited for a few seconds after the KDE login. I could never understand why GNOME and KDE behave differently when it comes to the audio server initialization. Maybe the only reason why I never saw this happening in GNOME is because it forces the audio server to be available already in the login manager screen.

For several reason EasyEffects needs the audio server to be fully operational when it starts. It was the same with PulseEffects in Pulseaudio.

CBx86 commented 2 years ago

Now it makes sense.

I will give a try:

[Desktop Entry] Name=EasyEffects Comment=EasyEffects Service Exec=sleep 3 ; easyeffects --gapplication-service & Icon=easyeffects StartupNotify=false Terminal=false Type=Application

Or something like this. Its 'brute', i know. 😬

Its strange, some weeks it worked fine!

wwmm commented 2 years ago

Its strange, some weeks it worked fine!

Maybe some KDE updates related to audio have happened since then?

jkoking commented 2 years ago

I was wrong i get the bug to occur when i use the KDE Plasma auto-start script method.

wwmm commented 2 years ago

@jkoking your logs shows that PipeWire is reporting that our virtual device is set as default

new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"easyeffects_sink"}

Like PulseEffects, EasyEffects is designed assuming that your hardware stays as default. Unexpected things may happen when our virtual devices are set as default.

CBx86 commented 2 years ago

Maybe some KDE updates related to audio have happened since then?

I dont remember, sorry. >.<

Delayed start works fine! Thanks!

jkoking commented 2 years ago

Everything is working now thank you

CBx86 commented 2 years ago

Just sharing. The delayed start on KDE PLASMA: .config/autostart/com.github.wwmm.easyeffects.desktop

Exec=bash -c "/usr/bin/sleep 8 && /usr/bin/easyeffects --gapplication-service"

Without this dont work fine for me.

Many Thanks!