wwmm / easyeffects

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

Weird audio stutter in Spotify #2127

Open mocaturtle1 opened 1 year ago

mocaturtle1 commented 1 year ago

EasyEffects Version

7.0.0

What package are you using?

Flatpak (Flathub)

Distribution

Zorin OS 16.2

Describe the bug

The audio is stuttering/crackling/popping when I play something on Spotify. Tried Spotify and Youtube through Chrome and and no problems there.

Have to exclude it and after some seconds the audio is clear again. No difference in disabling any effects or presets. Strangely the stuttering goes away when opening sound settings in Zorin but resumes as soon as I close/change to another settings menu. Only excluding Spotify or disabling Easyeffects remedies the problem temporarily.

Expected Behavior

No response

Debug Log

Debug Log
``` You have PipeWire 0.3.63 installed This is newer or the same as PipeWire 0.3.41 required to run Easy Effects (process:2): easyeffects-DEBUG: 18:29:19.341: easyeffects.cpp:35 easyeffects version: 7.0.0 (process:2): easyeffects-DEBUG: 18:29:19.343: easyeffects.cpp:45 locale directory: /app/share/locale (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:49 system input presets directory: "/app/etc/xdg/easyeffects/input"; (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:49 system input presets directory: "/etc/easyeffects/input"; (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:49 system input presets directory: "/etc/xdg/easyeffects/input"; (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:52 system output presets directory: "/app/etc/xdg/easyeffects/output"; (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:52 system output presets directory: "/etc/easyeffects/output"; (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:52 system output presets directory: "/etc/xdg/easyeffects/output"; (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:194 user presets directory already exists: /home/mocaturtle/.var/app/com.github.wwmm.easyeffects/config/easyeffects/ (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:194 user presets directory already exists: /home/mocaturtle/.var/app/com.github.wwmm.easyeffects/config/easyeffects/input (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:194 user presets directory already exists: /home/mocaturtle/.var/app/com.github.wwmm.easyeffects/config/easyeffects/output (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:194 user presets directory already exists: /home/mocaturtle/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/input (easyeffects:2): easyeffects-DEBUG: 18:29:19.350: presets_manager.cpp:194 user presets directory already exists: /home/mocaturtle/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/output (easyeffects:2): easyeffects-DEBUG: 18:29:19.360: easyeffects.cpp:60 Exitting the main function with status: 1 ```

Additional Information

No response

wwmm commented 1 year ago

Strange. I also use the spotify app and I do not notice stuttering with it. Based on what you are describing PipeWire's dynamic latency switching may be involved. It should be more clear once you get full logs. You probably had an EasyEffects instance running in the background when you tried to get logs. Kill it first.

JonLit commented 1 year ago

I may have the same issue, whenever I am on Discord in a Call and want to listen to spotify at the same time, even when discord is excluded in easyeffects, I get pops/crackling with spotify, it goes away when disabling spotify in easyeffects

wwmm commented 1 year ago

whenever I am on Discord in a Call and want to listen to spotify at the same time, even when discord is excluded in easyeffects, I get pops/crackling with spotify, it goes away when disabling spotify in easyeffects

Even if you disable Discord in EasyEffects it will probably still make PipeWire change its current latency value. What may introduce glitches in some situations.

Amara97-sysz commented 9 months ago

There are many fixes for Spotify stuttering issue. You can try them one by one to see if the issue is fixed.

  1. Change for a stable Internet connection.
  2. Clear the cache files on your device.
  3. Enable Spotify hardware accerleration.
  4. Restart your device.