Upgraded from 4.0.6 to 4.5.0, causes hyprland crashing
System details
Omarchy 4.5.0, CPU 12th Gen Intel(R) Core(TM) i7-1250U (4+8) @ 4.70 GHz,
What's wrong?
After upgrading to Omarchy 4.5.0 on stable it causes the omarchy shell not to load on a reboot and crash hyprland resulting in a safe mode boot every time
This looks like a duplicate of #16941, the startup-cursor crash that's new in 4.5.
The attached crash report has the same stack as #16941, #16319 and #17891:
#4 libcairo.so.2(cairo_image_surface_get_stride+0x4) <- NULL cursor surface
#5 Pointer::Cursor::CCursorBuffer::CCursorBuffer(...)
#6 Pointer::Cursor::CCursorManager::setCursorFromName(...)
#7 Render::IHyprRenderer::ensureCursorRenderingMode()
In 4.5.0, default/hypr/startup-cursor.lua hides the pointer at startup and turns hyprcursor back on before any style is loaded. Hyprland 0.56.2 then dereferences a null cairo surface the next time it draws the cursor and crashes. start-hyprland restarts it in --safe-mode, which is why the shell never comes up.
Workaround (it works from a terminal in safe mode). Add this line to ~/.config/hypr/autostart.lua and reboot:
omarchy_startup_cursor_pending = false
The startup-cursor handler only arms itself when that global is nil, and user files load after Omarchy's defaults, so this turns the hide/reveal step off.
Fix status: #17999 ("Stop hiding the pointer at startup") was merged into quattro on 2026-11-09 and removes startup-cursor.lua entirely. However, the v4-5-1 release branch still has the 4.5.0 startup-cursor.lua, and I couldn't find a backport PR, so as things stand 4.5.1 would ship without this fix. Flagging that in case it should be backported before 4.5.1 goes out.
Same crash on another stable 4.5.0-3 machine (identical stack: ensureCursorRenderingMode → setCursorFromName → CCursorBuffer → cairo_image_surface_get_stride). Two details I couldn't find here or in #16941:
1. A legacy envs.conf is one route to an unset HYPRCURSOR_THEME. This install pinned its cursor with env = HYPRCURSOR_THEME,rose-pine-hyprcursor in ~/.config/hypr/envs.conf. The hyprland.lua generated on 2026-08-17 requires hypr.monitors, hypr.input, hypr.bindings, hypr.looknfeel and hypr.autostart; there is no envs.lua, and nothing reads envs.conf any more. The pin has been silently inactive since then, which was harmless until 4.5.0 put the machine in the unset-theme case. I have not traced which migration step should have carried it over, so treat this as an observation, not a diagnosis. Anyone who set a cursor theme that way before the Lua config is likely affected.
2. Cold-boot check of pinning HYPRCURSOR_THEME. Appending this to ~/.config/hypr/hyprland.lua, with startup-cursor.lua left active:
hl.env("HYPRCURSOR_THEME", "rose-pine-hyprcursor")
- Nested
Hyprland -crunning the stockstartup-cursor.lua: crashes with the stack above without the line, survived 2/2 runs with it. - One real cold boot since: normal session, no crash report,
cursor:enable_hyprcursorreadstrue.
This matches the mechanism described in #16941 (a non-empty HYPRCURSOR_THEME makes the restore run hyprctl setcursor <theme> <size>, which loads the style). The theme is the packaged rose-pine-hyprcursor in /usr/share/icons (hyprcursor-only).
System: Radeon RX 6600 (Navi 23), single output, stock Arch kernel 7.2.11-arch1-1, Omarchy 4.0.6-1 → 4.5.0-3 on 2026-11-13, Hyprland 0.56.2-4, hyprcursor 0.1.13, aquamarine 0.15.1-1, mesa 26.2.5. Five crashes in five consecutive session starts within six minutes, ending in --safe-mode.
As of 2026-11-16 the v4-5-1 branch still contains default/hypr/startup-cursor.lua, so the backport gap noted above is still open.
Filed by Claude Fable 5.2 via Claude Code.
I read the report, both follow-up comments, and the attached Hyprland 0.56.2 crash log. Its cursor-rendering stack (cairo_image_surface_get_stride → CCursorBuffer → setCursorFromName → ensureCursorRenderingMode) matches the stack documented in #16941. I have not reproduced the crash or verified a fix on a worker.
Only GPT-6 in Codex reviewed this evidence (reasoning effort is not exposed). The required second classification from deepseek-v4p1-flash returned no class, so classification is incomplete. Leaving this open for a maintainer to resolve the classification before triage continues.
Rechecked the attached crash report against the current branches. Its Hyprland 0.56.2 cursor-rendering stack matches the startup-cursor crash documented in #16941. #17999 removed that startup pointer-hiding code from quattro. The removal also reached v4-5-1 through #19202, merged November 17, so the backport gap mentioned above is now closed on that branch.
GitHub still lists v4.5.0 as the latest published stable release. Branch inclusion does not establish availability in a released package. This session checked the source and commit ancestry; it did not reproduce the crash on a worker or confirm the fix on your machine, so the stack match does not prove your full root cause.
GPT-6 in Codex reviewed this evidence (reasoning effort is not exposed). Opus 5.5 High and muse-wonder via pi, thinking high, agreed with this assessment; review independence is not guaranteed. Leaving this open for a maintainer to decide whether to close it as addressed by #17999 or keep it open until the fix is released.