wwmm / easyeffects

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

Output Device Preset not Loaded on Start #1020

Closed mysterymath closed 3 years ago

mysterymath commented 3 years ago

On my machine, when easy effects is launched (automatically by the XDG autostart script), it doesn't pick up the preset I've assigned to the default output device. However, if I go to pavucontrol, switch the default output to a different one, then switch it back, easy effects will pick up the preset, as expected.

Distribution: Arch Linux (easyeffects package v6.0.2-1)

Desktop Environment: i3

Messages printed by EasyEffects when executed from command line in debug mode:
(process:2341): easyeffects-DEBUG: 10:41:27.435: main: locale directory: /usr/share/locale
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: system input presets directory: "/etc/easyeffects/input";
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input";
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: system output presets directory: "/etc/easyeffects/output";
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output";
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/input
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/output
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/autoload/input
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.446: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/autoload/output
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.992: application:  destroyed
(easyeffects:2341): easyeffects-DEBUG: 10:41:27.992: presets_manager: destroyed
wwmm commented 3 years ago

Hi! You probably had an active instance when you tried to get the logs. That is why they are so short. Kill it first easyeffects -q and then run in debug mode to get logs.

On my machine, when easy effects is launched (automatically by the XDG autostart script), it doesn't pick up the preset I've assigned to the default output device. However, if I go to pavucontrol, switch the default output to a different one, then switch it back, easy effects will pick up the preset, as expected.

mysterymath commented 3 years ago

Interestingly, it looks like it can find the DT 990 preset and associate it with the Schitt Modi output device, but the plugins list is still empty once easyeffects starts (and there's audibly no filtering occurring)

(process:3850): easyeffects-DEBUG: 11:12:58.096: main: locale directory: /usr/share/locale
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: system input presets directory: "/etc/easyeffects/input";
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input";
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: system output presets directory: "/etc/easyeffects/output";
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output";
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/input
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/output
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/autoload/input
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.122: presets_manager: user presets directory already exists: /home/mysterymath/.config/easyeffects/autoload/output
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.136: application: easyeffects version: 6.0.2
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.137: pipe_manager: compiled with pipewire: 0.3.31
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.137: pipe_manager: linked to pipewire: 0.3.31
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: core version: 0.3.31
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: core name: pipewire-0
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: found metadata: settings
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: found metadata: default
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: found metadata: route-settings
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Audio/Source 49 alsa_input.usb-046d_HD_Pro_Webcam_C920_FF692F4F-02.analog-stereo was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Audio/Sink 50 alsa_output.pci-0000_09_00.1.hdmi-stereo was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Audio/Sink 51 alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Audio/Sink 52 alsa_output.usb-Audioengine_Audioengine_2_-00.analog-stereo was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Stream/Output/Audio 68 FluidSynth was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Stream/Output/Audio 201 spotify was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: FluidSynth port 69 is connected to alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo port 59
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: FluidSynth port 70 is connected to alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo port 61
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: spotify port 188 is connected to alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo port 59
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: spotify port 192 is connected to alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo port 61
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Audio/Sink 411 easyeffects_sink was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.140: pipe_manager: Audio/Source/Virtual 73 easyeffects_source was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.141: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo" }
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.141: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, { "name": "alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo" }
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.141: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-046d_HD_Pro_Webcam_C920_FF692F4F-02.analog-stereo" }
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.141: pipe_manager: new metadata property: 0, default.video.source, Spa:String:JSON, { "name": "v4l2_input.pci-0000_01_00.0-usb-0_5.3_1.0" }
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.141: pipe_manager: new metadata property: 201, target.node, Spa:Id, 221
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.142: pipe_manager: FluidSynth port 70 is connected to easyeffects_sink port 82
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.142: pipe_manager: FluidSynth port 69 is connected to easyeffects_sink port 221
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.142: pipe_manager: Filter pe_soe_autogain, id = 222, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.143: pipe_manager: spotify port 192 is connected to easyeffects_sink port 82
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.144: pipe_manager: spotify port 188 is connected to easyeffects_sink port 221
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.145: pipe_manager: Filter pe_soe_bass_enhancer, id = 137, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.150: pipe_manager: Filter pe_soe_bass_loudness, id = 338, was added

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.154: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.154: soe: http://drobilla.net/plugins/mda/Loudness is not installed

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.154: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.154: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.154: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.155: pipe_manager: Filter pe_soe_compressor, id = 119, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.160: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.161: pipe_manager: Filter pe_soe_convolver, id = 80, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.164: pipe_manager: Filter pe_soe_crossfeed, id = 154, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.166: pipe_manager: Filter pe_soe_crystalizer, id = 128, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.169: pipe_manager: Filter pe_soe_deesser, id = 162, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.174: pipe_manager: Filter pe_soe_delay, id = 164, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.179: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.180: pipe_manager: Filter pe_soe_echo_canceller, id = 151, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.183: pipe_manager: Filter pe_soe_equalizer, id = 181, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.215: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.221: pipe_manager: Filter pe_soe_exciter, id = 189, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.226: pipe_manager: Filter pe_soe_filter, id = 160, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.231: pipe_manager: Filter pe_soe_gate, id = 167, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.237: pipe_manager: Filter pe_soe_limiter, id = 194, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.242: pipe_manager: Filter pe_soe_loudness, id = 72, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.247: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.248: pipe_manager: Filter pe_soe_maximizer, id = 184, was added

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.252: lv2_wrapper: Could not find the plugin: urn:zamaudio:ZaMaximX2

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.252: soe: urn:zamaudio:ZaMaximX2 is not installed

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.252: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: thresh

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.252: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: ceil

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.252: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: rel
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.252: pipe_manager: Filter pe_soe_multiband_compressor, id = 207, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.259: pipe_manager: Filter pe_soe_multiband_gate, id = 85, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.265: pipe_manager: Filter pe_soe_output_level, id = 90, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.268: pipe_manager: Filter pe_soe_pitch, id = 105, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.270: pipe_manager: Filter pe_soe_reverb, id = 110, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.276: pipe_manager: Filter pe_soe_rnnoise, id = 107, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.278: pipe_manager: Filter pe_soe_spectrum, id = 117, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.283: pipe_manager: Filter pe_soe_stereo_tools, id = 139, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.291: pipe_manager: Filter pe_sie_autogain, id = 242, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.293: pipe_manager: Filter pe_sie_bass_enhancer, id = 276, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.298: pipe_manager: Filter pe_sie_bass_loudness, id = 393, was added

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.302: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.302: sie: http://drobilla.net/plugins/mda/Loudness is not installed

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.302: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.302: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.302: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.303: pipe_manager: Filter pe_sie_compressor, id = 258, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.308: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.309: pipe_manager: Filter pe_sie_convolver, id = 399, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.312: pipe_manager: Filter pe_sie_crossfeed, id = 293, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.314: pipe_manager: Filter pe_sie_crystalizer, id = 267, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.319: soe: output_level: new PipeWire blocksize: 256
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.320: pipe_manager: Filter pe_sie_deesser, id = 301, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.325: pipe_manager: Filter pe_sie_delay, id = 303, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.331: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.331: pipe_manager: Filter pe_sie_echo_canceller, id = 290, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.334: pipe_manager: Filter pe_sie_equalizer, id = 320, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.370: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.376: pipe_manager: Filter pe_sie_exciter, id = 328, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.381: pipe_manager: Filter pe_sie_filter, id = 299, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.387: pipe_manager: Filter pe_sie_gate, id = 306, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.392: pipe_manager: Filter pe_sie_limiter, id = 333, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.397: pipe_manager: Filter pe_sie_loudness, id = 217, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.402: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.422: pipe_manager: Filter pe_sie_maximizer, id = 323, was added

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.426: lv2_wrapper: Could not find the plugin: urn:zamaudio:ZaMaximX2

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.426: sie: urn:zamaudio:ZaMaximX2 is not installed

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.426: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: thresh

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.426: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: ceil

(easyeffects:3850): easyeffects-WARNING **: 11:12:58.426: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: rel
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.426: pipe_manager: Filter pe_sie_multiband_compressor, id = 346, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.433: pipe_manager: Filter pe_sie_multiband_gate, id = 224, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.439: pipe_manager: Filter pe_sie_output_level, id = 229, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.442: pipe_manager: Filter pe_sie_pitch, id = 244, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.444: pipe_manager: Filter pe_sie_reverb, id = 249, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.450: pipe_manager: Filter pe_sie_rnnoise, id = 246, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.453: pipe_manager: Filter pe_sie_spectrum, id = 256, was added
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.455: pipe_manager: Filter pe_sie_stereo_tools, id = 278, was added
easyeffects-INFO: 11:12:58.461: application: disabling global bypass
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.910: new default output device: alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.910: presets_manager: autoloading preset DT 990 for device alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.912: presets_manager: loaded preset: /home/mysterymath/.config/easyeffects/output/DT 990.json
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.915: new default input device: alsa_input.usb-046d_HD_Pro_Webcam_C920_FF692F4F-02.analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.917: application: device alsa_card.usb-046d_HD_Pro_Webcam_C920_FF692F4F-02 has changed profile to: input:analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.917: application: device alsa_card.pci-0000_09_00.1 has changed profile to: output:hdmi-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.917: application: device alsa_card.usb-Schiit_Audio_Schiit_Modi_3-00 has changed profile to: output:analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.917: presets_manager: autoloading preset DT 990 for device alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.919: presets_manager: loaded preset: /home/mysterymath/.config/easyeffects/output/DT 990.json
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.919: application: device alsa_card.usb-Audioengine_Audioengine_2_-00 has changed profile to: output:analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.919: presets_manager: autoloading preset None for device alsa_output.usb-Audioengine_Audioengine_2_-00.analog-stereo
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.919: soe: pipeline latency: 0.000000 ms
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.923: crossfeed ui destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.933: equalizer ui destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:12:58.934: presets_manager: loaded preset: /home/mysterymath/.config/easyeffects/output/None.json
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.185: application_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.219: spectrum_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.219: plot: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.220: soe_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.220: effects_base_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.220: spectrum_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.220: plot: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.221: sie_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.221: effects_base_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.224: pipe_info: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.224: test signals:  destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.225: presets_menu_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.225: general_settings_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.227: spectrum_settings_ui: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.227: application:  destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.227: presets_manager: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.227: sie: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.227: effects_base: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.227: sie: stereo_tools destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.228: sie: rnnoise destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.228: sie: reverb destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.228: sie: pitch destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.228: sie: multiband_gate destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.229: sie: multiband_compressor destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.229: sie: maximizer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.229: sie: loudness destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.230: sie: limiter destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.230: sie: gate destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.231: sie: filter destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.231: sie: exciter destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.231: sie: equalizer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.233: sie: echo_canceller destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.233: sie: delay destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.234: sie: deesser destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.234: sie: crystalizer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.234: sie: crossfeed destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.234: sie: convolver destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.235: sie: compressor destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.235: sie: bass_loudness destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.235: sie: bass_enhancer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.236: sie: autogain destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.236: sie: spectrum destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.236: sie: output_level destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.237: soe: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.238: effects_base: destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.238: soe: stereo_tools destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.238: soe: rnnoise destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.238: soe: reverb destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.239: soe: pitch destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.239: soe: multiband_gate destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.239: soe: multiband_compressor destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.240: soe: maximizer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.240: soe: loudness destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.241: soe: limiter destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.241: soe: gate destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.241: soe: filter destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.242: soe: exciter destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.242: soe: equalizer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.244: soe: echo_canceller destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.244: soe: delay destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.245: soe: deesser destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.245: soe: crystalizer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.245: soe: crossfeed destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.246: soe: convolver destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.246: soe: compressor destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.246: soe: bass_loudness destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.247: soe: bass_enhancer destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.247: soe: autogain destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.247: soe: spectrum destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.247: soe: output_level destroyed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Destroying Pipewire registry...
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Disconnecting Pipewire core...
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Audio/Source alsa_input.usb-046d_HD_Pro_Webcam_C920_FF692F4F-02.analog-stereo was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Audio/Sink alsa_output.pci-0000_09_00.1.hdmi-stereo was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Audio/Sink alsa_output.usb-Schiit_Audio_Schiit_Modi_3-00.analog-stereo was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Audio/Sink alsa_output.usb-Audioengine_Audioengine_2_-00.analog-stereo was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Stream/Output/Audio FluidSynth was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Stream/Output/Audio spotify was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Audio/Sink easyeffects_sink was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.248: pipe_manager: Audio/Source/Virtual easyeffects_source was removed
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.256: pipe_manager: Destroying Pipewire context...
(easyeffects:3850): easyeffects-DEBUG: 11:13:02.257: pipe_manager: Destroying Pipewire loop...
wwmm commented 3 years ago

Interestingly, it looks like it can find the DT 990 preset and associate it with the Schitt Modi output device, but the plugins list is still empty once easyeffects starts (and there's audibly no filtering occurring)

Yes. The autoloading seems to be working. Was this preset created in EasyEffects or was it created in PulseEffects? THe formats are not compatible.

mysterymath commented 3 years ago

I recreated the preset from scratch with EasyEffects when I upgraded.

EDIT: It's worth noting that the preset does work fine if I manually click to load it, or if I switch the input while easyeffects is running. The issue only appears at startup.

The very last line before I closed easyeffects is presets_manager: loaded preset: /home/mysterymath/.config/easyeffects/output/None.json. That's the default for a different device: Audioengine_Audioengine2-00.analog-stereo. But this definitely isn't the default output device.

EDIT2: This change looks a little suspicious https://github.com/wwmm/easyeffects/commit/622bd668e081522db4d7243c8e7246e687d772cf. In the logs it seems that two "change profile" events are emitted during startup: one for the Modi device and other for the Audioengine2 device. The Audioengine2 even happens later, so it's preset gets set over the Modi's. This is based on an extremely cursory reading of the code, though, so I could be completely off track.

wwmm commented 3 years ago

Humm... So you have to audio devices connected and you have different presets you want to be automatically loaded? Is that right?

Thei dea behind the preset autoloading is a little different in EasyEffects. In PulseEffects that was tied to the default device. In EasyEffects they are applied when one of the devices in our autoloading table becomes the current EasyEffects output device. If you have Use Default Output enabled the current output device is the current default device.

I will check if there is some flaw in the algorithm.

wwmm commented 3 years ago

This change looks a little suspicious

I agree. I think I should be checking if the device that has just changed profile is also our current output/input device. I am not doing that =/

wwmm commented 3 years ago

I did some changes to the master branch that should help with this. You can use the aur package easyeffects-git to test.

mysterymath commented 3 years ago

Thanks, that sorted it completely! I tried setting the default to each device before starting EasyEffects, and each time it picked up the correct preset on start. Thanks for the quick fix!