Not stable yet. WolOS is in active development and the current ISO is a test build: try it in a virtual machine or on a spare disk, not on a computer you depend on.

WolOS
Manual contents

Under the hood

The window server

Hyprland 0.56.2 with the WolOS patches for frame pacing, idle cost and window behaviour.

What it is

WolOS draws windows with Hyprland, carrying a short series of patches and one plugin. Each patch does one thing: tick animations once per frame, wake less when idle, keep dragged windows out from under the menu bar.

Why

A compositor that wakes a thousand times a second costs battery even when nothing moves. The patches below are measured, and each lists its before and after.

How

Nothing to configure. The table below lists every change, where it lives and what it measured.

Reference

Base: upstream v0.56.2 (FreeBSD port x11-wm/hyprland 0.56.2). Build: wolos-pkgbuilds hyprland-wolos/ (PKGBUILD + the NNNN-*.patch files beside it). Patches: wolos-pkgbuilds/hyprland-wolos/NNNN-*.patch, applied in order. Config: desktop/overlay/usr/local/share/wolos/hypr/wolos-perf.conf (sourced by the desktop conf). Frontmost QoS and placement: plugins/wol-hypr + crates/realtime C ABI (wol_realtime.h), not a patch.

OptimizationIaraOS sourceHyprland mechanismStatusMeasured
GPU compositing (GLES)gpu.rs, render.rsCHyprOpenGLImplbuilt in-
linux-dmabuf zero copyrender.rslinux-dmabuf protocolbuilt in-
Damage + buffer agerender.rs, cache.rsCDamageRing, debug:damage_tracking = 2config-
Event-driven framesmain.rs frame clockdebug:vfr = trueconfigidle 0.12 ms CPU/s
Animation tick only while animatingmain.rs 16 ms timershouldTickForNext()built in-
Animation tick at frame rate, not 1 kHzcache::next_frame_ms (16 ms)CHyprAnimationManager::scheduleTickpatch 0001animating: 67-71 -> 8-10 ms CPU/s, 906 -> 63 wakeups/s
Idle heartbeat instead of fixed pollsmain.rs 250 ms idle timercursor-hide ticker (Renderer.cpp, was 2 Hz)patch 0002idle: 3 -> 1 wakeups/s
Cached blur of static backdropblur.rs (redo on backdrop change)decoration:blur:new_optimizations, xrayconfig-
Dual Kawase glassglass.rs, shaders/kawase_*decoration:blur:passes = 2config-
Close snapshot in GPU textureanim.rs, render.rsmakeSnapshotFB (FBO, no readback)built in-
Settled fallback snapshots (crashed apps)cache.rs 500 ms / 2 ssnapshot at unmap onlynot ported-
Direct scanoutbackend_drm.rsrender:direct_scanout = 2confignot measured (nested)
HW cursor planebackend_drm.rscursor:no_hardware_cursors = 2config-
Frame ring (ms, damage px) for wol-realtime hypr stats-render.stage hook + hyprctl wolstats in plugins/wol-hyprplugin-
Frontmost -> QoS boostqos.rsactiveWindow hook in plugins/wol-hyprplugin-
No .conf deprecation banner (0.56 pin keeps .conf)-CCompositor startup notificationspatch 0003-
Client minimise is real (CSD minimise light enabled)-xdg wm_capabilities + set_minimized -> special:hiddenpatch 0004-
Locked start / restored locker never shows the desktop; crash restart relaunches the locker (ADR 0012)-SSessionLock::takeover, start-hyprland $WOLOS_CRASH_LOCK_CMDpatch 0005-
⌘C reaches the app as Ctrl+C: sendshortcut finds the key in any layout (⇧⌘Z, Cyrillic), taps only the asked modifiers, restores the real ones (WolosKeys.hpp, gtest)-DispatcherTranslator sendshortcut, Actions::passpatch 0006-
Content-only layer commits (menu bar clock, Dock badge) damage only the changed pixels; quiet backdrop commits keep the cached blurblur.rs (redo on backdrop change)CLayerSurface::onCommitpatch 0007not measured (needs GPU run)
Focusing a minimised window (Dock click, focuswindow, app activation) restores it to the current desktop-CFocusState::fullWindowFocus, WolosWindow.hpppatch 0008-
direct_scanout = 2 also scans out fullscreen video (content-type video) and tearing-hint gamesbackend_drm.rsCMonitor::isDSBlockedpatch 0009not measured (needs GPU run)
Covered windows get frame callbacks every 33.3 ms or 2 updates once more than 10 windows are open (misc:throttle_*)-sendFrameEventsToWorkspace, WolosPerf::allowFrameCallbackpatch 0010not measured
After a mode change, rendering waits at most 250 ms for clients to ack their new size (misc:reconfigure_ack_timeout_ms)-renderMonitor, SReconfigureBarrierpatch 0011not measured
Frame callbacks carry the output's predicted next present time; a render past 95 % of the frame is late (misc:frame_deadline)-SPresentPredictor, CMonitorFrameScheduler::onSyncFiredpatch 0012not measured
Zoom (maximize) is a state the client sees: every toplevel with an xdg-decoration object (asked for a client- or server-side frame: Chromium, Electron, Qt, SDL) gets the sticky maximized dropped for one configure, so its own maximized state follows zoom; GTK (no decoration object) keeps it, since unmaximized GTK draws shadow margins and rounded corners under the bar-CXDGToplevelResource configure, xdg-decoration map (XDGShell.cpp)patch 0013-
A crashed locker leaves the screen black while wol-lock brings a new one (no "lockscreen app died" page), and a new lock takes over an unconfirmed one (misc:allow_session_lock_restore, ADR 0012)-shallConsiderLockMissing, session-lock takeoverpatch 0014-
A dragged floating window (Super+drag, hyprbars title bar, touch) never goes under the menu bar's reserved area and keeps 40 px of its frame on screen at every edge (macOS clamps the frame top to the usable area); the clamp runs after snapping, where a plugin could not (input.mouse.move fires before the drag applies the position)-CDragStateController::mouseMove, WolosWindow::clampDragX/Y (pure, gtest)patch 0015-
Active window raised; CSD apps tagged wol-csd; placement after layout-window.active, window.open, window.openLate hooksplugin-

Measurement: Linux host (CachyOS), nested Wayland backend, 1280x800, one static alacritty window, 25 s warm-up, 10 s sample of /proc/<pid>/task/*/schedstat and main-thread voluntary switches. Animating = hyprctl dispatch workspace toggled every 500 ms.

Invariants:

  • Patches stay small and apply with git apply --check on v0.56.2.
  • Policy math lives in src/helpers/WolosPerf.hpp, WolosLock.hpp and WolosWindow.hpp, tested by tests/helpers/.
  • Bump the base tag only together with the FreeBSD port; rebase patches then.

Reference synced from wonderlandos/wolos docs/modules/hyprland-fork.md.