Files
betterxen/docs/research/phase02-collaboration.md
atharvranjan 4f5c6913f5 Replace game-title and upstream-project names in our own docs
Use generic 'commercial title' wording for our own references to a
specific game, rename the ignored diagnostics folders to
title-candidate-* and title-check, and refer to the upstream PE/Vulkan
project as 'PE-Vulkan project' in prose. Third-party URLs and repository
paths are unchanged to keep provenance accurate. Also adds the native
macOS development phases and PortWatch research notes already in the
working tree.

Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
2026-11-25 04:12:59 -06:00

7.1 KiB
Raw Permalink Blame History

Phase 02 collaboration research

The implementation policy is independent authorship. Historical reuse discussion records the earlier survey. Xenora uses public specifications and original fixtures, with other emulator projects serving only as references for test selection.

Reviewed 2026-11-23 against Xenora 4b9a4cecf35c8d4d90d8ecdb9c1510e7bd260102. Evidence consists of public source inspection and upstream reports. No builds, fixtures, game inputs or hardware tests were run.

KyTx

TxCsOffc offered help with Wave64/EXEC, descriptors, PM4 and large MSL programs. Xenora already accepted the offer in principle and invited a small contribution. The FC 27 menu and 30–37 FPS match on M5 Max are class D developer reports, with rendering flaws and stability issues. The issue and README come from the same project and provide no independent reproduction. This PS5 report does not establish Xbox behavior. Offer and maintainer reply, KyTx README at inspected revision

At KyTx 10f50d3eff0c0df36ee5d7007848a7b0b15072eb, Wave64Pair, the emitter's per-half instruction path and its two-word ballot support the architectural description. The selector also has stage and diagnostic controls, so the source does not establish uniform coverage of all stages, opcodes or cross-half cases. Use this as a design lead. KyTx documents a native Metal product path and an external FEX-darwin build dependency. MSL emitter, Build notes

First contribution

Request original gfx1030 Wave64 assembly, a mask/lane design note and per-lane expected outputs. Specify an isolated 64-lane synthetic ABI with full initial EXEC, lane-indexed output and a sentinel for inactive writes. Cover full, empty, alternating and asymmetric masks, lanes 0/31/32/63, and nested save, modify and restore of EXEC. Use observable scalar results to catch accidental duplicate scalar effects. Identify encodings with the pinned LLVM oracle (class E) and have R2 derive expected results independently from AMD's public ISA (class B for documented desktop RDNA 2, with Xbox applicability unknown). Require explicit rejection outside the supported subset. Keep the first PR fixture-only. Any later native lowering needs its own exact readback and validation evidence, including the measured pipeline execution width. AMD RDNA 2 ISA, Xenora interface

KyTx declares GPL-2.0. Tx's conditional GPL-2.0-or-later offer covers only material they own and can license. Require file-level authorship, explicit compatible terms (GPL-3.0-or-later preferred for new Xenora fixtures), preserved notices and DCO. Inherited GPL-2.0-only code cannot enter the GPL-3.0-or-later combined work under those terms. The separate Kyty MIT notice does not settle a derived file's full provenance. No KyTx submodule is justified for the fixture. KyTx license and notices, KyTx license

PE-Vulkan project

Public revision 2d3369a4c82e6f36c5190c4c534d3df600e135ec. Candidate study surfaces and limits:

Surface Evidence and disposition
Decode and translation decode_bytes decodes RDNA words with an explicit wave-mode argument. The SPIR-V generator exposes Gen and assemble. Compare supported operand forms on independent synthetic inputs. Keep Xenora's typed decoder and MSL backend. Decoder, Generator
Containers and GPU API wave_size and binding_table expose PE-Vulkan project's FSSM interpretation. The D3D12 Vulkan shim and its device test are concrete source paths. Their existence does not establish a public authoritative Xbox ABI or PM4 contract. Keep metadata and guest handles outside Xenora's decoder, with explicit wave size, checked byte ranges and validated resource bindings. FSSM reader, Device shim, Device test
Executable and services Loader::load and Loader::load_runtime_module establish an implemented Windows PE loading and shim boundary. CMake registers loader, bounds and TLS tests. The upstream stand-in run is reported. For Xenora, study the boundary using original PE fixtures, with checked image metadata, guest address translation and explicit service dispatch. Native Windows execution and the Vulkan runtime conflict with Xenora's host contract. PE loader, Test registration

The README reports 26,503 translations and SPIR-V validation at specific earlier revisions. It contains conflicting Wave64 counts, so leave that count unresolved. The linked GPU reports cover synthetic cases and include a MoltenVK path. Validation and pipeline creation do not check game shader output. The pinned status explicitly says the game does not boot. Xenora's commercial-title intro remains unverified, and no authorized test input was established in this review. Pinned status, Reported validator run, Upstream GPU reports

PE-Vulkan project carries GPL v3 text at the inspected pin. Any adoption still requires R1 to establish exact file terms and ownership, check generated tables and SDK-derived material, and review the separate third_party/rpf9-explorer gitlink at e2939175c36a02d6ed25fa2c217b9d6ddcb8b516. Game-derived metadata, shaders and asset outputs are outside this collaboration. Use public design references and original synthetic inputs. No PE-Vulkan project submodule is justified. PE-Vulkan project license, Submodule declaration