Open max-ishere opened 1 year ago
For science I tried to create many swww client instances that send the same GIF to the daemon, but it didnt break this time. So either its not the cause or I got lucky this time.
Oh and apparently the daemon crashed
Error: "Failed to receive answer: io error: Connection reset by peer (os error 104)"
I guess it was too much this time.
Renamed for better searchability
@max-ishere check out the workaround I put in #130. It might help with this too, if it is still a problem for you.
First mention: https://github.com/Horus645/swww/pull/93#issuecomment-1445378823
93
Steps to reproduce
swww img any_gif_doesnt_matter.gif
Actual behavior
GIF may play for less than a second and then stops. Calling
swww clear
only "unpauses" the GIF for a short instant.How to fix
Restart the daemon with
swww kill ; swww init
Potential causes
Calling
swww img
many times concurrently? It is hard to figure out as of now.Priority
Since the exact causes are unknown and the issue does not happen often I consider the priority to be low. This may only affect users that run swww on gifs very frequently (e.g. to chain gifs or because 2 swww scripts are running at the same time).