4.5: two full-screen shell layers cost ~11 ms of iGPU time per frame at 4K (UHD 630)
System details
Intel Coffee Lake-H with UHD Graphics 630 (the iGPU drives the panel), 3840×2160 eDP at scale 2, Omarchy 4.5.0-3, Hyprland 0.56.2, kernel 7.2.11
What's wrong?
Since the update to 4.5 the desktop stutters whenever something animates (video, scrolling, a pulsing bar widget). The cause is the per-frame cost of the shell's full-screen layer surfaces. On this iGPU each of them adds about 5.8 ms of GPU time to every frame Hyprland renders, however small the change on screen. 4.5 keeps two mapped, omarchy-background and the bar (its surface spans the screen), so every frame costs about 11 ms.
The bar half is already reported in #16983. This adds numbers for a 4K Intel iGPU and shows the background layer costs the same again.
Measurements
Hyprland's GPU time comes from DRM fdinfo (drm-engine-render). Setup: empty workspace, one 300×100 floating terminal printing 30 times a second, 5–6 s per run.
| Layers mapped | Hyprland GPU time per frame |
|---|---|
| None (shell stopped) | 0.4 ms |
| One 400×60 test layer | 0.5 ms |
| One 1920×540 test layer | 3.1 ms |
| One full-screen test layer | 5.8 ms |
Omarchy shell, bar parked (omarchy toggle bar on) |
5.8 ms |
Omarchy shell, stock omarchy.bar |
10.7 ms |
| Omarchy shell, bar clone with the strip-sized surface from #16983 | 5.8 ms |
- The full-screen test layer costs 5.8 ms whether it is transparent or opaque, on the Background, Bottom, Top or Overlay layer, and from Quickshell or GTK4 (GL and cairo).
- Blur and the bar background (glassy, opaque, none) make no difference: 11.2–11.4 ms in all cases.
- Nothing is paid while the screen is idle.
In practice an endlessly animating bar widget kept this iGPU about 70% busy, and a software-composited Electron window pushed it to 100%, at which point page flips wait on the GPU and the whole desktop freezes for moments.
Possible directions
- The strip-sized bar surface from #16983 halves the cost of every frame here (10.7 → 5.8 ms). Autohide, the tray drawer and tooltips kept working in my clone.
- The background layer is the other half. Any full-screen layer costs the same on Hyprland 0.56.2, so this half may need a change on the Hyprland side.
Reproduce
- Start a small floating window that redraws constantly, for example
foot -e sh -c 'while :; do printf "\r%s" $RANDOM; sleep 0.03; done'. - Measure Hyprland's GPU time with the fdinfo script from #16983.
- Compare
omarchy toggle bar onandoff, or map this test layer withquickshell -p <dir>while the shell is stopped:
import Quickshell
import Quickshell.Wayland
import QtQuick
PanelWindow {
anchors { top: true; bottom: true; left: true; right: true }
color: "transparent"
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Top
mask: Region {}
}
Measured and written up with an AI agent (Claude Code); every number above comes from real runs on this machine.
GPT-6 High (Codex) read this report, #16983 and the current quattro code. The bar and background still use full-screen surfaces, but the reported UHD 630 frame times have not been reproduced on matching hardware.
Classification is unsettled: my initial classification was compatibility, while the separate classifier (deepseek-v4p1-flash) returned no class. No tests or code changes were made, and no labels were added. This is waiting for classification review before verification proceeds.