Whenever EasyEffects is running, video playback stutters at the start of the video.
EasyEffects Version
7.1.6
What package are you using?
NixOS
Distribution
NixOS 24.11.20240524.bfb7a88 (Vicuña)
Describe the bug
Whenever EasyEffects is running, video playback stutters at the start of the video. Screencast from 2024-05-27 22-49-46.webm
Expected Behavior
No response
Debug Log
No response
Additional Information
Hardware: Framework Laptop 16 (CPU: Ryzen 9 7940HS, GPU: Radeon RX 7700S)
Whenever EasyEffects is running, video playback stutters at the start of the video.
I've never seen this happening on my computers. Unless that for some weird reason you cpu is not being able to keep up with the additional load the only possibility is the media player you are using not working right with virtual sinks. In any case I doubt there is anything we can do from EasyEffects side. Sounds more like some issue between the player and PipeWire.
What is in the output of pw-top when this happens?
It happens consistently in all video players. Here is pw-top directly after it happened:
It is not perfectly reproducible, happening every time. But it has never happened with EasyEffects not running.
But it has never happened with EasyEffects not running.
Is there any change if you remove all the filters from the pipeline? But if it does then the only explanation would be the cpu not being able to handle the load. What is odd considering the model.
There isn't a way for EasyEffects to mess with the video playback. It just moves the player's audio stream to a virtual sink and process what is present in the virtual sink monitor ports. For all the players to be affected something unusual may be happening in PipeWire that is messing with the players playback rate.
After further testing it only happens when my filters are active and not otherwise.
Here is the preset I use: cab-fw.json
After further testing it only happens when my filters are active and not otherwise.
Here is the preset I use: cab-fw.json
Hum... If passthrough is ok then the additional cpu load is somehow doing it... Very strange...
Here is the preset I use: cab-fw.json
I tested it here on my computer but at least on Firefox and mpv I could not see anything unusual.
The issue seems to have disappeared.
The issue seems to have reappeared.
The issue seems to have reappeared.
Do you notice any unusual load on your cpu if you open your system monitor or a program like top or htop? Nothing changed in EasyEffects in this time window. If the problem came back there is something else in your system that is not always running that is interfering somehow. Or a system upgrade introduced a regression.
Really sorry for the long delay.
I’ve taken a picture of top and pw-top right when it happens.
Hello, I seem to be having a similar issue.
When EasyEffects is running, something seems to be wrong. Once in a while, the video stutters when starting, causing there to be a desync between it and the audio. Main place where it happens to me in in Google Chrome.
Can't really make it happen always, and usually happens when fullscreen (but not always), so i didn't manage to catch a pw-top screenshot, but the numbers seem to be similar to the screenshots above.
System details: Arch Linux, packages up to date as of today EasyEffects version: 7.1.7
I've got similar stuttering when playing music in KDE's Elisa. On each track start, the player stutters for a short period before finally playing normally to the end of the track. Disabling EE for Elisa's output completely eliminated the stuttering.
Probably related to this https://bugs.kde.org/show_bug.cgi?id=443184#c19
Edit: update link
I ended up forgetting about this thread, until i got a notification, but i managed to fix my issues by disabling node suspension in wireplumber.
see: https://wiki.archlinux.org/title/PipeWire#Noticeable_audio_delay_or_audible_pop/crack_when_starting_playback
I am no longer experiencing this issue
Ok. At least for now let's close this issue.