Commit Graph

18350 Commits

Author SHA1 Message Date
51a3b3b8b4 runtime: pipeline_workers_test accepts the OOM push_back that libstdc++ never fails (CI-PIPELINE-WORKERS-DEQUE-OOM) 2026-11-28 17:31:05 -08:00
381b33c813 tests: the wine safety test stubs xdpyinfo (CI-WINE-SAFETY-XDPYINFO-STUB) 2026-11-28 17:31:05 -08:00
d98fc7fbfb tests: the boot journal seed test compares long paths on Windows (CI-BOOT-JOURNAL-SHORT-PATH) 2026-11-28 17:31:05 -08:00
ff5ef7fa49 tools, scripts: four programs guard stdout with errors=replace (CI-STDOUT-GUARD-NEW-TOOLS) 2026-11-28 17:31:05 -08:00
6a1ccf0a95 tests: spirv_metal_set0 tests follow the encoding, stderr line and synthesized uint (CI-METAL-SET0-TESTS) 2026-11-28 17:31:05 -08:00
b1a3e93fd9 tests: the sampler census fixture adds the index to the table pointer (CI-SAMPLER-CENSUS-LSHL-FIXTURE) 2026-11-28 17:31:05 -08:00
e147773d03 progress_dashboard, preflight test: the default repo is the one the README clones (CI-REPO-CLONE-ADDRESS) 2026-11-28 17:31:05 -08:00
24abe91a28 make_game: the index-shape error and the clone hint (CI-MAKEGAME-INDEX-SHAPE-MESSAGE, CI-REPO-CLONE-ADDRESS)
A non-object translated index says it must contain a JSON object again, and the
missing-submodule hint names the repository the README clones.
2026-11-28 17:31:05 -08:00
35a025efe8 tests: the macOS pool dedupe test no longer asks the real volume (CI-BCPACK-POOL-DEDUPE) 2026-11-28 17:31:05 -08:00
f1e43c6976 runtime: gta6rt link options end with /STACK again (CI-RUNTIME-STACK-RESERVE) 2026-11-28 17:31:05 -08:00
471094e128 tests: v_cvt_{u16,i16}_f16 ignore clamp and omod, as the translator does (CI-F16-INT16-OMOD-REJECT) 2026-11-28 17:31:05 -08:00
202ad50e5b Windows boot: LEONIDA_DEVICE_FAULT=2 by default, so a boot on NVIDIA reads the compute journal gta6rt --precompile-pipelines wrote (1 with LEONIDA_AFTERMATH=1)
boot.ps1 set LEONIDA_DEVICE_FAULT=1 when the shell had not set it. On NVIDIA, 1 also enables
VK_NV_device_diagnostics_config (d3d12_vulkan_device.cpp:23349-23360), and the runtime then
puts that config into the key of every compute journal file (d3d12_vulkan_device.cpp:11818-11824,
"nv-diagnostics-config"). So a boot read none of the journal a pre-compile without the variable
had written, though boot.ps1 hands that journal to the boot as its seed since #2481. 2 is the
runtime's mode for this case: the device-fault report, checkpoints and the submit ring, without
the diagnostics config.

LEONIDA_AFTERMATH=1 still gets 1. The runtime takes the LEONIDA_DEVICE_FAULT branch before the
Aftermath one (d3d12_vulkan_device.cpp:23352-23371), so under 2 a crash dump would lose NVIDIA's
diagnostics config (no shader debug info). A LEONIDA_DEVICE_FAULT the user gives (shell, -SetEnv
or KEY=VALUE) always wins, and LEONIDA_DEVICE_FAULT= leaves it unset, as before.

Measured on an RTX 3090 24 GB, NVIDIA 621.40, Windows 11: two builds, each with its own fresh
compute pre-compile and an A/B pair of 60 s boots of that build, n=1 per cell. The counts are
from the runtime's last "pipeline journal" progress line within the 60 s (it prints at the
first event of a kind, then every 100th):

  build      LEONIDA_DEVICE_FAULT  from the precompiled journal  compiled
  1bc055e6c  1                       0                           500
  1bc055e6c  unset                 700                             0
  ace0e9d1c  unset                 700                             0
  ace0e9d1c  2                     700                             0

With 1 the line said 25 from journal files: files that same boot had just written (zmasi's
reading on #2570; the boot's writable journal gained about 519 files). No commit in
1bc055e6c..ace0e9d1c touches d3d12_vulkan_device.cpp, vulkan_device_fault.h or
pipeline_cache_journal.h. Found by MoonEyes on #2570; zmasi pointed there at mode 2.

The README's row says 2, when 1 is used, and that "NVIDIA diagnostics config unavailable" in
the runtime's device-fault line means "not requested" under 2. Its seed row no longer says the
script sets 1. The comment over the defaults says the Linux harness does not set the variable.

Test: tests/test_windows_boot_journal_seed.py, dry runs for the default, the shell, -SetEnv and
KEY=VALUE overrides, the removal and LEONIDA_AFTERMATH, and the README row (read as text, on any
system).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:22:23 +01:00
53b77df14f Merge pull request #941 from TheGeogeo/fix/fail-fast-selectors
Reject unmatched --import/--dll selectors in import_fail_fast (FAIL-FAST-SELECTORS)
2026-11-29 02:22:23 +01:00
0a325350e4 Merge origin/main into next 2026-11-28 20:19:25 -05:00
504ea0e418 Ghosting and blocky smears on camera turns: the title's motion blur is left out by default (-MotionBlur brings it back)
The title blurs by the movement of one frame. At this port's 12-14 frames a second its smears are twice as long as at
the console's 30, and its tile-based passes paste blocks of an older picture on camera turns: the ghosting and blocky
glitches the user reported. The launcher now adds the blur's first pass, the downsample (CS_MotionBlurDownSample*,
four variants), to LEONIDA_SKIP_PIPELINES, so the later passes find no movement and blur nothing; -MotionBlur (also on
scripts/play-d3d12.ps1) keeps it.

Measured at the waterside save with camera turns recorded (2026-11-28): with the blur, framescan flags a smear at the
end of every turn and trees streak in blocks (runs mb1, hz1); leaving out its first pass for the whole run (mbo1,
mbo2), no smear in any turn and no stale blocks. Leaving out a later pass instead is wrong: without
PS_MotionBlurLowRes the composite pastes stale tiles of an older view, without PS_MotionBlurProcessNeighborhood old
movement stays in its tiles (in-run A/B, mb1). As voidopcode/vilocity a0aa988 (GPL-3.0) found, clean in 670 frames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:19:23 -05:00
016554bef3 d3d12_run_fps: no argument comes back in an error, frame lines only where the logger wrote them, an unfinished last line skipped (TOOLS-D3D12-RUN-FPS)
From the review of 9f7587e19:

- An argument error named what was typed: a second log given without
  --compare came back as "unrecognized arguments: <path>", and a bad
  --min-samples value was quoted. Unknown arguments are now counted, not
  quoted, --min-samples has its own type whose message is fixed text, and
  options cannot be abbreviated.
- A frame line counts only at the start of a line or after the time stamp,
  level and target of the host's INFO message (leonida_gpu::host, and
  victory_gpu::host of the forks this runtime came from). The same words
  inside another message are not read.
- A last line the writer did not finish (no line end) is skipped whatever it
  holds, and the pattern asks for the words that follow the draw count, so a
  line cut after the count gives no sample.
- The text gives the textures' MB and the copy-back's MB too, as the JSON
  does.

Test: python -I tests/test_d3d12_run_fps.py (19 tests). New: a frame line
counts only where the logger wrote it; a last line without its end; no error
gives back what was typed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 01:15:08 +00:00
a3b3fe0542 runtime/shims: shim PSM app-notification and WER file registration APIs (RT-PSM-APPNOTIFY-WER) 2026-11-29 08:10:03 +07:00
5825b02ff8 Merge pull request #2583 from qhukz13/cont/d3d12-launcher-small-vram
d3d12: on a card under 6 GB the launcher leaves buffer copies to the runtime and keeps windows out of VRAM
2026-11-29 02:06:25 +01:00
fd42898706 Merge pull request #1540 from Rain156/rain/d3d12-first-light-camera
tests: draw the First Light perspective camera through D3D12 (TEST-D3D12-FIRST-LIGHT-CAMERA)
2026-11-29 02:06:11 +01:00
5d0a501229 Merge pull request #2510 from Tyrannys/test-compile-pool-load-flake
d3d12_compile_pool_test: submit the demand after the checkpoint's first look (TEST-COMPILE-POOL-LOAD-FLAKE)
2026-11-29 02:05:56 +01:00
7e06a026dd Merge pull request #2505 from qhukz13/cont/compile-pool-graphics-wake
d3d12_compile_pool_test: the graphics-only worker wakes the general one for a PSO's held-back job (TEST-COMPILE-POOL-GRAPHICS-WAKE)
2026-11-29 02:05:40 +01:00
dcbcd42167 Merge pull request #2057 from abnalstlll-byte/feat/rt-deferred-image-binding-guards-and-tests
runtime: guard null bind callbacks, add owner accessor and unit test suite for DeferredImageBinding (RT-DEFERRED-IMAGE-BINDING-GUARDS-AND-TESTS)
2026-11-29 02:05:25 +01:00
818d881b1f Merge pull request #2454 from Tyrannys/console-heap-gpu-overflow-and-rollback
console_heap_gpu: fix erase_overlapping overflow and keep newer slot flags on rollback (CONSOLE-HEAP-GPU-OVERFLOW-AND-ROLLBACK)
2026-11-29 02:05:09 +01:00
21f5baff1d Merge pull request #2520 from Tyrannys/rt-offline-gdk-shim-gaps
xgameruntime: gifting UI completes its block, speech without `used`, MountWithUi and TitleId gaps (RT-OFFLINE-GDK-SHIM-GAPS)
2026-11-29 02:04:54 +01:00
f64162d0a3 Merge pull request #2516 from Tyrannys/claude/xs-console-placement-layout
Size read-only console textures in the title's swizzle mode (RT-XS-CONSOLE-PLACEMENT-TITLE-LAYOUT)
2026-11-29 02:04:39 +01:00
193a692863 Merge pull request #2498 from Tyrannys/rt-xs-descriptor-mirror-gaps
d3d12_xs: CreateSamplerX writes through; mapped descriptor ranges are left to the submission-time pull (RT-XS-DESCRIPTOR-MIRROR-GAPS)
2026-11-29 02:04:23 +01:00
4cf39d157b Merge pull request #2503 from Tyrannys/rt-display-white-worker-wake
xbox_present: the first HDR10 present wakes the SDR white reader at once (RT-DISPLAY-WHITE-WORKER-WAKE)
2026-11-29 02:04:08 +01:00
c9f2e41f68 Merge pull request #2544 from Tyrannys/rt-xdxr-postbuild-scan-scratch
xbox_bvh_builder: scan every postbuild description for 0x10; rehydrate scratch regions cannot wrap (RT-XDXR-POSTBUILD-SCAN-AND-SCRATCH)
2026-11-29 02:03:52 +01:00
5c8a9de7d3 Merge pull request #2522 from Tyrannys/rt-com-null-barriers-entry
d3d12, process: null barrier arrays, CopyTiles in a bundle, calibration wait, entry thread argument, getmainargs expand (RT-COM-NULL-BARRIERS-ENTRY)
2026-11-29 02:03:37 +01:00
106e2611bf Merge pull request #2492 from Tyrannys/rt-indirect-dispatch-mesh-parity
d3d12: ExecuteIndirect with DISPATCH_MESH records as DispatchMesh does (RT-INDIRECT-DISPATCH-MESH-PARITY)
2026-11-29 02:03:21 +01:00
17f5b935db Merge pull request #2497 from Tyrannys/rt-gameinput-ffb-haptic-null
gameinput: force-feedback kind changes, SetParams features, locked motor reads, no null memcpy (RT-GAMEINPUT-FFB-HAPTIC-NULL)
2026-11-29 02:03:06 +01:00
0ff4dd1c87 Merge pull request #2414 from robot00f/feat/rt-cpu-avx1-aot-patch
runtime(cpu): add ahead-of-time AVX1/SSE4.2 stub compiler for pre-Haswell hosts
2026-11-29 02:02:51 +01:00
16f5053047 Merge pull request #2345 from kirigayakazima/fix/first-look-ps1-safety
FIRST-LOOK-PS1-GAMEDIR-VALIDATION-HANDLE-CLEANUP-AND-REPORT-CHECK
2026-11-29 01:59:10 +01:00
d9e46fbceb Merge pull request #2342 from kirigayakazima/fix/win-launchers-bat-safety
Build.bat/Mods.bat: quote per-user Python paths, sync lookup, and add no-pause guard
2026-11-29 01:59:06 +01:00
7133451699 Merge pull request #2255 from kirigayakazima/fix/compute-workers-win-safety
scripts/compute_workers_win: pre-validate job/gate handles, fix child handle close, add tests
2026-11-29 01:59:02 +01:00
aa52446f7d Merge pull request #1002 from Snooozs/batch-launch-exitcode
test_build_batch_launch: read the batch's exit code after it has exited (TEST-BATCH-LAUNCH-EXITCODE)
2026-11-29 01:56:27 +01:00
0f2025b168 Merge pull request #1013 from Diegobecker07/old-9924-bcpack-parallel
make_game assets: BCPack follow-up pass in worker processes, costliest pool first (OLD-9924)
2026-11-29 01:55:23 +01:00
57d3222bfa Merge pull request #1180 from Taffyyy-ops/fix/content-counts-atomic
content_definitions: roll back failed input counts (CONTENT-COUNTS-ATOMIC)
2026-11-29 01:54:58 +01:00
6eddd58dd4 Merge pull request #1186 from Taffyyy-ops/fix/awc-cue-json-depth
awc_cue_labels: reject excessively nested JSON (AWC-CUE-JSON-DEPTH)
2026-11-29 01:54:43 +01:00
7100865c42 Merge pull request #1211 from IlyassRS3/feat/x64-recomp-rcl-rcr
x64_recomp: rcl and rcr rotate-through-carry emitters (X64-RECOMP-RCL-RCR)
2026-11-29 01:54:27 +01:00
d63e0b94d4 Merge pull request #1213 from IlyassRS3/feat/x64-recomp-std-str
x64_recomp: std/cld direction flag, reverse string ops, and lods emitter (X64-RECOMP-STD-STR)
2026-11-29 01:54:11 +01:00
8a3c70a0c8 Merge origin/main into next 2026-11-28 19:54:08 -05:00
dc644c6eed White specks indoors: the launcher bounds the light of particles and dust by 4 times the light around (LEONIDA_AMBIENT_ALPHA=4)
Inside Jason's house, driven in by hand and standing, the bound on and off by turns of 3 s in one run (lv1-live): with
it off the room is full of white specks (ceiling, walls, the air), with it on there are none and nothing else in the
picture changes. On the balcony, three runs the same way (al1-aab1..3), the picture is the same either way. The
READMEs list it with the other fixes of the day.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:54:07 -05:00
5d7ac1ee5e Merge pull request #1233 from IlyassRS3/carry/old-10028-wine-relative-path
make_game: gta6rt.sh resolves a relative WINE before changing to the game folder (OLD-10028)
2026-11-29 01:53:56 +01:00
87a39df94b Merge pull request #1249 from IlyassRS3/feat/recomp-census-xdata-unwind
recomp_census: fix UNW_FLAG_CHAININFO/CountOfCodes and decode .xdata unwind ops (RECOMP-CENSUS-XDATA-UNWIND)
2026-11-29 01:53:13 +01:00
a3484ceebc Merge origin/main into next 2026-11-28 19:47:53 -05:00
915f7654b6 Stand-in light: the light of transparent surfaces and particles can be bounded (LEONIDA_AMBIENT_ALPHA; off unless set)
The title lights its transparent surfaces and particles from a volume before the eye (32x16x64) that rays of its own
fill (CS_GatherAlphaVBuffer, CS_ShadeAlpha, CS_VarianceFilterAlpha, CS_SpatialFilterAlpha). Without the ray
structures they find the sky from everywhere, and in a room the dust in the air is lit as under the open sky: the
white specks seen in Jason's house. LEONIDA_AMBIENT_ALPHA=<multiple> bounds that volume right after the last program
that writes it, by a multiple of the light around, with the pass that bounds the air's light (LEONIDA_AB=<s>,
LEONIDA_AMBIENT_ALPHA turns it on, at 4 unless a value is set, and off by turns). Unset or 0: as the title has it.

From KyleS98/VIctory-Neo a6e85c6 (VICTORY_AMBIENT_ALPHA; specks gone at 1 and at 4 in the story's first house),
GPL-3.0-or-later. Here the program is dispatched directly (the log says so once) and the pass runs on the 32x16
volume; on the balcony outside Jason's house, on and off by turns in three runs, the picture is the same. Not yet
seen indoors, so it stays off until it has been. The hooks after indirect dispatches follow this role as well as
the reflections' guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:47:50 -05:00
795e0904c2 Merge pull request #1300 from kaoru-maki/psin-native-speaker
Export native speaker hashes from PSIN dialogue turns
2026-11-29 01:46:10 +01:00
7b70211d15 Merge pull request #1318 from fin-github/codex/draft-63
ps_sweep: preserve proven color mismatches in exact reports (DRAFT-63)
2026-11-29 01:45:54 +01:00
d8b57246c9 Merge pull request #1347 from PierreEbele/make-game-pick-fsdecode
make_game: a folder whose name the locale cannot decode no longer stops --pick on Linux (MAKE-GAME-PICK-FSDECODE)
2026-11-29 01:45:38 +01:00