Skip to content

Project Tourline 5 v0.3.1

Choose a tag to compare

@mathewdouglas mathewdouglas released this 25 Nov 18:41
· 8 commits to main since this release

What's New in 0.3.1

1. Shader Interpreter Overhaul (Major Cold-Cache Stutter & Pop-In Reduction)

  • Dynamic 16-entry sampler table & parallel compilation: Replaced static sampler switch blocks with a shader-visible 16-sampler descriptor heap (RSX_SHADER_INTERP_DYN_SAMP=0 rollback) and parallelized background variant compilation (RSX_SHADER_INTERP_BG_WORKERS, default 2) and demand PSO workers (RSX_SHADER_INTERP_PSO_WORKERS, default 2), cutting cold variant compile time 3.0x (6,735 ms -> 2,250 ms, -66.6%) and cold-cache dropped draws (pop-in) by -97.3% (33,957 -> 900).
  • Border-addressed textures & nodisc prewarm parity: Added 2D border-wrap support (RSX_SHADER_INTERP_BORDER=0 rollback) so offscreen car-damage scratches use the interpreter instead of stalling, and doubled INTERP_PREP_MAX (1024 -> 2048) to prewarm nodisc=1 early-Z variants.
  • Vertex interpreter & replay CPU optimizations: Vectorized vertex interpreter (Load4, identity-swizzle fast path, switch op dispatch), persistent FP microcode encode cache, tex_mask-filtered descriptor copies, and O(1) PSO hash table (+18.4% forced-interpreter FPS, -88.3% max hitch).

2. NVIDIA DLSS / DLSS-G Quality & Stutter Fixes

  • DLSS-G Frame Generation hudless color & real camera projection: Captures the hudless backbuffer at the scene/HUD boundary and passes real camera projection matrices, basis, FOV, and near/far planes to NGX DLSS-G (RSX_FG_HUDLESS=0, RSX_FG_REAL_PROJ=0 rollbacks), eliminating HUD ghosting/aliasing in generated frames.
  • Per-object motion-vector un-jittering: Folds -jit into per-object motion vectors on the CPU (RSX_MV_OBJ_UNJIT=0 rollback) with zero shader-cache invalidation.
  • DLSS Quality / Car Select / 3D menu stutter fix: Excluded DLSS-scaled 3D scene targets from the 500 ms synchronous small-offscreen PSO wait (rt_is_small_offscreen()), eliminating stutters when loading new cars or 3D menu screens with DLSS enabled.

3. Bug Fixes

  • #85 (11 s freeze after changing F1 settings): unmapped-JUMP and unmapped-CALL in SPU display lists now park and retry for up to 50 ms (GCM_BAD_BRANCH_RETRY_MS=0 rollback) before resyncing instead of immediately dropping the SPU list and stalling gFKsE.
  • #86 (Rear-view mirror white/chrome streaks on two-sided cars): Preserved FrontCounterClockwise bit in rsx_cull_key() even when face culling is disabled (RSX_CULL_FRONT_FACE_ALWAYS=0 rollback) so SV_IsFrontFace / FACING stays accurate in mirrored rear-view renders (e.g. Ford GT40 Mk.IV).
  • #87 (2.11 boot crash ADHOC(read error at 2044938) in GlobalStatus.ad:155): Added pad_body support to scripts/guest_eh_patch.py and registered func_009F67A4's missing catch (...) landing pad (0x009F6850) for BCUS98114-v211.
  • #88 (Missing car body panels in generated thumbnails): Split the offscreen PSO wait into a 500 ms per-draw timeout (RSX_PSO_WAIT_OFFSCREEN_MS) and a 4000 ms per-frame budget (RSX_PSO_WAIT_OFFSCREEN_FRAME_MS) so one-shot thumbnail renders don't omit late draws.
  • Post-race replay depth preservation: Depth-less full-screen passes no longer clear dsv_main or steal depth_owner_z, and matching zeta_off preserves depth across color-RT switches (RSX_DEPTH_KEEP_ZETA=0 rollback), fixing replay cars drawing over trackside walls/guardrails.
  • 01.04 "PC settings" hint stuck after leaving Options to GT Life: Added GTLife=9/UC/F0 (GTLife:screen) to BCUS98114-v104 in config/targets.json so returning from Options to GT Life clears the hint immediately.

Verification & Antivirus Note

  • SHA-256 (project-tourline-5-v0.3.1-windows-x64.zip): 36aa1e7edad1e7799a139ecab78827e79c0e06fc4da0827b8a744374c0a63d6b
  • Unified package: includes both 01.04 (gt5.exe, refreshed 4-route PGO, 0 stale hash mismatches) and 2.11 (gt5_211.exe, experimental) engines plus optional NVIDIA DLSS / DLSS-G plug-in and redistributables, 134 files, no game data.
  • Packaged 01.04 High Speed Ring 60 s frame test (RSX_CMD_CHECK=1, 0 reports / 0 PSO FAIL): 59.9 FPS (0.1% late, 16.6 ms median, 18.9 ms p99, 25.6 ms max, walk 5.82 ms/frame; steady 300–301 frames/5 s on track).
  • Windows Defender (MpCmdRun -Scan -ScanType 3): 0 threats on both the ZIP and extracted folder.
  • VirusTotal: ZIP 1/64 and gt5.exe 1/67 (Webroot=W32.Malware.gen unsigned-binary heuristic only; 0 on Bitdefender, Microsoft Defender, and all other engines), nvngx_dlss.dll 0/70, nvngx_dlssg.dll 0/70, all 9 other DLLs 0/63–72.