Skip to content

fix cursor for Raspberry Pi 5#506

Merged
ardera merged 4 commits intomasterfrom
fix/cursor
Nov 15, 2025
Merged

fix cursor for Raspberry Pi 5#506
ardera merged 4 commits intomasterfrom
fix/cursor

Conversation

@ardera
Copy link
Owner

@ardera ardera commented Nov 15, 2025

Raspberry Pi 5 has so many planes now (56 to be exact) that the cursor planes simply didn't fit into the plane bitset.

Increase the size of the planes bitset to 128.

Also generally reduce logging for hardware cursor problems, and always use 0 rotation for planes to fix inconsistent plane rotations (for reasoning see commit)

primary planes are sometimes rotated when the framebuffer console is
rotated. While it is potentially useful to respect that, and rotate the
app accordingly, it won't rotate the input of the app nor the cursor
plane.

Just use zero rotation everywhere.

Provide feedback if a cursor vs. overlay plane was allocated, if
prefer_cursor was set.

We can only use fast cursor updates if a cursor plane was allocated.
@ardera ardera merged commit c81869e into master Nov 15, 2025
166 checks passed
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.

1 participant