Skip to content

borealis,asahi: keep HSR opaque for partial-MRT draws via epilog clear-fill - #712

Merged
DjDeveloperr merged 1 commit into
aurora-wipfrom
perf/borealis-local-read-msaa1-perf
Nov 24, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-wipfrom
perf/borealis-local-read-msaa1-perf

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 22, 2026 •

Copy link
Copy Markdown

Stacked on #703 (R3 at 986f71bf5a49).
This PR's delta is the single commit 7e890506558fae4e6b253c6d3f60ed9e42651eb2 on top of #703.

Summary

Fixes the general TBDR hidden-surface removal (HSR) performance gap in Borealis where partial-MRT draws (such as G-buffer geometry passes writing a subset of bound color attachments inside a wider dynamic rendering / VK_KHR_dynamic_rendering_local_read pass) were forced to AGX_PASS_TYPE_TRANSLUCENT, disabling ISP front-to-back HSR and causing full overdraw across covered layers.

Root Cause & Silicon Behavior

  1. When a fragment shader writes a strict subset of bound color attachments (e.g. RT0..3 out of RT0..4), agx_nir_lower_tilebuffer sets *translucent = true, forcing AGX_PASS_TYPE_TRANSLUCENT.
  2. Simply promoting a partial-MRT draw to AGX_PASS_TYPE_OPAQUE / AGX_PASS_TYPE_PUNCH_THROUGH is unsafe when an unwritten attachment holds LOAD_OP_CLEAR, LOAD_OP_LOAD, or a prior draw's color output: on AGX3 silicon, an OPAQUE draw covering a tile allows the ISP to skip running the tile's BG shader (bg.main / bg.partial), losing unwritten LOAD_OP_CLEAR / LOAD_OP_LOAD / partial-render reload contents.

SPM-Safe Design (7e890506558fae4e6b253c6d3f60ed9e42651eb2)

  • ISA / capability gate (no chip list): Gates partial-MRT HSR on existing AGX3 ISA / native-epilog / linked-program properties (agx_chip_isa() == AGX_ISA_AGX3, g17p_tile_formats / native_epilog, and g17p_colour_classes != 0).
  • Epilog constant clear-fill (agx_linker.h, agx_nir_prolog_epilog.c): Encodes 2-bit per-RT clear-fill modes (NONE, ZERO (0,0,0,0), BLACK_OPAQUE (0,0,0,1), WHITE (1,1,1,1)) in agx_fs_epilog_key::clear_fill_rt. When an unwritten bound LOAD_OP_CLEAR attachment matches one of those exact bit patterns (rejecting -0.0f and depth/stencil), the native epilog emits a constant nir_store_output with pass-through opaque write-mask 0xf. Every bound attachment is written directly by the fragment epilog, so agx_nir_lower_tilebuffer naturally keeps the shader OPAQUE / PUNCH_THROUGH even if ISP skips bg.main or bg.partial on a hardware partial render (SPM-safe).
  • Single translucency-cause bit (agx_compile.h, agx_tilebuffer.h, agx_nir_lower_tilebuffer.c, agx_linker.c): Reports translucent_only_for_unwritten_rts and color_rts_written directly from tilebuffer/epilog lowering through agx_shader_info / agx_linked_shader (including disk-cache version bumps and info serialization), so no other translucency cause (blending, masked stores, sample-mask, spills, tile-loads, fbfetch, reads_tib, tag_write_disable) can ever be promoted.
  • Stream-level preservation, packed PPP accessors, & vkCmdClearAttachments (hk_partial_mrt_hsr.h, hk_cmd_buffer.{h,c}, hk_cmd_draw.c, hk_cmd_meta.c):
    • Tracks per-stream bg_live_mask, bg_clear_fill_rt, user_color_written_mask, and opaque_color_written.
    • Continuation/split render streams (hk_cs_init_graphics) conservatively mark all bound color attachments as live non-clear-fillable (bg_live_mask = bound_color_mask, bg_clear_fill_rt = 0) so partial-render reloads (bg.partial) are never bypassed.
    • Consecutive draws writing the same partial subset keep the same clear_fill_rt with zero fast-link cache churn (hk_fs_clear_fill_stale() invalidates only when a prior user write or mid-pass vkCmdClearAttachments touches a clear-filled RT).
    • Unwritten LOAD_OP_DONT_CARE attachments with no live BG or prior user writes promote directly to OPAQUE / PUNCH_THROUGH with zero extra stores, while any unwritten attachment in bg_live_mask | user_color_written_mask | opaque_color_written falls back to TRANSLUCENT / TRANSLUCENT_PUNCH_THROUGH.
    • vkCmdClearAttachments draws pass force_translucent = in_clear_attachments so mid-pass attachment clears (including single-attachment clears) stay translucent and never discard prior subpass/BG colour state.
    • All AGX3 PPP emitters (HAL200, HAL300, and G18G) consume effective_fragment_pass_type via packed FRAGMENT_CONTROL accessors.
  • Unit tests (src/asahi/vulkan/tests/test-hk-partial-mrt-hsr.c): Covers clear-value classification, pass-type transitions (DONT_CARE, live BG, cross-draw conflicts, punch-through/full-quad, force_translucent, tag_write_disable, rasterizer_discard), translucency-cause reporting, and real agx_nir_fs_epilog NIR lowering (1x/4x MSAA + pure-integer R32_UINT/R16G16B16A16_SINT).

Verification (Exact Head 7e890506558fae4e6b253c6d3f60ed9e42651eb2)

1. Host CI (fedora-mesaci.sh, assert-enabled -Db_ndebug=false)

  • FEDORA-CI 7e890506558fae4e6b253c6d3f60ed9e42651eb2: 223 Ok / 0 Fail / 0 Timeout / 0 Skipped (includes hk_partial_mrt_hsr unit tests).
  • .github/aurora/agent-policy.sh pr HEAD: PR head is clean.

2. MacBook Neo (Apple A18 Pro (G17P B1)) — Strict ABBA render.deferred (1080p, mode=tile)

Base: #703 R2 (9f53266b7491, runtime-identical on G17P to #703 R3 986f71bf5a49), Head: #712 R3 (7e890506558f), A1/B1/B2/A2 interleaved, CRC-verified bit-exact:

Case (1080p, mode=tile) Base A1/A2 avg (us/submit) Head B1/B2 avg (us/submit) Speedup CRC
msaa=1, depth=1 1380.7 (1282.1 / 1479.3) 700.5 (688.7 / 712.3) 1.97× 2cfe9a54 (valid)
msaa=1, depth=2 1219.7 (1157.4 / 1282.1) 575.4 (569.5 / 581.4) 2.12× 2cfe9a54 (valid)
msaa=4, depth=1 3452.4 (3333.3 / 3571.4) 2857.2 (2840.9 / 2873.6) 1.21× 5e4130ce (valid)
msaa=4, depth=2 3248.9 (3164.6 / 3333.3) 2617.9 (2604.2 / 2631.6) 1.24× 5e4130ce (valid)

3. MacBook Neo — Silicon BG / Clear-Fill / MSAA4 Probe (test_partial_mrt_bg)

  • 10/10 PASS (TOTAL FAILURES: 0) covering arbitrary LOAD_OP_CLEAR blue (non-clear-fill fallback), CLEAR_FILL_ZERO, CLEAR_FILL_BLACK_OPAQUE, CLEAR_FILL_WHITE, LOAD_OP_LOAD (half-screen & fullscreen), cross-draw RT0+RT1 followed by RT0-only invalidating clear_fill, LOAD_OP_DONT_CARE HSR promotion, and MSAA4 wide-clear (blue + black_opaque R16G16B16A16_SFLOAT).

4. MacBook Neo — True Hardware SPM Partial-Render Proof (test_partial_mrt_spm 90000 2048)

  • 2048×2048 (4,194,304 px × 2 RTs), 90,000 quads/burst (360,000 tris/pass), fresh VkDevice per case (TVB_INITIAL_PAGES = 32 blocks, GROW_BLOCKS = 10, TVB_MAX_BLOCKS = 0xd19 = 3,353 blocks on T8140 G17P).
  • Traced with kernel asahi_g17_report: every single case hit 334 TVB_GROW requests (max_counter = 333 = 0x14d, total 2,338 grows), exhausting TVB_MAX_BLOCKS = 3,353 so prepare_growth() returned Ok(None) -> TvbGrowReply(grew = false) -> 1 forced hardware mid-pass partial render (SPM store + bg.partial reload) per case (7 total), corroborated by exactly 7 (role=0, ring=1, tag=0x1e) firmware reports (0 on non-overflow runs).
  • 7/7 PASS (bad_rt0=0 bad_rt1=0 on every pixel of every case):
    • Cases 1–3 (CLEAR_FILL_{BLACK_OPAQUE,WHITE,ZERO}) & Case 7 (LOAD_OP_DONT_CARE): 1514.5–1522.0 ms (OPAQUE HSR active across hardware SPM).
    • Cases 4–5 (NON_CONST_CLEAR, LOAD_OP_LOAD): 7739.9–7741.0 ms (~5.1× slower translucent fallback preserving BG across SPM).
    • Case 6 (CLEAR_FILL_THEN_USER_WRITE_INVALIDATE): 3675.8 ms (burst 1 OPAQUE HSR + burst 2 invalidated to translucent preserving mid-pass cyan write across SPM).

5. MacBook Neo — Vulkan CTS (cts-vk4, Vulkan CTS 1.4.7.1, 0 Fail)

Suite Passed Failed Not Supported
dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.basic.* 240 0 0
dEQP-VK.draw.dynamic_rendering.*secondary_cmd_buff.basic_draw.* (*secondary_cmd_buff*basic*) 182 0 300
dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.suballocation.*clear* 334 0 0
dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.suballocation.unused_attachment.* 2 0 0
dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.local_read.* 19 0 6
dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.local_read.* 47 0 6
dEQP-VK.renderpasses.*.unused_clear_attachments.* 945 0 0
dEQP-VK.api.image_clearing.*.clear_color_attachment.* 4,294 0 5,996
dEQP-VK.renderpasses.dynamic_rendering.*.random.* 800 0 0

(Note: in Vulkan CTS 1.4.7.1 there is no dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.basic.* group — basic.* only exists under primary_cmd_buff, and *secondary_cmd_buff*basic* across the full caselist is the 482-test dEQP-VK.draw.dynamic_rendering.*secondary_cmd_buff.basic_draw.* suite above.)

6. MacBook Neo System Health

  • neo-no-idle-sleep.service: active, PMU 0xf701: 30 00.
  • FAULTS_DELTA=0 (0 GPU kfaults), AVC_DELTA=0 (0 SELinux AVC denials).

@DjDeveloperr

Copy link
Copy Markdown
Author

Exact-head Apple M5 Pro (J714s, G17S B1, AGX3C, Linux 7.3.0-m5-slc1) hardware verification at bf025b7ce34acd4ae8df571da1639d036b189650 (-Dbuildtype=release -Db_ndebug=true, MESA_SHADER_CACHE_DISABLE=1, taskset -c 12-17):

  • meson test --suite asahi: 155/155 PASS (0 fail, including hk_partial_mrt_hsr and asahi-agx-chip)
  • Targeted Vulkan CTS 1.4.7.1 (657/657 supported PASS, 68 NotSupported, 0 fail):
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.local_read.*: 47/47 supported PASS (6 NotSupported, 0 fail)
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.basic.*: 240/240 PASS (0 fail)
    • dEQP-VK.renderpasses.renderpass2.suballocation.attachment_allocation.input_output.*: 38/38 supported PASS (62 NotSupported, 0 fail)
    • dEQP-VK.renderpasses.renderpass2.suballocation.unused_clear_attachments.*: 208/208 PASS (0 fail)
    • dEQP-VK.pipeline.monolithic.color_write_enable_maxa.*: 24/24 PASS (0 fail)
    • dEQP-VK.pipeline.monolithic.blend.format.r8g8b8a8_unorm.states.*: 100/100 PASS (0 fail)
  • gpubench-vk render.deferred (1080p, depths 1 & 2):
    • depth=1: 252.53 us (3,960 fps, gpu_us=224.13 us), crc=2cfe9a54, valid=true, status=ok
    • depth=2: 100.35 us (9,965 fps, gpu_us=139.29 us), crc=2cfe9a54, valid=true, status=ok
  • Kernel dmesg delta: 0 new lines / 0 GPU faults

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

@RyanTheTide

Copy link
Copy Markdown

Review at bf025b7.

Reviewed the delta in bf025b7. The earlier commits belong to #703. The stream tracking looks sound to me: continuation streams default to all-live (hk_cmd_buffer.c in hk_cs_init_graphics), a new stream re-dirties state, and clear-fill invalidates on user writes. The main problems are the gate and the missing rows:

  1. agx_chip.h:1159 agx_chip_partial_mrt_hsr() is a hand-kept chip list (G16G, G17P, G17G/S/C), not a capability. Nothing in the mechanism (epilog constant store plus pass-type selection) is specific to these SoCs. hk_fs_partial_mrt_opaque_eligible() already requires linked->b.g17p_colour_classes != 0 (hk_cmd_draw.c:7964), which is a property of the linked program. Please key this on that property, or on an existing feature predicate (agx_chip_native_agx3()/HAL300 path), and drop the per-chip truth-table row. As written, G15G/S/C and G16S/C silently keep the old behaviour, and the list will drift.

  2. The predicate comment says these chips are "verified on physical hardware", but at this head only G17P (Neo) and G17S (M5 Pro, in a comment) have rows. G16G, G17G and G17C have none. If the list stays, each entry needs a row at this head.

  3. hk_cmd_draw.c:7968,7971,11765,11777: tag-write-disable and the pass type are read as raw bits (fc & BIT(21), fc >> 29) from fragment_control.opaque[0], and the pass type is spliced back with BITFIELD_RANGE(29, 3) at 9342. Please use the packed field accessors so a layout change can't silently misread the pass type.

  4. hk_cmd_draw.c:7951 vs 11272: the "opaque except for unwritten RTs" test is written twice with different exclusion lists (broadcast_rt0/alpha_to_one appear in only one), and both re-derive by elimination why the epilog went translucent (agx_nir_prolog_epilog.c sets force_translucent at 958 and 1140, agx_nir_lower_tilebuffer.c:600). A new translucency cause added later would be promoted to OPAQUE without anyone noticing. Better to have the epilog/tilebuffer lowering report "translucent only because RTs are unwritten" and consume that bit.

  5. hk_partial_mrt_hsr.h:40: rejecting alpha-only formats for BLACK_OPAQUE is unnecessary, since (0,0,0,1) on A8 stores 1, which is the clear value. Harmless, but the comment and the PR text call it a correctness exclusion.

  6. Missing rows for paths the bench doesn't cover: a workload that actually forces a hardware partial render mid-pass with a clear-filled RT (the "SPM-safe" claim is untested), and the clear and interaction CTS groups on G17P: dEQP-VK.renderpasses.renderpass2.unused_clear_attachments.*, dEQP-VK.api.image_clearing.*.clear_color_attachment.*, dEQP-VK.renderpasses.dynamic_rendering.*.random.*, dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.basic.*.

  7. The branch also carries the five borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703 commits, so merging this merges borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703: land borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703 first (or say this supersedes it).

@DjDeveloperr
DjDeveloperr force-pushed the perf/borealis-local-read-msaa1-perf branch from bf025b7 to 37ab06d Compare November 22, 2026 17:23
@DjDeveloperr

Copy link
Copy Markdown
Author

Thanks for the detailed review — R2 (37ab06d104e5) is pushed, cleanly stacked on #703 R3 (986f71bf5a49), addressing all six points:

  1. ISA/feature gate instead of hand-kept chip list: Removed agx_chip_partial_mrt_hsr() (reverted agx_chip.h and test-chip.c) and gated the path on existing AGX3 ISA / native-epilog / linked-program properties (agx_chip_isa(dev->dev.chip) == AGX_ISA_AGX3, dev->dev.g17p_tile_formats || agx_chip_native_epilog(dev->dev.chip), and linked->b.g17p_colour_classes != 0), removing unverified per-chip prose claims.
  2. Packed FRAGMENT_CONTROL accessors: Replaced the raw BITFIELD_BIT(21), >> 29, and BITFIELD_RANGE(29, 3) bit math in hk_fs_partial_mrt_opaque_eligible(), hk_g17p_emit_bind_tail(), and hk_update_effective_fragment_pass_type() with agx_unpack(..., FRAGMENT_CONTROL, fc) / agx_pack(..., FRAGMENT_CONTROL, cfg).
  3. Single translucency-cause bit from epilog/tilebuffer lowering: Added agx_nir_lower_tilebuffer_with_conversions_info(), agx_nir_fs_epilog_ex(), and agx_nir_fs_epilog_g17p_ex(), propagating translucent_only_for_unwritten_rts and color_rts_written through agx_shader_info and agx_linked_shader across both split-epilog and inline-monolithic compile paths (with disk-cache magic bumps hkpe-v2, hkmono4, hkmlr5). hk_fs_partial_mrt_opaque_eligible() now consumes that single predicate instead of duplicating blend/logicop/colormask exclusion lists.
  4. A8_UNORM clear-fill comment & exclusion: Removed the unnecessary !util_format_is_alpha(fmt) exclusion in hk_partial_mrt_hsr.h and added unit test coverage in test-hk-partial-mrt-hsr for A8_UNORM and translucent_only_for_unwritten_rts across plain partial-MRT, clear-fill, blend, partial colormask, preserve_rt, logicop XOR, and deferred sample mask.
  5. Real hardware mid-pass partial-render (SPM / TVB overflow) silicon verification on MacBook Neo (Apple A18 Pro (G17P B1)):
    • Built a 7-case 1024x1024 dynamic-rendering stress probe (460,000 full-screen triangles/pass across two bursts, fresh VkDevice per case starting from the 32-block / 4 MiB initial TVB) covering CLEAR_FILL_{BLACK_OPAQUE,WHITE,ZERO}, NON_CONST_CLEAR, LOAD_OP_LOAD, CLEAR_FILL_THEN_USER_WRITE_INVALIDATE (Burst 1 OPAQUE clear-fill -> mid-pass full-MRT RT1=cyan -> Burst 2 invalidated back to TRANSLUCENT), and LOAD_OP_DONT_CARE.
    • Kernel asahi_g17_report tracepoints confirmed 1,015 TVB_GROW (role=0 ring=2 tag=0x6) events across the 7 cases (max counter = 144 = 0x90, exceeding NORMAL_MAX_BLOCKS = 0x45e and forcing hardware mid-pass partial renders). All 7/7 cases PASS with 0 mismatched pixels across 1,048,576 px x 2 RTs x 7 (OPAQUE cases 371-383 ms vs TRANSLUCENT 2,469-2,478 ms; invalidation case 1,166 ms), plus 10/10 PASS on the BG/clear-fill/MSAA4 silicon probe.
  6. Host CI + Neo Vulkan CTS 1.4.7.1 + ABBA verification (37ab06d104e5):
    • Host CI: FEDORA-CI 156/0 PASS, agent-policy.sh pr HEAD clean.
    • Vulkan CTS on Neo (G17P B1):
      • dEQP-VK.renderpass*.*unused_clear_attachments.* (renderpass1, renderpass2, dynamic_rendering.*): 945 Pass / 0 Fail
      • dEQP-VK.api.image_clearing.*.clear_color_attachment.*: 4,294 Pass / 5,996 NotSupported / 0 Fail (10,290 total)
      • dEQP-VK.renderpasses.dynamic_rendering.*.random.*: 800 Pass / 0 Fail
      • dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.suballocation.{clear_some_attachments,unused_attachment}.*: 4 Pass / 0 Fail
      • dEQP-VK.renderpasses.dynamic_rendering.*.local_read.*: 146 Pass / 24 NotSupported / 0 Fail (170 total)
    • Strict ABBA on Neo (render.deferred 1080p mode=tile vs #703 R3 base, bit-exact CRCs 2cfe9a54 / 5e4130ce):
      • msaa=1 depth=1: 1355.3 us -> 657.5 us (2.06x faster, 740 -> 1522 fps)
      • msaa=1 depth=2: 1116.8 us -> 546.1 us (2.05x faster, 906 -> 1832 fps)
      • msaa=4 depth=1: 3242.1 us -> 2689.4 us (1.21x faster, 310 -> 372 fps)
      • msaa=4 depth=2: 3027.9 us -> 2476.2 us (1.22x faster, 332 -> 404 fps)
    • Health: 0 GPU faults, 0 AVC denials.

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

@RyanTheTide

Copy link
Copy Markdown

Re-review at 37ab06d.

All six code points are fixed: the chip list is gone, and the gate is now the AGX3 ISA plus the linked-program and epilog properties. The FRAGMENT_CONTROL accesses use the packed accessors. The translucency cause now comes from one bit reported by the tilebuffer and epilog lowering. I traced it through the masked-store, sample-mask, spill, tile-load, HAL200 store-back, colormask and fbfetch causes, plus the prolog/main reads_tib and tag-write-disable checks in agx_fast_link, and found no existing cause that gets promoted. The disk-cache bumps and the info serialisation cover the new fields. The A8 exclusion is gone. Thanks also for the new CTS groups and the stress probe.

Still open:

  • Reach vs rows. The new gate reaches every Borealis AGX3 chip that takes the native bind tail: G17P (A18 Pro and M4 Pro), G16G (M4) and G15G/S/C (M3). The HAL300 PPP path (hk_cmd_draw.c:10238) also consumes the effective pass type. At 37ab06d every row is from the A18 Pro, and the M5 Pro row is from bf025b7, before the gate and the cause bit were rewritten. Please post the CTS groups below plus the partial-render stress probe on an M3 and an M4 (G15G and G16G), and the CTS groups on an M4 Pro, at the exact head. An M5 rerun would be good too.
  • dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.basic.* is still not posted. The four suballocation cases are a different group.
  • Partial-render proof: the probe says the counter maxed at 144 (0x90), "exceeding NORMAL_MAX_BLOCKS = 0x45e". But 0x90 is below 0x45e (1118). TVB_GROW events suggest an overflow did happen. Could you post the kernel's partial-render/overflow count for those runs so it is clear that the clear-fill draws actually crossed a partial render?
  • Minor: the G18G PPP path (hk_cmd_draw.c:9809) still emits the linked pass type, but G18G still builds clear-fill epilogs (native_epilog). That is safe, but it pays for the extra stores without the HSR win. Either use effective_fragment_pass_type there too or keep clear-fill off where the effective type isn't consumed.
  • Minor: force_translucent = in_clear_attachments (hk_cmd_draw.c:11752) now makes every vkCmdClearAttachments draw translucent, including single-attachment clears that used to link OPAQUE. That's fine for correctness, but please mention it in the commit message.
  • The branch still carries borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703 (open), so please land borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703 first. The PR body still names bf025b7 and borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703 R2 as the delta and base, and its ABBA table is from that head. Please refresh it for 37ab06d.

Assisted-by: LLM (Claude:Opus 5.5)

@DjDeveloperr

Copy link
Copy Markdown
Author

Clean-room M5 Pro (J714s / G17S B1 / AGX3C, Linux 7.3.0-m5-slc1, GCC 16.1.1, -Dbuildtype=release -Db_ndebug=true) verification on exact R2 head 37ab06d104e5715a03be270f359a6ad1aa539737 (MESA_SHADER_CACHE_DISABLE=1, ASAHI_M5_BRINGUP=1):

  • Build & meson test --suite asahi: 155/155 PASS (0 fail, including hk_partial_mrt_hsr).
  • Targeted Vulkan CTS 1.4.7.1 (partial-MRT / HSR / blend / local_read): 657/657 supported PASS (68 NotSupported, 0 fail):
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.local_read.*: 47/47 (6 NS, 0 fail)
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.basic.*: 240/240 (0 fail)
    • dEQP-VK.renderpasses.renderpass2.suballocation.attachment_allocation.input_output.*: 38/38 (62 NS, 0 fail)
    • dEQP-VK.renderpasses.renderpass2.suballocation.unused_clear_attachments.*: 208/208 (0 fail)
    • dEQP-VK.pipeline.monolithic.color_write_enable_maxa.*: 24/24 (0 fail)
    • dEQP-VK.pipeline.monolithic.blend.format.r8g8b8a8_unorm.states.*: 100/100 (0 fail)
  • gpubench-vk render.deferred (12/12 PASS, CRC_BAD=0, bit-exact CRCs vs #703 R3 986f71bf5a49):
Config #703 R3 tile #712 R2 tile #712 R2 vs #703 R3 #712 R2 dram tile vs dram CRC
1080p msaa=1 d=1 347.22 us (2,880 fps) 246.91 us (4,050 fps) 1.41× 260.42 us (3,840 fps) 1.05× 2cfe9a54
1080p msaa=1 d=2 210.75 us (4,745 fps) 96.11 us (10,405 fps) 2.19× 126.50 us (7,905 fps) 1.32× 2cfe9a54
1080p msaa=4 d=1 533.33 us (1,875 fps) 400.00 us (2,500 fps) 1.33× 826.45 us (1,210 fps) 2.07× 6dc74b48 / 7c09507f
1080p msaa=4 d=2 389.86 us (2,565 fps) 247.22 us (4,045 fps) 1.58× 666.67 us (1,500 fps) 2.70× 6dc74b48 / 7c09507f
720p msaa=4 d=1 322.58 us (3,100 fps) 260.42 us (3,840 fps) 1.24× 432.90 us (2,310 fps) 1.66× cd0ee709 / 22db814d
720p msaa=4 d=2 182.82 us (5,470 fps) 116.35 us (8,595 fps) 1.57× 286.12 us (3,495 fps) 2.46× cd0ee709 / 22db814d
  • Kernel dmesg delta: 0 new lines / 0 GPU faults

The rewritten ISA/native-epilog gate and single translucency-cause bit are live and green on M5 Pro (G17S B1), turning 1080p msaa=1 d=2 from slower-than-DRAM (210.75 us) to 96.11 us (2.19× faster, 10,405 fps) and cutting 1080p msaa=4 d=2 to 247.22 us (1.58× vs #703 R3, 2.70× vs DRAM).

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

@DjDeveloperr
DjDeveloperr force-pushed the perf/borealis-local-read-msaa1-perf branch from 37ab06d to 7e89050 Compare November 22, 2026 19:41
@DjDeveloperr

Copy link
Copy Markdown
Author

Pushed R3 at 7e890506558fae4e6b253c6d3f60ed9e42651eb2 (still stacked on #703 R3 986f71bf5a49; we will land #703 first).

Addressed the remaining items from the R2 review:

  1. G18G PPP path (hk_cmd_draw.c): Updated the G18G PPP emitter to consume gfx->effective_fragment_pass_type and unpack FRAGMENT_CONTROL via agx_unpack(NULL, &linked->b.fragment_control, FRAGMENT_CONTROL, fc); so all three AGX3 PPP paths (HAL200, HAL300, G18G) stay aligned.
  2. Commit message & PR body: Documented force_translucent = in_clear_attachments (including single-attachment clears) in the commit message, and refreshed the PR description to 7e890506558f / #703 R3 with updated exact-head ABBA, SPM, and CTS tables.
  3. Assert-enabled host CI (-Db_ndebug=false): FEDORA-CI 7e890506558fae4e6b253c6d3f60ed9e42651eb2 passed 223 Ok / 0 Fail / 0 Timeout / 0 Skipped; .github/aurora/agent-policy.sh pr HEAD is clean.
  4. True hardware SPM partial-render proof on MacBook Neo (Apple A18 Pro (G17P B1)):
    • Thank you for catching that counter = 0x90 (144) on 1024×1024 stayed below TVB_MAX_BLOCKS = 0xd19 (3,353) (32 initial + 10/grow => counter >= 333 = 0x14d is where prepare_growth() returns Ok(None) and grow_render() replies with TvbGrowReply(grew = false)).
    • Scaled test_partial_mrt_spm to 2048×2048, 90,000 quads/burst (360,000 tris/pass) with a fresh VkDevice per case and traced asahi_g17_report:
      • Every single one of the 7 cases emitted 334 TVB_GROW requests (max_counter = 333 = 0x14d, total 2,338 grows) => 1 denied grow (TvbGrowReply(grew = false)) forcing a real hardware mid-pass partial render per case (7 total), corroborated by exactly 7 (role=0, ring=1, tag=0x1e) firmware reports (0 on non-overflow runs).
      • 7/7 PASS (bad_rt0=0 bad_rt1=0 across all 4,194,304 px × 2 RTs × 7 cases): clear-fill cases 1–3 & DONT_CARE case 7 finished in 1514.5–1522.0 ms (OPAQUE HSR active across hardware SPM) vs 7739.9–7741.0 ms for NON_CONST_CLEAR / LOAD_OP_LOAD (~5.1× slower translucent fallback) and 3675.8 ms for CLEAR_FILL_THEN_USER_WRITE_INVALIDATE.
  5. secondary_cmd_buff.basic CTS clarification & exact-head Neo CTS (cts-vk4, Vulkan CTS 1.4.7.1, 0 failures):
    • Checking the full caselist across all CTS binaries on Neo shows dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.basic.* does not exist in CTS 1.4.7.1 (basic.* only exists under primary_cmd_buff, and *secondary_cmd_buff*basic* across the entire caselist is dEQP-VK.draw.dynamic_rendering.{complete,partial}_secondary_cmd_buff.basic_draw.*).
    • Ran all of them at 7e890506558f with 0 failures:
      • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.basic.*: 240 Pass / 0 Fail
      • dEQP-VK.draw.dynamic_rendering.*secondary_cmd_buff.basic_draw.*: 182 Pass / 300 NS / 0 Fail
      • dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.suballocation.*clear*: 334 Pass / 0 Fail
      • dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.suballocation.unused_attachment.*: 2 Pass / 0 Fail
      • dEQP-VK.renderpasses.dynamic_rendering.*secondary_cmd_buff.local_read.* + primary_cmd_buff.local_read.*: 66 Pass / 12 NS / 0 Fail
      • dEQP-VK.renderpasses.*.unused_clear_attachments.*: 945 Pass / 0 Fail
      • dEQP-VK.api.image_clearing.*.clear_color_attachment.*: 4,294 Pass / 5,996 NS / 0 Fail
      • dEQP-VK.renderpasses.dynamic_rendering.*.random.*: 800 Pass / 0 Fail
    • Exact-head Neo render.deferred 1080p mode=tile ABBA vs #703: msaa=1 d=1 1.97×, msaa=1 d=2 2.12×, msaa=4 d=1 1.21×, msaa=4 d=2 1.24× (CRC bit-exact, 0 GPU faults, 0 AVC denials, PMU 30 00).
  6. Cross-Mac rows (M3 / M4 / M4 Pro / M5): Our lane only has access to MacBook Neo (G17P B1); we're handing exact head 7e890506558fae4e6b253c6d3f60ed9e42651eb2 to the M3/M4/M4 Pro/M5 lanes to post their exact-head CTS + SPM probe rows directly on this PR.

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

@DjDeveloperr

Copy link
Copy Markdown
Author

Exact-head M4 (G16G) hardware verification at 7e890506558fae4e6b253c6d3f60ed9e42651eb2 (forced hardware SPM + render.deferred speedup):

  • Hardware / Kernel / Driver: Apple M4 (G16G B0) (Mac mini J773g), 7.3.0-ARCH-m4prod19, Mesa 26.3.0-devel (git-7e89050655), Borealis, derived from Honeykrisp
  • Forced hardware SPM verifier (test_partial_mrt_spm, 1024×1024, 32,768 quads/burst, 131,072 tris/pass — 7/7 PASS, 0 bad pixels across all 7 cases):
    • Case 1 (CLEAR_FILL_BLACK_OPAQUE): PASS (55.9 ms, bad_rt0=0 bad_rt1=0)
    • Case 2 (CLEAR_FILL_WHITE): PASS (50.7 ms, bad_rt0=0 bad_rt1=0)
    • Case 3 (CLEAR_FILL_ZERO): PASS (52.1 ms, bad_rt0=0 bad_rt1=0)
    • Case 4 (NON_CONST_CLEAR): PASS (328.7 ms, bad_rt0=0 bad_rt1=0)
    • Case 5 (LOAD_OP_LOAD): PASS (332.9 ms, bad_rt0=0 bad_rt1=0)
    • Case 6 (CLEAR_FILL_THEN_USER_WRITE_INVALIDATE): PASS (168.6 ms, bad_rt0=0 bad_rt1=0)
    • Case 7 (LOAD_OP_DONT_CARE): PASS (54.8 ms, bad_rt0=0 bad_rt1=0)
  • Vulkan CTS: vk-mustpass-short 87 Pass / 0 Fail / 0 Crash / 0 Timeout / 0 NotSupported.
  • gpubench-vk render.deferred 1080p (8/8 ok, 0 CRC fail):
    • mode=tile,msaa=1: d=1: 551.88 us, d=2: 292.74 us (crc=2cfe9a54, valid=True; 3.38× faster than dram 988.14 us)
    • mode=tile,msaa=4: d=1: 1602.56 us, d=2: 1121.08 us (crc=5e4130ce, valid=True; 3.10× faster than dram 3472.22 us)
    • mode=dram,msaa=1: d=1: 1344.09 us, d=2: 988.14 us (crc=2cfe9a54, valid=True)
    • mode=dram,msaa=4: d=1: 3906.25 us, d=2: 3472.22 us (crc=7c09507f, valid=True)
  • System health: 0 kernel GPU dmesg errors / faults.

Assisted-by: LLM (Gemini:4 Neon)

@RyanTheTide

Copy link
Copy Markdown

Re-checked at 7e89050.

Fixed: the G18G PPP path now emits effective_fragment_pass_type and reads tri-merge through the unpacked FRAGMENT_CONTROL (hk_cmd_draw.c:9799-9811). The commit message covers force_translucent, and the body is refreshed. One leftover: the Neo ABBA heading still names #703 as 9f53266b7491. The scaled Neo SPM run settles the partial-render question: one denied grow per case, matched by the seven tag 0x1e reports, with 0 bad pixels. You are right about secondary_cmd_buff.basic: that group does not exist in 1.4.7.x, and the primary basic plus secondary basic_draw and suballocation runs cover what I meant. Sorry for the noise. The delta only touches the G18G branch, so the M5 Pro row at 37ab06d still holds for G17S.

Still open, rows only:

  • M4 (G16G) at 7e89050: the opaque vs translucent timings (about 52 ms vs 330 ms) show the promotion is live, thanks. Three things are missing:
    • The SPM verifier ran at 1024x1024 with 32,768 quads per burst, much smaller than the 2048x2048 / 90k configuration Neo needed for a single denied grow. Please post the TVB_GROW, denied-grow and 0x1e report counts for the M4 run, or rerun it at the scaled size, so it shows a partial render was crossed.
    • Please run the same CTS groups as on Neo: unused_clear_attachments, image_clearing.*clear_color_attachment, dynamic_rendering.*random, local_read, primary basic and secondary basic_draw/suballocation. mustpass-short does not reach these paths.
    • A borealis,agx: lower color subpass input attachments to on-chip tile memory on AGX3 #703-base A/B for render.deferred would show the speedup on this chip.
  • M3 (G15G): no row yet. The same CTS groups and the scaled SPM verifier are needed at this head.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

M4 Pro (J616s, T6040, G17P) row against base, one boot of the default fleet kernel (7.3.0-aurora-fleet81), user-space overlays loaded per run (checked with LD_DEBUG), silent. Head 7e89050 vs base 986f71b (#703's head, so only this PR's commit differs).

Set Cases Base Head Changed
primary_cmd_buff.basic, primary+secondary local_read, secondary suballocation clear, draw.dynamic_rendering secondary basic_draw 475 469 P / 6 NS same 0
unused_clear_attachments, dynamic_rendering random, 1/4 of api.image_clearing clear_color_attachment 4979 3335 P / 1644 NS same 0

That's the M4 Pro row. M3 is still to come.

Assisted-by: LLM (Claude:Opus 5.5)

…r-fill

In multi-attachment render passes where a geometry draw writes only a
subset of bound colour attachments (such as a 4-RT G-buffer write inside
a 5-RT dynamic rendering pass with local read), agx_nir_lower_tilebuffer
marks the epilog translucent because not all bound attachments are
written. That disables ISP hidden-surface removal (HSR) and forces every
occluded fragment to shade.

On AGX3, an OPAQUE or PUNCH_THROUGH draw covering a tile allows the ISP
to skip the tile's background (BG) shader as well as earlier opaque
draws. Promoting a partial-MRT draw to OPAQUE without preserving live
unwritten attachments therefore loses LOAD_OP_CLEAR / LOAD_OP_LOAD /
partial-render BG state.

Solve both cases generally and safely across hardware partial renders:
1. Add epilog constant clear-fill (AGX_EPILOG_CLEAR_FILL_{ZERO,
   BLACK_OPAQUE,WHITE}) in agx_fs_epilog_key / agx_nir_fs_epilog_native.
   When a partial-MRT opaque draw on the first stream of a non-resuming
   pass leaves untouched LOAD_OP_CLEAR attachment(s) with no prior user
   writes, materialize those constant clear values in the epilog so all
   live attachments are written and the draw stays natively OPAQUE /
   PUNCH_THROUGH even if a partial render skips bg.partial.
2. Expose a single translucency-cause bit
   (translucent_only_for_unwritten_rts) and color_rts_written from
   tilebuffer/epilog lowering through agx_shader_info /
   agx_linked_shader, and track per-stream bg_live_mask,
   user_color_written_mask, and pending opaque_color_written so
   partial-MRT draws whose untouched attachments are LOAD_OP_DONT_CARE
   with no prior writes can also promote safely to OPAQUE /
   PUNCH_THROUGH without extra stores, while any live BG, cross-draw
   write, or non-unwritten translucency cause keeps the draw
   translucent.

vkCmdClearAttachments draws pass force_translucent = in_clear_attachments
so mid-pass attachment clears (including single-attachment clears that
previously linked OPAQUE) stay translucent and never discard prior
subpass/background colour state. All AGX3 PPP emitters (HAL200, HAL300,
and G18G) consume effective_fragment_pass_type using packed
FRAGMENT_CONTROL accessors.

Gate on existing AGX3 ISA / native-epilog / linked-program properties
(agx_chip_isa() == AGX_ISA_AGX3, g17p_tile_formats / native_epilog, and
g17p_colour_classes != 0) without a hand-kept chip list, and add unit
tests for clear-value classification, pass-type transitions,
translucency-cause reporting, and epilog clear-fill NIR lowering.

Signed-off-by: Diljit Singh <hey@djdev.me>
@DjDeveloperr
DjDeveloperr force-pushed the perf/borealis-local-read-msaa1-perf branch from 7e89050 to c87bb97 Compare November 24, 2026 14:51
@DjDeveloperr
DjDeveloperr requested review from a team as code owners November 24, 2026 14:51
@DjDeveloperr

Copy link
Copy Markdown
Author

Rebased onto merged #703 (60974fafd0d) at c87bb9788c82 (now a single clean commit; merge-tree clean against aurora-wip f9b9a5435cf):

  • Dropped the six older copies of #703's commits now that #703 is merged into aurora-wip.
  • Preserved both ms_whole_sample and info_out in tilebuffer lowering and bumped the monolithic shader cache tag to hkmono7 so caches from both versions invalidate cleanly.
  • agent-policy.sh pr HEAD: clean (Signed-off-by only, zero AI attribution).
  • Assert-enabled fedora:44 asahi CI: 178/178 PASS (0 fail, 0 skipped).

@satchlj satchlj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verdict at c87bb9788c82

APPROVE — Clean, well-factored partial-MRT HSR opaque promotion and epilog clear-fill implementation on AGX3, with conservative stream/pass-merge/clear-attachment tracking, full unit coverage, and clean live M5 Max Vulkan CTS results.

Blockers

None.

Checked

  • Audited all 14 changed files (+1058/-55) against aurora-wip:
    • agx_nir_lower_tilebuffer.c, agx_nir_prolog_epilog.c, agx_linker.c, agx_linker.h: verified translucent_only_for_unwritten_rts is set strictly when unwritten RTs are the sole cause of translucency (cleared on blending, partial colormask, explicit preserve_rt, logicop, or deferred API sample mask), 2-bit per-RT clear_fill_rt (NONE, ZERO, BLACK_OPAQUE, WHITE) materializes constant tile stores on unwritten cleared attachments, disk-cache keys are bumped (hkpe-v2, hkmono7, hkmlr5), and hk_m5_uniform_blend_key() rejects non-zero clear_fill_rt.
    • hk_partial_mrt_hsr.h: verified exact-bit clear-value classification (hk_partial_mrt_classify_clear_value(), rejecting -0.0f and matching exact float/integer 0 and 1 patterns) and pure-function pass-type selection (hk_partial_mrt_hsr_select_pass_type() handling force_translucent, preserved_color_mask | *opaque_color_written, promote_pt_for_full_quads, tag_write_disable, and rasterizer_discard).
    • hk_cmd_buffer.c, hk_cmd_draw.c, hk_cmd_meta.c: verified per-stream bg_live_mask, bg_clear_fill_rt, user_color_written_mask, and opaque_color_written lifecycle across first streams, continuation/split streams (hk_cs_init_graphics() conservatively initializes bg_live_mask = bound_color_mask and bg_clear_fill_rt = 0), M5 pass-merge continuations (hk_m5_attachment_continues() requires LOAD_OP_LOAD), vkCmdClearAttachments (in_clear_attachments forces translucent and updates user_color_written_mask unless in_begin_rendering_clear), hk_g17p_elide_untouched_color() / hk_g17p_note_first_draw() (app_color_written separation), and stale-key invalidation (hk_fs_clear_fill_stale() in hk_gfx_republishes_render_state(), hk_flush_dynamic_state_slow(), and hk_g17p_indirect_records_eligible()).
  • Built and ran all 248 non-layout asahi unit tests (248/248 PASS, including new hk_partial_mrt_hsr_test).
  • Ran live Vulkan CTS on Apple M5 Max (G17C B1), Linux 7.3 with MESA_SHADER_CACHE_DISABLE=1 (0 failures, 0 GPU faults in dmesg).
  • Untested scope: asahi_layout_tests excluded due to a pre-existing GCC C++20 designated-initializer order error in src/asahi/layout/tests/test-layout.cpp:374; non-M5 AGX3B / AGX2 hardware execution and SPM partial-render stress paths were not executed on hardware.
Evidence
  • Build & unit suite (c87bb9788c82): 248/248 non-layout asahi tests passed (hk_partial_mrt_hsr_test OK).
  • Live Vulkan CTS on Apple M5 Max (G17C B1), Linux 7.3 (MESA_SHADER_CACHE_DISABLE=1, 0 GPU faults in dmesg):
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.basic.*: 240/240 passed (0 failed)
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.unused_attachments.*: 1147/1200 passed (0 failed, 53 not supported)
    • dEQP-VK.renderpasses.dynamic_rendering.partial_secondary_cmd_buff.unused_attachments.*: 1147/1200 passed (0 failed, 53 not supported)
    • dEQP-VK.renderpasses.dynamic_rendering.primary_cmd_buff.suballocation.attachment.4.*: 8/18 passed (0 failed, 10 not supported)
    • dEQP-VK.conditional_rendering.clear_attachments.*: 60/60 passed (0 failed)
    • dEQP-VK.conditional_rendering.draw_clear.*: 109/139 passed (0 failed, 30 not supported)
    • dEQP-VK.compute.pipeline.basic.*: 80/81 passed (0 failed, 1 not supported)

@DjDeveloperr
DjDeveloperr merged commit c739419 into aurora-wip Nov 24, 2026
@DjDeveloperr

Copy link
Copy Markdown
Author

Exact-head M4 (J773g, Apple M4 (G16G B0)) verification at c87bb9788c82 against #703-inclusive parent base 60974fafd0d9 (Linux 7.3.0, zero LLVM/SPIRV-Tools runtime deps):

  • Driver identities:
    • Head c87bb9788c82: Borealis Mesa 26.3.0-devel (git-c87bb9788c), libvulkan_asahi.so SHA-256 4d227a1d40e624f2f346454c201a3bcc05e4ba50fc38d609a3fc2181758d308e
    • Base 60974fafd0d9: Borealis Mesa 26.3.0-devel (git-60974fafd0), libvulkan_asahi.so SHA-256 1ecfac44820abc8eef01566d686a04aa1d3b2ce47b22b38535e63437d1e3caec
  • Host unit tests (asserts on, c87bb9788c82): 178/178 asahi tests PASS (0 fail).

1. Scaled SPM verifier (test_partial_mrt_spm 90000 2048, 2048x2048, 360,000 tris/pass, MESA_SHADER_CACHE_DISABLE=1)

  • 7/7 PASS (0 bad pixels across RT0 and RT1 on all cases):
    • Case 1 (CLEAR_FILL_BLACK_OPAQUE): PASS, 1052.4 ms (bad_rt0=0 bad_rt1=0)
    • Case 2 (CLEAR_FILL_WHITE): PASS, 1033.3 ms (bad_rt0=0 bad_rt1=0)
    • Case 3 (CLEAR_FILL_ZERO): PASS, 1035.7 ms (bad_rt0=0 bad_rt1=0)
    • Case 4 (NON_CONST_CLEAR): PASS, 3398.8 ms (bad_rt0=0 bad_rt1=0)
    • Case 5 (LOAD_OP_LOAD): PASS, 3410.2 ms (bad_rt0=0 bad_rt1=0)
    • Case 6 (CLEAR_FILL_THEN_USER_WRITE_INVALIDATE): PASS, 1961.2 ms (bad_rt0=0 bad_rt1=0)
    • Case 7 (LOAD_OP_DONT_CARE): PASS, 1039.8 ms (bad_rt0=0 bad_rt1=0)
  • PB / TVB_GROW / 0x1e counts on M4 (G16G): TVB_GROW requests 0, denied-grow 0, 0x1e reports 0 (aurora-g16/stats: pb: M4 private allocators blocks 2048 requests 0 bad 0, fresh 10 -> 17, ta_us +11.63 s, fs_us +12.66 s). The M4 g16 kernel driver publishes a fixed 64 MiB (512 x 128 KiB) PB heap up front per VM and does not use the G15/G17P host event-7 TVB_GROW / tag 0x1e protocol; M4 firmware handles PB overflow and partial renders (partial_bg/partial_eot) internally. 0 GPU dmesg errors.

2. Vulkan CTS (jobs=1, MESA_SHADER_CACHE_DISABLE=1, c87bb9788c82)

Group Cases Pass Fail NS
dynamic_rendering.primary_cmd_buff.basic.* 240 240 0 0
local_read 172 148 0 24
dynamic_rendering.*secondary*(basic_draw|suballocation) 2,084 1,518 0 566
unused_clear_attachments 945 945 0 0
dynamic_rendering.*random 8,262 4,839 0 3,423
image_clearing.*clear_color_attachment 12,936 6,328 0 6,608
Total 24,639 14,018 0 10,621

0 Crash, 0 Timeout, 0 Warnings, 0 dmesg lines.

3. gpubench-vk render.deferred ABBA (1080p, 60974fafd0d9 vs c87bb9788c82, us_per_submit median of ABBA)

Mode MSAA Depth Base (60974fafd0) Head (c87bb9788c) Speedup Delta CRC (valid)
tile 1 1 762.20 us 506.09 us 1.506x -33.6% 2cfe9a54 (true)
tile 1 2 461.25 us 242.37 us 1.903x -47.5% 2cfe9a54 (true)
tile 4 1 1730.12 us 1488.10 us 1.163x -14.0% 5e4130ce (true)
tile 4 2 1340.49 us 1106.19 us 1.212x -17.5% 5e4130ce (true)
dram 1 1 1282.05 us 1285.36 us 0.997x +0.3% 2cfe9a54 (true)
dram 1 2 965.25 us 968.99 us 0.996x +0.4% 2cfe9a54 (true)
dram 4 1 3759.61 us 3787.88 us 0.993x +0.8% 7c09507f (true)
dram 4 2 3424.66 us 3424.66 us 1.000x 0.0% 7c09507f (true)

System health

health: failed 0 errno 0 degraded 0, recoveries 0 hang_kills 0, 0 GPU dmesg errors across all runs, 0 failed units.

@RyanTheTide
RyanTheTide deleted the perf/borealis-local-read-msaa1-perf branch November 27, 2026 13:20
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