LGFae / swww

A Solution to your Wayland Wallpaper Woes
GNU General Public License v3.0
2.26k stars 67 forks source link

BUG: Unknown cause, GIF dont play, but hang on one frame and clear cycles through frames and doesnt clear #98

Open max-ishere opened 1 year ago

max-ishere commented 1 year ago

First mention: https://github.com/Horus645/swww/pull/93#issuecomment-1445378823

93

Steps to reproduce

  1. <In the process of figuring out step 1>, see Potential causes.
  2. Call 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).

max-ishere commented 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.

max-ishere commented 1 year ago

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.

max-ishere commented 1 year ago

Renamed for better searchability

LGFae commented 1 year ago

@max-ishere check out the workaround I put in #130. It might help with this too, if it is still a problem for you.