All notable changes to Wallr are documented here.
- static wallpaper commits are flushed to the Wayland compositor so saved backgrounds appear on daemon startup without waiting for another event.
- release metadata, crate documentation, and Nix package version are aligned with the release version. The v0.8.11 release failed tag verification because its workspace version was still 0.8.10; no release binary was built.
- documented startup restoration and the release preparation checklist.
- unknown or zero video durations no longer break timestamp scheduling.
- README license badge now uses a dark color.
- GIF global colour table parsing now respects the global colour table flag.
- GIF frames are cached before disposal is applied.
- GIF animation restart resets canvas and previous-frame state.
- extension checks for animated wallpapers are case-insensitive.
- GPU adapter names can be used directly in configuration.
- added GIF colour-table and disposal regression coverage.
- added GPU selection deserialization tests.
- failed and superseded seeks no longer leave the decoder treating the request as permanently pending.
- seek completion is acknowledged by request generation; caller-side timeouts can no longer let an abandoned seek execute later.
- successful seeks clear queued frames before reporting completion.
- seek timestamps remain in FFmpeg AV_TIME_BASE microseconds.
- initial presentation timestamps are normalized from the stream start time.
- added real FFmpeg seek tests covering beginning, middle, near-end, failed seeks and recovery.
- added playback seek error tests and queue budget tests.
- FFmpeg seek timestamps now use AV_TIME_BASE microseconds.
- failed decoder seeks are reported instead of appearing successful.
- video frame queues enforce a 256 MiB total byte budget in addition to their frame-count limit.
- added seek timestamp conversion and overflow tests.
- added bounded video frame queue tests.
- monitor listing and current-output selection are now deterministic.
- invalid effect origins, directions, and numeric parameters are rejected before wallpaper state changes.
- wallpaper source validation was renamed to describe its actual role.
- static decode limits are covered by regression tests.
- added regression tests for deterministic monitor targets, effect validation, and static decode validation.
- same-path wallpaper replacements are no longer treated as no-ops when the source file changes.
wallr doctorexits with status 1 when a diagnostic check fails.
- added regression tests for wallpaper source identity and doctor exit status.
WallpaperEngine::set_wallpaperno longer runs blocking hook/theme work on the async executor thread.WallpaperEngine::apply_wallpaperno longer reports success while only checking file existence; wallpaper state validation remains explicit.- GPU adapter enumeration is shared between detection and selection.
- Unsafe Wayland handle wrappers now document their lifetime invariants.
The format follows Keep a Changelog, and versions follow Semantic Versioning.
- Added a Linux helper to build the pinned static FFmpeg toolchain used by release binaries.
- Both benchmark scripts support dynamic FFmpeg by default or static FFmpeg via
BENCHMARK_FFMPEG_LINKAGE=static, and record the verified linkage. The wallpaper benchmark resets both daemons before timed switches and reports RSS change after the workload. - Fill-mode static images are center-cropped to output dimensions before
wl_shmpresentation, avoiding GPU promotion for that case.
- Shared-memory buffer cleanup now wakes only after a static commit and reaps pools after a quiet interval instead of polling continuously.
- Shared-memory buffers remain bounded while allowing short switch bursts.
- raised the minimum supported rust version to 1.90 and updated shader validation to naga 30, matching wgpu.
wallr-daemonnow has direct options and its own help screen.wallr daemonremains available and starts it as a foreground service.- wallpaper auto-start launches
wallr-daemondirectly. - cli, configuration, video, benchmark, and architecture documentation has been shortened and updated to match the current commands and behavior.
wallr config pathprints the selected path without loading configuration or creating an async runtime.- daemon help and version requests are parsed before the runtime is created.
- the daemon blocking worker pool is capped at four threads to bound transient work under command bursts.
--max-fpsnow rejects values outside the supported 1 to 240 range in both daemon command forms.wallr set --fpsnow validates the same 1 to 240 range before sending a wallpaper request.- the release FFmpeg cache key no longer changes with unrelated workflow edits.
- the wallpaper benchmark now starts the daemon with its current cli.
- Release builds now check out and verify the exact tagged commit. Manual releases require an existing tag and cannot create one from a branch.
- Static FFmpeg verification checks
wallr-daemon, the binary that uses FFmpeg, and the release archive is checked for both expected binaries. - Portable builds no longer force machine-specific CPU features or the
lldlinker; local tuning remains available throughRUSTFLAGS. - Updated the architecture diagram to SCTK 0.21 and added a CI consistency check against the workspace dependency version.
- Narrowed the raw Wayland handle boundary and documented the connection, surface-proxy, and output-teardown lifetime requirements.
- Split the command-line client from the rendering daemon.
wallris now a lightweight IPC client, whilewallr-daemonowns Wayland, wgpu, FFmpeg, and live-media resources.
wallr daemonremains the public command and launcheswallr-daemon, so existing user commands and configuration remain compatible.- Release archives now contain both
wallrandwallr-daemon.
- Static IPC commands no longer load the daemon's FFmpeg and renderer stack.
- The benchmark harness measures the actual
wallr-daemonprocess rather than the client wrapper. - Software video frames are converted to NV12 instead of full-resolution RGBA before queueing and upload, reducing CPU conversion work and frame traffic.
- Hardware decoding now selects an FFmpeg decoder that advertises support for the requested device backend, avoiding software-only decoder selection.
- The configured video FPS cap now skips unnecessary hardware-frame transfers and CPU frame conversion, not only final presentation.
wallr set --fps <n>caps per-wallpaper video presentation work from 1 to 240 fps without duplicating frames or changing the source media.- Static
wl_shmswitches use one signature-checked compressed image cache per output, avoiding repeated decode work without retaining another full-size framebuffer or growing without bound. - Removed the forced mimalloc global allocator so idle daemons do not reserve a large allocator arena before any wallpaper is displayed.
- Video PTS conversion now normalizes valid negative-start timelines and rejects
NaN or out-of-range timestamps instead of panicking (release builds use
panic = abort). - High-resolution video dimensions and decoded-frame memory are validated before playback starts, allowing 8K streams while rejecting unsafe allocations.
FrameScheduler::should_displayno longer underflows on videos shorter than 100 ms.- Theme frame extraction (GIF/video) now validates dimensions, input size, strides, and row counts before allocating.
- Theme providers can consume GIF and video wallpapers through a cached first frame, so Matugen, Wallust, and Pywal continue to work with animated media.
- Subprocess timeouts now kill the whole process group, preventing orphaned descendants.
- Video pause/resume no longer trips the stall watchdog or replays a burst of stale frames.
- MSRV verification job and locked builds in CI.
- Interactive CLI and IPC status output now uses lowercase labels and consistent terminal colors while preserving exact config and path output for scripts.
- MSRV documentation corrected to 1.88 (CONTRIBUTING.md).
- CI now runs
cargo fmt,cargo check,clippy, andcargo testwith--locked, plus a dedicated MSRV (1.88) job. - Release workflow validates that the tag matches the workspace version and changelog, and publishes SHA-256 checksums.
- Video playback no longer stops solely because a decoder queue is temporarily empty under heavy load or during a long stream; it stops only after a decoder reports a permanent failure.
- Static wallpaper switching avoids repeated source decoding when the same image and output geometry are reused.
- Video playback speedup/stall after pause+resume.
- Rapid pause/resume commands now coalesce to the latest requested state instead of accumulating stale decoder commands.
wallr-commonnow reports missing environment variables while expanding configured paths instead of silently dropping them.- IPC sockets are now created with mode
0600, guarded by an advisory startup lock, and removed only when the daemon still owns the original inode. - IPC requests, responses, handler execution, and client connections now have timeouts; malformed or flooding clients can no longer stall the daemon.
- GIF frame timing now aligns each graphic control extension with the next image descriptor, including repeated or trailing extensions.
wallr ipc seekacceptsHH:MM:SS,MM:SS, seconds, and fractional seconds with overflow checks.- Regression tests cover IPC ownership, theme cache identity, duration overflow, GIF timing, and video metadata bounds.
- Theme providers, hooks, reload commands, config reload, and post-render theme work now run on blocking workers instead of the Tokio runtime.
- External theme/hook/reload commands are killed after bounded timeouts.
- GIF decoding validates input size, frame count, screen dimensions, and frame rectangles before allocating canvases or compositing.
- Video metadata conversion and frame copying now reject malformed dimensions and truncated planes instead of panicking.
FrameScheduleruses an offset-based clock so seeking beyond system uptime cannot underflow.- IPC socket defaults now use
$XDG_RUNTIME_DIR/wallr.sockconsistently. DaemonConfig.auto_startandThemeConfig.providernow have serde defaults that match their programmatic defaults.- Static wallpaper state paths are read and written as raw bytes, preserving non-UTF-8 paths.
wallr set -stages stdin with a bounded read and private temp files.
- Duration parsing no longer panics for extreme finite values and no longer truncates milliseconds during narrowing conversions.
- Theme cache keys now include sub-second mtime, file size, and raw path bytes, preventing collisions within one timestamp granularity and non-UTF-8 aliasing.
- GIF graphic control delays are no longer misaligned with image frames.
wallr setno longer invokes the removedIpcCommand::Previewvariant.wallr config setrejects unknown final config keys.wallr reload,monitor, andquitpropagate daemon failures instead of ignoring them.- Wayland surface handles are documented and retained by
Arcinstead of being leaked. FrameScheduler::seekno longer underflows when the requested position exceeds elapsed runtime.
- IPC sockets are mode
0600and validated as owned sockets before reuse. - Theme/hook/reload subprocesses have bounded runtimes.
- GIF and video input limits bound memory before expensive allocations.
- IPC concurrency is capped at 64 connections.
- Client and server IPC operations are bounded by timeouts.
wallr set -limits stdin to 256 MiB.
- Updated patch-level workspace dependencies reported by
cargo update --dry-run; lockfile remains reproducible.
expand_pathnow returnsResult<PathBuf, ConfigError>; callers must handle missing environment variables.start_ipc_servernow requires anIpcSocketreservation throughIpcSocket::acquirefor safe ownership.Daemon::newaccepts the same configuration; usewith_config_pathto preserve an explicit config path.
- MSRV bumped to 1.88; dependencies upgraded to latest compatible releases (wgpu 30, smithay-client-toolkit 0.21, dirs 7, sha2 0.11, gif 0.14, zstd 0.14).
- Release profile now uses fat LTO,
panic = "abort", disabled overflow checks, and native CPU targeting via.cargo/config.toml. wallrbinary now usesmimallocas its global allocator.
- Hot paths continue to avoid redundant allocations and blocking the IPC loop; release builds target maximum runtime performance.
video_probenow exits non-zero when the decoder reports failure. It previously printedresult: FAILand still exited0, so a failed decoder could pass a script or CI step that only checked the exit status.- The probe's pass/fail rule moved from the example into
wallr_core::videoasprobe_succeeded. Its test previously lived in the example, wherecargo test --workspacenever executes it; it now runs as part of CI, which also covers the low-frame-count case. scripts/benchmark-video.shno longer loses its diagnostic message when the software probe fails. The probe's non-zero exit tripped the harness's early exit before the actionableerror: software probe failedline could be printed.
- The published
wallr-corepackage now includesexamples/, so thevideo_probeexample is available to downstreamcargo add wallr-coreusers instead of only in the repository.
- Documented the video benchmark harness and the
video_probeexit-code contract indocs/benchmarks.md, and linked it from the README.
wallr-coreships avideo_probeexample.--capabilitiesreports whether the linked FFmpeg exposes CUDA (NVDEC), VAAPI, and VideoToolbox, so a build can be checked without a Wayland session or a GPU.- Release builds now verify static FFmpeg hardware support and fail the job when CUDA is missing, so a release can no longer ship without NVDEC.
- Linux release binaries now include FFmpeg NVCodec support, so configured NVDEC playback no longer silently falls back to CPU decoding.
- Explicit hardware decode failures are reported as software fallback immediately at initialization instead of waiting for the first frame to reveal the downgrade.
- A decoder that has fallen back to software keeps reporting a fallback even
after hardware decoding recovers, so
wallr ipc infono longer hides the downgrade on streams that alternate between backends. - The video benchmark harness and
video_probenow reject runs whose decoder failed or that mixed hardware and software backends, instead of reporting a partial run as a hardware result.
- Documented that official Linux release binaries include FFmpeg NVCodec support, and that NVDEC still loads the installed NVIDIA driver at runtime.
- Hardware-decoder setup now negotiates FFmpeg's hardware pixel format before accepting a hardware decoder.
- Video queues remain bounded and replace stale frames under pressure instead of terminating the decoder after a timed send failure.
- Decoder diagnostics now distinguish hardware negotiation, active hardware frames, software decoding, software fallback, and failure.
video.preferred_gpunow selects the adapter actually used by wgpu instead of only influencing adapter discovery.
- Video playback keeps the decode queue small and exposes dropped-frame counts
through
wallr ipc infofor diagnosing overloaded outputs.
- Fixed false hardware-decoding reports when a decoder opened but produced no hardware frames.
- Fixed decoder shutdown caused by transient queue pressure.
-
Documented hardware pixel-format negotiation, fallback states, and bounded video queue behavior.
-
Removed the overshoot easings (
emphatic,spring) and their complex shader curves. The easing set is nowlinear,ease_in,ease_out,ease_in_out, andbezier. -
--angleapplies towipeonly;slidetakes--direction.
video.hw_decode: autonow probes only the hardware this machine actually has: NVDEC is skipped entirely unless an NVIDIA GPU is present, so AMD and iGPU systems no longer trigger a spurious "Cannot load libcuda.so.1" warning while FFmpeg falls through to VAAPI.- Video decoding is resilient: transient FFmpeg errors (corrupt packets, readback hiccups, conversion failures) skip a frame instead of killing the decode thread and silently freezing playback.
wallpaper.loop_videois now honored. When disabled the stream plays once and holds the final frame; seek restarts it.- A stalled or dead video decoder stops playback after a grace period instead of spinning and freezing the frame.
- Interim GPU upload failures retry on the next video frame instead of ending playback.
- Slow software decoders get a five-second window to produce the first frame before the black start fallback.
- Directional wipes and slides were reversed and never completed: the
sweep threshold ran the wrong way, so mid-frames showed mostly the old
image and the new image snapped in at the end.
up/downentered from the wrong edge too. Wipes now enter from the named edge (left from the left, right from the right, top from the top, bottom from the bottom), sweep fully across by progress 1.0, and--anglefollows awww's convention (0= right-to-left,90= top-to-bottom,270= bottom-to-top). - GIF playback no longer alternates between the old and new image when a frame upload fails. The double buffer only advances when the decoded frame actually reaches the GPU; failed uploads (decoder catch-up after a loop wrap or on uncached tails) keep the last good frame on screen and retry instead of flipping to a stale texture.
- GIF playback yields briefly while waiting for the decoder to catch up instead of busy-spinning (heavy frame-by-frame staggering on large GIFs).
--originis now honored by thewaveeffect; an--anglestill takes precedence and derives the center from the sweep direction.
- Transition feel now follows awww: a new
beziereasing implements awww's default cubic curve and is the default for every named effect. With no--effectflag the fade stays plain linear, like awwwsimple. - Reveal edges are pixel-scale sharp across wipe, slide, wave, grow, and outer (previously wide soft bands).
- Slow presents no longer spin the transition loop or kill GIF playback; timeouts yield briefly and playback continues.
- Removed the animation package system: YAML specs, timelines, variables,
extends, the local registry, and remote install/fetch (wallr install,wallr search,wallr new). - Removed custom WGSL effects (
custom_effectstranspiler,shadereffect). - Removed the preview window (
wallr preview) and thewinitdependency. - Removed directory watching (
wallr watch) and thenotifydependency. - Removed the disk image cache (
wallr cache) and thehumansizedependency. - Removed the
wallr validatecommand. - Reduced transitions to six built-in effects:
fade,wipe,slide,wave,grow,outer(plussimple, directional,center,any, andrandomaliases). Removedblur,zoom,pixelate,ripple,dissolve, andshader, with their CLI flags (--speed,--scale). Reveal edges are pixel-scale sharp; the default with no--effectflag is now a plain linear crossfade, matching the feel of awww's defaultsimpletransition. - Removed the
animation,watch,cache, andpluginsconfig sections. Existing config files still load; unknown keys are ignored. - Workspace now ships a
wallr-commonprotocol crate (effects, IPC vocabulary, CLI shapes, config schema) shared by the client and the engine, mirroring theclient/common/daemonsplit. Singlewallrbinary and IPC wire format unchanged. wallr set -reads image bytes from stdin, staged to a temp file.- Moved
nagato dev-dependencies (WGSL validation in tests only).
- GIF decoding now snapshots the file to memory once per set; loop wraps re-decode from RAM instead of re-opening the file.
- Static wallpapers ping-pong between two shared-memory buffers, so steady-state switching never allocates; flood pressure falls back to the GPU path instead of growing the pool without bound.
- Settled outputs return their shared-memory pools to the OS within about a second (the compositor already owns the displayed pixels), so idle memory drops back after each static wallpaper. Quiescent heaps are also trimmed back at the same time.
- Fixed
wallr ipc infokilling the daemon when no GPU was initialized; it now reportsnot initializedfor static-only outputs. - Removed
panic = "abort"from the release profile: a wallpaper daemon must survive unexpected states instead of aborting the process. - Repeated sets of the active wallpaper skip state-file persistence (previously two writes plus two fsyncs per call).
- The daemon tunes glibc malloc at startup (fixed 128 KiB mmap threshold, 64 KiB trim threshold) so transient decode buffers return to the OS.
- Video decoder queue and preload clamp tightened to at most 3 frames in flight plus one pending frame; stale frames are dropped, not preserved.
- Removed
Clonefrom video frame types; frame bytes move from decoder through queue to GPU upload. - Added an offscreen GPU test that renders a real fade transition without a compositor and asserts the blended pixels, plus a test locking the effect-to-shader numbering.
- Fixed GIF playback stopping permanently on a single slow present; timeouts now yield briefly and playback continues.
- VA-API now probes every
/dev/dri/renderD*node instead of hardcodingrenderD128. - GPU backend probing tries Vulkan alone before initializing the GL driver stack (about 15 ms saved on every cold start); GL-only systems still fall back automatically.
- Static GPU uploads share the SIMD resize path with the
wl_shmfast path.
- Dependency closure: 341 to 258 crates. Release binary: 11 MiB to 8.8 MiB.
- Live Wayland matrix (
benchmarks/, same host, vs awww 0.12.1): Wallr leads the latency rounds (static switches ~20 ms, GIF submission ~25 ms). Post-GIF anonymous memory returns to ~24 MiB (was ~76 MiB); settled static outputs return their shm pools, idling near 30 MiB RSS. - Idle and post-workload RSS still trail aww's minimal C daemon; process PSS and private-dirty memory are sub-MiB at idle. See the benchmark reports for full tables and methodology.
- Added repeatable Wayland benchmark coverage against awww.
- Added short CLI flags, including
-e,-d,-o,-a,-m,-t, and-c. - Added the zero-duration static-image
wl_shmfast path. - Added
WALLR_SOCKETsupport for isolated daemon instances.
-
Made GPU initialization genuinely lazy: static daemon startup now avoids adapter/device discovery, shader and pipeline creation, swapchain surfaces, and per-output GPU uniform buffers until dynamic content is requested.
-
Shared the lazily-created renderer across outputs while retaining separate per-output surfaces and uniforms for correctness.
-
Verified the local release daemon through static and GIF benchmark workloads; static-only RSS dropped substantially after removing eager GPU residency.
-
Switched the long-lived daemon/CLI executor to Tokio's current-thread scheduler. Blocking decode/render work already uses dedicated blocking tasks, so this removes idle worker threads without reducing rendering concurrency.
-
Reduced the animated-frame cache ceiling from 256 MiB to 128 MiB. This keeps normal 1080p GIF playback cached and smooth while bounding the memory impact of unusually large animations.
-
Capped Tokio's blocking pool at four workers so bursty IPC benchmarks cannot leave an unbounded number of sleeping workers resident.
-
Simplified the static
wl_shmpixel swizzle to direct channel stores, removing a per-pixel temporary slice from the upload hot loop. -
Replaced the scalar Lanczos resize used for downscaled images with
fast_image_resize's CPU-accelerated implementation while preserving the same Lanczos3 quality. A measured 3840×2160 static switch stayed around 20–27 ms against awww's roughly 95–112 ms on the benchmark host. -
Corrected benchmark baseline methodology by applying the same initial static image to both daemons before measuring resident resources.
-
Prevented explicit-sync protocol failures when a layer surface has already presented through wgpu: later static requests remain on that surface's GPU path instead of switching it to an incompatible
wl_shmcommit. -
Benchmark reports now stop live animated playback before sampling final idle RAM and CPU, separating settled daemon cost from intentional decoder state.
-
Added
BENCHMARK_INCLUDE_ANIMATED=0for repeatable static-only residency measurements while evaluating renderer lifetime changes. -
Cached static wallpapers now restore without an unnecessary startup transition, avoiding temporary GPU work during daemon initialization.
-
Static image switches now skip the GIF scanner entirely for non-GIF files, avoiding a redundant full-file read before normal image decoding.
-
Moved static
wl_shmpixel preparation into a renderer-independent helper, establishing the boundary needed for lazy GPU initialization. -
Grouped per-output GPU resources behind a dedicated ownership boundary, preparing safe optional GPU state without changing dynamic rendering behavior.
-
GPU Animation Overhaul (awww/swww parity & precision):
- Replaced radial wipe fallbacks with true directional linear sweep (
linear_wipe_reveal) supporting angled sweeps and directional vectors (-a <DEG>,--direction <X,Y>). - Upgraded Gaussian blur from 8-sample radial ring to a 16-sample golden-angle circular bokeh disk, eliminating banding and aliasing.
- Implemented C2-continuous quintic smootherstep (
$6t^5 - 15t^4 + 10t^3$ ) across CPU evaluation and WGSL shaders, guaranteeing zero velocity and acceleration at start/end frames. - Added exact GPU mirrors of back-out overshoot (
emphatic) and critically-damped harmonic settling (spring) without unwanted oscillations. - Upgraded texture minification and mipmap filters from
NearesttoLinearon static and video samplers to eliminate sub-pixel shimmer during zoom/scale transitions. - Refined all 8 bundled animation packages (
crossfade,grow,outer,wave,liquid,wipe-blur,minimal,retro) with non-overlapping, human-tuned parameters.
- Replaced radial wipe fallbacks with true directional linear sweep (
-
Clean, Minimal CLI Interface:
- Added ergonomic short flags:
-e(effect),-d(duration),-o(origin),-a(angle),-m(monitor),-t(theme),-c(config). - Streamlined
wallr set/wallr imgflags and aligned command help strings. - Redesigned CLI terminal outputs (
doctor,validate,cache,monitor,search) into clean, minimal, non-bloated tables and indicators.
- Added ergonomic short flags:
-
Added a zero-duration static-image fast path backed by
wl_shm: completed static images can bypass shader rendering, release their GPU texture, and remain compositor-owned until the next change. Transitions, GIFs, and video retain the wgpu path. -
Linux renderer initialization now probes only Vulkan and OpenGL, avoiding unrelated wgpu backend discovery while preserving a compatibility fallback.
-
Fixed static
wl_shmreplacement when the compositor still owns the previous buffer; Wallr now allocates a released-aware slot instead of silently falling back to GPU textures and accumulating resident memory. -
Static wallpaper requests are idempotent: repeating the active path, mode, and effect does not decode, upload, allocate, or start another transition.
-
Superseded transitions and live players check their generation before taking the render lock and during playback, releasing obsolete GPU resources early.
-
Paused and superseded GIF/video pacing now wakes immediately when a new command arrives instead of waiting for the previous sleep deadline.
-
GIF playback presents at frame boundaries rather than once per display refresh, and static content has no animation wakeup path.
-
Daemon surfaces use a one-frame FIFO latency target; the renderer requests a power-efficient adapter and memory-use-oriented device allocation policy.
-
Video decode backpressure is bounded without a tight 1 ms polling loop.
-
Added
scripts/benchmark-wallpapers.shfor repeatable live Wayland comparisons againstawwwusing hot-path and distinct-image workloads. -
Benchmark reports now include RSS/PSS, anonymous, private, and non-anonymous memory categories to diagnose renderer residency instead of relying on a single RSS number.
-
Fixed startup registration of already-connected outputs so IPC commands use the live render states immediately instead of waiting for a hotplug event.
-
Added the
WALLR_SOCKETprocess override and isolated benchmark daemon cleanup, allowing local-release comparisons beside an installed daemon. -
Static wallpaper requests no longer block behind a GPU transition parked in a compositor present; they fall back to the nonblocking replacement path so IPC remains responsive during suspend, monitor disable, and compositor stalls.
-
Benchmark idle samples now wait for daemon startup, output discovery, and GPU initialization to settle, preventing startup CPU from being reported as steady-state idle usage.
-
Removed an unused source-image copy from the daemon wallpaper hot path; rendering and restore already use the original validated path, while cache inspection and clearing remain available explicitly.
-
Removed the unused cache manager from daemon-owned
WallpaperEnginestate; cache commands now initialize it only when explicitly requested. -
Removed the unused package registry from daemon-owned
WallpaperEnginestate; package resolution and installation remain CLI-owned. -
Reduced initial per-output
wl_shmpool allocation to 4 KiB; Smithay'sSlotPoolgrows automatically when the first real wallpaper buffer is created, avoiding full-resolution shm reservation during daemon startup.
The benchmark harness reports measurements; it intentionally does not claim a universal ranking because compositor, GPU, image dimensions, and workload all change the result.
Planned Sep 12-14, implemented Sep 15
- Do less work: static wallpapers submit once and sleep; transitions run only for their wall-clock duration; video/GIF loops pace to frame boundaries instead of the refresh rate. No render-loop wakeups when nothing changes.
- GPU resource sharing: one shared sampler per use (static/video) instead of a new sampler per texture, and a per-format pipeline cache so the first frame per surface format pays for compilation exactly once.
- IPC hardening: requests capped at 64 KiB, paths/monitors/durations validated before any decode or GPU work, malformed commands get an error response instead of a dropped connection.
- Path security: package names are lexically contained in the registry (
.., separators, absolute paths rejected); remoteowner/reporefs restricted to safe characters. - Daemon hot path: the render-state map lock is held only to snapshot targets, never across decode/upload/theme work, so hotplug and concurrent IPC stay responsive. Transitions reconfigure a stale swapchain and continue instead of blanking.
- Real config reload:
reloadre-reads config from disk, validates it, keeps the last good config on failure, and live-applieshw_decode/preload_frames/max_fpswithout rebuilding GPU state. - Async theme pipeline: wallpaper pixels appear first; hooks/theme/reload run detached with a generation counter so rapid A→B→C switches supersede obsolete theme work.
- Watcher: reacts to create/modify/close-write (not just create), skips temp/hidden files, debounces per path, ignores partially-written files, and supports video extensions.
- Bounded video config:
preload_framesclamped to 1..=8 andmax_fpsto 1..=240 at creation and reload, keeping decoder queues bounded.
wallr installnow actually installs:wallr install <username/repo>(orgithub:username/repo) downloads the package YAML from the repository root on GitHub, validates it, resolves itsextendschain, and stores it at~/.local/share/wallr/packages/<repo>/wallr.yaml. The previous command only re-passed the reference to the local registry resolver and reported success without installing anything.- Remote fetch hardened: packages are fetched from the
mainormasterbranch and validated before use; malformed and path-traversal references are rejected. - Reference resolution fixed: package references are now treated as registry paths instead of being force-split on
/, which previously loaded the wrong package and silently dropped the second segment. extendsactually applied: the base/child merge was implemented and tested but never invoked; package resolution and install now merge parents (base → package → current), with circular references rejected.github:owner/repoparents resolve remotely.- Removed the placeholder
publishcommand, which printed an acknowledgment without doing anything. The registry surface is nowinstall/searchonly.
- Video/GIF wallpapers now theme correctly:
wallr setwith a video (mp4,webm,mkv,mov,avi,m4v) or GIF previously passed the original file straight tomatugen/wallust/pywal, which cannot generate palettes from video. Wallr now extracts the first frame (FFmpeg for video,imagecrate for GIF) to a cached PNG under~/.cache/wallr/theme/<hash>.pngand passes that to the theme provider. The cache is keyed on source path + mtime and reused until the source changes. All providers benefit with no manual step. - Matugen config deprecation warning fixed:
[config.wallpaper]with separatecommand+argumentsnow emits⚠ You should not define arguments inside of [config.wallpaper] anymore. Use the command instead and use the {{ image }} keyword. Updated docs to use the new single-string formcommand = "wallr img --no-theme {{ image }}"with{{ image }}templating and retained the old form as deprecated reference.
- Fix
libavutil.so.58: cannot open shared object fileon upgraded systems: previously the Linux release binary dynamically linked the system FFmpeg libraries, so it broke witherror while loading shared librarieswhenever the system FFmpeg ABI moved on (e.g.libavutil.so.58→libavutil.so.61after an upgrade). Release binaries are now built with statically linked FFmpeg via the newstatic-ffmpegcargo feature (FFmpeg built statically through vcpkg in CI), making the artifact self-contained and immune to future system FFmpeg upgrades. Source builds (cargo install) still link against the system FFmpeg and require a latest-but-matching FFmpeg.
-
Recovering playback after surface stalls logic: merged in PR #15 by @Luquatic
-
Moved NV12 conversion to GPU: merged in PR #14 by @Luquatic
-
Fix publish-blocking workspace dependencies: commit 96cbfb3 accidentally dropped
notify,dirs,glob,which,sha2,hex,humansize,ffmpeg-nextandcrossbeam-channelfrom[workspace.dependencies]whilewallr-coreandwallrstill inherited them via.workspace = true, breakingcargo publish. The dependencies are restored. -
Fix dead FPS pacer in video playback: the
--max-fpspacing loop in the video path declaredlast_presentwithout a type annotation and never assigned it, so the limit silently never activated and the crate failed to compile in a fresh package build. The variable is now typed and stamped after each presented frame. -
Prevent oversized wallpaper restart loops: static images are reduced to render-appropriate output dimensions before GPU upload, texture allocations are validated against the adapter limit, and wallpaper state is persisted only after a successful commit. Startup restoration can fall back to the previous valid wallpaper instead of repeatedly aborting on poisoned state.
- Stabilize explicit-sync and NVDEC lifecycles - merged in PR #13 from @Luquatic.
- Cinematic Blank & Restore Transitions: Added support for custom transition effects and durations to
wallr ipc blankandwallr ipc restorecommands via CLI effect flags (e.g.wallr ipc blank --duration 1.5s --effect blur). - Smooth Desktop Startup Fade-in: Daemon wallpaper restoration on startup and display hotplug now fades in smoothly over
1sinstead of snapping instantly. - Daemon Frame Rate Limit (
--max-fps): Added--max-fpsCLI flag towallr daemonanddaemon.max_fpsconfiguration property to tune rendering performance and power consumption.
- Fix surface size crash on fractional scale: Compositors using non-integer scale factors (e.g. 1.25 on niri, Hyprland) no longer multiply physical dimensions by
scale_factor, which caused surfaces to exceed GPU texture limits (e.g. 3840x2160 at scale 1.25 was incorrectly rendered as 7680x4320).mode.dimensionsalready returns physical pixels; the redundant multiplication has been removed from all three surface creation paths.
- Fix restore command:
wallr ipc restorenow properly tracks the last set wallpaper and validates paths before attempting restore. Errors during restore are reported instead of being silently ignored. - GIF pause/resume support:
wallr ipc pauseandwallr ipc resumenow correctly pause and resume GIF playback in addition to video playback. GIF timeline position is preserved when paused. - Fix seek command:
wallr ipc seekwithout--monitornow applies to all connected outputs instead of arbitrarily selecting the first output from an unordered map. - Hardware acceleration fallback improvements:
- New
automode tries all hardware backends (NVDEC, VAAPI, VideoToolbox) in priority order before falling back to software - Explicit backend requests (e.g.,
nvdec,vaapi) now correctly try the requested backend first, then fall back to software softwaremode now uses software-only decoding without attempting hardware backends first- Active decoder backend is reported immediately after successful initialization instead of only when the decoder thread exits
- New
- Better error reporting: Restore and seek commands now provide detailed error messages per-output when operations fail.
- #7 Full output hotplug: Outputs that connect after daemon startup are automatically detected, and a LayerSurface + wgpu surface + render state is created for them. Disconnected outputs are cleaned up (playback stopped, render state removed, surfaces released). Output resolution, scale, and transform changes reconfigure the wgpu surface on the fly.
wallr monitor liststays synchronized without restarting the daemon. Commands targeting disconnected outputs return an error.
- #9 Fix renderer race condition: Per-output uniform buffers eliminate cross-output GPU state races. Each output renders independently with its own uniform bind group.
- #6 Fix monitor targeting: Unknown
--monitornames now return an error instead of silently targeting the first output. Without--monitor,set/previewapplies to all connected outputs deterministically. - #8 Monitor-scoped playback controls: Added
--monitortopause,resume,seek, andinfoIPC commands. Info without--monitorreports all outputs. - #10 Non-destructive blank/restore: Added
wallr ipc blankandwallr ipc restorecommands. Blank displays black without replacing the persisted wallpaper; restore returns to the previous image. Supports--monitorfor per-output control. - #7 Output hotplug: Disconnected outputs are cleaned up automatically. Stale render states are removed when Wayland signals output removal.
- Fix output name resolution: compositor-provided names (e.g.
DP-1,HDMI-A-1) are now correctly applied instead of always showingoutput-{id}. - Fallback chain for output names: name -> description -> make+model -> generated ID.
- Increase startup roundtrips from 2 to 5 to catch lazy compositor output events.
- Added tracing for output detection debugging (
wallr -v daemon).
- Per-monitor wallpaper support: each Wayland output gets its own LayerSurface, wgpu Surface, and RenderState. Wallpapers can be set per-output via
--monitoron CLI. wallr monitor listandwallr monitor currentquery the daemon via IPC for real output info.- Per-output last wallpaper persistence:
wallr/last_wallpaper/{output_name}instead of a single file. - File watcher applies new images to all connected outputs.
- IPC
Pause/Resumeaffect all outputs simultaneously.
- Shader-level scaling modes:
fill(cover),fit(contain),stretch,center(1:1),tile(repeat). Applied via--modeon CLI orwallpaper.modein config. - Fix NVIDIA hardware acceleration fallback: when both VAAPI and NVDEC are present, the decoder now tries all backends before falling back to software (fixes #4).
- Pass
--modeand--monitorthrough IPC instead of silently discarding them (fixes #3). - Remove dead
VideoSourcetrait and duplicate impl blocks. - Remove unnecessary
catch_unwindin decode thread. - Remove dead code (
let _ = newest,thread_sleepwrapper). - Remove restating doc comments across all video module files.
- Clean up AI-generated comment patterns across the codebase.
- Pass
--modeand--monitorthrough IPC instead of silently discarding them (fixes #3). - Fix NVIDIA hardware acceleration fallback.
- Animated GIF playback with zstd-compressed frame cache.
- Video wallpaper support (MP4, WebM, MKV) with hardware-accelerated decoding.
- 11 transition effects with circular reveal system.
- Background daemon with Unix IPC.
- Animation package system with YAML timelines.
- Theme pipeline integration (Matugen, Wallust, Pywal).
- Preview window for testing effects.
- GPU adapter selection for hybrid systems.
- Initial release.