Skip to content

Roadmap: Series S mode first #15

Backlog
Backlog

Description

@simnJS

Direction: Series S mode first. XTP is developed and tested in Series S mode, which is now the default (--console series-x gives Series X back). Series X work waits until Series S runs well. Almost all of the code is shared, so the work carries over.

Goal right now: a correct final image in Series S mode on NVIDIA GPUs, then frame time.

Where we are

  • Wave64 mesh programs run on 32-lane NVIDIA GPUs: a uniformity proof, plus an exact exchange between the two 32-lane halves where needed. 3D geometry reaches the render targets.
  • Device removals (TDR): fixed.
    • A descriptor-type mismatch in translated scalar loads hung NVIDIA GPUs; it is fixed, with 5-minute sessions clean.
    • Loop limits now also hold across nested loops (a per-lane budget).
  • Final image: still black. The HDR passes run, but they multiply by an auto-exposure value that comes out as 0. We are tracing that computation.
  • Frame time: about 3–5 frames per second.
    • Texture re-hashing is fixed (23.6 → 0.8 ms CPU, 12.8 → 1.8 ms GPU).
    • Next: copy back only the data the CPU reads, and a profile of the CPU preparation.
  • Shader and GPU tests now also run on a hardware NVIDIA GPU, not only WARP. The first real difference found was a driver-dependent UAV clear.

What the core team is working on (please do not duplicate)

Area Work in progress
Rendering The auto-exposure value; structured buffers of unknown stride (VIctory #193/#704); VIctory #1448/#1446/#1444/#1583
GPU stability Buffer states with barriers (VIctory #334, #1527); indirect-argument passes (#1507, #1510); review fixes on the mesh lowering
Frame time Lazy copy-back; the CPU preparation profile
Platform A guard race that could fail a kernel read into title memory; AMD-only CPU instruction emulation cost on Intel CPUs
Tooling Google Cloud build farm and test machine (docs/dev/build-farm.md, docs/dev/cloud-setup.md)

Merged from contributors today: #16, #20 and #23 (AliceWood), #17 (smecherucarbarou), #19, #21, #24 and #25 (PrivacyOnion). Thank you.

Open for contributors

Issues labelled help wanted. Start with good first issue. Please claim an issue with a comment before you start.

Activity

  1. added
    documentation
    on Nov 24, 2026
  2. pinned this issue on Nov 24, 2026
  3. simnJS commented on Nov 24, 2026

    @simnJS
    CollaboratorAuthor

    Update — 2026-11-24, 15:00 CET

    Landed on main today:

    • contributor process and CI (CONTRIBUTING, templates, PR intake, cargo xtask pr-check);
    • the six analyses in docs/analysis/, and the upstream watch in docs/upstream/watch.md;
    • loading: one persistent view per physical-page allocation (F2–F4, F8);
    • textures: BC7 dictionary fix, Series X XOR swizzle modes (F1, F11, F12);
    • input: keys by position (any layout), mouse as the right stick, trigger rumble (I1–I3);
    • shaders: xtp shader-survey, emit/lower.rs split by encoding (S0, S0b);
    • GPU: frame meter, buffer copies and in-list memory writes on the GPU in list order (G1–G4);
    • loader: import census, stub database, fast-fail visibility, console-only instructions (L-01, L-04, L-05, L-07);
    • read-only game folder with a copy-on-write overlay (L-02, L-13, L-14).

    In progress — porting open VIctory PRs (GPL-3.0, authors credited in each commit):

    • the wave64 stack (#223, #233, #320, #439) for 32-lane GPUs;
    • #454, the title's watchdog on slow frames;
    • #595, asynchronous submission;
    • #464, #490 and #334, write-watch, guard and barrier costs;
    • next: #180 with the lane-mask branch and #452; #539, #453, #592/#621, #571, #160, #563;
    • NVIDIA formats and pipelines (#89, #492, #578, #493, #275, #546).

    Issues #1–#14 are still open for contributors.

  4. simnJS commented on Nov 24, 2026

    @simnJS
    CollaboratorAuthor

    Update — 2026-11-24, 16:20 CET

    Current blocker: loading into the world stalls. On the RTX 4080, once XTP holds about 8.3 GB of video memory while loading the world, each new host texture takes 0.6–3.6 s. The cause is CreateCommittedResource → implicit-heap MakeResident → a paging-fence wait inside D3D12. The title stops presenting and its watchdog ends the process. Ruled out so far: the pipeline library, audio, focus, Discord, GPU tests running alongside, and key presses.

    What we are doing about it:

    • textures created not resident and made resident in batches, failing cleanly over budget instead of stalling (in review);
    • host textures placed in large pooled heaps instead of one committed resource each (next);
    • an investigation with a debugger and an allocation-count probe.

    Reports from other GPUs (AMD, older NVIDIA) on whether they reach the world are very welcome: please open a Game progress issue.

    Integrated since the last update (published to main on GitHub as their review fixes land):

    • Shaders: the wave64 stack (VIctory #223/#233/#320/#439 by r4tedx): wave64 programs run as two 32-lane halves. The GPU-side wiring is in progress.
    • GPU:
      • asynchronous submission (VIctory #595 by wbkepler, plus follow-up fixes in progress);
      • write-watch caches (#464/#490);
      • NVIDIA host formats, up-front refusals and the pipeline wait budget;
      • root SRV bounds (#493), the PSV0 guard (#578), on-demand pipelines first (#546) and format 67 (#492);
      • G15b: a registry of D3D12 heaps over title memory (GPU-visible title memory, step 1).
    • Game layer: an opt-in hook past the title's own watchdog (VIctory #454 by ruvenesh, verified against this build).
    • Tooling:
      • the autopilot (cargo xtask play): from a save to gameplay, driven by the title's state, verified in game up to the loading screen;
      • run-world's report (docs/analysis/run-world.md): ranked causes of frame time, missing image and hangs;
      • the upstream watch (docs/upstream/watch.md).

    Every port from VIctory gets an independent review before release. Several turned up real issues, and fixes are underway.

    In progress:

    • shadow refresh once per frame (about 40 % of the world frame);
    • about 1,000 more shader programs (#180, the lane-mask branch, #452);
    • images, pixel inputs, LDS and 64-bit atomics (#539, #453, #592/#621, #571, #160, #563);
    • the dark world (#643, #211);
    • GPU-visible title memory (G16).

    Contributor issues: #12 is claimed. #4 is being handled in #16. The others are open.

  5. simnJS commented on Nov 24, 2026

    @simnJS
    CollaboratorAuthor

    Update — 2026-11-24, 18:20 CET

    Published to main (c65787a → 36832f7, 51 merges).

    The world loading stall is explained (docs/analysis/stall.md, docs/analysis/world-frame.md).

    • On the dev PC, Windows' video memory manager admits only about one new allocation every 0.4 s once about 9.5 GiB is resident machine-wide. A D3D12 probe without XTP shows the same, and a clean cloud L4 does not.
    • XTP created textures and buffer copies one by one on the title's threads, so loading crawled. The title's own watchdog then ended it.
    • With the watchdog hook (XTP_WATCHDOG_HOOK=1), Series X reaches the world after 160–210 s.
    • In Series S mode (--console series-s), the title stays under the threshold: the world loads in about 10 s and renders real frames (2.6 fps, 79 draws). A crash a few seconds in is being fixed.

    On main now:

    • GPU:
      • the wave64 stack wired to the host's wave sizes; wave64 mesh programs stay refused on 32-lane hosts unless XTP_WAVE64_MESH=allow;
      • asynchronous submission (#595);
      • NVIDIA fixes (#493, #578, #546, #492) and their review fixes;
      • the dark-world fixes (#643, #211);
      • write-watch caches;
      • GPU heaps over title memory (G15b).
    • Game layer:
      • XTP_WATCHDOG_HOOK (#454);
      • XTP_SKIP_INTRO, which cuts the 15 s intro movie that gates world loading.
    • Tooling:
      • the autopilot (cargo xtask play);
      • the Google Cloud build farm (docs/dev/build-farm.md);
      • the analyses (docs/analysis/);
      • the upstream watch.

    Coming next: Series S by default, pooled heaps for textures and buffers (no more per-resource admissions), the shadow refresh once per frame plus batched copy-back (#1124), and about 1,000 more translated shader programs.

    External PRs ready to merge: #16 (conversion cache) and #17 (first-chance C++ exceptions and thread names). Thanks to both authors.

    Reports from other GPUs are still very welcome: whether the world loads, in Series X and Series S mode.

  6. simnJS commented on Nov 24, 2026

    @simnJS
    CollaboratorAuthor

    Focus change — Series S first. From now on, XTP is developed and tested in Series S mode (--console series-s), which becomes the default shortly. In that mode the title keeps its memory budgets small (about 8 GB, 1080p scene), the world loads in about 10 s on a 16 GB NVIDIA card, and it renders real frames. Series X keeps building and gets occasional checks; nearly everything (shader translation, D3D12.X, HLE, the GPU layer) is shared, so most work carries over. Series S–specific work comes first: the FidelityFX FSR4 upscaler the title loads in that mode (D3D12.X methods it calls) and a crash a few seconds into the world. When you report results, please say which mode you ran.

  7. changed the title [-]Roadmap: the world at 30 fps — what is in progress and where to help[/-] [+]Roadmap: Series S first — the world stable, complete and playable[/+] on Nov 24, 2026
  8. changed the title [-]Roadmap: Series S first — the world stable, complete and playable[/-] [+]Roadmap: Series S mode first[/+] on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions