Skip to content

borealis: G17P: relocate every unlinked vertex program's varyings - #446

Merged
DjDeveloperr merged 1 commit into
aurora-silicon:aurora-wipfrom
jgoyvaerts:pr/hk-g17p-relocate-unlinked-varyings
Nov 21, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-silicon:aurora-wipfrom
jgoyvaerts:pr/hk-g17p-relocate-unlinked-varyings

Conversation

@jgoyvaerts

@jgoyvaerts jgoyvaerts commented Nov 18, 2026 •

Copy link
Copy Markdown

What

A G17P vertex program compiled without its fragment shader (graphics pipeline library pre-rasterization stages, unlinked shader objects) gets the canonical UVS layout from 2c262a8: every varying written twice in location order, a smooth copy and then a flat copy. Noperspective inputs read the smooth copy. The clipper interpolates the words of each range by that range's mode, so on a clipped primitive a noperspective input gets values interpolated perspective-correctly at the clip points, then interpolated linearly.

dEQP-VK.fragment_shading_barycentric.fast_linked_library.weights.*.line_strip*.noperspective shows it (36 cases, once Borealis exposes VK_KHR_fragment_shader_barycentric): their reference image is a plain noperspective in vec3 colour from a fast-linked vertex shader, and comes out up to 125/255 off on the lines that run off the viewport. The pipeline_library and monolithic forms of the same cases pass. The bug itself needs no barycentrics: any noperspective varying of an unlinked vertex program on a clipped primitive hits it.

The relocatable layout from 402c85f, which shaders over 62 varying components already use, is exact: one copy of each varying at a placeholder index, which the link re-encodes for the fragment shader's smooth, flat and linear inputs. This uses it for every unlinked vertex program and removes the canonical layout. A varying stored at an index computed at run time cannot be relocated, so it is stored at each constant index of its array under a test of the computed one; such shaders previously fell back to run-time UVS indices. Each varying is now written once instead of twice.

New unit test asahi-uvs-relocatable: an unlinked vertex shader with a run-time-indexed array is relocatable, writes every varying at a constant index, and its relocation map puts a flat and a noperspective varying in their ranges. A second case writes the layer as a varying with the layer-zero root flag from #443 on (layer_zero_root_offset >= 0) and checks the flag load and the packed layer/viewport store. Under NIR validation (any build with asserts) both cases must validate. It fails without this change.

The layout's flags change, so the AGX3 shader binary version goes to 44.

Testing

Rebased onto aurora-wip 4596393 (after #443), M4 Pro (J616s, G17P), kernel 7.3.0-m4.173, debugoptimized build with asserts (NIR validation on), guarded, 0 GPU recoveries:

  • meson --suite asahi 208/208; gallium asahi and Borealis build. asahi-uvs-relocatable aborts in nir_validate without this change.
  • 1 in 6 of the unlinked-path list below (11,074 cases, without render_to_image.*.huge): 6,805 Pass, 4,269 NotSupported, 0 Fail, the same case for case as aurora-wip 4596393 alone.

Before the rebase (aurora-wip 57df4db), kernel 7.3.0-m4.166/167, release builds, guarded runs, 0 GPU recoveries:

  • aurora-wip 57df4db + this commit: meson --suite asahi --suite vulkan 200/200.
  • 66,557 dEQP-VK cases on the unlinked paths (pipeline.fast_linked_library sample + its interpolation/vertex-input/clip/stencil/render_to_image/tessellation/geometry groups, pipeline.shader_object_unlinked_{spirv,binary} samples + render_to_image.core.{2d_array,cube_array}.huge.width_height., shader_object samples, transform_feedback.simple sample, clipping, glsl.linkage): 39,233 Pass, 27,324 NotSupported, 0 Fail, on aurora-wip + this commit and, case for case, the same with and without it on our m4/next line.
  • On our m4/next line with VK_KHR_fragment_shader_barycentric exposed: the 36 cases above fail without this commit and pass with it; the whole dEQP-VK.fragment_shading_barycentric group gives 16,563 Pass, 4,428 NotSupported (shaderFloat64), 0 Fail.
  • GL (gallium asahi, no layout change there): texture probe and the 392-case GLES3 slice, 392/392, same as the installed driver.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

Heads-up for the rebase after #443: besides the agx_nir_lower_uvs() signature conflict (src/asahi/lib/agx_nir_lower_uvs.c:262, agx_uvs.h:84 -> bool layer_as_varying, bool relocatable, int layer_zero_root_offset), the new src/asahi/lib/tests/test-agx-uvs-relocatable.c:48 and :101 need a trailing -1 to build. There is no logic interaction otherwise: the layer-zero select only touches the fixed-function word, not the relocated varyings. Glad to help with the rebase.

@RyanTheTide

Copy link
Copy Markdown

Since #443 landed this branch conflicts on agx_nir_lower_uvs(). I tried the obvious resolution, (nir_shader *s, struct agx_unlinked_uvs_layout *layout, bool layer_as_varying, bool relocatable, int layer_zero_root_offset) with -1 in the two calls in test-agx-uvs-relocatable.c. Every other caller already passes five arguments after the merge. It builds, and the x86 asahi suite is 140/141.

The one failure is the new asahi-uvs-relocatable test, which aborts in NIR validation right after the intrinsics pass at agx_nir_lower_uvs.c:280. The store_outputs for VAR1..VAR3 inside the vertex-id branches read values (%11, %12) that validation hasn't seen at that point (src->_parent & SRC_TAG_SEEN, then nr_tagged_srcs == 0). So the relocated stores and the code #443 added to the same pass seem to interact, beyond the signature. I didn't push the merge. Could you rebase onto aurora-wip and look at that combination? Once the test passes on the rebased head, we'll run the A18 Pro and M4 Pro rows on it right away.

The full validation output is in the merge-train notes, and I'm happy to share it here if useful.

@jgoyvaerts
jgoyvaerts force-pushed the pr/hk-g17p-relocate-unlinked-varyings branch from a0d42c2 to ce64210 Compare November 20, 2026 05:03
@jgoyvaerts

Copy link
Copy Markdown
Author

Rebased onto aurora-wip 4596393, new head ce64210. Thanks for running the merge.

The validation failure wasn't an interaction with #443. It was in this commit, and you get it with -1 too. lower_indirect_varying() cloned each store into its offset == i branch and then built the new offset with nir_imm_int(b, 0) after nir_builder_instr_insert() had moved the cursor past the store. So every relocated store read a load_const that comes after it in the block. The values in your dump are the store's sources; the bad one is that offset. Our earlier runs were release builds, which skip nir_validate, and later passes fold the constant, so nothing showed on hardware. Fix: build the zero once, before the branch ladder (agx_nir_lower_uvs.c:198, used at :208). The layer-zero select sits after the layer store's index (:131) and reads only the layer value and the root table, so it never touches the relocated stores. Your first comment was right on that.

Test: asahi-uvs-relocatable now also lowers the shader with the layer written as a varying and layer_zero_root_offset = 8 (test-agx-uvs-relocatable.c:134). It checks that every store index is constant, the one flag load, and the packed layer/viewport store. Built with asserts, both cases pass NIR validation; without the fix the test aborts in nir_validate.

Checked on the M4 Pro with a debugoptimized build (asserts on), guarded, 0 recoveries:

  • meson test --suite asahi: 208/208. gallium asahi and hk both build.
  • 11,074-case sample of the PR's unlinked-path dEQP-VK list, run with that ICD so validation also runs on real pipelines: 6,805 Pass, 4,269 NotSupported, 0 Fail, identical case for case to aurora-wip alone.

Yes please on the A18 Pro and M4 Pro rows on ce64210.

@DjDeveloperr

Copy link
Copy Markdown

Merge train (batch 1): independent review

Verdict: CLEAN WITH NITS. Independent code-only review (Opus 5.5, xhigh). No blocker or major.

One question for you, @jgoyvaerts, before or after the merge:

  • MINOR (latent, please confirm): lower_indirect_varying() (agx_nir_lower_uvs.c:183-214), now run for every relocatable shader (:278-281), puts each varying store inside if (offset == i). After lower() they are store_uvs_agx at immediate placeholder indices outside the last block. On the AGX3B packer agx3_g17p_vertex_output_count() then returns 0 (agx3_pack_binary.c:8797-8803), so g17p_user_output_protocol is false, and the pre-pass (:13043-13058) refuses any immediate store index >= 4 when no vertex store keeps a run-time index. Scenario: an unlinked G17P VS with a dynamically indexed output array (out vec2 v[3]; v[gl_VertexIndex % 3] = ...) compiled before this PR (≤62 components stored at imm + offset*4; above 62 it stayed non-relocatable) and would now fail creation with "AGX backend cannot encode vertex shader". It depends on whether an indirect output store can still reach agx_nir_lower_uvs for an unlinked VS; if NIR always removes it earlier, this is moot.
  • NIT: per-FS relinking is now the default path for every unlinked G17P VS (compile-time cost, not correctness).
  • NIT (uncertain): the packer's batching-protocol choice depends on the store count, which halves with the single-copy layout.
  • NIT: the unit test checks NIR only, not that the G17P packer accepts the shapes.
  • NIT: cache version bump and a few stale comments.

Reach: AGX_CHIP_G17P hk only (hk_shader.c:4083-4085); on M5 only the shader-binary cache version changes (43 -> 44 for G17G/S/C).

Train: batch 1. The Neo (G17P) row runs pipeline.fast_linked_library, pipeline.shader_object_unlinked_*, shader_object, tessellation, geometry, clipping, transform_feedback against the pre-batch tip.

DjDeveloperr added a commit that referenced this pull request Nov 20, 2026
DjDeveloperr added a commit that referenced this pull request Nov 20, 2026
DjDeveloperr added a commit that referenced this pull request Nov 20, 2026
@DjDeveloperr

Copy link
Copy Markdown

Merge-train status (02:4x): held for its Neo (G17P) row. The independent review is clean with nits, posted above. This PR reaches the A18 Pro (G17P), so per the train's rule it merges only after both of these:

The Neo has been offline since about 02:04 (it idle-suspended and needs a physical wake), so its row can't run until it is back. Everything else for this PR will be ready by then. G17P owners' rows (A18 Pro / M4 Pro / M4 Max) on the head above would unblock it sooner.

@jgoyvaerts

Copy link
Copy Markdown
Author

Thanks @DjDeveloperr. Head is still ce64210; nothing changed, so no push.

MINOR: not reachable through hk. Your packer analysis is right: if lower_indirect_varying() ever fired, the stores would sit in non-last blocks, agx3_g17p_vertex_output_count() would return 0 and the pre-pass would refuse the shader. But an indirect output store never gets to agx_nir_lower_uvs():

  • hk_preprocess_nir_internal() runs nir_lower_io_vars_to_temporaries(nir_var_shader_out) for every stage (hk_shader.c:491). A run-time-indexed output array becomes a temporary, and it is copied to the outputs with constant derefs at the end.
  • For a VS, hk_lower_nir() also lowers indirect output derefs to if-else trees (hk_shader.c:3391-3402).
  • The other hardware vertex programs store at constant offsets: the GS raster program (poly_nir_lower_gs.c:950) and the passthrough GS (poly_nir_passthrough_gs.c:61-76). The TES and GS raster programs are relabelled MESA_SHADER_VERTEX (poly_nir_lower_tess.c:355, poly_nir_lower_gs.c:731), so relocatable_uvs (hk_shader.c:5416) records their relocations too.

I checked this on the M4 Pro with a small VK_EXT_shader_object test: one shader per vkCreateShadersEXT, no LINK_STAGE, a full-screen draw, and an exact readback. I ran it under gdb with a breakpoint on hk_fast_link_vertex() that prints uvs.relocatable, and one on the indirect path of lower_indirect_varying() (agx_nir_lower_uvs.c:195):

unlinked VS created layout colour indirect breakpoint
flat out vec2 v[3]; v[gl_VertexIndex % 3] = … (your shape) yes relocatable, 7 words exact 0 hits
smooth vec2 v[3], written in a loop bounded by a push constant yes relocatable exact 0 hits
vec4 big[16] (64 components, above the old canonical limit), loop as above yes relocatable, 65 words exact 0 hits

All three also create and render exactly on base 4596393. As a positive control, the unit test under the same gdb script hits the indirect breakpoint 4 times. In hk, lower_indirect_varying() only guards against a future producer of indirect output stores. If you'd rather have an assert there, I'll do that in a follow-up so the queued gates on this head stay valid.

NITs

  • Per-FS relinking cost: the link is not a recompile. It rewrites the immediate UVSWs listed in the binary (agx3_uvs_reloc), and the result is cached per (flat, linear) input mask: hk_fast_link_key_vs.uvs_flat/uvs_linear, and hk_only_linked_for_fs() for programs linked without a prolog. A fragment shader with only smooth inputs reuses only_linked. The worst case is one extra fast link per distinct flat/linear layout of the fragment shader.
  • Batching depends on the store count: user words start at UVS index 4. With a position written, one user word already makes at least 5 stores, and both the == 6 branch and the >= 5 && (terminal || leave_staging_alone) branch accept that. leave_staging_alone fails only on texture, image or ZS ops after the first store. Halving the count can therefore only matter for a VS that writes no position. The row includes 540 no_position cases, and all of them pass on head.
  • Unit test checks NIR only: packer acceptance is covered on hardware by the probe above and the row below. A packer-level unit test needs a G17P backend compile harness; I can add one as a follow-up.
  • Cache version bump and stale comments: HK_AGX3_SHADER_BINARY_VERSION is one constant for every AGX3 chip, so M5 gets one cold cache rebuild. G17P needs the bump because canonical and flat_copy are gone. grep -i canonical over src/asahi finds only the version-history line. If you saw other stale comments, point me at them and I'll fix them in place.

M4 Pro G17P row on head ce64210 against base 4596393. Debugoptimized builds with asserts on, so NIR validation also ran on real pipelines; 0 GPU recoveries. 916,579 cases: the 125 huge cases are excluded and the rest of every group listed runs.

group base: Pass / NotSupported / other head diff
pipeline.fast_linked_library 86422 / 45645 same 0
pipeline.shader_object_unlinked_spirv 173282 / 207814 same 0
pipeline.shader_object_unlinked_binary 14181 / 10048 same 0
shader_object 86290 / 157551 / 5 Crash same 0
tessellation 874 / 240 same 0
geometry 182 / 18 same 0
clipping 308 / 0 same 0
transform_feedback 123682 / 10036 / 1 Flake 123683 / 10036 0 (the flake passes on re-run on both)

The 5 crashes fail the same way on both sides; they are mesh/task shader-object creation cases, shader_object.create.{all_with_mesh.fail, all_with_mesh.succeed, multiple.all_with_mesh, task.fail, task.succeed}. The flake is transform_feedback.primitives_generated_query.get.host_reset.64bit.geom.xfb.no_rast.point_list.pgq_1_xfb_0.single_draw.pqg_first.after_2_queries. meson test --suite asahi --suite vulkan on head: 211/211.

@RyanTheTide RyanTheTide changed the title hk: G17P: relocate every unlinked vertex program's varyings borealis: G17P: relocate every unlinked vertex program's varyings Nov 20, 2026

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blockers. Our earlier comments are addressed. The rebase onto #443 has the five-argument agx_nir_lower_uvs(). The NIR validation failure in the relocatable test was this commit's misplaced nir_imm_int(0), now built before the branch ladder (agx_nir_lower_uvs.c:198). The test now also covers the layer-zero root flag. I re-read the diff on ce64210. The removal of the canonical layout is complete: flat_copy is gone from the linker and from hk_g17p_smooth_varyings_supported_uncached(), and the binary version moves to 44. The answer to the earlier indirect-store question (outputs go to temporaries in hk_preprocess_nir_internal(), and indirect derefs become if-ladders for a VS) matches the code. The evidence is a full M4 Pro row on the unlinked-path groups, base against head, with asserts on.

  1. src/asahi/lib/agx_nir_lower_uvs.c:187-213: since no hk producer reaches lower_indirect_varying() today, an assert or a comment saying it guards future producers, and that the G17P packer would refuse its output (stores outside the last block), would keep it from being taken for a tested path. The follow-up you offered is fine.

  2. Naming nit: the commit subject starts with hk:. Our Vulkan driver is Borealis in prose, so borealis: as in the PR title.

Hardware row: Neo (A18 Pro, G17P) on ce64210 against base 4596393: pipeline.fast_linked_library, pipeline.shader_object_unlinked_*, shader_object, tessellation, geometry, clipping, transform_feedback. Pass: identical case-for-case results and 0 GPU recoveries, as on the M4 Pro.

Assisted-by: LLM (Claude:Opus 5.5)

DjDeveloperr added a commit that referenced this pull request Nov 21, 2026
@DjDeveloperr
DjDeveloperr force-pushed the pr/hk-g17p-relocate-unlinked-varyings branch from ce64210 to cdca75c Compare November 21, 2026 00:40
DjDeveloperr added a commit that referenced this pull request Nov 21, 2026
@DjDeveloperr

Copy link
Copy Markdown

Merge train: rebased onto aurora-wip afcc08b (conflict-free; authorship kept). Head ce64210 -> cdca75c.

  • Why: so this exact head carries the current .github/workflows/asahi.yml and the policy-file copies that ci: sync the assistant-file copies with .github/aurora/AGENTS.md #580 synced, so its CI run and agent-policy.sh pr both apply to it. On the old base agent-policy.sh pr failed on the stale copies.
  • What changed: nothing in the PR's own commits (git range-diff: every commit identical). The train's batch stack built from the rebased heads has the same tree as the one already reviewed and host-tested.
  • CI: an asahi workflow run on this exact head is in progress on the DjDeveloperr/mesa mirror (branch ci/train-pr446), because aurora-silicon/mesa has Actions off. agent-policy.sh pr passes locally (rc=0).

A G17P vertex program compiled without its fragment shader got the
canonical layout: every varying written twice in location order, a
smooth copy and then a flat copy. Linear (noperspective) inputs read the
smooth copy. The clipper interpolates the words of a range by that
range's mode, so on a clipped primitive a noperspective input read
values interpolated perspective-correctly at the clip points. All 36
dEQP-VK.fragment_shading_barycentric.fast_linked_library.weights.*
line_strip*.noperspective cases render their reference image, a plain
noperspective colour from a fast-linked vertex shader, up to 125 of 255
off in every channel. Their pipeline_library and monolithic forms pass.

The relocatable layout that larger shaders already use is exact: one
copy of each varying at a placeholder index, re-encoded at link for the
fragment shader's smooth, flat and linear inputs. Use it for every
unlinked vertex program and drop the canonical layout. A varying stored
at an index computed at run time cannot be relocated, so store it at
each constant index of its array under a test of the computed one. Each
varying is then written once instead of twice.

The new unit test asahi-uvs-relocatable lowers an unlinked vertex shader
with a run-time-indexed array, alone and with the layer written as a
varying and its fixed-function copy sent to zero by the root table flag,
and checks that every store is at a constant index and the shader
validates.

The layout's flags change, so bump the AGX3 shader binary version.

Signed-off-by: Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com>
@DjDeveloperr
DjDeveloperr force-pushed the pr/hk-g17p-relocate-unlinked-varyings branch from cdca75c to 66eb873 Compare November 21, 2026 02:49
DjDeveloperr added a commit that referenced this pull request Nov 21, 2026
@DjDeveloperr

Copy link
Copy Markdown

Merge train: rebased onto aurora-wip 7ba2957 (#595, the CI fix that installs the GLVND EGL dispatcher, so the asahi job's EGL priority tests pass), conflict-free, every commit identical, authorship kept. New head 66eb873. A mirror asahi run on this exact head is in progress (ci/train-pr446 on DjDeveloperr/mesa), and agent-policy.sh pr is clean.

DjDeveloperr added a commit that referenced this pull request Nov 21, 2026
@jgoyvaerts
jgoyvaerts force-pushed the pr/hk-g17p-relocate-unlinked-varyings branch from 66eb873 to d56b317 Compare November 21, 2026 06:14
@jgoyvaerts

Copy link
Copy Markdown
Author

Commit messages only, for the pre-PR checklist: the commits no longer carry Assisted-by (item 4), and the disclosure is now the PR body's last line. Subjects that started with hk now start with borealis (item 6). The tree is identical to 66eb87365f (git diff 66eb87365f d56b317ac2 is empty). New head d56b317ac2.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

M4 Pro (J616s, G17P) no-regression row. A = aurora-wip 17dbb475774, B = A + #567 #564 #565 #578 #582 #583 #413 #446 #427 #463 #574 (this PR at d56b317ac29). Native release builds on the Mac, user-space overlay, same kernel (7.3.0-aurora-fleet77), 4 parallel deqp processes:

  • dEQP-VK, 125,000 cases on both builds: 0 Pass→Fail. 349 NotSupported→Pass (f16 cooperative matrix with native f16 accumulators from agx, borealis: G17P cooperative matrix with native f16 accumulators, one read per matrix element (pp512 +230%) #427, 333 cases; untyped pointers, 16). 5 synchronization2.timeline_semaphore.one_to_n cases flipped Timeout/ResourceError in both directions under parallel load; all 5 pass 3/3 standalone on both builds.
  • Covered: synchronization2.{op,signal_order,basic} (full), synchronization2.timeline_semaphore (2,281), query_pool (statistics 1 in 3, the rest full), image.host_image_copy (1 in 4), memory.{binding,map_memory,external_memory_host}, api.external.memory, device_group, push descriptors, ssbo.layout, robustness.buffer_access, compute.{pipeline,shader_object_*}, geometry.*, glsl.texture_functions.query, pipeline.pipeline_library (1 in 10).
  • GLES subset, 7,082 cases: identical (7,053 Pass).
  • 0 GPU firmware crashes, 0 GPU kernel errors.
  • x86 (clang + drm-shim), asahi + poly suites on B: 219/219.

Still to run here: the A18 Pro (Neo) row, when the Neo is back.

@RyanTheTide

Copy link
Copy Markdown

M1 Pro (G13S) no-regression row. A = aurora-wip a652becc90e, B = A + #564 #565 #413 #446 #427 #463 #574 (this PR at d56b317ac29). Native release builds on the Mac, user-space overlay, same kernel (7.3.0-aurora-fleet78), 4 parallel deqp processes:

  • dEQP-VK, 22,852 cases: identical case by case (8,366 Pass, 14,486 NotSupported, 0 Fail on both). Covered: synchronization{,2}.{op.single_queue,signal_order,basic,timeline_semaphore} (1 in 3; 2,354 sync op cases pass), transform_feedback.simple (4,989 Pass), geometry.*, glsl.texture_functions.query, texture.*query*, query_pool.occlusion_query.
  • GLES subset, 7,082 cases: identical (7,053 Pass).
  • 0 GPU firmware crashes, 0 GPU kernel errors.
  • x86 (clang + drm-shim), asahi + poly suites on B: 219/219.

@DjDeveloperr

Copy link
Copy Markdown

T8140 (MacBook Neo J700, A18 Pro, G17P B1) merge-train batch 2 row (#366, #565, #446): CLEAN.

Setup:

  • Tested commit pair: 0c681ea13cd7 (tree 5ac8c22d9a80, identical to aurora-wip b8762aab9bdf) → 4a78ed4588e4 (tree f635329f6ef9, identical to restacked merge-train/b2 f30dcc5a9ff8 merging #366 1dbbb94cc312, #565 d8e392f5296d, #446 d56b317ac29b).
  • Both arms ran on one boot (25cbd202), kernel 7.3.0-41.fc44.aurora.aarch64, private prefixes (Borealis + Gallium/EGL pinned), VK-GL-CTS 1.4.7.1, Fedora 44 aarch64 package Meson options.

Results:

  • vulkaninfo (UUIDs, live memory budget/usage, and git id masked): identical apart from the expected shaderBinaryVersion 43 → 44 (#446).
  • CTS (18 parts, 113,500 unique cases across vk-default 1/100, full vk-060-mesh-shader, full dEQP-VK.memory.*, GLES2/3/31, KHR-GLES2/3/31/32, KHR-GL46, and EGL): 92,546 Pass / 20,932 NotSupported / 19 QW / 3 CW / 0 Fail / 0 Crash on both arms; 0 per-case differences.
  • gpubench (2 ABBA rounds, 32 rows; desktop GL 4.3 --verify ok on all 4 arms): 0 of 32 rows flagged (|W − 1| median 0.6 %).
  • Kernel GPU errors: 0 across CTS and perf windows.

Assisted-by: LLM (Google:Gemini 4 Neon)

@DjDeveloperr
DjDeveloperr merged commit 0815451 into aurora-silicon:aurora-wip Nov 21, 2026
@DjDeveloperr

Copy link
Copy Markdown

Merged into aurora-wip (#366 372ba3050950, #565 7a151cbd3e46, #446 0815451be910; resulting aurora-wip head 0815451be910638dab29f4e7ea400b5b8a086873 has exact verified tree f635329f6ef9).

M5 Pro (J714s, G17S B1) verification row

  • Head vs base: combined tree f635329f6ef9 (#366 1dbbb94cc312 + #565 d8e392f5296d + #446 d56b317ac29b) vs aurora-wip b8762aab9bdf, native release builds of Borealis (libvulkan_asahi.so) and gallium asahi, same boot on kernel 7.3.0-m5-sship7 (default command line, ASAHI_M5_BRINGUP=1).
  • dEQP-VK 1.4.7.1 (322,238 cases total, 0 regressions, 0 flakes):
    • synchronization2.*, synchronization.timeline_semaphore.*, synchronization.basic.*, glsl.*, clipping.*, rasterization.*, memory.*, api.command_buffers.*, binding_model.mutable_descriptor.* (149,057 cases): 94,944 Pass / 54,016 Skip / 97 Fail; all 97 head failures reproduced on base in exact 200-test chunk-context replay (89 chunks / 17,800 results, 0 base Flake, 0 regressions).
    • draw.*, query_pool.*, sparse_resources.*, synchronization.signal_order.*, memory.binding.*, robustness.robustness2.*, ubo.*, robustness.buffer_access.* (173,181 cases): 114,180 Pass / 59,001 Skip / 0 Fail.
  • GL surfaceless smoke (index-coverage): 14/14 Pass on both head and base.
  • CI: fork mirror asahi run 44920957733 succeeded on exact head d56b317ac29b6f282e748e7faa9639711e8760b2; agent-policy.sh pr passed.
  • Health: GPU liveness (vulkaninfo + compute dispatch) OK before and after; 0 kernel GPU faults/errors.

Assisted-by: LLM (Google:Gemini 4 Neon)

@RyanTheTide

Copy link
Copy Markdown

A18 Pro (Neo, G17P) no-regression row. A = aurora-wip 6501c4576cf, B = A + #565 #413 #446 #463 #574 #427 #616 (this PR at d56b317ac29). Native release builds on the Mac, user-space overlay, same kernel (7.3.0-aurora-fleet77), 4 parallel deqp processes:

  • dEQP-VK, 49,271 cases: 0 Pass→Fail. 254 NotSupported→Pass, all f16 cooperative matrix from agx, borealis: G17P cooperative matrix with native f16 accumulators, one read per matrix element (pp512 +230%) #427 (246) plus 8 untyped-pointer cases; the same new coverage as on the M4 Pro. Covered: device_group.*, memory.{binding,map_memory}.*, api.external.memory.*, geometry.*, glsl.texture_functions.query.*, transform_feedback.simple.*, pipeline.pipeline_library.* (1 in 20), synchronization2.{op.single_queue,signal_order,basic} (1 in 4), cooperative matrix (1 in 2), compute.pipeline.* (1 in 4).
  • GLES subset, 7,082 cases: identical (7,053 Pass).
  • 0 GPU firmware crashes, 0 GPU kernel errors.
  • x86 (clang + drm-shim), asahi + poly suites on B: 220/220.

With the M4 Pro row above, both G17P parts are done.

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.

3 participants