Commit Graph

1062 Commits

Author SHA1 Message Date
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
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
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
255924131a Merge pull request #1942 from d6ge-dev/fix/posix-python-discovery
Launchers: discover versioned Python (SHELL-LAUNCHERS-PYTHON315)
2026-11-28 14:24:45 +01:00
20a4e5d891 Merge pull request #888 from narekshaghoyandev/ubiq-audit-shader4-regs-psv0-stagemap-and-atomic-json
OLD-7883: audit_shader4_regs: harden stage map loading, bound PSV0 reads, and write JSON atomically
2026-11-28 14:07:10 +01:00
e9bf75408a Merge pull request #2531 from cweohme/stdout-guard-remaining
tools/scripts: set errors=replace on stdout in the eight remaining programs (TOOL-STDOUT-GUARD-REMAINING)
2026-11-28 14:03:09 +01:00
c9f097eb50 Merge pull request #2419 from ProjectLeonida/fix/cvt-f16-denorm-and-clamp
rdna2spirv: preserve f16 denormals, NaN payloads, and bit-exact clamp in conversions (SHADER-CVT-F16-DENORM-AND-MODS)
2026-11-28 12:54:01 +01:00
87f12b9dcc Merge pull request #1587 from exoticLgk/fix-exp-f32-denorm
rdna2spirv: flush v_exp_f32 denormal results (SHADER-EXP-F32-DENORM)
2026-11-28 12:52:59 +01:00
11df2b0069 Merge pull request #1112 from klikso/carry/shader-f64-omods
rdna2spirv: the binary64 VALU ops take clamp and nothing else from their omod (SHADER-F64-OMODS-CARRY)
2026-11-28 12:52:22 +01:00
79babba6fa Merge pull request #1767 from kirigayakazima/fix/vs-input-survey-safe-paths-and-atomic-json
vs_input_survey: validate index.json filenames, accept UTF-8 BOM, guard inputs, and publish --json atomically (VS-INPUT-SURVEY-SAFE-PATHS-AND-ATOMIC-JSON)
2026-11-28 12:44:35 +01:00
b1d5d1a30b Merge pull request #1610 from IlyassRS3/fix/check-apt-key-parsing-and-guards
check_apt_key: reject extra pub without fpr, secret keys, option injection, and unnormalized expected (CHECK-APT-KEY-PARSING-AND-GUARDS)
2026-11-28 11:37:19 +01:00
6470e5cab2 Merge pull request #1607 from IlyassRS3/fix/shader-stats-validation-and-cli
shader_stats: reject traversal shader names, support UTF-8 BOM, and harden CLI/number guards (SHADER-STATS-VALIDATION-AND-CLI)
2026-11-28 11:36:20 +01:00
3e9c4778f7 Merge pull request #1484 from kawaii-shakal/build-fallback-sandbox-user32
build_runtime: link user32 into vk_sandbox in the cl.exe fallback (BUILD-FALLBACK-SANDBOX-USER32)
2026-11-28 11:20:39 +01:00
89ee135fec Merge pull request #999 from TheGeogeo/fix/wine-duplicate-test-names
run_wine_tests: retain all results for duplicate names (WINE-DUPLICATE-TEST-NAMES)
2026-11-28 09:05:28 +01:00
c74ac8a4bb Merge pull request #2197 from EdenBendheim/ubiq/merge-check-blob-comparison
merge_check: distinguish legacy-encoded lines before reporting duplicates
2026-11-28 09:04:44 +01:00
ca0827cdc2 Merge pull request #2026 from alexandersato0830/codex/gpu-runner-replay-no-cases
Reject GPU disassembly replays with no runnable tests (GPU-RUNNER-REPLAY-NO-CASES)
2026-11-28 09:04:32 +01:00
20264ffa0a Merge pull request #1978 from vinceychu/fix/run-gpu-tests-versioned-llvm-mc
run_gpu_tests: find a versioned llvm-mc when --llvm-mc and LLVM_MC are unset (TEST-RUN-GPU-TESTS-VERSIONED-LLVM-MC)
2026-11-28 09:04:22 +01:00
f7ea55c194 Merge pull request #1899 from XeNS1/codex/check-no-game-data-v7-tar-20261125
check_no_game_data: inspect legacy V7 tar archives
2026-11-28 09:04:00 +01:00
73a5f3b102 Merge pull request #1770 from potatoe0100/carry/old-9776
OLD-9776: scripts: measure the translator (us per instruction) and compare two tools/ trees
2026-11-28 09:03:48 +01:00
8509d368b1 Merge pull request #1333 from delysidemanYT1/gpu-runner-probe-json
GPU-RUNNER-PROBE-JSON: Treat valid JSON that is not an object as an u…
2026-11-28 09:03:12 +01:00
7734dc8e45 Merge pull request #1310 from delysidemanYT1/gpu-runner-output-decode
GPU-RUNNER-OUTPUT-DECODE: keep diagnostics with undecodable bytes
2026-11-28 09:03:01 +01:00
17eb749473 Merge pull request #705 from abnalstlll-byte/feat/dx07-smoke-suite
tools: provide one-command synthetic source-only smoke suite (DX-07)
2026-11-28 09:02:05 +01:00
77d7d4ebb8 Merge pull request #1051 from shwepz/semantic-runner-exit-code
run_semantic_tests: name a failed module's exit code, and a crash that printed nothing (SEMANTIC-RUNNER-EXIT-CODE)
2026-11-28 09:01:53 +01:00
4314c1f33d Merge pull request #2071 from alexandersato0830/codex/semantic-runner-windows-child-cancel
Cancel Windows semantic test subprocess trees (SEMANTIC-RUNNER-WINDOWS-CHILD-CANCEL)
2026-11-28 09:01:36 +01:00
7e4093c9e8 Merge pull request #1437 from titoreinaldo/fix/semantic-runner-completion
Fail semantic runs that exit without a trustworthy result (SEMANTIC-RUNNER-COMPLETION)
2026-11-28 09:01:24 +01:00
553e794367 Merge pull request #1207 from robot00f/docs/history-manifest
history: a portable, hashed manifest of the old-pr tips and the old issue index (#563)
2026-11-28 08:46:56 +01:00
8bde3ce193 run_semantic_tests: call only known crash statuses a crash (review on #1051)
describe_exit labeled every code >= 0xC0000000 "the process crashed", but a
process can exit with any 32-bit value on purpose, so the range alone doesn't
show a crash. Only the NTSTATUS values in NTSTATUS_CRASHES (access violation,
illegal instruction, out of memory, stack overflow, heap corruption, fail
fast) get the crash label now. Ctrl+C (0xC000013A) is still named but not
called a crash, and any other value is just "exit code 0x...".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:17:11 +07:00
fd213dfe10 run_semantic_tests: name a failed module's exit code, and a crash that printed nothing (SEMANTIC-RUNNER-EXIT-CODE)
A failed module was printed as "==== FAILED: <name>" and its output, never its
exit code. A module whose interpreter crashes prints nothing, so it left a bare
header with nothing under it, and the run gave no clue why it failed.

The header now carries the exit code: "exit code 1" for a test failure, the
signal for a POSIX kill ("killed by SIGSEGV (-11)"), and the hexadecimal
NTSTATUS with its meaning for a Windows crash ("exit code 0xC0000005, access
violation (the process crashed)"). A module that printed nothing also gets a
"(no output: the process ended before printing anything)" line.

Only the FAILED print in main() changes; run_module is untouched.

Tests (tests/test_run_semantic_tests.py): the header of a plain failure, a
module that really crashes (SIGSEGV on POSIX, exit code 0xC0000005 on
Windows) and describe_exit itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:17:10 +07:00
635bab171f tools/scripts: the eight remaining __main__ blocks set errors=replace on stdout
test_tool_stdout_encoding fails on main: leonida_launcher, ps_prompt_glyphs,
victory_saves, volume_stats, world_hotspots, fetch_vkd3d_proton, port_ctl and
sync_victory still print paths a Windows ANSI code page cannot encode, and die
with UnicodeEncodeError when stdout is redirected under python -I. Add the
same one-line guard the other programs already have (exe_sha.py, #605).

Tested: test_tool_stdout_encoding (4 tests), test_tool_startup,
test_victory_saves, compileall, run_semantic_tests (6397 tests, 0 failed).
AI-assisted: yes (Qwen Code).
2026-11-28 03:49:04 +03:00
13127c76db Fail semantic runs without a completed unittest verdict
Retain process tracking and interrupt/timeout handling from main.
2026-11-27 23:41:32 +00:00
d442851972 Merge remote-tracking branch 'mandy/main' into merge/mandy-main 2026-11-27 17:58:49 -05:00
b87abdef57 Merge mandy's main into port/d3d12-nvidia
Brings the D3D12 runtime branch (d3d12/, its launcher scripts and notes, and the pull requests reviewed and applied
on it) together with mandy's main.

Conflicts (67 files, none under d3d12/): docs/, make_game.py, runtime/, scripts/build_runtime.ps1, tests/ and
tools/. Every one takes main's side: main is where that code is maintained, and this branch's copies were older
states of the same files or the same pull requests in another form. tests/test_fspx_unpack.py is main's too, as it
tests main's tools/fspx_unpack.py. Nothing under d3d12/ is changed by the merge.

Checked before pushing: python -m compileall over make_game.py, tools and tests; make_game.py --help;
scripts/check_no_game_data.py over the files this adds to main; tests/test_text_write_line_endings.py. The
translator suite, the C++ runtime build and CI have not run on the result.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:50:37 -05:00
3e4d890c56 Merge pull request #2435 from quartz-heron-58/mesh-serial-waves
rdna2spirv: --mesh-serial-waves, an emulated mesh program's waves one after the other (SHADER-W64-MESH-SERIAL-WAVES)
2026-11-27 23:50:27 +01:00
39f52f39c4 Merge pull request #2481 from enlight3d/boot-precompiled-journal
windows-boot: read the precompiled journal beside gta6rt.exe as the boot's seed (BOOT-PRECOMPILED-JOURNAL)
2026-11-27 17:47:31 -03:00
ac114f163a Merge pull request #2453 from Tyrannys/test-gpu-oob-harness-msg
GPU tests: give cs_pk_mul_lo_const its 128 words, keep the exit message of a dump row (TEST-GPU-OOB-AND-HARNESS-MSG)
2026-11-27 17:47:23 -03:00
43a9d562d3 Merge pull request #2193 from EdenBendheim/ubiq/ci-check-parallel-stdlib
Verified the Windows check with Python 3.12: 509 standalone files passed with two workers. The seven changed or runner-related files passed on updated main. The .NET 8 build and diagnostics and the native BCPack checks passed with the prerequisite fixes, including #1771. CPU-only, AI-assisted testing.
2026-11-27 14:56:46 -03:00
2893fae21c windows-boot: compare the boot's journal and the seed by Windows' final paths (BOOT-PRECOMPILED-JOURNAL)
The seed was kept when LEONIDA_PIPELINE_CACHE_DIR named the precompiled folder under another spelling (a
junction, or the \\.\ device prefix), although the runtime's std::filesystem checks see one folder and turn
the journal off. Ask Windows for each folder's final path (GetFinalPathNameByHandle, from the deepest
existing parent), which sees through junctions, symbolic links, substituted and mapped drives, 8.3 names and
the \\?\ and \\.\ prefixes; the spelled paths remain the fallback when the helper is not available.
Reported by TheGeogeo's agent (repro on #2481); the approach was suggested by OreoFR's agent. The test file
gains the \\.\ and junction cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:50:56 +01:00
0fa2b4fc4f Merge branch 'feat/presentation' into port/d3d12-nvidia 2026-11-27 12:16:18 -05:00
701cc74966 Launcher and F1 menu: -Dlss, -FrameGen, -Aspect, -PresentScale, -DryRun
scripts\play-d3d12.ps1 and d3d12\scripts\play-nvidia.ps1:
  -Dlss quality|balanced|performance|ultra   DLSS makes the output from 2/3,
                0.6, 1/2 or 1/3 of its lines (Series X: 1440, 1296, 1080, 720)
  -FrameGen 2..6   DLSS frame generation
  -Aspect 21:9|32:9|W:H|auto, -PresentScale fit|stretch   the window's shape
  -DryRun       the settings a start would run with, and nothing started
With none of them a start sets what it set before (Series X: 1440 lines and
the title's own upscaler).

On Series X the launcher puts the pieces together after the F1 menu's saved
choices are read: DLSS or the stretch there means LEONIDA_FSR_UPSCALER=1 and no
LEONIDA_OWN_UPSCALER, with render scale 2/3 unless one is set; frame generation
there turns DLSS on (or is left off without DLSS's files), since its depth and
motion vectors come from that upscale. A menu choice of DLSS without the files
falls back to the title's own upscaler on Series X.

F1 menu: RENDER SCALE names the DLSS modes, UPSCALER's last value is the
game's own on either console, and WINDOW SHAPE and PICTURE IN ANOTHER SHAPE
(live) are new.

The script's own $dlss is now $dlssOn: PowerShell does not tell it from the
-Dlss parameter. Checked with -DryRun over the parameter and menu
combinations; not run in the game.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 12:12:38 -05:00
f0e451db06 Launcher: Smooth Motion back to opt-in (the one default start ended in the title's breakpoint)
leonida_sm.exe started by default ended 2.4 s in with 0x80000003 from the title's main loop; the
next start, of leonida.exe, ran. One start each: not looked into yet, so it is not the default.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 12:10:49 -05:00
d62bf5a0a9 Launcher: Smooth Motion by default (-NoSmoothMotion: only rendered frames)
The user's call (2026-11-27): generated frames to play with while the rendered rate is under 30.
The driver's profile for leonida_sm.exe was on already; the launcher now starts that copy unless
-NoSmoothMotion is given (measurements are made with it). The rendered rate is what the window
title and the log give.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 11:40:28 -05:00