Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ loader that maps the game's executable and resolves its imports to shims. Nothin
number:

```sh
gh issue list -R ubiquitarianism/leonida --state open --search "Coordinating who works on what in:title"
gh issue list -R ProjectLeonida/mandy --state open --search "Coordinating who works on what in:title"
```

With no `gh` auth, the search link in [CONTRIBUTING.md](CONTRIBUTING.md) works in a browser; say so when you cannot
Expand All @@ -59,8 +59,8 @@ loader that maps the game's executable and resolves its imports to shims. Nothin
- The original repository (`ItsNotRexed/Leonida`) went private on 23 November 2026. A `#N` written before that is
an old number and links nowhere: do not cite one as if it could be read, and do not run `gh` against that
repository. The old open issues are indexed by title in
[#18](https://github.com/ubiquitarianism/leonida/issues/18) and the old open pull requests are kept as
`old-pr/<old number>` branches ([#17](https://github.com/ubiquitarianism/leonida/issues/17)).
[#18](https://github.com/ProjectLeonida/mandy/issues/18) and the old open pull requests are kept as
`old-pr/<old number>` branches ([#17](https://github.com/ProjectLeonida/mandy/issues/17)).

## Before you guess, look

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ number and links nowhere now, including the two this page used to send you to: #
(the D3D12 → Vulkan page).

- The titles of the issues that were open there are indexed in
[#18](https://github.com/ubiquitarianism/leonida/issues/18). To carry one on, open it again here and link the
[#18](https://github.com/ProjectLeonida/mandy/issues/18). To carry one on, open it again here and link the
index.
- The pull requests that were open there are kept as `old-pr/<old number>` branches, listed in
[#17](https://github.com/ubiquitarianism/leonida/issues/17). To carry one on, rebase it on `main`, keep its
[#17](https://github.com/ProjectLeonida/mandy/issues/17). To carry one on, rebase it on `main`, keep its
author's commits and open a pull request here.
- A GPU test result is a pull request that adds a file to [`gpu-test-results/`](gpu-test-results) in the format of
the files there; [docs/testing.md](docs/testing.md) has how to run the tests.
- The plan and status of the D3D12 → Vulkan layer are in [docs/d3d12_vulkan.md](docs/d3d12_vulkan.md).

[claims]: https://github.com/ubiquitarianism/leonida/issues?q=is%3Aissue%20is%3Aopen%20in%3Atitle%20%22Coordinating%20who%20works%20on%20what%22
[claims]: https://github.com/ProjectLeonida/mandy/issues?q=is%3Aissue%20is%3Aopen%20in%3Atitle%20%22Coordinating%20who%20works%20on%20what%22

## Working on the code

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ method, scope and caveats. No game data is included.
| [progress_dashboard.md](progress_dashboard.md) | A local page of what works, what changed since it last passed and what blocks next: unit and runtime tests, the translator contract by confirmation method, measured imports, corpus counts and, with `--github`, CI and the D3D- items (`tools/progress_dashboard.py`). |
| [dev-tools.md](dev-tools.md) | The development CLI `scripts/dev.py`: `discover` (text or `--json`, schema version 1) lists the boot-trace analyzer and the guest-scene runner with their help commands and prerequisites, without running them; live attach, pause, step and screenshots are not available through it. |
| [agent_collaboration.md](agent_collaboration.md) | How contributors' coding agents work together through GitHub: which machine profile takes which work, the `AGENT-MSG`, `RUN` and `TEST-WANTED` blocks, and the evidence tags. A convention, not a measurement. |
| [history/README.md](history/README.md) | The original repository's surviving history as portable, hashed text: the 251 `old-pr/*` branch tips and the 135 indexed old issues, with the script that regenerates them ([#563](https://github.com/ubiquitarianism/leonida/issues/563)). |
| [history/README.md](history/README.md) | The original repository's surviving history as portable, hashed text: the 251 `old-pr/*` branch tips and the 135 indexed old issues, with the script that regenerates them ([#563](https://github.com/ProjectLeonida/mandy/issues/563)). |

## Archives and assets

Expand Down
2 changes: 1 addition & 1 deletion docs/agent_collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ with fixed fields, and how sure a claim is. It adds to [CONTRIBUTING.md](../CONT
| Profile | Machine | Work it is best placed for |
|---|---|---|
| L | 24 GB of video memory or more | Long runs into the world, the large ray-tracing programs described in [running.md](running.md), the control arm of an A/B test |
| M | 8 GB to under 24 GB | Stalls and timing limits, such as the driver's time on pipeline creation (reported by others on one 8 GB laptop card: [#2415, comment](https://github.com/ubiquitarianism/leonida/pull/2415#issuecomment-7206470912)), reproducing a reported failure, what fails when video memory is short |
| M | 8 GB to under 24 GB | Stalls and timing limits, such as the driver's time on pipeline creation (reported by others on one 8 GB laptop card: [#2415, comment](https://github.com/ProjectLeonida/mandy/pull/2415#issuecomment-7206470912)), reproducing a reported failure, what fails when video memory is short |
| S | Integrated, older, Intel, Apple | The GPU test suite ([testing.md](testing.md)) and a file in `gpu-test-results/`, driver-specific problems |
| F | Several GPUs in one machine | Disjoint shards and pull request checks ([multi_gpu_validation.md](multi_gpu_validation.md)) |
| Z | No free GPU, or one busy with a long run | The translator suite, unit tests, docs, tools, pull request review |
Expand Down
2 changes: 1 addition & 1 deletion docs/first_run_ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ Timings move by 10 to 20 s between runs on the same machine, because the pipelin

## Contributions

The frame-loop stack comes from [#321](https://github.com/ubiquitarianism/leonida/pull/321). The archive and shader catalog, shader translation, depth and texture support, presentation window and rectangle-list changes retain their upstream commits. Native and derived pipeline support incorporates the work of enx, TomBox, LooperSalty and KkelebekK. Four patches of the published [graphics runtime patches](https://github.com/Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches/tree/d9a0bc1b070d8a36c81b182bc67edd7d24b41bf2) (GPL-3.0, author smg, committed as "Codex") are in this integration almost as published, about 390 lines: `graphics-root-layout` (the switch between the two packings of graphics root arguments, `runtime/shims/d3d12_com.h`), `descriptor-table-refresh` (the title's descriptors pulled into a bound table, and the table scan in the submitting device, `runtime/shims/d3d12_xs_device.cpp` and `runtime/src/vulkan_backend.h`), `descriptor-write-through` (descriptors the layer writes also stored at the title's address, `runtime/shims/d3d12_xs_device.cpp` and `.h`) and `sampler-table-refresh` (title-backed sampler tables, `runtime/shims/d3d12_vulkan_device.cpp`), with their tests in `runtime/test/d3d12_title_va_test.cpp` and `runtime/test/d3d12_m2_textured_test.cpp`. Each region names its patch in a comment.
The frame-loop stack comes from [#321](https://github.com/ProjectLeonida/mandy/pull/321). The archive and shader catalog, shader translation, depth and texture support, presentation window and rectangle-list changes retain their upstream commits. Native and derived pipeline support incorporates the work of enx, TomBox, LooperSalty and KkelebekK. Four patches of the published [graphics runtime patches](https://github.com/Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches/tree/d9a0bc1b070d8a36c81b182bc67edd7d24b41bf2) (GPL-3.0, author smg, committed as "Codex") are in this integration almost as published, about 390 lines: `graphics-root-layout` (the switch between the two packings of graphics root arguments, `runtime/shims/d3d12_com.h`), `descriptor-table-refresh` (the title's descriptors pulled into a bound table, and the table scan in the submitting device, `runtime/shims/d3d12_xs_device.cpp` and `runtime/src/vulkan_backend.h`), `descriptor-write-through` (descriptors the layer writes also stored at the title's address, `runtime/shims/d3d12_xs_device.cpp` and `.h`) and `sampler-table-refresh` (title-backed sampler tables, `runtime/shims/d3d12_vulkan_device.cpp`), with their tests in `runtime/test/d3d12_title_va_test.cpp` and `runtime/test/d3d12_m2_textured_test.cpp`. Each region names its patch in a comment.
4 changes: 2 additions & 2 deletions docs/history/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Portable record of the original repository's history

The original `ItsNotRexed/Leonida` repository went private on 23 November 2026. Its code survives as branches here and
its issues as an index in [#18](https://github.com/ubiquitarianism/leonida/issues/18), but both of those still live on
its issues as an index in [#18](https://github.com/ProjectLeonida/mandy/issues/18), but both of those still live on
one service. This directory is the part that does not: the old pull request branch tips and the old issue index as
sorted text files with a SHA-256 beside each, so the record can be checked and moved without GitHub. Requested by
[#563](https://github.com/ubiquitarianism/leonida/issues/563) (a migration to [Radicle](https://radicle.xyz/)).
[#563](https://github.com/ProjectLeonida/mandy/issues/563) (a migration to [Radicle](https://radicle.xyz/)).

Nothing of the game is in them. A row is an old number, a SHA, a name, a date and a subject line, or an old issue's
number, title, author and labels.
Expand Down
2 changes: 1 addition & 1 deletion docs/related_projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Direct3D 12.
[README][victory-readme]. The [GPU crate][victory-gpu] inherits the workspace licence.

**What we use it for:** prior art for deferring CPU-side value writes until the recorded command-list work has
completed, as discussed in [#622](https://github.com/ubiquitarianism/leonida/pull/622). That PR uses synthetic
completed, as discussed in [#622](https://github.com/ProjectLeonida/mandy/pull/622). That PR uses synthetic
tests to verify the ordering of submissions and writes in Leonida's own implementation.

[victory-workspace]: https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/Cargo.toml
Expand Down
8 changes: 4 additions & 4 deletions docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Paths are placeholders: `<checkout>` is the repository, `<build>` the folder wit
with `LEONIDA_TITLE_WATCHDOG_KICK=<trap RVA>,<kick RVA>` (hex), two addresses in the executable that each person
measures in their own copy (`runtime/src/main.cpp` describes the trap instruction the first must point at). The
values are never committed. With `=0` alone the loader logs that the watchdog stays armed. (Measured by us; the
watchdog was identified in [#2019](https://github.com/ubiquitarianism/leonida/issues/2019#issuecomment-7172996360).)
watchdog was identified in [#2019](https://github.com/ProjectLeonida/mandy/issues/2019#issuecomment-7172996360).)
- **The GPU timeout.** World frames take seconds each. The OS's GPU timeout must be longer, or the driver resets the
GPU: amdgpu's `lockup_timeout` on Linux, `TdrDelay` on Windows (sections below).
- **Large ray-tracing programs.** 724 library compute programs have 2 MiB of SPIR-V or more (676 of them ray-tracing
resolve). With wave64 emulation they took 89-167 s each in the driver ([reported by others](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7184700506);
resolve). With wave64 emulation they took 89-167 s each in the driver ([reported by others](https://github.com/ProjectLeonida/mandy/issues/1608#issuecomment-7184700506);
the count of 724 also measured by us). With a native wave64 pack compile time is no reason to leave them out: on an
RX 7900 XTX (RADV, Mesa 26.3.1, Wine) all 721 such programs of that pack built, 360 of them in 170 s on 32 threads,
2.5-32 s each, the largest (13 MiB) in 28.5 s alone, at a peak of 14 GiB of RAM (measured by us). The pipeline
Expand Down Expand Up @@ -97,7 +97,7 @@ was known. The settings that drew the world on the RX 7900 XTX have not been tri

## Linux, Proton, NVIDIA

Reported by others: [#1608, comment 7184700506](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7184700506)
Reported by others: [#1608, comment 7184700506](https://github.com/ProjectLeonida/mandy/issues/1608#issuecomment-7184700506)
(RTX 3090 24 GB, NVIDIA 590.48.01, GE-Proton11-14, Debian 13). Not run by us.

- **Build:** clang-cl + xwin cross-build; `main` plus several pull requests and two local changes (listed in the report).
Expand Down Expand Up @@ -125,7 +125,7 @@ Reported by others: [#1608, comment 7184700506](https://github.com/ubiquitariani

## Windows, NVIDIA

Reported by others: [#2019](https://github.com/ubiquitarianism/leonida/issues/2019) (RTX 5090 32 GB, driver 616.92,
Reported by others: [#2019](https://github.com/ProjectLeonida/mandy/issues/2019) (RTX 5090 32 GB, driver 616.92,
Windows 11). Not run by us.

- **Build:** `scripts/build_runtime.ps1` with SDL3, RelWithDebInfo.
Expand Down
Loading