easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Easyeffects didn't work until i started with debug log

Open Meister1593 opened this issue 2 years ago • 8 comments

EasyEffects Version

6.2.5

What package are you using?

Flatpak (Flathub)

Distribution

Fedora Silverblue 36

Describe the bug

Couldn't start easyeffects, says a bit strange (confusing) message about version:

plyshka@fedora ~> flatpak --user run com.github.wwmm.easyeffects
You have PipeWire 0.3.49 installed
This is newer or the same as PipeWire 0.3.41 required to run EasyEffects

But when i started it with logging flatpak --user --env=G_MESSAGES_DEBUG=easyeffects run com.github.wwmm.easyeffects 2>&1 | tee easyeffects.log (to capture logs as debug log section says) it suddenly started working, even without logging enabled, which is really strange.

Expected Behavior

Easyeffects should run just as usual without UB?

Debug Log

Debug Log
You have PipeWire 0.3.49 installed
This is newer or the same as PipeWire 0.3.41 required to run EasyEffects
(process:2): easyeffects-DEBUG: 18:17:10.824: easyeffects version: 6.2.5
(process:2): easyeffects-DEBUG: 18:17:10.826: main: locale directory: /app/share/locale
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: system input presets directory: "/app/etc/xdg/easyeffects/input"; 
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: system input presets directory: "/etc/easyeffects/input"; 
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input"; 
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: system output presets directory: "/app/etc/xdg/easyeffects/output"; 
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: system output presets directory: "/etc/easyeffects/output"; 
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output"; 
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: user presets directory already exists: /home/plyshka/.var/app/com.github.wwmm.easyeffects/config/easyeffects/
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: user presets directory already exists: /home/plyshka/.var/app/com.github.wwmm.easyeffects/config/easyeffects/input
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: user presets directory already exists: /home/plyshka/.var/app/com.github.wwmm.easyeffects/config/easyeffects/output
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: user presets directory already exists: /home/plyshka/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/input
(easyeffects:2): easyeffects-DEBUG: 18:17:10.835: presets_manager: user presets directory already exists: /home/plyshka/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/output
(easyeffects:2): easyeffects-DEBUG: 18:17:10.956: pipe_manager: compiled with PipeWire: 0.3.41
(easyeffects:2): easyeffects-DEBUG: 18:17:10.956: pipe_manager: linked to PipeWire: 0.3.41
(easyeffects:2): easyeffects-DEBUG: 18:17:10.959: pipe_manager: core version: 0.3.49
(easyeffects:2): easyeffects-DEBUG: 18:17:10.959: pipe_manager: core name: pipewire-0
(easyeffects:2): easyeffects-DEBUG: 18:17:10.960: pipe_manager: found metadata: settings
(easyeffects:2): easyeffects-DEBUG: 18:17:10.960: pipe_manager: found metadata: default
(easyeffects:2): easyeffects-DEBUG: 18:17:10.960: pipe_manager: found metadata: route-settings
(easyeffects:2): easyeffects-DEBUG: 18:17:10.960: pipe_manager: Audio/Source 42 alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback with timestamp 1652105830960858146 was added
(easyeffects:2): easyeffects-DEBUG: 18:17:10.960: pipe_manager: Audio/Sink 43 alsa_output.pci-0000_0a_00.3.analog-stereo with timestamp 1652105830960909216 was added
(easyeffects:2): easyeffects-DEBUG: 18:17:10.961: pipe_manager: Audio/Sink 64 easyeffects_sink with timestamp 1652105830960994855 was added
(easyeffects:2): easyeffects-DEBUG: 18:17:10.961: pipe_manager: Audio/Source/Virtual 57 easyeffects_source with timestamp 1652105830961029235 was added
(easyeffects:2): easyeffects-DEBUG: 18:17:10.961: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, {"name":"bluez_output.01_08_21_75_97_85.a2dp-sink"}
(easyeffects:2): easyeffects-DEBUG: 18:17:10.961: pipe_manager: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback"}
(easyeffects:2): easyeffects-DEBUG: 18:17:10.961: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_0a_00.3.analog-stereo"}
(easyeffects:2): easyeffects-DEBUG: 18:17:10.961: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback"}
(easyeffects:2): easyeffects-DEBUG: 18:17:10.962: pipe_manager: easyeffects_sink node successfully retrieved with id 64 and timestamp 1652105830960994855
(easyeffects:2): easyeffects-DEBUG: 18:17:10.962: pipe_manager: easyeffects_source node successfully retrieved with id 57 and timestamp 1652105830961029235

(easyeffects:2): easyeffects-WARNING **: 18:17:11.004: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness
(easyeffects:2): easyeffects-DEBUG: 18:17:11.004: soe: http://drobilla.net/plugins/mda/Loudness is not installed

(easyeffects:2): easyeffects-WARNING **: 18:17:11.004: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:2): easyeffects-WARNING **: 18:17:11.004: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:2): easyeffects-WARNING **: 18:17:11.004: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link
(easyeffects:2): easyeffects-DEBUG: 18:17:11.025: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:11.067: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:11.122: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:11.996: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:12.017: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:12.038: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:12.038: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options
(easyeffects:2): easyeffects-DEBUG: 18:17:12.071: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:12.120: soe: rnnoise using the default model
(easyeffects:2): easyeffects-DEBUG: 18:17:12.143: soe: output_level successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:17:12.145: soe: spectrum successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:17:12.151: soe: crossfeed successfully connected to PipeWire graph

(easyeffects:2): easyeffects-WARNING **: 18:17:12.197: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness
(easyeffects:2): easyeffects-DEBUG: 18:17:12.197: sie: http://drobilla.net/plugins/mda/Loudness is not installed

(easyeffects:2): easyeffects-WARNING **: 18:17:12.197: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:2): easyeffects-WARNING **: 18:17:12.197: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:2): easyeffects-WARNING **: 18:17:12.197: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link
(easyeffects:2): easyeffects-DEBUG: 18:17:12.218: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:12.259: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:12.313: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:13.180: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:13.200: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:13.219: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:13.219: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options
(easyeffects:2): easyeffects-DEBUG: 18:17:13.249: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:2): easyeffects-DEBUG: 18:17:13.292: sie: rnnoise using the default model
(easyeffects:2): easyeffects-DEBUG: 18:17:13.314: sie: output_level successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:17:13.316: sie: spectrum successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:17:13.321: sie: rnnoise successfully connected to PipeWire graph
easyeffects-INFO: 18:17:13.333: application: disabling global bypass
(easyeffects:2): easyeffects-DEBUG: 18:17:13.339: application_ui: Icon Theme Adwaita detected
(easyeffects:2): easyeffects-DEBUG: 18:17:13.498: rnnoise_box: model directory already exists: /home/plyshka/.var/app/com.github.wwmm.easyeffects/config/easyeffects/rnnoise
(easyeffects:2): easyeffects-DEBUG: 18:17:16.783: new default output device: alsa_output.pci-0000_0a_00.3.analog-stereo
(easyeffects:2): easyeffects-DEBUG: 18:17:16.798: new default input device: alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback
(easyeffects:2): easyeffects-DEBUG: 18:17:16.807: application: device alsa_card.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00 has changed its input route to: analog-input-mic
(easyeffects:2): easyeffects-DEBUG: 18:17:16.807: application: device alsa_card.pci-0000_0a_00.3 has changed its output route to: analog-output-lineout

Additional Information

It worked fine, then i rebooted, it didn't work, tried updating (flatpak) - still didn't work, and then it started working after enabling debug logs. Hopefully this is useful information.

Meister1593 avatar May 09 '22 14:05 Meister1593

What is strange about the message? It is behaving as intended (ignoring the not starting part).

Does

flatpak run --command=easyeffects com.github.wwmm.easyeffects

work differently than

flatpak run com.github.wwmm.easyeffects

vchernin avatar May 09 '22 15:05 vchernin

What is strange about the message? It is behaving as intended (ignoring the not starting part).

It's a bit weird that it says always about this, i was confused at first when it didn't start that it was some sort of warning or error message

About commands - sort of yes, it does not display version message with

plyshka@fedora ~> flatpak run --command=easyeffects com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 19:23:55.307: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:2): easyeffects-WARNING **: 19:23:55.307: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:2): easyeffects-WARNING **: 19:23:55.307: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:2): easyeffects-WARNING **: 19:23:55.307: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link

(easyeffects:2): easyeffects-WARNING **: 19:23:56.484: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:2): easyeffects-WARNING **: 19:23:56.484: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:2): easyeffects-WARNING **: 19:23:56.484: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:2): easyeffects-WARNING **: 19:23:56.484: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link

but it does display the version message with

plyshka@fedora ~> flatpak run com.github.wwmm.easyeffects
You have PipeWire 0.3.49 installed
This is newer or the same as PipeWire 0.3.41 required to run EasyEffects

(easyeffects:2): easyeffects-WARNING **: 19:25:18.129: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:2): easyeffects-WARNING **: 19:25:18.129: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:2): easyeffects-WARNING **: 19:25:18.129: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:2): easyeffects-WARNING **: 19:25:18.129: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link

(easyeffects:2): easyeffects-WARNING **: 19:25:19.333: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:2): easyeffects-WARNING **: 19:25:19.333: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:2): easyeffects-WARNING **: 19:25:19.333: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:2): easyeffects-WARNING **: 19:25:19.333: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link

About overall behaviour - works the same as far as i can tell

Meister1593 avatar May 09 '22 15:05 Meister1593

So with both commands it launches now? But it didn’t work before launching with the debug variable? I am not sure why that would happen.

vchernin avatar May 09 '22 16:05 vchernin

So with both commands it launches now? But it didn’t work before launching with the debug variable? I am not sure why that would happen.

I just rebooted into the same deployment i had when this occured to check something and i have reproducible behavior. Basically, if i just try to run easyeffects (even with command you provided, or debugging enabled), it wouldn't launch. I'm not sure if it's time-related or not but it won't just launch

Meister1593 avatar May 09 '22 16:05 Meister1593

wait... i think it's very well can be just mistake on my end

Easyeffects spawned on the same workspace (re-used window) on autostart and i didn't notice it at first and thought it just closes

Meister1593 avatar May 09 '22 16:05 Meister1593

tl.dr it's probably not a bug

but IMO there should be a notice that there is already a window present instead of just exiting without any message about it

Meister1593 avatar May 09 '22 16:05 Meister1593

but IMO there should be a notice that there is already a window present instead of just exiting without any message about it

yeah that would probably help if it is possible.

vchernin avatar May 09 '22 16:05 vchernin

there should be a notice that there is already a window present instead of just exiting without any message about it

By default GTK allows only one instance of the application. We could force it do behave differently but as EasyEffects is not supposed to have two instances running we keep GTK's default behavior. If an instance is already running the newly created one is aborted.

When EasyEffects is running as a service in the background what happens when you execute easyeffects in a terminal is that its window is shown. But if the window is already opened GTK just silently exits.

I am not sure if there is a way to print something before it exits because the aborting logic used to ensure an unique process is deep inside GTK.

wwmm avatar May 09 '22 23:05 wwmm