Skip to content
This repository was archived by the owner on Nov 24, 2026. It is now read-only.

perf(background): reduce visualiser and hidden media work - #61

Draft
SasoIkuyo wants to merge 2 commits into
dim-ghub:mainfrom
SasoIkuyo:contrib/visualiser-performance
Draft

SasoIkuyo wants to merge 2 commits into
dim-ghub:mainfrom
SasoIkuyo:contrib/visualiser-performance

Conversation

@SasoIkuyo

@SasoIkuyo SasoIkuyo commented Oct 22, 2026 •

Copy link
Copy Markdown

Limit decorative background visualizer animation to approximately 30 fps, avoiding display-refresh-rate updates on high-refresh monitors. Keep the full-screen intermediate layer only when blur is used, and update the visualizer data texture only for the GPU renderer.

Hidden dashboard media components release their audio-analysis references; the hidden media tile also stops polling playback position. A monotonic ElapsedTimer prevents system-clock changes from producing negative animation steps. The visualizer has a lower animation frame rate by design.

Validation: python tests/test_visualiser_clock.py passes in offscreen Quickshell with the software backend. It extracts the actual clock from the component and checks its update rate, CPU/GPU upload selection, frame-time bounds, resistance to wall-clock changes, and pause on hiding, using fake bars.

Draft pending real-GPU and multi-monitor rendering checks; the clock test does not validate shader output.

@SasoIkuyo SasoIkuyo changed the title visualiser: reduce decorative animation and hidden media work perf(background): reduce visualiser and hidden media work Oct 22, 2026
@github-actions github-actions Bot added the perf label Oct 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant