r/niri • • 7d ago

WallForge: a Wallpaper Engine player I develop on niri (video, scene and web wallpapers, no Wine)

I develop WallForge on niri, so it's the compositor I know best. It plays Wallpaper Engine wallpapers on the layer-shell background and manages them from a GTK4 app: library, per-monitor wallpapers, rotation, palette sync. The clip is a real recording on my niri setup.

  • Per-output wallpapers and rotation; `wallforge --restore` at startup (spawn-at-startup in your niri config)
  • Video with hardware decode, 2D scenes with multi-pass effects and particles, web wallpapers
  • New in 0.8: import your own videos, images and Lively zips, and browse free Wikimedia Commons videos
  • Switching to the preloaded next wallpaper takes about 28 ms

You need Wallpaper Engine on Steam for Workshop content. SceneScript and 3D scenes aren't supported yet. MIT licensed.

https://github.com/pgm1207/WallForge

I'd love to hear what breaks on your setup, especially with multiple monitors or fractional scaling.

41 Upvotes

3 comments sorted by

2

u/Massive_Scientist194 7d ago

What does this mean for performance, ram, sistem hicups etc

2

u/pablogonz12 6d ago

Good question. It's a native process instead of Wine, so there's no compatibility layer and no extra CPU spent translating Windows calls. Video wallpapers go through the GPU's hardware decoder (VA-API on AMD/Intel, NVDEC on Nvidia), so CPU usage stays low.

RAM is the thing to watch: a 4K video keeps its decoded frames in memory, so budget a few hundred MB per wallpaper at that size. Scenes cost more GPU and less RAM, and web wallpapers embed a browser engine, so they're the heaviest of the three.

Hiccups: none from Wine, since there's none. The usual culprit is GPU contention with games or a compositor animation, and I pause drawing when the wallpaper is covered.

If you post htop plus radeontop or nvidia-smi while it runs, I'll tell you where the time is going.

1

u/Someone_Here_I 6d ago

oh, good job man 👍