Repository navigation
hyprland: detect software rendering from the GL renderer - #649
Conversation
Carry a v0.56.2 backport of hyprwm/Hyprland#16343 so display-only KMS drivers paired with llvmpipe are classified as software rendering. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Temporarily marking this PR as draft pending runtime validation. Source review and the CI build/tests passed, and the M3 is running the exact binary from our patched package. The M3 currently has Aquamarine 0.15.0 installed, while Hyprland was built against 0.15.1. Existing compositor logs also contain renderer initialization errors whose significance has not yet been established. Neither finding has been attributed to this patch. Before marking this ready, we will compare patched and unpatched Hyprland with the same dependency versions, validate the simpledrm/llvmpipe path, and complete an accelerated-rendering regression check. The separate installer runtime/addon/boot package alignment work is not a prerequisite for this PR once Hyprland itself is validated. |
Refresh the #16343 backport to carry the upstream follow-up that matches llvmpipe/softpipe/Software Rasterizer with ASCII case-insensitive, string_view-based matching. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
maralcbr
left a comment
There was a problem hiding this comment.
Holding this for now. The code looks right: g_pHyprOpenGL exists before the new constructor runs, and m_software only switches glFlush() to glFinish() when explicit sync isn't available, so M1/M2 on the Asahi GPU behave exactly as before. Since Hyprland is on the fast ring, though, merging ships straight to edge, rc and stable, so I'd like a few things closed first:
- Runtime comparison: your earlier comment planned a patched-vs-unpatched comparison with the same dependency versions, and an explanation of the renderer init errors in the existing logs. Could you post those results (M3 simpledrm/llvmpipe and the accelerated M2 Max check) against the
-4candidate? - README hold wording: #16343 is still open upstream, and 0.56.2 is still the latest release. Please add that the patch can be rebased onto a newer release after testing, so ARM doesn't stay pinned at 0.56.2 if upstream takes a while.
- omareel claim: merging won't automatically rebuild omareel.
rebuild_onis picked up by the separate six-hoursync-rebuildsjob, which reads dependency versions from the official and ALARM repos, not from this recipe. Please drop that line or say how omareel will actually be rebuilt.
|
Runtime comparison is complete on the M3 and M2 Max against the exact
The M3 renderer errors occur in both versions, including the visually working Source: EGL device matching and renderer creation, secondary renderer initialization, and applyCommit logging. Limit: the published Both machines are now running |
Carries a v0.56.2 backport of hyprwm/Hyprland#16343 so Hyprland decides whether it is software rendering from the GL renderer (llvmpipe/softpipe) rather than the DRM driver name, matching renderer names case-insensitively as the upstream review asked. Display-only KMS devices such as simpledrm paired with llvmpipe were previously missed. Automatic upstream updates are held with
sync: falsewhile the backport is needed. The patch can be rebased onto newer releases after software- and accelerated-rendering tests; the README also explains when to remove the hold and patch together.Merging publishes to edge, rc and stable (
release_ring: fast). It does not automatically rebuild omareel: the separate six-hoursync-rebuildsjob checks dependency versions in the official and ALARM repositories, rather than this recipe.Test plan
libaquamarine.so=14)Apple M2 Max (G14C B1), classified as hardware, no regressionsRuntime comparison results and limitations: #649 (comment)
🤖 Generated with Claude Code