Skip to content

arm64: configs: orchard_apple4k: Enable UDMABUF - #185

Open
cDurham wants to merge 1 commit into
OrchardLinux:mainfrom
cDurham:a7/udmabuf-4k
Open

cDurham wants to merge 1 commit into
OrchardLinux:mainfrom
cDurham:a7/udmabuf-4k

Conversation

@cDurham

@cDurham cDurham commented Dec 5, 2026

Copy link
Copy Markdown

The 4k kernel has no /dev/udmabuf, so the compositor copies every CPU-drawn window into a texture on each frame. On my iPad mini 2 (A7) that copy is the slow part: a full-screen terminal scrolls at about 8 fps.

This turns on CONFIG_UDMABUF in the 4k defconfig. The 16k one already has it. One line.

Same test with it: 22 to 24 fps, and the upload jobs are gone (about 200 in 11 s before, 0 to 4 after).

Heads up: I tested this line on a slightly older main with some local A7 test commits on top, not this exact commit. Happy to boot this one if you want. I have no A8 or A8X to try.

orchard will need the usual tools/kernel-tree/take afterwards.

🤖 Generated with Claude Code

Enable CONFIG_UDMABUF in orchard_apple4k_defconfig, as
orchard_apple16k_defconfig has it. With /dev/udmabuf the compositor's
GLES2 renderer (omarchy-a's wlroots) samples clients' shared-memory
buffers in place; without it, it copies every changed buffer into a
texture.

On an iPad mini 2 (J85, A7) that copy is the slowest step of a frame.
A full-screen terminal scrolling for 11 s: 85 composite passes and
about 200 GPU transfer jobs of 47 ms each without the option, 242 to
260 passes and 0 to 4 transfer jobs with it.

UDMABUF is a bool, so it cannot be a module. The apple-4k platform is
the A7, A8 and A8X; only the A7 was measured.

Assisted-by: LLM
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: cDurham <47431093+cDurham@users.noreply.github.com>
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