Skip to content

Smooth one-shot intro handoffs - #6

Merged
bjarneo merged 2 commits into
omacom:mainfrom
yamz8:intro-smooth-handoff
Sep 30, 2026
Merged

bjarneo merged 2 commits into
omacom:mainfrom
yamz8:intro-smooth-handoff

Conversation

@yamz8

@yamz8 yamz8 commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

What

Smooth the two visual handoffs of a one-shot intro (owe intro):

  • Start: keep the shell's still visible until the renderer has presented the same still, then fade that still into the intro.
  • End: at EOF, fade the final frame back to the still over 750 ms and hold it while the shell recreates its background surface.
  • Renderer startup: leave a new renderer surface unmapped until it has content, instead of clearing its first buffer to black.

owe intro keeps its existing contract. There are no new client commands, so callers get the smoother handoff without changes.

Why

On OWE 0.2.7, frame-by-frame review of a screen recording of an Omarchy boot intro showed three glitches:

  1. Black before the first frame. The daemon released the shell layer before the renderer had drawn anything. A freshly spawned renderer also presented a black first buffer, which the compositor's layer fade-in blended over the shell's still.
  2. A hard cut at the end. The final frame switched straight to the still, which is visible whenever they differ slightly.
  3. A blink about a second after the handoff while the shell recreated its background surface.

Result

Brightness of each recorded frame, same intro (tokyo-night/2-swirl-buck) on an Intel UHD laptop at 1366×768, before and after:

0.2.7 This PR
Start Wallpaper fades to black, ~0.1 s black, still pops back, then video Wallpaper steady, then one ~0.25 s fade into the first frame
End Hard cut at EOF, then a bright blink ~1 s later Smooth fade from the final frame to the still

Renderer status polled every 20 ms confirms the still is presented before the shell releases its layer.

Notes

This replaces #5. It keeps that PR's handoff work and drops the intro-prepare / intro-commit protocol: Omarchy now handles its once-per-boot bookkeeping with the existing owe intro (omacom/omarchy#9639). The renderer-startup timeout change from #5 is left out; it did not reproduce on 0.2.7.

Checks

  • All 16 Meson suites pass, including new assertions in transition (the prepared still holds before handoff, fades into the intro and back to the still without a dark frame), daemon, and lock-policy.
  • Built as a package from Omarchy's PKGBUILD and verified live on the laptop above with repeated screen recordings.

🤖 Generated with Claude Code

yamz8 and others added 2 commits September 29, 2026 19:32
Keep the shell's still visible until the renderer has presented the same
still, then fade it into the intro. At EOF, fade the final frame back to
the still and hold it while the shell recreates its background surface.
This removes the black gap before the first intro frame, the hard cut
from the final frame to the still, and the blink when the shell returns.

`owe intro` keeps its existing contract; no new client commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A freshly spawned renderer cleared its first buffer to black before it
had any media. The compositor faded that black layer in over the shell's
still, which showed as a dip to black at the start of an intro.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bjarneo
bjarneo force-pushed the intro-smooth-handoff branch from dccea99 to 601e902 Compare September 29, 2026 17:33
@bjarneo
bjarneo merged commit 9654c0a into omacom:main Sep 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants