Skip to content

aquamarine 0.15.1-1.2: alpha-variant scanout fallback for the M5 Max panel (carries hyprwm/aquamarine#496) - #15

Closed
joshuaswarren wants to merge 1 commit into
masterfrom
mac/aquamarine-alpha-scanout-0.15.1
Closed

joshuaswarren wants to merge 1 commit into
masterfrom
mac/aquamarine-alpha-scanout-0.15.1

Conversation

@joshuaswarren

Copy link
Copy Markdown

[Joshua's agent]

Carries hyprwm/aquamarine#496 on aquamarine 0.15.1. This is the same patch as omacom/omarchy-pkgs#2739 (patch 0005, 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 ARGB8888 and ABGR8888 for 8 bpc. The M5 Max internal panel is one. Compositors that ask for XRGB8888 fail at startup with format XR24 isn't supported by primary backend, which takes out the greeter and every user session on that hardware. 0005 allocates 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:

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. Package aquamarine-0.15.1-1.2-aarch64.pkg.tar.zst, 565003 bytes, sha256 505f869d…8360c3. The built libaquamarine.so contains the new log string ("not offered by the scanout plane").
  • Upstream's own test suite (ctest, the tests target) on the tree with both patches applied: 4 of 5 pass, including the new scanoutAlias (and attachments, output, commitThread). simpleWindow fails 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.
  • Control: with only 0001 applied, ctest -N lists 4 tests and not scanoutAlias; with 0005 it lists 5.

Not run on an M5:

  • Nothing from this package has run on an M5 Max. The hardware checks in aquamarine 0.16.0-1.2: carry the alpha-variant scanout fallback omacom/omarchy-pkgs#2739 (colour fills, translucent overlay, alpha byte 0xFF across 375,732 samples) were made on the 0.16.0 build, and that PR says greeter startup is not yet verified.
  • Not run here: a compositor session or the greeter with this 0.15.1 build, on any panel; a 10-bit (XRGB2101010) scanout on hardware.

Drop the carry once hyprwm releases the fix.

…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).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T00:01:08.470154Z 0e59176 Manual request
🔒 Security Review ✅ Completed 2026-11-20T00:04:33.087299Z 0e59176 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

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.

@joshuaswarren

Copy link
Copy Markdown
Author

@codex review

@joshuaswarren

Copy link
Copy Markdown
Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 0e591768c1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 0e591768c1

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@RyanTheTide

Copy link
Copy Markdown

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.

@joshuaswarren

Copy link
Copy Markdown
Author

[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.

@joshuaswarren
joshuaswarren deleted the mac/aquamarine-alpha-scanout-0.15.1 branch November 20, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants