Commit Graph

1127 Commits

Author SHA1 Message Date
c34cec72ee Merge pull request #2593 from Bloh09/fix/ci-main-red-tests 2026-11-29 13:44:04 +01:00
931a8f7511 Merge pull request #2599 from enlight3d/fix/boot-device-fault-keeps-journal
Windows boot: LEONIDA_DEVICE_FAULT=2 by default, so a boot on NVIDIA reads the precompiled compute journal (BOOT-DEVICE-FAULT-2)
2026-11-29 09:14:40 +01:00
e4973b5db6 Dynamic resolution by default: the title's own, between 1080 and 1440 lines
LEONIDA_RENDER_SCALE_MIN (the loader's hooks.rs) sets only the lowest scale of the
title's own upscaler (the immediate at rva 0x28f1e7e) and leaves the scale above it to
the title's dynamic resolution; a valid LEONIDA_RENDER_SCALE still holds one scale.
The launchers take it as -Lowest <height>; scripts\play-d3d12.ps1 now starts Series X
with -Lowest 1080 (a 2560x1440 output, 1080 to 1440 lines rendered) instead of
-Resolution 1440, which still holds 1440.

Same save, RTX 4060 Ti, frame generation off, two series (2026-11-29): median frame
57.0 and 59.6 ms against 66.0 and 67.9 held at 1440; the title's choice sat at its
1080 floor there. A recorded tour at the floor: no device removal, no new pipeline
refusals; the frames the scan flagged are camera turns into the sun.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:49:59 -05:00
3fbfcc6f8d Merge upstream/main into fix/ci-main-red-tests
Resolved conflicts in bench_translate.py, export_old_pr_manifest.py,
pc_prompt_glyphs.py and xbox_prompt_glyphs.py by taking main's
errors=replace guards (#2590). Dropped CI-STDOUT-GUARD-NEW-TOOLS.
2026-11-28 19:40:09 -08:00
b6bf3aa0be Merge pull request #2254 from kirigayakazima/fix/check-compute-journal-overlay-safety
scripts/check_compute_journal_overlay: validate journal dirs/exe, enforce UTF-8, extract main, add tests
2026-11-29 04:38:18 +01:00
d50300f15a Merge pull request #2256 from kirigayakazima/fix/corpus-watch-safety
scripts/corpus_watch: strip BOM JSON, check --out/--game collisions, validate args, enforce UTF-8
2026-11-29 04:38:08 +01:00
c768e70555 Merge pull request #2257 from kirigayakazima/fix/vs-layout-census-safety
scripts/vs_layout_census: support BOM index, validate limit/paths, write --json atomically
2026-11-29 04:37:57 +01:00
90efd60e12 Merge pull request #2590 from aegish-zagi/fix/stdout-guard-four-programs
tools/scripts: the four leftover __main__ blocks set errors=replace on stdout
2026-11-29 04:37:17 +01:00
9fac739da4 Merge pull request #2239 from zmasi/fix/rdna2spirv-f16-interp-computed-ij
rdna2spirv: lower computed I/J barycentrics under --f16-interp-fallback (SHADER-F16-INTERP-COMPUTED-IJ)
2026-11-29 04:36:24 +01:00
98f68ffa07 Merge pull request #1240 from piyonchu/pr/psm-appnotify-wer-shims
runtime/shims: shim PSM app-notification and WER file registration APIs (RT-PSM-APPNOTIFY-WER)
2026-11-29 04:35:54 +01:00
0d7c1c0802 Merge pull request #1693 from sodove/feat/windows-boot-private-minidump
windows-boot: collect private crash dumps and stack traces on request
2026-11-29 04:35:44 +01:00
d8c10dd5e1 Merge pull request #1239 from IlyassRS3/carry/old-10047-run-guest-scene-wine
run_guest_scene: take the Wine from $WINE when --wine is not given (OLD-10047)
2026-11-29 02:32:26 +01:00
35159222a4 Merge pull request #919 from TuroYT/fix/wine-drive-map-oserror
run_wine_tests: keep going when the drive cannot be mapped (WINE-DRIVE-MAP-OSERROR)
2026-11-29 02:32:13 +01:00
bbbdba8c4b run_game_wine.sh: lowercase the device ids with tr, not ${x,,}, so bash 3.2 matches the card (CI-RUN-GAME-WINE-BASH3) 2026-11-28 17:31:06 -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
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
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
a3b3fe0542 runtime/shims: shim PSM app-notification and WER file registration APIs (RT-PSM-APPNOTIFY-WER) 2026-11-29 08:10:03 +07: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
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
ff9948f652 Merge pull request #1841 from delysidemanYT1/gpu-disasm-scratch-error
GPU-DISASM-SCRATCH-ERROR: Report GPU disassembly staging failures before translation
2026-11-29 00:50:07 +01:00
79c22b9f0a Merge pull request #1871 from kirigayakazima/fix/build-llvm-mc-safety
scripts/build_llvm_mc.ps1: validate Version, normalize -Temp, harden VS/tool fallback and literal install
2026-11-29 00:49:49 +01:00
5fe330015d Merge pull request #1946 from lgr123/wine-fixture-cleanup
Honor CTest fixture cleanup ordering in the Wine runner
2026-11-29 00:49:28 +01:00
cd36c87b17 Merge pull request #2076 from alexandersato0830/codex/semantic-runner-serial-deadline
Honor short serial semantic test deadlines (SEMANTIC-RUNNER-SERIAL-DEADLINE)
2026-11-29 00:49:07 +01:00
8bb93e89d5 README: where the Direct3D 12 runtime stands on 2026-11-28 (12 to 14 rendered frames a second at Series X 1440p, frame generation by default, the indirect light's stand-in running again); play-d3d12.ps1 passes -NoFrameGen on
The project status put the recompiled runtime first and the playable one second, with the measurements of 2026-11-27;
it now says which runtime is playable first, with the four standing starts of 2026-11-28 (series e5a: median frame
72 to 81 ms, RTX 4060 Ti 16 GB, driver 616.64), and that the 30 rendered frames a second are not reached. The status
table's rows say which runtime they are about. d3d12/README.md gets a short section on where it stands and the row
for the dark interiors. scripts/play-d3d12.ps1 takes -NoFrameGen (to d3d12/scripts/play-nvidia.ps1), which the
README names; checked with -DryRun both ways.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:24:55 -05:00
06e5327291 Merge origin/main into fix/rdna2spirv-f16-interp-computed-ij 2026-11-28 13:59:35 -08:00
f4112fca9f Merge main into codex/semantic-runner-serial-deadline (resolve conflict in scripts/run_semantic_tests.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:24:37 +01:00
092a4630b5 Merge pull request #1801 from kirigayakazima/fix/meta-to-xml-safety
scripts: harden meta_to_xml.ps1 null head, limit guard and atomic XML write
2026-11-28 21:17:29 +01:00
d11ca4308a Merge pull request #2186 from ecox982745/ed/stage-timeline-peek-rvas
tools: read boot timeline states from the configured RVAs
2026-11-28 21:17:06 +01:00
fa3847b075 tools/scripts: the four leftover __main__ blocks set errors=replace on stdout (TOOL-STDOUT-GUARD-LEFTOVER-FOUR) 2026-11-28 20:11:42 +00:00
5cb45921e3 Merge pull request #2494 from kawaii-shakal/scripts-short-co-ci
scripts: the short form v_add_co_ci_u32 vD, src0, src1 reads src0 (SCRIPTS-SHORT-CO-CI-OPERANDS)
2026-11-28 20:44:17 +01:00
dd5fda18aa Merge pull request #2332 from kirigayakazima/fix/run-game-wine-safety
run_game_wine.sh: harden inner args, PCI matching, bash wrapper, and summary exit
2026-11-28 20:41:46 +01:00
6a9c4e06b1 Merge pull request #2305 from kirigayakazima/fix/linux-boot-inner-configure-safety
linux-boot: harden boot-inner.sh and configure-worktree.sh
2026-11-28 20:41:23 +01:00
4ad9afefd6 Merge pull request #2298 from kirigayakazima/fix/linux-boot-sh-safety
scripts/linux-boot/boot.sh: validate mode, timeout, and prerequisites upfront
2026-11-28 20:41:01 +01:00
df3e8a85e0 Merge pull request #2274 from kirigayakazima/fix/linux-boot-scripts-safety
linux-boot: harden boot-digest/run-boot dedup, empty-stats, and argument checks
2026-11-28 20:40:37 +01:00
8e1875a951 Merge pull request #1241 from IlyassRS3/carry/old-9952-run-wine-session
run_wine_session: initialize and stop the prefix with $WINE (OLD-9952)
2026-11-28 20:35:56 +01:00
f459c7e015 Merge pull request #1024 from djrolfes/djrolfes/check-game-data-explicit-paths
check_no_game_data: reject invalid explicit paths (CHECK-NO-GAME-DATA-EXPLICIT-PATHS)
2026-11-28 20:35:08 +01:00
e0a0e69891 Merge pull request #1015 from TheGeogeo/fix/wine-timeout-overflow
run_wine_tests: reject overflowing timeouts (WINE-TIMEOUT-OVERFLOW)
2026-11-28 20:34:45 +01:00
ec21061648 Merge pull request #2278 from kirigayakazima/fix/dev-cli-safety
dev: accept argv, guard stdout.reconfigure, and reject whitespace --out
2026-11-28 20:33:27 +01:00
c4664466d1 Merge pull request #1958 from alexandersato0830/codex/guest-scene-output-ownership
Reserve synthetic guest scene output before writing reports (GUEST-SCENE-OUTPUT-OWNERSHIP)
2026-11-28 20:29:43 +01:00
88fb79ab30 Merge pull request #1845 from delysidemanYT1/wine-resource-lock-shape
WINE-RESOURCE-LOCK-SHAPE: Validate CTest resource locks before scheduling Wine tests
2026-11-28 20:29:21 +01:00
fdd9aea47b Merge pull request #1323 from fin-github/codex/draft-139
CI: suppress pass notices when the runner reports no failure names (DRAFT-139)
2026-11-28 20:27:49 +01:00
39b900ad77 tools: read boot timeline states from the configured RVAs
Use the state addresses supplied to the boot script, with command-line overrides for saved logs. Retain #1789's input validation and file-error behavior. Adapt both parser test suites to synthetic addresses.

Original implementation AI-assisted by OpenAI Codex (gpt-6.2-astra).
Upstream reconciliation AI-assisted by OpenAI Codex (GPT-6).
2026-11-29 01:35:29 +10:00
256ea3cf3e Merge pull request #1847 from kirigayakazima/fix/carve-all-safety
scripts/carve_all.ps1: validate dirs, filter -File and publish coverage.json atomically
2026-11-28 16:02:39 +01:00
0ad0325b03 Merge pull request #1964 from lgr123/lgr123/wine-prefix-ownership
Keep Wine runner resources scoped to one prefix owner
2026-11-28 15:49:50 +01:00
4574fe6f5b Merge pull request #1649 from sodove/fix/windows-boot-fault-digest
windows-boot: report Vulkan fault classes in the digest
2026-11-28 15:46:40 +01:00
0aa161d334 Merge pull request #1402 from Okachamie/tests/wine-warm-existing
run_wine_tests: warm an adopted persistent server (TEST-WINE-WARM-EXISTING)
2026-11-28 15:37:51 +01:00
63b0b680ba Merge upstream main into PR #2494 2026-11-28 13:59:12 +00:00
7ce0112058 Merge pull request #1772 from sodove/feat/windows-boot-mapped-image-stack
windows-boot: recover private stacks for manually mapped images
2026-11-28 14:26:09 +01:00