Open LGFae opened 4 months ago
@shinobiultra, what happens if you just call swww clear
instead of restarting the daemon, does that also fix it?
I think the issue with overlapping might be that we are not properly waiting for the animations thread to exit after receiving a new img
request.
Regarding the monitors being out-of-sync, do they all have the same configuration (resolution and refresh-rate)? Right now, we only keep them in sync if that's the case.
Thanks for such a fast reply!
@shinobiultra, what happens if you just call
swww clear
instead of restarting the daemon, does that also fix it?
I'll try it as soon as it happens next time.
Regarding the monitors being out-of-sync, do they all have the same configuration (resolution and refresh-rate)? Right now, we only keep them in sync if that's the case.
I did not realize this, so no, they all have different resolutions and different framerates. What happens in such a case then?
I did not realize this, so no, they all have different resolutions and different framerates. What happens in such a case then?
We don't keep them in sync in this case. What we are currently doing is bundling together all monitors that have the same resolution in one Vec
and updating all of them in sync. This is because they all have the exact same image. When the resolution changes, we need to resize the image, so it isn't the same anymore, and thus, monitors with different resolutions go with different Vec
. I think we can improve this though and keep them in sync even if all monitors are different.
Framerates actually don't matter for the current implementation, but if we sync them up the animations would run with the slowest monitor's framerate.
Originally posted by @shinobiultra in https://github.com/LGFae/swww/issues/310#issuecomment-2143868691