Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 3.93 KB

STATUS.md

File metadata and controls

58 lines (49 loc) · 3.93 KB

Status of this fork (October 2026, 0.3.6.30)

This fork may not be maintained for long. This page says what is where, what is finished and what was left half-way, so anyone can pick it up. Everything here is GPL like the rest of the port.

Branches

Branch What it is
perf/recorder The release line: every v0.3.6.x tag is built from it by GitHub Actions (.github/workflows/build.yml). dev (the default branch, shown on the front page) follows it. Since 0.3.6.30 it holds the performance work and the shader preparation.
perf/build The former perf test-build line (0.3.6.27-perf1, 0.3.6.29-perf2); merged into the release line in 0.3.6.30 and no longer updated.
main, others Older lines, kept for history.

Release notes for every build: docs/releases/<tag>.md. Bug investigations: docs/bug_reports/.

Finished (in the release line)

  • Video memory limit and hand-back: the texture cache and buffer arenas stay within the card's budget, unused arena memory is released (sparse binds), and the "Automatic" render resolution picks 1920x1080 on cards with 6 GB or less. Test switch BB_VRAM_SIMULATE_MIB=<MiB> simulates a smaller card with a ballast allocation. Small-card buffer placement: BB_STREAM_MEMORY=auto (off by default).
  • Older Intel CPUs: idle job workers skip their yield when Windows' kernel VA shadow (Meltdown mitigation) is on (src/probe.c, kernel_va_shadow_on).
  • Crash and rendering fixes listed in the release notes, for the EU (CUSA02343) and US / EU-Russian (CUSA02320 / CUSA02344) versions alike: every code-pattern hook is matched in both.

The performance work (in the release line since 0.3.6.30)

Players: PERFORMANCE.md. Developers: docs/PERF_BUILD.md. In short: the translation of the game's GPU command stream runs as three threads (command processor, draw recorder, Vulkan recorder, since 0.3.6.20); the perf work moves constant-data copies to a collector thread, trims per-draw work, batches fence hand-offs, submits asynchronously, reads write faults back on the faulting thread, and (0.3.6.30) uses a Windows SRW lock in the pipeline cache.

Shader preparation (since 0.3.6.30)

Variant lists per game and shader location indexes per version (shaders/), built at the first start on a preparation page: docs/SHADER_PREPARATION.md. The lists come from scripted checkpoint tours of all three games (EU and US) plus hand-played clean-cache sessions; anything they miss is still built the old way when it first appears.

Half-done or not started, with where to begin:

  • Starting the GPU on a frame earlier (the GPU still idles part of each frame at high frame rates, waiting for the CPU side): the next big step; not started.
  • Write-fault read-back on the faulting thread (che2281337's idea): on by default since perf2, after the crash it caused (older GPU copies stored over pages the faulting thread had already read back) was fixed; BB_FAULT_HERE=0 turns it off.
  • NVIDIA Reflex (lower latency with DLSS Frame Generation): not started. Plan: VK_NV_low_latency2 markers around the game's frame, measure with PresentMon.

Known open issues

  • Uncharted 1: a cyan sheen on the pistol's slide while aiming is the original game's (it shows on the PS3 original too), not a port bug (docs/bug_reports/2026-10-26_u1_pistol_blue_rectangle.md).
  • Uncharted 3: stepped sun shadow edges are the game's own shadow resolution, not a port bug (docs/bug_reports/2026-10-26_u3_stepped_sun_shadows.md); larger cascades would be an enhancement.
  • Native 4K in Uncharted 1 (branch feature/4k, not merged): blocked by a 2 GiB pointer window.

Testing

  • Scripted runs load fixed saves and measure BB_FRAME_STATS=1 output; A/B comparisons alternate the builds over two rounds. Pad record/replay (BB_PAD_RECORD / BB_PAD_REPLAY) replays a recorded route for repeatable heavy scenes.
  • Before every release: a short run of each game on both the EU and US versions.