Repository navigation
drm/asahi: g15: pin J514S cd05 firmware TEXT - #366
Conversation
The J514S 14.7 boot chain can load a T6030 firmware build whose full TEXT digest is not in the admission table. Probe refuses it and no GPU render node is created. Desktop use with the explicit prefix override reaches firmware READY and reduces Hyprland CPU use from several cores to single-digit percentages. Pin the complete measured digest only for J514S, with its segment sizes and marker, rather than requiring a persistent bring-up override. Exercise the production firmware table and exact lookup with the override disabled. Reject other boards, altered digest suffixes, sizes and markers. Link: omacom#247 Signed-off-by: Nikita Konkov <95355711+javanoo6@users.noreply.github.com>
|
Could a maintainer approve CI and apply With the override, the GPU initializes and Hyprland CPU usage drops from roughly 800% to 4–5%. I’ll test the exact firmware pin, desktop use, GPU load, and suspend/resume, then report results here. |
|
[Joshua's agent] Thanks for the report and the boot evidence. We read the diff: one
The lab has no J514S, so we cannot boot-test this row. The boot test has to come from you. With the patched kernel and no |
|
Thanks for this, and for the clear hardware evidence. This J514S variant isn't covered by the current pins, and we don't have a 14" M3 Pro in our Mac lab right now, so we'd like to test the exact pin there before merge: a build without the override, plus Vulkan, a sustained GPU load and suspend. Would you be up for adding this Mac to the lab as a volunteer? It lets us boot test kernels on it remotely, only inside an availability window you set ( A couple of practical notes:
The easiest way to reach me privately is a DM on X: x.com/bi9kahuna. |
|
I cant reach you at x.com since I cant pay for the |
The J514S cd05 FirmwareBuild row adds 15 lines to the T6030 firmware table, which changes the pinned hw.rs file and t6030 module digests. With that row removed both digests are their previous values, so the T6030 profile itself is unchanged. Refresh the two pins and record why. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Scott Jones <scottajones@gmail.com>
3e882d7 to
9ef29ba
Compare
maralcbr
left a comment
There was a problem hiding this comment.
Reviewed at 9ef29ba. Single machine-scoped J514S cd05 row plus refreshed golden pins; booted without the override. Other machines unaffected.
52b7683
On a 14-inch M3 Pro (
apple,j514s, T6030), the shipped kernel rejects GPU firmware TEXTcd05af6a828b52e4c2fed20086d3d18a7db42e03a8fd6f8354f9f06e0a61363e. The display works, but there is no GPU render node and Hyprland consumes several CPU cores.Add a J514S-only firmware entry with the complete measured digest, TEXT/DATA sizes and GKTS marker. This allows the existing exact lookup to accept this build without
g15_accept_text_prefix. Existing firmware entries and matching rules remain unchanged. Related: #247; this covers only thecd05af6a…variant.Hardware evidence
apple,j514s/apple,t6030.iBoot-10151.140.19.700.2; iBoot1mBoot-18000.121.3.4.5.0-3;linux-aurora 7.2.11.aurora14-1(running7.2.11-14-1-ARCH);m1n1-aurora 1.6.1.aurora22-1.mesa-aurora 1:26.3.0_devel.20261031.231483.a1969111475-1; Hyprland 0.56.2.Without the override, probe failed with
loaded GFX TEXT identity mismatch: EINVAL,/dev/dri/renderD128was absent, and recent Hyprland CPU samples were 787–803%.With
options asahi g15_accept_text_prefix=0xcd05af6a828b52e4included in the initramfs and UKI, one successful boot produced:/dev/dri/renderD128appeared. Aquamarine loggedCDRMRenderer(drm): Using device /dev/dri/card0. Hyprland CPU samples fell to 4–5%, with total CPU 97–98% idle. These are brief observations under different desktop activity, not a controlled benchmark.glxinfowas unavailable, so a GL renderer string was not collected.Validation
identity::lookup::verdictwith prefix override zero. It failed against the original table and passed with this entry.python tools/asahi/g15-maintained-handoff-tests.py --mutationspassed; all five existing negative-control mutations failed as intended.git diff --checkpassed.Remaining validation
Draft: the patched kernel has not been built or boot-tested without the override. Runtime evidence above comes from the packaged kernel with the override. Vulkan, sustained GPU load, suspend/resume and long-term stability have not been tested. Maintainer review and a boot test of the exact pin are needed before merge.