Skip to content

aquamarine 0.16.0-1.3: show the cursor on pre-Vega amdgpu with Linux 7.3 - #4164

Merged
dhh merged 1 commit into
masterfrom
aquamarine-cursor-duplicate-modifier
Nov 30, 2026
Merged

dhh merged 1 commit into
masterfrom
aquamarine-cursor-duplicate-modifier

Conversation

@omarchybot

Copy link
Copy Markdown
Collaborator

With Linux 7.3, the hardware cursor is invisible on pre-Vega AMD GPUs (Polaris and older). The pointer still moves and clicks, but nothing is drawn (omacom/omarchy#20918). linux-omarchy 7.3 is already on rc (7.3.6-1) and edge (7.3.7-1).

Since 7.3, amdgpu exposes IN_FORMATS on these cards' cursor planes, and it repeats the LINEAR modifier aquamarine already lists. aquamarine's GBM fallback only handles a modifier list that is exactly LINEAR. With the duplicate, the cursor buffer was allocated with DRM_FORMAT_MOD_INVALID, which cannot go on the cursor plane, so the cursor plane had no framebuffer.

This carries hyprwm's fix, hyprwm/aquamarine#499 (d2aca076). It lists each modifier once per plane format. It is merged upstream but in no release yet, so it joins the other carried patches until one ships it.

  • The patch is upstream's commit unchanged.
  • It applies after the five existing patches with --fuzz=0.
  • It touches no header, struct or symbol, so Hyprland's binaries work with 1.3 as they are.

Drafted, so it does not publish itself; nobody has tested it on pre-Vega hardware yet. aquamarine is on the normal ring, so merging publishes to edge only. rc already ships kernel 7.3, so it needs an edge → rc promotion of aquamarine after merge, and it should reach stable no later than kernel 7.3 does. hyprland and cua-hyprland-plugin list aquamarine in rebuild_on, so sync-rebuilds will open their pkgrel bumps once 1.3 is on edge. Those rebuilds are harmless but not required.

Opus 5.5 High and muse-wonder via pi (thinking high) reviewed the patch and the recipe and found no defects. Opus's wording correction to the header comment is in.

Since 7.3, amdgpu's IN_FORMATS for older cards' cursor planes repeats the LINEAR aquamarine already lists. GBM's fallback handles only a list that is exactly LINEAR, so the cursor buffer was allocated with DRM_FORMAT_MOD_INVALID, could not go on the cursor plane, and the hardware cursor disappeared. Carry hyprwm's d2aca076, merged after 0.16.0, which lists each modifier once per format.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dhh
dhh marked this pull request as ready for review November 30, 2026 17:03
@dhh
dhh enabled auto-merge November 30, 2026 17:03
@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; no actionable defects were found.RetriggerView in GreptileConfidence Score: 5/5

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

Summary

Carries a modifier-list fix in aquamarine 0.16.0-1.3 to address invisible cursors on pre-Vega AMD GPUs with Linux 7.3.

  • Pre-Vega AMD cursors stay visible with Linux 7.3.

No actionable issues found. No package build or hardware test was performed during this review.

Reviews (1) · Last reviewed commit: "aquamarine 0.16.0-1.3: show the cursor o..." · Reviewed by Greptile

@dhh
dhh merged commit 1293d53 into master Nov 30, 2026
17 checks passed
@dhh
dhh deleted the aquamarine-cursor-duplicate-modifier branch November 30, 2026 17:05
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Package Arch Status
aquamarine aarch64, x86_64 PR artifact
Channel Status Packages
edge/x86_64 published aquamarine-0.16.0-1.3-x86_64
edge/aarch64 published aquamarine-0.16.0-1.3-aarch64

Commit 1293d53 · run

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