wwmm / easyeffects

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

Sound *Cracking* when using with Discord (Watching someone share screen) & Random Crash #1058

Open tackleza opened 3 years ago

tackleza commented 3 years ago

Hello,

First I would like to Thank you for making this masterpiece software ❤️. I really enjoy PulseEffects(EasyEffects) but I have a problem since my distro (Manjaro) change to Pipewire then EasyEffects started to have a problem. I'll tried my best to explain since my English is not my first language.

My Distro & My System

Output of G_MESSAGES_DEBUG=easyeffects easyeffects ``` [tackle@tackle-gaming tmp]$ G_MESSAGES_DEBUG=easyeffects easyeffects > output.txt (easyeffects:40562): Gtk-WARNING **: 04:26:52.815: Unknown key gtk-button-images in /home/tackle/.config/gtk-4.0/settings.ini (easyeffects:40562): Gtk-WARNING **: 04:26:52.815: Unknown key gtk-menu-images in /home/tackle/.config/gtk-4.0/settings.ini (easyeffects:40562): Gtk-WARNING **: 04:26:52.815: Unknown key gtk-toolbar-style in /home/tackle/.config/gtk-4.0/settings.ini (easyeffects:40562): easyeffects-WARNING **: 04:26:52.867: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:40562): easyeffects-WARNING **: 04:26:52.867: soe: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:40562): easyeffects-WARNING **: 04:26:52.867: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:40562): easyeffects-WARNING **: 04:26:52.867: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:40562): easyeffects-WARNING **: 04:26:52.867: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:40562): easyeffects-WARNING **: 04:26:53.172: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:40562): easyeffects-WARNING **: 04:26:53.173: sie: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:40562): easyeffects-WARNING **: 04:26:53.173: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:40562): easyeffects-WARNING **: 04:26:53.173: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:40562): easyeffects-WARNING **: 04:26:53.173: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link ```

The problem

EasyEffects with Discord When you using Discord while listen to music Ex. Spotify the sound started to Cracking like someone is cleaning my ear wax. And even worse when you watching someone live stream (Share screen)

discord_arch_electron 0.0.15-1 (AUR)

Since I already blacklisted Discord (WEBRTC & Chromium) it's should bypass EasyEffects but the problem still remains, but when I toggle global bypass, no more Cracking sound

Is this problem on EasyEffects or Pipewire? not only my computer found this problem, even my friend have a same problem. IF you need more information please let me known. I use Linux for a long time but I have zero knowledge of Pipewire

And during this Cracking sound appear EasyEffects sometime random crash, so I'll post some of Stack trace (dumped core) that might be helpful

dumped core 1 ``` Stack trace of thread 38906: #0 0x00007fe5ab0475f4 _ZN9Convlevel7processEb (libzita-convolver.so.4 + 0x45f4) #1 0x00007fe5ab0478f1 _ZN9Convlevel7readoutEbj (libzita-convolver.so.4 + 0x48f1) #2 0x00007fe5ab0479f3 _ZN8Convproc7processEb (libzita-convolver.so.4 + 0x49f3) #3 0x000055baa0c22db7 n/a (easyeffects + 0xb2db7) #4 0x000055baa0c2585d n/a (easyeffects + 0xb585d) #5 0x000055baa0cf16eb n/a (easyeffects + 0x1816eb) #6 0x00007fe5ac848db5 n/a (libpipewire-0.3.so.0 + 0x45db5) #7 0x00007fe5ac8572f9 n/a (libpipewire-0.3.so.0 + 0x542f9) #8 0x00007fe5ac858bf8 n/a (libpipewire-0.3.so.0 + 0x55bf8) #9 0x00007fe5a436ce0b n/a (libspa-support.so + 0x7e0b) #10 0x00007fe5ac83f370 n/a (libpipewire-0.3.so.0 + 0x3c370) #11 0x00007fe5aacb4259 start_thread (libpthread.so.0 + 0x9259) #12 0x00007fe5aabdd5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38901: #0 0x00007fe5aabd2b2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe5ac775b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe5ac71f871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #3 0x00007fe5ac71f8c2 n/a (libglib-2.0.so.0 + 0x518c2) #4 0x00007fe5ac7502c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe5aacb4259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe5aabdd5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38899: #0 0x00007fe5aab1bd00 raise (libc.so.6 + 0x3cd00) #1 0x00007fe5aab05862 abort (libc.so.6 + 0x26862) #2 0x00007fe5aab5dd28 __libc_message (libc.so.6 + 0x7ed28) #3 0x00007fe5aab6592a malloc_printerr (libc.so.6 + 0x8692a) #4 0x00007fe5aab669dc malloc_consolidate (libc.so.6 + 0x879dc) #5 0x00007fe5aab6888b _int_malloc (libc.so.6 + 0x8988b) #6 0x00007fe5aab696cf _int_memalign (libc.so.6 + 0x8a6cf) #7 0x00007fe5aab6a7bc _mid_memalign (libc.so.6 + 0x8b7bc) #8 0x00007fe5ab04629c n/a (libzita-convolver.so.4 + 0x329c) #9 0x00007fe5ab046603 _ZN9Convlevel9configureEijjjj (libzita-convolver.so.4 + 0x3603) #10 0x00007fe5ab048d8f _ZN8Convproc9configureEjjjjjjf (libzita-convolver.so.4 + 0x5d8f) #11 0x000055baa0c95c19 n/a (easyeffects + 0x125c19) #12 0x000055baa0c96049 n/a (easyeffects + 0x126049) #13 0x000055baa0c298e7 n/a (easyeffects + 0xb98e7) #14 0x00007fe5ac69d039 n/a (libglibmm-2.68.so.1 + 0x49039) #15 0x00007fe5ac722015 g_main_context_dispatch (libglib-2.0.so.0 + 0x54015) #16 0x00007fe5ac775b99 n/a (libglib-2.0.so.0 + 0xa7b99) #17 0x00007fe5ac71f871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #18 0x00007fe5abcca8b6 g_application_run (libgio-2.0.so.0 + 0xcc8b6) #19 0x000055baa0beb8c3 n/a (easyeffects + 0x7b8c3) #20 0x00007fe5aab06b25 __libc_start_main (libc.so.6 + 0x27b25) #21 0x000055baa0becaae n/a (easyeffects + 0x7caae) Stack trace of thread 38903: #0 0x00007fe5aabd2b2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe5ac775b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe5ac721693 g_main_loop_run (libglib-2.0.so.0 + 0x53693) #3 0x00007fe5abcff8c8 n/a (libgio-2.0.so.0 + 0x1018c8) #4 0x00007fe5ac7502c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe5aacb4259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe5aabdd5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38904: #0 0x00007fe5aabd2b2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe5ac775b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe5ac71f871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #3 0x00007fe5ac8dfebe n/a (libdconfsettings.so + 0x5ebe) #4 0x00007fe5ac7502c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe5aacb4259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe5aabdd5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38905: #0 0x00007fe5aabdd92e epoll_wait (libc.so.6 + 0xfe92e) #1 0x00007fe5a4376951 n/a (libspa-support.so + 0x11951) #2 0x00007fe5a436cd74 n/a (libspa-support.so + 0x7d74) #3 0x00007fe5ac878426 n/a (libpipewire-0.3.so.0 + 0x75426) #4 0x00007fe5aacb4259 start_thread (libpthread.so.0 + 0x9259) #5 0x00007fe5aabdd5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38924: #0 0x00007fe5aabd818d syscall (libc.so.6 + 0xf918d) #1 0x00007fe5ac77004b g_cond_ ```
dumped core 2 ``` Stack trace of thread 38087: #0 0x00007fe91f664eb9 n/a (libfftw3f.so.3 + 0x80eb9) #1 0x00007fe91f65f51f n/a (libfftw3f.so.3 + 0x7b51f) #2 0x00007fe91f6639a8 n/a (libfftw3f.so.3 + 0x7f9a8) #3 0x00007fe91f3f1d85 _ZN9Convlevel7processEb (libzita-convolver.so.4 + 0x3d85) #4 0x00007fe91f3f28f1 _ZN9Convlevel7readoutEbj (libzita-convolver.so.4 + 0x48f1) #5 0x00007fe91f3f29f3 _ZN8Convproc7processEb (libzita-convolver.so.4 + 0x49f3) #6 0x000055c6929ccdb7 n/a (easyeffects + 0xb2db7) #7 0x000055c6929cf85d n/a (easyeffects + 0xb585d) #8 0x000055c692a9b6eb n/a (easyeffects + 0x1816eb) #9 0x00007fe920bf3db5 n/a (libpipewire-0.3.so.0 + 0x45db5) #10 0x00007fe920c022f9 n/a (libpipewire-0.3.so.0 + 0x542f9) #11 0x00007fe920c03bf8 n/a (libpipewire-0.3.so.0 + 0x55bf8) #12 0x00007fe918717e0b n/a (libspa-support.so + 0x7e0b) #13 0x00007fe920bea370 n/a (libpipewire-0.3.so.0 + 0x3c370) #14 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #15 0x00007fe91ef885e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38080: #0 0x00007fe91f609717 fftwf_md5putb (libfftw3f.so.3 + 0x25717) #1 0x00007fe91f6097b9 fftwf_md5INT (libfftw3f.so.3 + 0x257b9) #2 0x00007fe91f60cf3e fftwf_tensor_md5 (libfftw3f.so.3 + 0x28f3e) #3 0x00007fe91f60b0cf n/a (libfftw3f.so.3 + 0x270cf) #4 0x00007fe91f60b830 fftwf_mkplan_d (libfftw3f.so.3 + 0x27830) #5 0x00007fe91f612fe0 n/a (libfftw3f.so.3 + 0x2efe0) #6 0x00007fe91f60b3f0 n/a (libfftw3f.so.3 + 0x273f0) #7 0x00007fe91f60b830 fftwf_mkplan_d (libfftw3f.so.3 + 0x27830) #8 0x00007fe91f663578 n/a (libfftw3f.so.3 + 0x7f578) #9 0x00007fe91f60b3f0 n/a (libfftw3f.so.3 + 0x273f0) #10 0x00007fe91f701905 fftwf_mkapiplan (libfftw3f.so.3 + 0x11d905) #11 0x00007fe91f708ef6 fftwf_plan_many_dft_r2c (libfftw3f.so.3 + 0x124ef6) #12 0x00007fe91f708326 fftwf_plan_dft_r2c (libfftw3f.so.3 + 0x124326) #13 0x00007fe91f708234 fftwf_plan_dft_r2c_1d (libfftw3f.so.3 + 0x124234) #14 0x00007fe91f3f1647 _ZN9Convlevel9configureEijjjj (libzita-convolver.so.4 + 0x3647) #15 0x00007fe91f3f3d8f _ZN8Convproc9configureEjjjjjjf (libzita-convolver.so.4 + 0x5d8f) #16 0x000055c692a3fc19 n/a (easyeffects + 0x125c19) #17 0x000055c692a40049 n/a (easyeffects + 0x126049) #18 0x000055c6929d38e7 n/a (easyeffects + 0xb98e7) #19 0x00007fe920a48039 n/a (libglibmm-2.68.so.1 + 0x49039) #20 0x00007fe920acd015 g_main_context_dispatch (libglib-2.0.so.0 + 0x54015) #21 0x00007fe920b20b99 n/a (libglib-2.0.so.0 + 0xa7b99) #22 0x00007fe920aca871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #23 0x00007fe9200758b6 g_application_run (libgio-2.0.so.0 + 0xcc8b6) #24 0x000055c6929958c3 n/a (easyeffects + 0x7b8c3) #25 0x00007fe91eeb1b25 __libc_start_main (libc.so.6 + 0x27b25) #26 0x000055c692996aae n/a (easyeffects + 0x7caae) Stack trace of thread 38082: #0 0x00007fe91ef7db2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe920b20b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe920aca871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #3 0x00007fe920aca8c2 n/a (libglib-2.0.so.0 + 0x518c2) #4 0x00007fe920afb2c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe91ef885e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38084: #0 0x00007fe91ef7db2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe920b20b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe920acc693 g_main_loop_run (libglib-2.0.so.0 + 0x53693) #3 0x00007fe9200aa8c8 n/a (libgio-2.0.so.0 + 0x1018c8) #4 0x00007fe920afb2c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe91ef885e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38085: #0 0x00007fe91ef7db2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe920b20b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe920aca871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #3 0x00007fe920c8aebe n/a (libdconfsettings.so + 0x5ebe) #4 0x00007fe920afb2c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe91ef885e3 ```
dumped core 3 ``` Stack trace of thread 38087: #0 0x00007fe91f664eb9 n/a (libfftw3f.so.3 + 0x80eb9) #1 0x00007fe91f65f51f n/a (libfftw3f.so.3 + 0x7b51f) #2 0x00007fe91f6639a8 n/a (libfftw3f.so.3 + 0x7f9a8) #3 0x00007fe91f3f1d85 _ZN9Convlevel7processEb (libzita-convolver.so.4 + 0x3d85) #4 0x00007fe91f3f28f1 _ZN9Convlevel7readoutEbj (libzita-convolver.so.4 + 0x48f1) #5 0x00007fe91f3f29f3 _ZN8Convproc7processEb (libzita-convolver.so.4 + 0x49f3) #6 0x000055c6929ccdb7 n/a (easyeffects + 0xb2db7) #7 0x000055c6929cf85d n/a (easyeffects + 0xb585d) #8 0x000055c692a9b6eb n/a (easyeffects + 0x1816eb) #9 0x00007fe920bf3db5 n/a (libpipewire-0.3.so.0 + 0x45db5) #10 0x00007fe920c022f9 n/a (libpipewire-0.3.so.0 + 0x542f9) #11 0x00007fe920c03bf8 n/a (libpipewire-0.3.so.0 + 0x55bf8) #12 0x00007fe918717e0b n/a (libspa-support.so + 0x7e0b) #13 0x00007fe920bea370 n/a (libpipewire-0.3.so.0 + 0x3c370) #14 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #15 0x00007fe91ef885e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38080: #0 0x00007fe91f609717 fftwf_md5putb (libfftw3f.so.3 + 0x25717) #1 0x00007fe91f6097b9 fftwf_md5INT (libfftw3f.so.3 + 0x257b9) #2 0x00007fe91f60cf3e fftwf_tensor_md5 (libfftw3f.so.3 + 0x28f3e) #3 0x00007fe91f60b0cf n/a (libfftw3f.so.3 + 0x270cf) #4 0x00007fe91f60b830 fftwf_mkplan_d (libfftw3f.so.3 + 0x27830) #5 0x00007fe91f612fe0 n/a (libfftw3f.so.3 + 0x2efe0) #6 0x00007fe91f60b3f0 n/a (libfftw3f.so.3 + 0x273f0) #7 0x00007fe91f60b830 fftwf_mkplan_d (libfftw3f.so.3 + 0x27830) #8 0x00007fe91f663578 n/a (libfftw3f.so.3 + 0x7f578) #9 0x00007fe91f60b3f0 n/a (libfftw3f.so.3 + 0x273f0) #10 0x00007fe91f701905 fftwf_mkapiplan (libfftw3f.so.3 + 0x11d905) #11 0x00007fe91f708ef6 fftwf_plan_many_dft_r2c (libfftw3f.so.3 + 0x124ef6) #12 0x00007fe91f708326 fftwf_plan_dft_r2c (libfftw3f.so.3 + 0x124326) #13 0x00007fe91f708234 fftwf_plan_dft_r2c_1d (libfftw3f.so.3 + 0x124234) #14 0x00007fe91f3f1647 _ZN9Convlevel9configureEijjjj (libzita-convolver.so.4 + 0x3647) #15 0x00007fe91f3f3d8f _ZN8Convproc9configureEjjjjjjf (libzita-convolver.so.4 + 0x5d8f) #16 0x000055c692a3fc19 n/a (easyeffects + 0x125c19) #17 0x000055c692a40049 n/a (easyeffects + 0x126049) #18 0x000055c6929d38e7 n/a (easyeffects + 0xb98e7) #19 0x00007fe920a48039 n/a (libglibmm-2.68.so.1 + 0x49039) #20 0x00007fe920acd015 g_main_context_dispatch (libglib-2.0.so.0 + 0x54015) #21 0x00007fe920b20b99 n/a (libglib-2.0.so.0 + 0xa7b99) #22 0x00007fe920aca871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #23 0x00007fe9200758b6 g_application_run (libgio-2.0.so.0 + 0xcc8b6) #24 0x000055c6929958c3 n/a (easyeffects + 0x7b8c3) #25 0x00007fe91eeb1b25 __libc_start_main (libc.so.6 + 0x27b25) #26 0x000055c692996aae n/a (easyeffects + 0x7caae) Stack trace of thread 38082: #0 0x00007fe91ef7db2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe920b20b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe920aca871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #3 0x00007fe920aca8c2 n/a (libglib-2.0.so.0 + 0x518c2) #4 0x00007fe920afb2c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe91ef885e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38084: #0 0x00007fe91ef7db2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe920b20b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe920acc693 g_main_loop_run (libglib-2.0.so.0 + 0x53693) #3 0x00007fe9200aa8c8 n/a (libgio-2.0.so.0 + 0x1018c8) #4 0x00007fe920afb2c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe91ef885e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 38085: #0 0x00007fe91ef7db2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007fe920b20b29 n/a (libglib-2.0.so.0 + 0xa7b29) #2 0x00007fe920aca871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871) #3 0x00007fe920c8aebe n/a (libdconfsettings.so + 0x5ebe) #4 0x00007fe920afb2c1 n/a (libglib-2.0.so.0 + 0x822c1) #5 0x00007fe91f05f259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007fe91ef885e3 ```

Or any suggestion? i believe many user facing same problem like this.

Thank you in advance ❤️ and sorry for my English 🥺

vchernin commented 3 years ago

No worrries about your English! Just another user here.

I'd suggest trying to run discord by opening discord.com in Chromium or Firefox instead of using the app. It's possible a browser works better.

When you using Discord while listen to music Ex. Spotify the sound started to Cracking like someone is cleaning my ear wax. And even worse when you watching someone live stream (Share screen)

I am not an expert, but from my personal experience with PipeWire cracking can happen when the audio system "falls behind" and the system is under heavier cpu load. So it's maybe possible un ideal optimization is the culprit here, the system is not able to deliver everything on time basically.

Could you try running without any plugins enabled, and seeing if just running easyeffects and discord can cause the problem? Is there a clear correlation between running more apps on your system (eg screen sharing) and this cracking sound?

tackleza commented 3 years ago

Hello, vchernin

Thank you for the suggestion!.

I'd suggest trying to run discord by opening discord.com in Chromium or Firefox instead of using the app. It's possible a browser works better.

Yes. This way the Cracking sound is gone when using Discord via Website

I am not an expert, but from my personal experience with PipeWire cracking can happen when the audio system "falls behind" and the system is under heavier cpu load. So it's maybe possible un ideal optimization is the culprit here, the system is not able to deliver everything on time basically.

My CPU only running around 50% so that shouldn't be a problem

Could you try running without any plugins enabled, and seeing if just running easyeffects and discord can cause the problem? Is there a clear correlation between running more apps on your system (eg screen sharing) and this cracking sound?

Since I'm using 3 plugins (Autogain, Bass Enhancer, Crystalizer) When I'm disable 1 plugins (Crystalizer) while using Spotify(native) & Discord(native) there is no Cracking sound. but 3 plugins make cracking sound even on low CPU used

But I found interesting fact that I run stress CPU 100% there is no Cracking sound at all (running Discord without join any voice chat) enable all 3 plugins (Autogain, Bass Enhancer, Crystalizer)

More information I found out that game called "OSU!lazer" when "Graphics" Frame limiter change to 2x refresh rate+ make Cracking sound but if you choose vSync option. The sound is working perfect!

Summary:: The Cracking sound will appear when I'm enable plugin "Crystalizer". My CPU is running around <50%, Pipewire might can't keep up the output of sound? I really don't known 😞

If I have a free time. I'll try to re-install my entire OS, any suggestion is really helpful ❤️ If I found solution I'll let you guys know

Thank you 🙂

wwmm commented 3 years ago

The output of G_MESSAGES_DEBUG=easyeffects easyeffects is too small. There should be many lines there. You probably had another instance running. Try to kill it easyeffects -q before getting logs.

Since I'm using 3 plugins (Autogain, Bass Enhancer, Crystalizer)

These are among our heaviest plugins. The maximizer plugin is another one that is quite heavy. But the current implemention I was able to do in the crystalizer is really tough on cpu with few cores.

But I found interesting fact that I run stress CPU 100% there is no Cracking sound at all (running Discord without join any voice chat) enable all 3 plugins (Autogain, Bass Enhancer, Crystalizer)

The stress test will force the cpu to keep its clock at the highest value. Maybe the dynamic frequency switching is not fast enough to provide to provide the processing power that these plugins need when they need.

wwmm commented 3 years ago

But the current implemention I was able to do in the crystalizer is really tough on cpu with few cores.

That being said a i7-8700K should be more than enough. Maybe Intel's frequency scaling is related after all. In my desktop I have a Ryzen 3700x.

wwmm commented 3 years ago

dumped core 1

These core dumps related to the zita-convolver library have a different source. I have seen them on my computer a few times and besides the fact they are super hard to reproduce on my computer the reason why they happen is still not clear to me.

wwmm commented 3 years ago

The Discord app is known for having problems with sampling rates higher than 48 kHz. Maybe it has other audio issues too.

vchernin commented 3 years ago

If it’s possible could you try discord canary? It’s the testing version of discord that currently ships with a much newer electron version (13 vs 9). Since a browser seems to help here maybe newer a discord app will help too.

Also for reference did you try discord in Firefox or chromium or both (or something else). It’s possible they behave differently.

Actually I see you mention using discord_arch_electron 0.0.15-1 (AUR). That is a special package which gets discord to use your system electron instead of the discord provided one. I suggest using the most official one, for stable and for canary. On arch that would be discord (main repos) and discord-canary (AUR). Those are also available as Flatpaks on Flathub (Canary is on Flathub-beta).

tackleza commented 3 years ago

Hi, I'm apologize for late reply, I'll test and I'll give you more debug info ASAP ❤️

//Edited

Here a debug message output of "G_MESSAGES_DEBUG=easyeffects easyeffects"

Debug Message ``` [tackle@tackle-gaming ~]$ G_MESSAGES_DEBUG=easyeffects easyeffects (process:13123): easyeffects-DEBUG: 19:38:06.109: main: locale directory: /usr/share/locale (easyeffects:13123): easyeffects-DEBUG: 19:38:06.133: presets_manager: system input presets directory: "/etc/easyeffects/input"; (easyeffects:13123): easyeffects-DEBUG: 19:38:06.133: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input"; (easyeffects:13123): easyeffects-DEBUG: 19:38:06.133: presets_manager: system input presets directory: "/home/tackle/.config/kdedefaults/easyeffects/input"; (easyeffects:13123): easyeffects-DEBUG: 19:38:06.133: presets_manager: system output presets directory: "/etc/easyeffects/output"; (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output"; (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: system output presets directory: "/home/tackle/.config/kdedefaults/easyeffects/output"; (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: user presets directory already exists: /home/tackle/.config/easyeffects/ (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: user presets directory already exists: /home/tackle/.config/easyeffects/input (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: user presets directory already exists: /home/tackle/.config/easyeffects/output (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: user presets directory already exists: /home/tackle/.config/easyeffects/autoload/input (easyeffects:13123): easyeffects-DEBUG: 19:38:06.134: presets_manager: user presets directory already exists: /home/tackle/.config/easyeffects/autoload/output (easyeffects:13123): Gtk-WARNING **: 19:38:06.139: Unknown key gtk-button-images in /home/tackle/.config/gtk-4.0/settings.ini (easyeffects:13123): Gtk-WARNING **: 19:38:06.139: Unknown key gtk-menu-images in /home/tackle/.config/gtk-4.0/settings.ini (easyeffects:13123): Gtk-WARNING **: 19:38:06.139: Unknown key gtk-toolbar-style in /home/tackle/.config/gtk-4.0/settings.ini (easyeffects:13123): easyeffects-DEBUG: 19:38:06.153: application: easyeffects version: 6.0.3 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.155: pipe_manager: compiled with pipewire: 0.3.31 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.155: pipe_manager: linked to pipewire: 0.3.32 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: core version: 0.3.32 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: core name: pipewire-0 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: found metadata: settings (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: found metadata: default (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: found metadata: route-settings (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Sink 57 alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Source 58 alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Source 59 alsa_input.usb-046d_Logitech_BRIO_03403037-03.analog-stereo was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Sink 60 alsa_output.pci-0000_00_1f.3.iec958-stereo was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Sink 65 alsa_output.usb-0c76_FANTECH_CAPTAIN_7.1-00.analog-stereo was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Source 98 alsa_input.usb-0c76_FANTECH_CAPTAIN_7.1-00.mono-fallback was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Sink 55 alsa_output.pci-0000_01_00.1.hdmi-stereo was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Stream/Output/Audio 105 iworldpc3.exe was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: iworldpc3.exe port 101 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 69 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: iworldpc3.exe port 102 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 71 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Stream/Output/Audio 90 spotify was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: spotify port 148 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 69 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: spotify port 152 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 71 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Stream/Input/Audio 94 WEBRTC VoiceEngine was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo port 78 is connected to WEBRTC VoiceEngine port 86 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo port 79 is connected to WEBRTC VoiceEngine port 66 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Stream/Output/Audio 100 WEBRTC VoiceEngine was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: WEBRTC VoiceEngine port 104 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 69 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: WEBRTC VoiceEngine port 92 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 71 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Sink 401 easyeffects_sink was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.159: pipe_manager: Audio/Source/Virtual 388 easyeffects_source was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.160: pipe_manager: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo" } (easyeffects:13123): easyeffects-DEBUG: 19:38:06.160: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_01_00.1.hdmi-stereo" } (easyeffects:13123): easyeffects-DEBUG: 19:38:06.160: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo" } (easyeffects:13123): easyeffects-DEBUG: 19:38:06.160: 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.3" } (easyeffects:13123): easyeffects-DEBUG: 19:38:06.160: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_01_00.1.hdmi-stereo" } (easyeffects:13123): easyeffects-DEBUG: 19:38:06.160: pipe_manager: new metadata property: 90, target.node, Spa:Id, 151 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.162: pipe_manager: Filter pe_soe_autogain, id = 400, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.163: pipe_manager: spotify port 152 is connected to easyeffects_sink port 389 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.163: pipe_manager: spotify port 148 is connected to easyeffects_sink port 391 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.165: pipe_manager: Filter pe_soe_bass_enhancer, id = 377, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.188: pipe_manager: Filter pe_soe_bass_loudness, id = 372, was added (easyeffects:13123): easyeffects-WARNING **: 19:38:06.202: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:13123): easyeffects-WARNING **: 19:38:06.202: soe: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:13123): easyeffects-WARNING **: 19:38:06.202: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:13123): easyeffects-WARNING **: 19:38:06.202: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:13123): easyeffects-WARNING **: 19:38:06.202: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:13123): easyeffects-DEBUG: 19:38:06.204: pipe_manager: Filter pe_soe_compressor, id = 362, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.225: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.226: pipe_manager: Filter pe_soe_convolver, id = 349, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.231: pipe_manager: Filter pe_soe_crossfeed, id = 344, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.234: pipe_manager: Filter pe_soe_crystalizer, id = 339, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.237: pipe_manager: Filter pe_soe_deesser, id = 334, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.259: pipe_manager: Filter pe_soe_delay, id = 329, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.277: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.278: pipe_manager: Filter pe_soe_echo_canceller, id = 324, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.281: pipe_manager: Filter pe_soe_equalizer, id = 321, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.333: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.342: pipe_manager: Filter pe_soe_exciter, id = 314, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.358: pipe_manager: Filter pe_soe_filter, id = 307, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.382: pipe_manager: Filter pe_soe_gate, id = 302, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.397: pipe_manager: Filter pe_soe_limiter, id = 297, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.414: pipe_manager: Filter pe_soe_loudness, id = 292, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.430: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.431: pipe_manager: Filter pe_soe_maximizer, id = 287, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.446: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.446: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options (easyeffects:13123): easyeffects-DEBUG: 19:38:06.447: pipe_manager: Filter pe_soe_multiband_compressor, id = 280, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.465: pipe_manager: Filter pe_soe_multiband_gate, id = 285, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.485: pipe_manager: Filter pe_soe_output_level, id = 278, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.488: pipe_manager: Filter pe_soe_pitch, id = 273, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.491: pipe_manager: Filter pe_soe_reverb, id = 268, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.507: pipe_manager: Filter pe_soe_rnnoise, id = 387, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.510: pipe_manager: Filter pe_soe_spectrum, id = 367, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.515: pipe_manager: Filter pe_soe_stereo_tools, id = 251, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.543: pipe_manager: Filter pe_sie_autogain, id = 213, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.546: pipe_manager: Filter pe_sie_bass_enhancer, id = 260, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.566: pipe_manager: Filter pe_sie_bass_loudness, id = 209, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.586: soe: output_level: new PipeWire blocksize: 256 (easyeffects:13123): easyeffects-WARNING **: 19:38:06.598: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:13123): easyeffects-WARNING **: 19:38:06.598: sie: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:13123): easyeffects-WARNING **: 19:38:06.598: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:13123): easyeffects-WARNING **: 19:38:06.598: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:13123): easyeffects-WARNING **: 19:38:06.599: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:13123): easyeffects-DEBUG: 19:38:06.600: pipe_manager: Filter pe_sie_compressor, id = 204, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.622: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.624: pipe_manager: Filter pe_sie_convolver, id = 201, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.627: pipe_manager: Filter pe_sie_crossfeed, id = 196, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.630: pipe_manager: Filter pe_sie_crystalizer, id = 191, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.634: pipe_manager: Filter pe_sie_deesser, id = 186, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.652: pipe_manager: Filter pe_sie_delay, id = 181, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.675: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.677: pipe_manager: Filter pe_sie_echo_canceller, id = 174, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.680: pipe_manager: Filter pe_sie_equalizer, id = 169, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.752: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.764: pipe_manager: Filter pe_sie_exciter, id = 164, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.781: pipe_manager: Filter pe_sie_filter, id = 159, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.800: pipe_manager: Filter pe_sie_gate, id = 154, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.826: pipe_manager: Filter pe_sie_limiter, id = 263, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.873: pipe_manager: Filter pe_sie_loudness, id = 123, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.890: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.891: pipe_manager: Filter pe_sie_maximizer, id = 130, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.905: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:13123): easyeffects-DEBUG: 19:38:06.905: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options (easyeffects:13123): easyeffects-DEBUG: 19:38:06.906: pipe_manager: Filter pe_sie_multiband_compressor, id = 129, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.914: pipe_manager: Stream/Input/Audio WEBRTC VoiceEngine was removed (easyeffects:13123): easyeffects-DEBUG: 19:38:06.916: pipe_manager: Stream/Input/Audio 94 WEBRTC VoiceEngine was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.918: pipe_manager: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo port 78 is connected to WEBRTC VoiceEngine port 88 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.918: pipe_manager: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo port 79 is connected to WEBRTC VoiceEngine port 66 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.925: pipe_manager: Stream/Output/Audio WEBRTC VoiceEngine was removed (easyeffects:13123): easyeffects-DEBUG: 19:38:06.926: pipe_manager: Stream/Output/Audio 100 WEBRTC VoiceEngine was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.927: pipe_manager: Filter pe_sie_multiband_gate, id = 92, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.929: pipe_manager: WEBRTC VoiceEngine port 140 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 69 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.929: pipe_manager: WEBRTC VoiceEngine port 110 is connected to alsa_output.pci-0000_01_00.1.hdmi-stereo port 71 (easyeffects:13123): easyeffects-DEBUG: 19:38:06.949: pipe_manager: Filter pe_sie_output_level, id = 242, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.955: pipe_manager: Filter pe_sie_pitch, id = 245, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.960: pipe_manager: Filter pe_sie_reverb, id = 235, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.984: pipe_manager: Filter pe_sie_rnnoise, id = 150, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.988: pipe_manager: Filter pe_sie_spectrum, id = 223, was added (easyeffects:13123): easyeffects-DEBUG: 19:38:06.992: pipe_manager: Filter pe_sie_stereo_tools, id = 142, was added easyeffects-INFO: 19:38:07.021: application: disabling global bypass (easyeffects:13123): easyeffects-DEBUG: 19:38:07.028: sie: output_level: new PipeWire blocksize: 1024 (easyeffects:13123): easyeffects-DEBUG: 19:38:07.864: new default output device: alsa_output.pci-0000_01_00.1.hdmi-stereo (easyeffects:13123): easyeffects-DEBUG: 19:38:07.873: new default input device: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo (easyeffects:13123): easyeffects-DEBUG: 19:38:07.894: application: device alsa_card.pci-0000_01_00.1 has changed profile to: output:hdmi-stereo (easyeffects:13123): easyeffects-DEBUG: 19:38:07.894: application: device alsa_card.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00 has changed profile to: output:analog-stereo+input:analog-stereo (easyeffects:13123): easyeffects-DEBUG: 19:38:07.894: application: device alsa_card.usb-046d_Logitech_BRIO_03403037-03 has changed profile to: input:analog-stereo (easyeffects:13123): easyeffects-DEBUG: 19:38:07.894: application: device alsa_card.pci-0000_00_1f.3 has changed profile to: output:iec958-stereo (easyeffects:13123): easyeffects-DEBUG: 19:38:07.894: application: device alsa_card.usb-0c76_FANTECH_CAPTAIN_7.1-00 has changed profile to: output:analog-stereo+input:mono-fallback (easyeffects:13123): easyeffects-DEBUG: 19:38:08.021: soe: crystalizer latency: 0.000021 s (easyeffects:13123): easyeffects-DEBUG: 19:38:08.077: soe: pipeline latency: 0.020833 ms ```

For some reason EasyEffects is likely to have Less Cracking Sound today. Normally I have Cracking Sound every second! But today I have Cracking Sound every 15 seonds which is surprise me! ❤️

Also Discord on website I only tested it on "Brave Browser (brave-bin) (aur)" I'll test on other browser soon

//Edited Brave browser & Firefox run discord on website is fine! work perfectly! 😍 no cracking sound at all

Thank you 😀

tackleza commented 3 years ago

Hello,

Summary

No audio issue on browser (Brave, Firefox, Chromium) when using Discord on website, It's work perfectly no cracking sound at all ❤️

Discord Testing list

But today it's look like less cracking sound (Normally cracking sound every 0.5 seconds. But today cracking sound every 15 seconds which is acceptable 😍 but not perfect as using Web Browser)

When using Discord for first 45 mins, audio is fine no cracking sound, but after that, audio is started to crack, and even more when time gone by

Thank you

vchernin commented 3 years ago

The Discord app is known for having problems with sampling rates higher than 48 kHz. Maybe it has other audio issues too.

No audio issue on browser (Brave, Firefox, Chromium) when using Discord on website, It's work perfectly no cracking sound at all heart

I wonder if this is an Electron-specific issue. Perhaps other Electron apps like Slack and Teams also experience this (Teams eventually migrating to Edge WebView2). Or maybe it's just specific to Discord's Electron app.

tackleza commented 3 years ago

I wonder if this is an Electron-specific issue. Perhaps other Electron apps like Slack and Teams also experience this (Teams eventually migrating to Edge WebView2). Or maybe it's just specific to Discord's Electron app.

Hello,

I did a small test on Slack with voice call. No problem at all (No Cracking sound like Discord)

Tested on

Compare to Discord when I join Discord Voice Chat. Audio started to crack instantly

Thank you

w4ll3 commented 3 years ago

Not sure if can help you, but I was also having problems with this Cracking sound (it was driving me nuts), what did the trick was to increase the number of buffers from PipeWire

/usr/share/pipewire/pipewire.conf
...
    #link.max-buffers                      = 64
    link.max-buffers                       = 64                       # version < 3 clients can't handle more (Increased from 16 to 64)
...
jakubreron commented 3 years ago

Not sure if can help you, but I was also having problems with this Cracking sound (it was driving me nuts), what did the trick was to increase the number of buffers from PipeWire

/usr/share/pipewire/pipewire.conf
...
    #link.max-buffers                      = 64
    link.max-buffers                       = 64                       # version < 3 clients can't handle more (Increased from 16 to 64)
...

It fixed most of the cracking issues for me, I still hear some of it once in a while, but it's a lot better now

tackleza commented 3 years ago

That fixed. Thank you

link.max-buffers                      = 128

Edit:: that not 100% fixed but far better than do nothing

wwmm commented 3 years ago

That is curious. I have seen in more than one occasion the main PipeWire developer saying that for audio no more that 1 or 2 buffers are used. And that high values are usually for webcam

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1569#note_1049316 https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1105#note_895395

alexxGmZ commented 1 year ago

Hello, I think I'm currently experiencing the same phenomenon. Here is some video evidence: https://imgur.com/a/T0YmTrj The effects I use is only the "Equalizer". I disable easyeffects for Discord, but I enable it for the Browser which is Brave. When I disable easyeffects for the Browser, the problem doesn't happen.

wereii commented 11 months ago

I am experiencing this too, whenever I have

  1. easyeffects active (does not matter if thru background service or open)
  2. with only rnnoise/noise cancelation input filter
  3. join a discord call - does not matter if I or others ale talking, even if I mute & deafen myself in discord, the output sound gets chopped and crackling randomly, input seems untouched

By just opening pavucontrol and keeping it open it reduces this a lot but does not solve it, closing pavucontrol brings it all back.
Disabling all output processing in easyeffects (no filters, untick all outputs, disable automatic output processing) I can completely remove this effect for other outputs except for discord sounds.

The crackling is very similar to the one in this comment https://github.com/wwmm/easyeffects/issues/1021#issuecomment-878584536

easyeffects version: 7.1.3

inxi -CSMmAaz

System:
  Kernel: 6.6.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm parameters: initrd=\intel-ucode.img
    initrd=\initramfs-linux.img
    rd.luks.name=30b2da78-c275-40f6-84d8-73392a9b65f9=cryptroot
    rd.luks.options=discard root=UUID=08feb65b-b623-4a0b-898e-25470588ce75
    rootflags=subvol=@root rw nosplash intel_iommu=on nvidia_drm.modeset=1
    nowatchdog
  Desktop: awesome v: 4.3-1618-g375d9d723-dirty vt: 7 dm: LightDM v: 1.32.0
    Distro: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7E07 v: 2.0
    serial: <superuser required>
  Mobo: Micro-Star model: PRO Z790-A WIFI (MS-7E07) v: 2.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: A.70
    date: 09/08/2023
Memory:
  System RAM: total: 64 GiB available: 62.64 GiB used: 10 GiB (16.0%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: 13th Gen Intel Core i9-13900KF bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
    microcode: 0x11D
  Topology: cpus: 1x cores: 24 mt: 8 tpc: 2 st: 16 threads: 32 smt: enabled
    cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32 KiB, 16x64 KiB
    L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB
  Speed (MHz): avg: 1602 high: 3544 min/max: 800/5500:5800:4300 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2628 2: 800 3: 2607
    4: 800 5: 2428 6: 800 7: 800 8: 800 9: 2345 10: 800 11: 2538 12: 3544
    13: 2351 14: 800 15: 2576 16: 800 17: 2820 18: 1956 19: 2708 20: 800
    21: 800 22: 800 23: 800 24: 1939 25: 800 26: 800 27: 3270 28: 800 29: 3156
    30: 800 31: 800 32: 800 bogomips: 191744
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB:
    conditional, RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Audio:
  Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:7a50
    class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aef
    class-ID: 0403
  Device-3: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3
    chip-ID: 0db0:d1d7 class-ID: 0300
  API: ALSA v: k6.6.1-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.85 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl

I am only using the Micro Star USB Audio driver as output, others are disabled thru pavucontrol but the device output choice or mode (stereo, hifi, pro audio) does not seem to affect this in any way,

Eris7090 commented 9 months ago

I was going crazy but I just excluded it and now it doesn't crackle. I don't understand why it did in the first place because I had no output effects but alright