Skip to content

hyprland 0.57.1-2, omarchy-hyprland-titlebars 0.3.0-4: new upstream release - #2064

Merged
ryanrhughes merged 1 commit into
omacom:masterfrom
MPavleski:hyprland-session-lock-fix
Nov 4, 2026
Merged

ryanrhughes merged 1 commit into
omacom:masterfrom
MPavleski:hyprland-session-lock-fix

Conversation

@MPavleski

@MPavleski MPavleski commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

What

Move hyprland to upstream 0.57.1 (pkgrel=2, above Arch's eventual -1) and rebuild omarchy-hyprland-titlebars against it (0.3.0-4, depends=('hyprland=0.57.1') on both architectures), per this recipe's rule that Hyprland and the plugin move in one change.

This supersedes the two backport patches this PR originally carried: upstream v0.57.1 includes everything they backported —

  • protocols/session-lock: fix removed output causing a protocol error (#16784, fixes #16679)
  • protocols/dmabuf: use replacement table for feedback updates
  • protocols/dmabuf: refresh format feedback after config updates
  • config: restore opt-in KMS dmabuf filtering

so session-lock-removed-output.patch and dmabuf-feedback-format-table.patch are dropped, exactly as the recipe README prescribes ("drop each once the selected release carries the fix"). The remaining three local patches (nvidia-egl-teardown, wl-output-global-grace, monitor-rule-vrr) apply to the 0.57.1 tarball with --fuzz=0 and stay.

Why

0.57.0's teardown rework killed clients on every monitor removal while locked (lock screens died, #16679) and, separately, on every output removal regardless of state (dmabuf format-table sent with stale indices; Firefox SIGSEGV, shell exit 255). Edge's 0.57.0-4 carries both bugs. This morning's hardware test on this machine: one real HDMI removal produced 2 protocol errors, 62 tranche_formats: Index ... too large errors, a Firefox crash dump and a shell relaunch. v0.57.1 fixes both paths; the same test on a build with the fixes passes clean (0 protocol errors, 0 index errors, no crashes).

Verification

  • tests/pinned-sources.sh passes (144 sources pinned)
  • Both remaining patches apply to source-v0.57.1.tar.gz with --fuzz=0
  • Confirmed the v0.57.1 tree contains the fixes: the pre-fix onGetLockSurface: monitor is gone for output resource error path is gone from SessionLock.cpp, and the replacement-table sendScanoutFeedback member is present in LinuxDMABUF.hpp
  • Local x86_64 build of hyprland + omarchy-hyprland-titlebars in one bin/build run passes

@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Updates Hyprland to 0.57.1-2 and rebuilds the titlebars plugin as 0.3.0-4.

  • Hyprland 0.57.1 ships with titlebars built for the same release.

Reviews (3) · Last reviewed commit: "hyprland 0.57.1-2, omarchy-hyprland-titl..." · Reviewed by Greptile

@MPavleski
MPavleski force-pushed the hyprland-session-lock-fix branch from 77660a1 to f6cf28c Compare November 3, 2026 10:24
@MPavleski

Copy link
Copy Markdown
Contributor Author

Update: added the dmabuf format-table fixes

Hardware testing of a local 0.57.0-5 build (x86_64, single HDMI monitor that drops the link in standby) showed the session-lock backport fixed its path, but a real output removal still killed clients through a second v0.57.0 bug — the one fixed upstream by 27b4f82ac, 7a058d7e4 and cd731f5e9, which I have now added to the PR as dmabuf-feedback-format-table.patch.

The failure on the unpatched-dmabuf build, from one locked monitor-off cycle:

kernel: amdgpu connector HDMI-A-1 disconnected        # real hotplug
hyprland: unknown object (93), message attach(?oii)   # server
firefox[6100]: (hyprland) Wayland protocol error: wl_display#1: error 1: invalid arguments for wl_surface#65.attach
firefox[6100]: ExceptionHandler::GenerateDump ...     # crash reporter, SIGSEGV
omarchy-shell[1483]: WARN: The Wayland connection experienced a fatal error: Invalid argument
omarchy-shell[1483]: Omarchy shell exited with status 255; relaunching.
uwsm_hyprland.desktop: linux_dmabuf_feedback.tranche_formats: Index given to us by the compositor is too large to fit in the format table  # x62

The mechanism is exactly what 7a058d7e4 ("use replacement table for feedback updates") fixes: resetFormatTable() sent clients the new table while feedback still carried indices computed against the old one, so every monitor removal invalidated clients' next buffer commit.

Patch is the concatenated upstream diffs (27b4f82ac → 7a058d7e4 → cd731f5e9); applies to the tarball with --fuzz=0 on top of the session-lock patch, and the patched LinuxDMABUF.cpp / DMABUFFeedback.cpp are byte-identical to upstream at cd731f5e9. Local build passes, and the built binary no longer contains the removed updateScanoutTranche helper's log line, confirming the fix is compiled in.

@MPavleski

Copy link
Copy Markdown
Contributor Author

Status: pending testing on our side

The rebuilt 0.57.0-5 package with both backports (session-lock fix + dmabuf format-table fixes) is built locally; we are re-running the monitor-loss cycles against it now. Results to follow in this thread.

@MPavleski

Copy link
Copy Markdown
Contributor Author

Test results: passing

Tested the local 0.57.0-5 build (both patches) on x86_64, single HDMI monitor (a TV that drops HPD in standby), instrumented with a watcher sampling connector state, Hyprland journal and coredumpctl.

Real connector removal (HDMI unplugged ~17 s, the exact trigger that previously killed clients): output went ABSENT → reconnect. Zero attach protocol errors, zero tranche_formats index errors, zero coredumps; Firefox, Thunderbird and omarchy-shell all stayed alive across the reconnect.

For comparison, the same trigger on the previous build (session-lock patch only, dmabuf bug still present): 2 attach protocol errors, Firefox SIGSEGV with crash-reporter minidump, shell exit 255, and 62 Index given to us by the compositor is too large to fit in the format table errors in the same second.

Also clean: DPMS off/on cycles and a suspend/resume with the link intact. One unrelated note: after the replug the TV renegotiated 4K@30 instead of @60 (standby-mode quirk on this panel); setting the mode back to 3840x2160@60 restores it and is not affected by these patches.

…elease

0.57.1 carries the removed-output session-lock fix (#16784) and the dmabuf
format-table fixes, so the two backport patches this branch first proposed
are dropped; the remaining three local patches apply to the new tarball
with --fuzz=0. The titlebars plugin is rebuilt against the new Hyprland in
the same change, as the recipe requires.
@MPavleski
MPavleski force-pushed the hyprland-session-lock-fix branch from f6cf28c to 2bc9ccc Compare November 3, 2026 11:06
@MPavleski MPavleski changed the title hyprland 0.57.0-5: backport upstream session-lock fix for removed outputs hyprland 0.57.1-2, omarchy-hyprland-titlebars 0.3.0-4: new upstream release Nov 3, 2026
@MPavleski

Copy link
Copy Markdown
Contributor Author

v0.57.1 tagged today carries both fixes, so this PR is now a plain version bump instead of backports: the two patch files are dropped, , and the titlebars plugin is rebuilt against it in the same change. Details in the description; local x86_64 build passes for both packages.

@l2aptor

l2aptor commented Nov 3, 2026

Copy link
Copy Markdown

Could this update be prioritized for review and publication to edge? The current Hyprland/Aquamarine combination can leave a machine without a usable display after boot.

On my desktop (ASUS Radeon RX 570, MSI MP223 over direct HDMI), hyprland 0.57.0-4 and aquamarine 0.16.0-1 produce No Signal immediately after unlock. The machine keeps running. While the display was dark, the kernel still reported the HDMI connector as connected and enabled, and Hyprland reported 1920×1080 at 100 Hz with DPMS on. This also reproduced twice with the previous 7.2.14-1-omarchy kernel and the updated userspace. My existing HDMI HPD debounce setting was 1500 ms throughout.

As a focused test, I built the Omarchy 0.57.0-4 recipe with its three existing patches plus the upstream max-bpc patch, and installed only that Hyprland package. The next normal boot on 7.2.15-2-omarchy displayed correctly at 1080p/100 Hz; the HDMI max bpc property was 8 after boot. This is one successful boot, and I did not capture actual link depth while the screen was dark, so it supports the patch as relevant but does not establish the exact failure mechanism or long-term stability.

Upstream 0.57.1 includes that patch. Since the current packages can cause loss of display output, please consider getting the tested 0.57.1 package and matching titlebars into the repository as soon as practical. Thank you.

@emirb emirb added the build-approved Maintainer approved this PR to build on the self-hosted pool label Nov 4, 2026
@ryanrhughes
ryanrhughes enabled auto-merge (squash) November 4, 2026 01:21
@ryanrhughes
ryanrhughes merged commit 0c7102d into omacom:master Nov 4, 2026
14 of 17 checks passed
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: hyprland (x86_64, PR artifact); hyprland (aarch64, PR artifact); omarchy-hyprland-titlebars (x86_64, PR artifact); omarchy-hyprland-titlebars (aarch64, PR artifact)

  • edge/x86_64: hyprland-0.57.1-2-x86_64, hyprpm-0.57.1-2-x86_64, omarchy-hyprland-titlebars-0.3.0-4-x86_64
  • edge/aarch64: hyprland-0.57.1-2-aarch64, hyprpm-0.57.1-2-aarch64, omarchy-hyprland-titlebars-0.3.0-4-aarch64

Some planned slots did not run because an earlier slot failed.

Commit 0c7102d · run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-approved Maintainer approved this PR to build on the self-hosted pool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants