wwmm / easyeffects

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

audio cracking due to wrong latency #1841

Closed ECO1AI closed 1 year ago

ECO1AI commented 1 year ago

EasyEffects Version

6.3.0

What package are you using?

Arch (easyeffects)

Distribution

manjaro gnome

Describe the bug

i have seen audio cracking issue #1058 which is similar to what i have except that my issue is with some steam games.

Expected Behavior

no audio cracking , easyeffects sets the correct latency

Debug Log

Debug Log
``` G_MESSAGES_DEBUG=easyeffects easyeffects  ✔  4m 34s  (process:13935): easyeffects-DEBUG: 16:44:03.250: easyeffects.cpp:35 easyeffects version: 6.3.0 (process:13935): easyeffects-DEBUG: 16:44:03.253: easyeffects.cpp:45 locale directory: /usr/share/locale (easyeffects:13935): easyeffects-DEBUG: 16:44:03.259: presets_manager.cpp:49 system input presets directory: "/etc/easyeffects/input"; (easyeffects:13935): easyeffects-DEBUG: 16:44:03.259: presets_manager.cpp:49 system input presets directory: "/etc/xdg/easyeffects/input"; (easyeffects:13935): easyeffects-DEBUG: 16:44:03.259: presets_manager.cpp:52 system output presets directory: "/etc/easyeffects/output"; (easyeffects:13935): easyeffects-DEBUG: 16:44:03.259: presets_manager.cpp:52 system output presets directory: "/etc/xdg/easyeffects/output"; (easyeffects:13935): easyeffects-DEBUG: 16:44:03.259: presets_manager.cpp:194 user presets directory already exists: /home/yassen/.config/easyeffects/ (easyeffects:13935): easyeffects-DEBUG: 16:44:03.260: presets_manager.cpp:194 user presets directory already exists: /home/yassen/.config/easyeffects/input (easyeffects:13935): easyeffects-DEBUG: 16:44:03.260: presets_manager.cpp:194 user presets directory already exists: /home/yassen/.config/easyeffects/output (easyeffects:13935): easyeffects-DEBUG: 16:44:03.260: presets_manager.cpp:194 user presets directory already exists: /home/yassen/.config/easyeffects/autoload/input (easyeffects:13935): easyeffects-DEBUG: 16:44:03.260: presets_manager.cpp:194 user presets directory already exists: /home/yassen/.config/easyeffects/autoload/output (easyeffects:13935): easyeffects-DEBUG: 16:44:03.721: pipe_manager.cpp:1409 compiled with PipeWire: 0.3.56 (easyeffects:13935): easyeffects-DEBUG: 16:44:03.721: pipe_manager.cpp:1410 linked to PipeWire: 0.3.57 (easyeffects:13935): easyeffects-DEBUG: 16:44:03.742: pipe_manager.cpp:1380 core version: 0.3.57 (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1381 core name: pipewire-0 (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1294 found metadata: settings (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1294 found metadata: default (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1294 found metadata: route-settings (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1149 Audio/Sink 59 alsa_output.pci-0000_00_1f.3.analog-stereo with serial 60 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1149 Audio/Source 60 alsa_input.pci-0000_00_1f.3.analog-stereo with serial 61 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1149 Audio/Sink 133 bluez_output.28_52_E0_E6_FA_BE.a2dp-sink with serial 822 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1149 Audio/Sink 77 easyeffects_sink with serial 832 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:03.743: pipe_manager.cpp:1149 Audio/Source/Virtual 70 easyeffects_source with serial 833 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:03.745: pipe_manager.cpp:895 new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, {"name":"bluez_output.28_52_E0_E6_FA_BE.a2dp-sink"} (easyeffects:13935): easyeffects-DEBUG: 16:44:03.745: pipe_manager.cpp:895 new metadata property: 0, default.configured.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"} (easyeffects:13935): easyeffects-DEBUG: 16:44:03.745: pipe_manager.cpp:895 new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"bluez_output.28_52_E0_E6_FA_BE.a2dp-sink"} (easyeffects:13935): easyeffects-DEBUG: 16:44:03.745: pipe_manager.cpp:895 new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"} (easyeffects:13935): easyeffects-DEBUG: 16:44:03.745: pipe_manager.cpp:1500 easyeffects_sink node successfully retrieved with id 77 and serial 832 (easyeffects:13935): easyeffects-DEBUG: 16:44:03.745: pipe_manager.cpp:1505 easyeffects_source node successfully retrieved with id 70 and serial 833 (easyeffects:13935): easyeffects-DEBUG: 16:44:03.767: plugin_base.cpp:289 soe: output_level successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:03.771: plugin_base.cpp:289 soe: spectrum successfully connected to PipeWire graph lilv_world_add_plugin(): warning: Duplicate plugin lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_stereo.lv2/ lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_mono.lv2/ (ignored) (easyeffects:13935): easyeffects-DEBUG: 16:44:03.829: lv2_wrapper.cpp:100 http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map lilv_world_add_plugin(): warning: Duplicate plugin lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_stereo.lv2/ lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_mono.lv2/ (ignored) (easyeffects:13935): easyeffects-DEBUG: 16:44:03.852: lv2_wrapper.cpp:100 http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map lilv_world_add_plugin(): warning: Duplicate plugin lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_stereo.lv2/ lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_mono.lv2/ (ignored) lilv_world_add_plugin(): warning: Duplicate plugin lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_stereo.lv2/ lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_mono.lv2/ (ignored) (easyeffects:13935): easyeffects-DEBUG: 16:44:03.941: lv2_wrapper.cpp:100 http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map lilv_world_add_plugin(): warning: Duplicate plugin lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_stereo.lv2/ lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_mono.lv2/ (ignored) lilv_world_add_plugin(): warning: Duplicate plugin lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_stereo.lv2/ lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_mono.lv2/ (ignored) (easyeffects:13935): easyeffects-DEBUG: 16:44:04.002: lv2_wrapper.cpp:100 http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13935): easyeffects-DEBUG: 16:44:04.005: plugin_base.cpp:289 soe: limiter successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.012: plugin_base.cpp:289 soe: loudness successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.019: plugin_base.cpp:289 soe: stereo_tools successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.026: plugin_base.cpp:289 soe: equalizer successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.047: plugin_base.cpp:289 soe: bass_enhancer successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.052: plugin_base.cpp:289 soe: convolver successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.057: plugin_base.cpp:289 soe: compressor successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.066: plugin_base.cpp:289 soe: crossfeed successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.090: plugin_base.cpp:289 sie: output_level successfully connected to PipeWire graph (easyeffects:13935): easyeffects-DEBUG: 16:44:04.094: plugin_base.cpp:289 sie: spectrum successfully connected to PipeWire graph easyeffects-INFO: 16:44:04.145: application.cpp:49 disabling global bypass (easyeffects:13935): easyeffects-DEBUG: 16:44:04.153: application_ui.cpp:85 Icon Theme Papirus-Dark detected (easyeffects:13935): easyeffects-DEBUG: 16:44:04.829: convolver_ui.cpp:625 irs directory already exists: /home/yassen/.config/easyeffects/irs (easyeffects:13935): Gtk-WARNING **: 16:44:04.959: GtkWindowControls 0x559bd1878ad0 (windowcontrols) reported min width -92, but sizes must be >= 0 (easyeffects:13935): easyeffects-DEBUG: 16:44:05.105: application.cpp:77 new default output device: bluez_output.28_52_E0_E6_FA_BE.a2dp-sink (easyeffects:13935): easyeffects-DEBUG: 16:44:05.132: application.cpp:85 new default input device: alsa_input.pci-0000_00_1f.3.analog-stereo (easyeffects:13935): easyeffects-DEBUG: 16:44:05.132: application.cpp:97 device alsa_card.pci-0000_00_1f.3 has changed its input route to: analog-input-internal-mic (easyeffects:13935): easyeffects-DEBUG: 16:44:05.132: application.cpp:129 device alsa_card.pci-0000_00_1f.3 has changed its output route to: analog-output-speaker (easyeffects:13935): easyeffects-DEBUG: 16:44:05.132: application.cpp:149 output autoloading: the target node name does not match the output device name (easyeffects:13935): easyeffects-DEBUG: 16:44:05.132: application.cpp:129 device bluez_card.28_52_E0_E6_FA_BE has changed its output route to: headset-output (easyeffects:13935): easyeffects-DEBUG: 16:44:10.653: stream_output_effects.cpp:165 No app linked to our device wants to play. Unlinking our filters. (easyeffects:13935): easyeffects-DEBUG: 16:44:10.688: stream_input_effects.cpp:169 No app linked to our device wants to play. Unlinking our filters. (easyeffects:13935): easyeffects-DEBUG: 16:44:12.002: pipe_manager.cpp:1149 Stream/Output/Audio 173 Audacious with serial 1018 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:12.018: pipe_manager.cpp:1189 Audacious port 165 is connected to easyeffects_sink port 71 (easyeffects:13935): easyeffects-DEBUG: 16:44:12.018: pipe_manager.cpp:1189 Audacious port 95 is connected to easyeffects_sink port 73 (easyeffects:13935): easyeffects-DEBUG: 16:44:12.031: stream_output_effects.cpp:156 At least one app linked to our device wants to play. Linking our filters. (easyeffects:13935): easyeffects-DEBUG: 16:44:12.045: pipe_manager.cpp:212 Stream/Output/Audio 173 Audacious has been removed (easyeffects:13935): easyeffects-DEBUG: 16:44:12.077: app_info.cpp:311 Audacious disposed (easyeffects:13935): easyeffects-DEBUG: 16:44:12.078: app_info.cpp:319 Audacious finalized (easyeffects:13935): easyeffects-DEBUG: 16:44:12.078: app_info.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:44:12.078: node_info_holder.cpp:91 173, Audacious finalized (easyeffects:13935): easyeffects-DEBUG: 16:44:12.108: pipe_manager.cpp:1149 Stream/Output/Audio 106 Audacious with serial 1046 has been added (easyeffects:13935): easyeffects-DEBUG: 16:44:12.144: pipe_manager.cpp:1189 Audacious port 100 is connected to easyeffects_sink port 71 (easyeffects:13935): easyeffects-DEBUG: 16:44:12.144: pipe_manager.cpp:1189 Audacious port 99 is connected to easyeffects_sink port 73 (easyeffects:13935): easyeffects-DEBUG: 16:44:14.155: limiter.cpp:138 soe: limiter latency: 0.01 s (easyeffects:13935): easyeffects-DEBUG: 16:44:14.155: effects_base.cpp:250 soe: pipeline latency: 10 ms (easyeffects:13935): easyeffects-DEBUG: 16:44:14.159: loudness.cpp:100 soe: loudness latency: 0.08533333 s (easyeffects:13935): easyeffects-DEBUG: 16:44:14.159: effects_base.cpp:250 soe: pipeline latency: 95.33333 ms (easyeffects:13935): easyeffects-DEBUG: 16:44:14.203: convolver.cpp:300 soe: convolver: irs file: /home/yassen/.config/easyeffects/irs/Accudio ((48kHz Z.E.)) Earpods HIFI.irs (easyeffects:13935): easyeffects-DEBUG: 16:44:14.203: convolver.cpp:301 soe: convolver: irs rate: 48000 Hz (easyeffects:13935): easyeffects-DEBUG: 16:44:14.203: convolver.cpp:302 soe: convolver: irs channels: 2 (easyeffects:13935): easyeffects-DEBUG: 16:44:14.203: convolver.cpp:303 soe: convolver: irs frames: 8192 (easyeffects:13935): easyeffects-DEBUG: 16:44:14.204: convolver.cpp:342 soe: convolver: kernel initialized (easyeffects:13935): easyeffects-DEBUG: 16:44:14.204: convolver.cpp:377 soe: autogain factor: 0.5755009 (easyeffects:13935): easyeffects-DEBUG: 16:44:14.206: output_level.cpp:37 soe: output_level: PipeWire blocksize: 2048 (easyeffects:13935): easyeffects-DEBUG: 16:44:14.207: output_level.cpp:38 soe: output_level: PipeWire sampling rate: 48000 (easyeffects:13935): easyeffects-DEBUG: 16:44:14.208: convolver.cpp:459 soe: convolver: zita is ready (easyeffects:13935): easyeffects-DEBUG: 16:44:14.250: convolver.cpp:244 soe: convolver latency: 0 s (easyeffects:13935): easyeffects-DEBUG: 16:44:14.250: effects_base.cpp:250 soe: pipeline latency: 95.33333 ms (easyeffects:13935): easyeffects-DEBUG: 16:44:26.534: pipe_manager.cpp:212 Stream/Output/Audio 106 Audacious has been removed (easyeffects:13935): easyeffects-DEBUG: 16:44:26.538: app_info.cpp:311 Audacious disposed (easyeffects:13935): easyeffects-DEBUG: 16:44:26.540: app_info.cpp:319 Audacious finalized (easyeffects:13935): easyeffects-DEBUG: 16:44:26.540: app_info.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:44:26.540: node_info_holder.cpp:91 106, Audacious finalized (easyeffects:13935): easyeffects-DEBUG: 16:44:31.651: stream_output_effects.cpp:165 No app linked to our device wants to play. Unlinking our filters. (easyeffects:13935): easyeffects-DEBUG: 16:45:00.262: pipe_manager.cpp:1149 Stream/Output/Audio 177 GPT_vol1.exe with serial 1052 has been added (easyeffects:13935): easyeffects-DEBUG: 16:45:00.282: pipe_manager.cpp:1189 GPT_vol1.exe port 176 is connected to easyeffects_sink port 71 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.282: pipe_manager.cpp:1189 GPT_vol1.exe port 175 is connected to easyeffects_sink port 73 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.305: pipe_manager.cpp:212 Stream/Output/Audio 177 GPT_vol1.exe has been removed (easyeffects:13935): easyeffects-DEBUG: 16:45:00.305: pipe_manager.cpp:1149 Stream/Input/Audio 177 GPT_vol1.exe with serial 1057 has been added (easyeffects:13935): easyeffects-DEBUG: 16:45:00.322: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.327: pipe_manager.cpp:1189 alsa_input.pci-0000_00_1f.3.analog-stereo port 55 is connected to GPT_vol1.exe port 175 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.327: pipe_manager.cpp:1189 alsa_input.pci-0000_00_1f.3.analog-stereo port 61 is connected to GPT_vol1.exe port 176 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.378: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.379: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.379: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.381: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.381: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.381: app_info.cpp:311 GPT_vol1.exe disposed (easyeffects:13935): easyeffects-DEBUG: 16:45:00.383: app_info.cpp:319 GPT_vol1.exe finalized (easyeffects:13935): easyeffects-DEBUG: 16:45:00.383: app_info.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:45:00.383: node_info_holder.cpp:91 177, GPT_vol1.exe finalized (easyeffects:13935): easyeffects-DEBUG: 16:45:00.387: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.387: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.387: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.388: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.423: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.424: pipe_manager.cpp:212 Stream/Input/Audio 177 GPT_vol1.exe has been removed (easyeffects:13935): easyeffects-DEBUG: 16:45:00.425: app_info.cpp:135 cannot lookup application icon gpt_vol1.exe in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.425: app_info.cpp:311 GPT_vol1.exe disposed (easyeffects:13935): easyeffects-DEBUG: 16:45:00.426: app_info.cpp:319 GPT_vol1.exe finalized (easyeffects:13935): easyeffects-DEBUG: 16:45:00.426: app_info.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:45:00.427: node_info_holder.cpp:91 177, GPT_vol1.exe finalized (easyeffects:13935): easyeffects-DEBUG: 16:45:00.532: pipe_manager.cpp:1149 Stream/Output/Audio 177 TVP(KIRIKIRI) Z core / Scripting Platform for Win32 with serial 1065 has been added (easyeffects:13935): easyeffects-DEBUG: 16:45:00.536: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.537: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.538: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.541: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.550: pipe_manager.cpp:1189 TVP(KIRIKIRI) Z core / Scripting Platform for Win32 port 174 is connected to easyeffects_sink port 71 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.550: pipe_manager.cpp:1189 TVP(KIRIKIRI) Z core / Scripting Platform for Win32 port 173 is connected to easyeffects_sink port 73 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.552: stream_output_effects.cpp:156 At least one app linked to our device wants to play. Linking our filters. (easyeffects:13935): easyeffects-DEBUG: 16:45:00.626: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.628: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.629: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.631: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:00.641: convolver.cpp:300 soe: convolver: irs file: /home/yassen/.config/easyeffects/irs/Accudio ((48kHz Z.E.)) Earpods HIFI.irs (easyeffects:13935): easyeffects-DEBUG: 16:45:00.641: convolver.cpp:301 soe: convolver: irs rate: 48000 Hz (easyeffects:13935): easyeffects-DEBUG: 16:45:00.642: convolver.cpp:302 soe: convolver: irs channels: 2 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.642: convolver.cpp:303 soe: convolver: irs frames: 8192 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.642: convolver.cpp:342 soe: convolver: kernel initialized (easyeffects:13935): easyeffects-DEBUG: 16:45:00.643: convolver.cpp:377 soe: autogain factor: 0.5755009 (easyeffects:13935): easyeffects-DEBUG: 16:45:00.660: convolver.cpp:459 soe: convolver: zita is ready (easyeffects:13935): easyeffects-DEBUG: 16:45:01.314: convolver.cpp:244 soe: convolver latency: 0 s (easyeffects:13935): easyeffects-DEBUG: 16:45:01.315: output_level.cpp:37 soe: output_level: PipeWire blocksize: 256 (easyeffects:13935): easyeffects-DEBUG: 16:45:01.315: output_level.cpp:38 soe: output_level: PipeWire sampling rate: 48000 (easyeffects:13935): easyeffects-DEBUG: 16:45:01.315: effects_base.cpp:250 soe: pipeline latency: 95.33333 ms (easyeffects:13935): easyeffects-DEBUG: 16:45:50.712: pipe_manager.cpp:212 Stream/Output/Audio 177 TVP(KIRIKIRI) Z core / Scripting Platform for Win32 has been removed (easyeffects:13935): easyeffects-DEBUG: 16:45:50.742: app_info.cpp:135 cannot lookup application icon tvp(kirikiri) z core / scripting platform for win32 in /usr/local/share/pixmaps (easyeffects:13935): easyeffects-DEBUG: 16:45:50.747: app_info.cpp:311 TVP(KIRIKIRI) Z core / Scripting Platform for Win32 disposed (easyeffects:13935): easyeffects-DEBUG: 16:45:50.753: app_info.cpp:319 TVP(KIRIKIRI) Z core / Scripting Platform for Win32 finalized (easyeffects:13935): easyeffects-DEBUG: 16:45:50.753: app_info.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:45:50.754: node_info_holder.cpp:91 177, TVP(KIRIKIRI) Z core / Scripting Platform for Win32 finalized (easyeffects:13935): easyeffects-DEBUG: 16:45:55.653: stream_output_effects.cpp:165 No app linked to our device wants to play. Unlinking our filters. (easyeffects:13935): easyeffects-DEBUG: 16:46:01.739: application_ui.cpp:205 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.795: presets_menu.cpp:388 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.796: presets_menu.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.796: presets_menu.cpp:398 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.797: effects_box.cpp:487 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.797: chart.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.797: chart.cpp:603 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.797: blocklist_menu.cpp:192 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.798: blocklist_menu.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.798: blocklist_menu.cpp:202 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.798: apps_box.cpp:391 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.799: apps_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.799: apps_box.cpp:401 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.799: plugins_box.cpp:731 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.799: plugins_menu.cpp:205 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.800: plugins_menu.cpp:30 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.800: plugins_menu.cpp:215 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.800: limiter_ui.cpp:300 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.804: node_info_holder.cpp:91 60, alsa_input.pci-0000_00_1f.3.analog-stereo finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.806: limiter_ui.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.806: limiter_ui.cpp:310 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.806: loudness_ui.cpp:135 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.808: loudness_ui.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.808: loudness_ui.cpp:145 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.808: stereo_tools_ui.cpp:161 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.810: stereo_tools_ui.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.810: stereo_tools_ui.cpp:171 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.811: equalizer_ui.cpp:561 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.813: equalizer_band_box.cpp:139 index: 0 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.815: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.815: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.815: equalizer_band_box.cpp:139 index: 1 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.816: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.816: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.816: equalizer_band_box.cpp:139 index: 2 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.818: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.818: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.818: equalizer_band_box.cpp:139 index: 3 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.820: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.820: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.820: equalizer_band_box.cpp:139 index: 4 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.822: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.822: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.822: equalizer_band_box.cpp:139 index: 5 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.824: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.824: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.824: equalizer_band_box.cpp:139 index: 6 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.826: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.826: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.826: equalizer_band_box.cpp:139 index: 7 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.828: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.828: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.828: equalizer_band_box.cpp:139 index: 8 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.830: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.830: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.830: equalizer_band_box.cpp:139 index: 9 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.838: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.838: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.838: equalizer_band_box.cpp:139 index: 10 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.840: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.840: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.840: equalizer_band_box.cpp:139 index: 11 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.842: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.842: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.842: equalizer_band_box.cpp:139 index: 12 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.845: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.845: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.845: equalizer_band_box.cpp:139 index: 13 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.847: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.847: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.847: equalizer_band_box.cpp:139 index: 14 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.848: equalizer_band_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.848: equalizer_band_box.cpp:149 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.849: equalizer_ui.cpp:45 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.849: equalizer_ui.cpp:571 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.849: bass_enhancer_ui.cpp:146 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.851: bass_enhancer_ui.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.851: bass_enhancer_ui.cpp:156 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.851: convolver_ui.cpp:550 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.852: chart.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.852: chart.cpp:603 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.852: convolver_menu_impulses.cpp:311 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.853: convolver_menu_combine.cpp:221 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.854: convolver_menu_combine.cpp:32 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.854: convolver_menu_combine.cpp:231 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.854: convolver_ui.cpp:32 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.854: convolver_ui.cpp:566 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.854: compressor_ui.cpp:349 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.858: node_info_holder.cpp:91 60, alsa_input.pci-0000_00_1f.3.analog-stereo finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.862: compressor_ui.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.862: compressor_ui.cpp:359 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.862: crossfeed_ui.cpp:137 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: crossfeed_ui.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: crossfeed_ui.cpp:147 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: plugins_box.cpp:30 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: plugins_box.cpp:741 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: effects_box.cpp:32 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: effects_box.cpp:497 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: effects_box.cpp:487 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: chart.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.864: chart.cpp:603 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.865: blocklist_menu.cpp:192 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.865: blocklist_menu.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.865: blocklist_menu.cpp:202 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.865: apps_box.cpp:391 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.866: apps_box.cpp:26 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.866: apps_box.cpp:401 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.866: plugins_box.cpp:731 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.866: plugins_menu.cpp:205 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.867: plugins_menu.cpp:30 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.867: plugins_menu.cpp:215 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.867: plugins_box.cpp:30 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.867: plugins_box.cpp:741 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.867: effects_box.cpp:32 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.867: effects_box.cpp:497 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.868: pipe_manager_box.cpp:756 disposed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.874: node_info_holder.cpp:91 60, alsa_input.pci-0000_00_1f.3.analog-stereo finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.874: node_info_holder.cpp:91 133, bluez_output.28_52_E0_E6_FA_BE.a2dp-sink finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.874: node_info_holder.cpp:91 59, alsa_output.pci-0000_00_1f.3.analog-stereo finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.874: pipe_manager_box.cpp:28 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.874: test_signals.cpp:154 destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.876: pipe_manager_box.cpp:766 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.876: application_ui.cpp:29 data struct destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.876: application_ui.cpp:215 finalized (easyeffects:13935): easyeffects-DEBUG: 16:46:01.876: presets_manager.cpp:180 destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.876: stream_input_effects.cpp:112 destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.876: effects_base.cpp:70 effects_base: destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.880: spectrum.cpp:61 sie: spectrum destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.882: output_level.cpp:33 sie: output_level destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.882: stream_output_effects.cpp:112 destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.883: effects_base.cpp:70 effects_base: destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.884: stereo_tools.cpp:74 soe: stereo_tools destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.903: loudness.cpp:52 soe: loudness destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.916: limiter.cpp:88 soe: limiter destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.926: equalizer.cpp:100 soe: equalizer destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.950: crossfeed.cpp:59 soe: crossfeed destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.957: convolver.cpp:101 soe: convolver destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.958: compressor.cpp:111 soe: compressor destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.971: bass_enhancer.cpp:56 soe: bass_enhancer destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.982: spectrum.cpp:61 soe: spectrum destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.984: output_level.cpp:33 soe: output_level destroyed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.984: pipe_manager.cpp:1528 Destroying PipeWire registry... (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:1531 Disconnecting PipeWire core... (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:212 Audio/Sink 59 alsa_output.pci-0000_00_1f.3.analog-stereo has been removed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:212 Audio/Source 60 alsa_input.pci-0000_00_1f.3.analog-stereo has been removed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:212 Audio/Sink 133 bluez_output.28_52_E0_E6_FA_BE.a2dp-sink has been removed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:212 Audio/Sink 77 easyeffects_sink has been removed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:212 Audio/Source/Virtual 70 easyeffects_source has been removed (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:1536 Stopping PipeWire's loop... (easyeffects:13935): easyeffects-DEBUG: 16:46:01.985: pipe_manager.cpp:1539 Destroying PipeWire's context... (easyeffects:13935): easyeffects-DEBUG: 16:46:01.993: pipe_manager.cpp:1542 Destroying PipeWire's loop... (easyeffects:13935): easyeffects-DEBUG: 16:46:01.993: application.cpp:378 shutting down... (easyeffects:13935): easyeffects-DEBUG: 16:46:01.993: easyeffects.cpp:60 Exitting the main function with status: 0 ```

Additional Information

after a heavy researches i have noticed the the following :

when govnor is sat to power saving and under load >25 the audio cracking appears ( not every time ), but when i change govnor to performance the cracking disappears. so, i tried to set both easyeffects and pipewire to the highest priority but got minor improvement . i also changed maximum buffer size to 64 but no luck.

i have disabled all plugins and ran audio on easyeffects , but the audio is still cracking despite that it has no modifications to do on audio. ( literally no change in cracking )

until i noticed that any audio processed with easyeffects has a latency grater than 5ms . image here is audacious as an example image also, this is a game ( open GL ) running from steam

but when i run a game with cracking i get i 5ms only ( as shown below )
image which is to quick for my cpu to handel unless i change govnor to performance despite easyeffects taking 15% of the cpu

it seems like 5ms is the lowest value and easyeffects is unable to find the correct latency so it sets it to the lowest. i am running xwayland as compositor which might have something to do with this issue . also, i am setting frame limit to 30fps via goverlay ,but i dont thing that has relation to the issue . image

the easiest fix is to somehow manually adjust latency

thank you for your hard work in advance

wwmm commented 1 year ago

until i noticed that any audio processed with easyeffects has a latency grater than 5ms .

This is the latency that the audio application is requesting to the audio server. PipeWire is free to use it or not. What it is going to do depends on the situation.

it seems like 5ms is the lowest value and easyeffects is unable to find the correct latency so it sets it to the lowest.

EasyEffects does not try to set any latency. As the game is requesting a low latency PipeWire is switching to it. By default it tries to please the client requesting the lower latency.

You can have a better idea about what Pipewire is doing running pw-top. But based on my experience whenever games are running too low quantum sizes (latency) are used. Your EasyEffects logs is showing quantum sizes as low as 256. For some apps this is fine but with games I almost always hear a crackling.

When I am playing I usually launch the game with the environmental variable PULSE_LATENCY_MSEC set to something reasonable so that the game does not force PipeWire to use a too low latency.

ECO1AI commented 1 year ago

i see PULSE_LATENCY_MSEC did the trick although, the number that you write is not equal to latency in ms but that solved the issue thanks