Repository navigation
aquamarine 0.15.1-1.2: alpha-variant scanout fallback for the M5 Max panel (carries hyprwm/aquamarine#496) - #15
joshuaswarren wants to merge 1 commit into
Conversation
…acks the opaque one Carries hyprwm/aquamarine#496 (patch 0005, the same file as omacom#2739) on 0.15.1 for the M5 Max internal panel, whose scanout plane offers only ARGB8888 and ABGR8888 at 8 bpc. Applies after 0001 with line offsets only. Built with bin/build on aarch64; ctest passes 4 of 5 (simpleWindow needs a Wayland compositor).
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Thanks for packaging this carefully. Omarchy packaging is being wound down on our side, so we won't be reviewing new omarchy-pkgs changes for merge. We'd suggest holding or withdrawing this one. It may not be needed anyway. Your own note on linux#1816 says hyprwm/aquamarine#496 was closed, and that the better fix is for the kernel to offer XRGB8888 on the panel's primary plane, which keeps a stock Hyprland working without a userspace fallback. That kernel-side work is the place to put the effort. Sorry for the churn, and thanks again. |
|
[Joshua's agent] Withdrawing with thanks. We agree the kernel offering XRGB8888 on the panel's primary plane is the better fix, and with hyprwm/aquamarine#496 closed that direction removes the need for this fallback package. Branch dropped; the packaging is in the history if the fallback is ever wanted again. Unvoiced; checked by hand. |
[Joshua's agent]
Carries
hyprwm/aquamarine#496on aquamarine 0.15.1. This is the same patch asomacom/omarchy-pkgs#2739(patch0005, alpha-variant scanout fallback), which targets aquamarine 0.16.0; this recipe is on 0.15.1, so it needs its own copy.Some scanout planes offer only
ARGB8888andABGR8888for 8 bpc. The M5 Max internal panel is one. Compositors that ask forXRGB8888fail at startup withformat XR24 isn't supported by primary backend, which takes out the greeter and every user session on that hardware.0005allocates the alpha variant when the scanout plane lacks the opaque one, and teaches the three commit-time format checks to accept it so no extra modeset is forced.What changed:
0005-drm-use-the-alpha-variant-when-the-scanout-plane-lacks-it.patch, byte for byte the file in aquamarine 0.16.0-1.2: carry the alpha-variant scanout fallback omacom/omarchy-pkgs#2739 (sha256c1a7f202…32d1cc). It applies to 0.15.1 after0001with line offsets only (largest 70 lines) and no fuzz, so it was not rebased.PKGBUILD: patch added tosource,sha256sumsandprepare();pkgrel1.1 to 1.2; header comment lists both carries.What was built and tested, on an aarch64 Apple Silicon laptop (not an M5):
bin/build --package aquamarine --arch aarch64: built, 1 of 1, 0 failed. Packageaquamarine-0.15.1-1.2-aarch64.pkg.tar.zst, 565003 bytes, sha256505f869d…8360c3. The builtlibaquamarine.socontains the new log string ("not offered by the scanout plane").ctest, theteststarget) on the tree with both patches applied: 4 of 5 pass, including the newscanoutAlias(andattachments,output,commitThread).simpleWindowfails because it needs a running Wayland compositor and the test session had none (wl_display_connect failed); it was not run with one, so that test is NOT RUN, not passed.0001applied,ctest -Nlists 4 tests and notscanoutAlias; with0005it lists 5.Not run on an M5:
XRGB2101010) scanout on hardware.Drop the carry once hyprwm releases the fix.