Skip to content

asahi: prepare clean M3 foundation and attachment compression - #7

Draft
chriskearney wants to merge 1 commit into
omacom:mainfrom
chriskearney:review/m3pro-compression-series-20261012
Draft

chriskearney wants to merge 1 commit into
omacom:mainfrom
chriskearney:review/m3pro-compression-series-20261012

Conversation

@chriskearney

@chriskearney chriskearney commented Oct 12, 2026 •

Copy link
Copy Markdown

Legacy M3 Pro Honeykrisp leaves RGBA16F and R8 color attachments uncompressed. Guarded, opt-in compression improved the original 1920×1080 vkQuake demo1 from a 176.2 FPS median to 224.9 FPS; a separate R8 comparison improved 223.95 to 230.7 FPS. Rendering settings and pixel checks were unchanged.

This remains a draft. Its six exact patches are retained under patches/aurora-g15s-compression; merging that directory does not enable the M3 runtime. Omacom main and 26.2 do not contain the required G15S runtime. A compatible integration/aurora base is required before this becomes an ordinary driver-source PR.

The complete Linux source candidates are now available for review:

  • Legacy M3 Pro Vulkan foundation, exact head b0f56952b7f06955b143fbfa90c07de4c5864964. Includes the guarded compression series and Linux Asahi/Zink/Honeykrisp build.
  • Native OpenGL foundation, exact head 2dc61e4b462639d29ca846a3ad2dfd1f28629c4e. Retains the native descriptor, sampler, MRT clear and normalized tile-read paths used by the working Pro desktop. Its production driver code is unchanged from the tested native source.
  • Both start from Mesa 26.1.4, 6dfbc555b4128ee51139c5f78c5aba2594c9701b, available at the review fork's integration/aurora. Original authors and sign-offs are retained. Linux build, driver and regression-test sources are included; the optional Windows/D3D12 backend and standalone bring-up programs are excluded.

The known-good Pro installation uses separate native-GL and Vulkan prefixes. These branches preserve that separation. The color options remain default-off and restricted to legacy G15S/HAL0, with storage, host-transfer, feedback, sparse, mutable-view and color transfer-destination exclusions intact.

Fresh LLVM22 host builds succeed for both candidates. The Vulkan foundation passes 162/164 registered tests. Native GL passes 128/139, with two explicit skips and nine failures in inherited AGX3 compiler/Ioto/G17P controls. Stale test API calls and missing test-link dependencies were corrected; production native code was preserved. The remaining failures are open review items, and neither candidate is a full conformance or release approval. Hardware results above belong to the previously tested profiles; the cleaned candidates have not been boot-tested.

Experimental M3 Pro support does not imply M1 performance parity or Vulkan support for the Air HAL200 profile. No source archives or release assets are attached.

Companion kernel work: omacom/linux-aurora#93. Pro profile: omacom/linux-aurora#94.

Keep the default-off RGBA16F, R8 and split-depth compression patches tied to the legacy G15S/HAL0 runtime. Preserve the raw-upload and incompatible-usage exclusions, production plane-layout controls and original commit attribution. Current main lacks that runtime, so retain the series for integration without changing its built driver.

Signed-off-by: Chris Kearney <[email protected]>
@chriskearney chriskearney changed the title honeykrisp: retain tested M3 Pro attachment compression series asahi: prepare clean M3 foundation and attachment compression Oct 13, 2026
@chriskearney

Copy link
Copy Markdown
Author

Native GL follow-up: Mesa source PR #2 fixes linux-aurora #98. Head f287f282940ec0c8b0de50db2df1f98d423e84fa includes the glyph correction and native MSAA resolve/preservation fixes on the native foundation.

On J516S/T6030, 30 MSAA checks pass, including mixed sample colors across flushes and repeated resolves. Chrome default antialiased WebGL1/WebGL2 canvases present correctly, with the glyph check retained. The separate Vulkan package is unchanged. A normal-prefix native package is building; this does not qualify the remaining inherited native compiler tests or full conformance.

@joshuaswarren

Copy link
Copy Markdown

[Joshua's agent] Hi Chris, checking in on this draft. It has been idle since 13 October and targets main (+897 lines), while current work lands on integration/aurora. Are you still working on it? If you rebase it onto integration/aurora, ideally with the M3 foundation split from the attachment compression so each part can land on its own, we'll review it right away.

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.

2 participants