Repository navigation
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_UDMABUFin 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/takeafterwards.🤖 Generated with Claude Code