My bad everyone, 0.9.0
wasn't loading the cache, so I am publishing this quick fix.
I am copying over v0.9.0
release notes since they are important:
v0.9.0
BREAKING CHANGES
MSRV is now 1.74.0.
Deprecated
swww init
is now considered deprecated. Use swww-daemon
instead. To run it in the background, simply do swww-daemon &
.
Fixes
- fix the
let_underscore_lock
error. Note that all 0.8.* will probably no longer build with newer Rust versions due to that error. By @akida32 - fixed webp and gifs that are only a static image
- fixed busy waiting for WlBuffers to be released. This was a big one, and it involved rewriting a ton of stuff. We've implemented our own memory pool and are using frame callbacks to know when to draw now. A big thanks to @YaLTeR and @jeLee6gi for their patience and help with debugging and testing this thing.
- properly removing all cache contents on
clean-cache
- always center images that are larger than the monitor
- animations no longer overlap when sending two animated images in succession
- fix randomize script trying to use directories as images. Fix was suggested by @MRSS02
- waiting for child swww process when loading the cache, preventing zombie processes
- waiting for daemon initialization before certain requests. By @musjj
Improvements
- New, better compression function implementations. We are now using some SIMD code to accelerate the frame compression functions, leading to some nice speedups in some cases. Thanks to @Akida31 for their help in verying my unsafe code.
- We are using 3 channel color formats for some nice perf and memory improvements. Unfortunately, it seems to not work for some people on some notebooks (see Known Issues).
- Implemented a way to force the use of a specific wayland_shm format, as a workaround for Known Issues. Also went ahead and implemented some cli options for the daemon.
- Support for animated pngs
- Support for animations when piping images from standard input
- Fps is now a
u16
, so we can support newest monitors framerates - Created a
restore
command to manually restore the cache. By @musjj - GitHub actions! Big thanks to @MichaelOultram!
Known Issues
Some people are having some problems with the 3 channel color formats (see issue #233). Currently, initializing the daemon with swww-daemon --format xrgb
is a workaround to that.