Commit Graph

18350 Commits

Author SHA1 Message Date
8bfd5ada37 Merge pull request #2550 from kirigayakazima/fix/ci-repo-url-rename
make_game, progress_dashboard: update default repository URL to ProjectLeonida/mandy (CI-REPO-URL-RENAME)
2026-11-29 04:36:47 +01:00
b830bd3eb5 Merge pull request #1181 from whoalin1/shader-468-f16-varying
rdna2spirv: f16 interp deltas and toward-zero p2 narrow (SHADER-468)
2026-11-29 04:36:37 +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
68c7943473 Merge pull request #2506 from qhukz13/cont/mesh-serial-compute
rdna2spirv: --mesh-serial-waves under --mesh-compute too (SHADER-W64-MESH-SERIAL-COMPUTE)
2026-11-29 04:36:14 +01:00
371d8556f9 Merge pull request #1528 from kawaii-shakal/input-out-of-the-box
make_game, gameinput: controller, keyboard and mouse input out of the box (INPUT-OUT-OF-THE-BOX)
2026-11-29 04:36:04 +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
3ecd31707f Merge pull request #1788 from IlyassRS3/fix/rt-gpu-label-memory-expand
runtime: preserve in-flight GPU label targets when expanding a non-heap region (RT-GPU-LABEL-MEMORY-EXPAND)
2026-11-29 04:35:16 +01:00
bc12e2ad79 Merge branch 'fg/hudless' into next 2026-11-28 22:33:03 -05:00
1b830e2bc3 Pipeline library: not written while the title runs once it is larger than 256 MB (LEONIDA_LIBRARY_PLAY_SAVE_MB); the end of the run writes it
After each pipeline made while playing (a place first seen) the whole library was serialised again, at most every
20 s, with stores held off meanwhile. At 1.2 GB that froze the game: a frame of 8.9 s while it was written, and the
game ended 8 s later at the next one (run rs2-r1440, 2026-11-28). Larger than the bound, it is now written at the end
of the run only (lifecycle end); the pipelines made meanwhile stay counted, the driver's own cache on disk keeps them,
and the list of pipelines to start early (small) is still written as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:33:03 -05:00
9c2e37fa84 Frame generation: the picture without the interface (kBufferTypeHUDLessColor), copied in front of the title's interface composite
On Series X the title presents one plane with its interface drawn into it, so frame generation had only the
picture with the interface and dragged it along in the generated frames. Before the title's interface composite
(one triangle, one instance of vertex 0602c2384acbb3b2 and pixel a78d088fa55aa495) into a texture it presents, the
plane is copied into one of two textures of ours in the draw's list (one copy a list, the list marked); when that
list is submitted the copy is noted, and the present after it tags the first copy of the presented texture as
kBufferTypeHUDLessColor (eValidUntilPresent, a copy's destination, the plane's size). A present with tags and no
copy removes an older one with a null tag. LEONIDA_FG_HUDLESS (on; 0 off); while frame generation is off (not
started, or the amount at 1) draws ask one atomic and nothing is copied or made. Log lines: "the picture without
the interface" (first copy, first tag, the textures made, and every 300 presents copies, tagged, missing,
overwritten, composites, others).

Ported from trustno1-coder/VIctory-NVIDIA 1d0fa87 (GPL-3.0-or-later): its streamline.rs INTERFACE_COMPOSITE,
before_target_draw, hudless_texture, hudless_submitted, hudless_for and draw.rs before_shown_target. Unlike it, a
copy whose texture of ours a later copy went into before its present is not tagged.

Tested: the new fg::hudless_tests (composite match, the copies' bookkeeping, presented textures, the switch) and
cargo build --profile diag -p leonida --features diagnostics,dlss,mimalloc. Not run in the title yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:26:50 -05:00
6c32c9e530 Presents: the log says when the title's planes change (one plane, or the interface on a plane of its own over the scene)
Series X 1440p presents one plane, 2560x1440 R8G8B8A8_UNORM, with the interface drawn into it (run pl, 2026-11-28):
frame generation cannot be handed the interface from a plane of its own there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:10:53 -05:00
85b87608fa Merge current main and reconcile glb_writer coverage 2026-11-29 11:02:12 +08:00
f0f0c11b28 Merge current main and reconcile glb_inspect coverage 2026-11-29 11:02:08 +08:00
780c383905 Merge current main and reconcile batch_glb coverage 2026-11-29 11:02:03 +08:00
befe3aa137 d3d12_run_fps: an error of argparse's own is rewritten from fixed texts (TOOLS-D3D12-RUN-FPS)
From the review of 016554bef: `--json=<text>` and `--help=<text>` still came
back in the error ("ignored explicit argument '<text>'"). argparse raises
that for a known flag before parse_known_args returns, so counting unknown
arguments could not catch it.

The parser is now a subclass whose error() rewrites every message argparse
raises from a short list of fixed texts, with the option's own name where it
names one: "takes no value", "needs a value", the three texts of the tool's
own argument types, "a log is needed", and "not understood" for anything the
list does not know (another Python's wording, a check argparse gains later).
The tool's own errors go through fail(), unchanged. Nothing typed can reach
an error message by any path.

Test: python -I tests/test_d3d12_run_fps.py (22 tests). New: argparse's own
errors for --json=<marker>, --help=<marker>, bad --edges and --min-samples
values, an unknown flag and a missing log, with plain, quoted and spaced
markers; a message the list does not know; the fixed texts are the argument
types' own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 02:25:07 +00:00
f6cbdb9385 tests: the guid-sites header count allows the GDK JSON the tool also loads (CI-D3D12-GUID-SITES-GDK-COUNT) 2026-11-28 18:24:30 -08:00
c8bf0e7b65 Merge origin/main into next 2026-11-28 21:22:09 -05:00
7fc9f95869 READMEs: the sample mask (OMSetSampleMaskX) followed since 2026-11-28; whether it ends the plant flicker is not confirmed yet
Measured with the merged build at the waterside save: masked pipelines made and used, 28 to 30 refused pipelines as
without it, none for memory, no device removal, nothing broken in the picture (two starts of the branch, one of the
merge).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:22:07 -05:00
2336020880 d3d12: keep pipeline wait budgets from moving backward
Skip waiting when a recording thread arrives with an older frame number. Otherwise the older request can reset the budget and let the newer frame spend it again.
2026-11-28 21:18:47 -05:00
04f484006e Merge pull request #2143 from kevincommits/x64-recomp-qemu-unaligned
x64_recomp: the QEMU harness maps guest RAM as Normal memory, so unaligned accesses work (X64-RECOMP-QEMU-UNALIGNED)
2026-11-29 03:16:40 +01:00
25cf1aa4ec Merge pull request #2250 from kirigayakazima/codex/studio-dds-cube-face
studio: select cube faces for DDS previews and texels
2026-11-29 03:16:26 +01:00
c020105eab Merge branch 'fix/sample-mask' into next 2026-11-28 21:16:13 -05:00
b58f74a956 Merge pull request #651 from kirigayakazima/fix/viewer-chunk-idle-timeout
viewer: reset chunk download deadline while body bytes stream (VIEWER-CHUNK-IDLE-TIMEOUT)
2026-11-29 03:16:02 +01:00
ed72a793f5 Merge pull request #918 from TuroYT/fix/viewer-world-json-read-error
viewer: say the world file could not be read when the body read fails, not that the JSON is invalid (WORLD-JSON-READ-MISREPORTED)
2026-11-29 03:15:49 +01:00
21bdf6b60d Merge pull request #1138 from Okachamie/studio-model-load-progress
viewer: keep the loading bar visible for the current model
2026-11-29 03:15:35 +01:00
ce8afe3c2a Merge pull request #1490 from xel1uz/fix/studio-reset-camera
studio: reset the camera to the current model's fitted view
2026-11-29 03:15:21 +01:00
035abbc54a psin_dialogue: put the tools directory on sys.path before importing psin_data (CI-PSIN-DIALOGUE-SIBLING-PATH) 2026-11-28 18:15:18 -08:00
b44eece29e Merge pull request #2100 from Saauf/studio-failed-load-selection
studio: go back to the shown model's row when a download fails (STUDIO-FAILED-LOAD-SELECTION)
2026-11-29 03:15:08 +01:00
02944d4ca1 Merge pull request #850 from c4k3ss/shader/addr-no-int64
rdna2spirv: 64-bit buffer addresses without Int64, so shaders run without shaderInt64 (SHADER-423)
2026-11-29 03:10:23 +01:00
791899f652 Merge origin/main into next 2026-11-28 20:57:49 -05:00
89b8a57022 Launcher: the decals' tile classification (1f1fbd86759b3da2) in the paired form too: 2.3-2.9 ms of the frame
The paired form (a host thread runs two console lanes, no group barriers) takes that program from 2.9 ms to 0.03 in
the timing runs, and leaving it out in turns took 2.3 ms off the frame. It waited for a comparison with projected
decals in view. At the waterside save the decals in view are the player's (grime on the arms and the shirt): left
out by turns in one still view they go (run ds). In a start with the paired form they are there as in a start
without it, nothing blocky, and the standard moves of each start show the same 6 one-frame blips (runs pf0, pf1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:57:34 -05:00
268e7f0298 Merge pull request #2470 from Tyrannys/rt-title-writeback-same-page-ranges
d3d12: every title write-back range on one guarded page goes back (RT-TITLE-WRITEBACK-SAME-PAGE-RANGES)
2026-11-29 02:55:43 +01:00
257191b8bb tests: compare the shell's known folders with the ones that exist (TEST-WINDOWS-KNOWN-FOLDERS)
The real-Windows check only asserted that known_folders() returned at most
three paths, so an empty or shortened result passed. Without
KF_FLAG_DONT_VERIFY the shell reports a known folder only where it exists,
so the expected result is the unverified paths (KF_FLAG_DONT_VERIFY) that
are directories, in KNOWN_FOLDERS order. A machine with a missing folder
still passes, and a known_folders() that drops an existing folder fails.
2026-11-29 02:52:27 +01:00
0807f9cbac Sample mask: draws under OMSetSampleMaskX discard the pixels it leaves out
GTA fades between an object's levels of detail with OMSetSampleMaskX
(newer list slot 142, 0x470): the two levels draw with complementary
2x2 quad masks. The slot was ignored, so both levels drew every pixel;
expected to be the plants and trees that flicker (not confirmed in a
run yet).

A second translation of the pixel program (with_pixel_mask) discards
at entry each pixel whose quad bit is clear in a root-constant dword
the host sets (USER_PIXEL_MASK, 0x10a) and drops the early depth test.
A draw under a mask that leaves pixels out takes its pipeline's masked
twin, made on first use by a worker (the title's pipeline draws every
pixel meanwhile); every other draw is unchanged. LEONIDA_SAMPLE_MASK=0
ignores the slot as before.

From trustno1-coder/VIctory-NVIDIA 0938dd9 (GPL-3.0-or-later), adapted:
- a pixel program without SV_Position reads the one it is given from
  the row the vertex or mesh program writes it in. The fork puts it
  after the program's other inputs, and the host refuses to link that
  where the vertex program writes the position first (E_INVALIDARG on
  an RTX 4060 Ti; a test now draws both layouts);
- the twin keeps the title shader's hash (skip lists, sampler scopes
  and bake detection take it for that shader), and follows the bound
  target formats as the title's pipeline does;
- the masked form has shader-cache keys of its own, one per position
  row; plain translations keep theirs.

Tests (leonida-shader, on the card and on WARP where a device is
needed): a_pixel_mask_draws_only_its_pixels_of_each_quad,
a_masked_pixel_program_reads_the_position_where_the_vertex_program_writes_it,
a_masked_pixel_program_reads_the_mask_and_loses_early_depth,
the_sample_mask_keeps_pixels_by_their_place_in_the_quad; (leonida-gpu)
the_sample_mask_reaches_the_masked_pixel_shader,
the_masked_form_never_shares_a_key_with_the_plain_one,
the_sample_mask_is_slot_142_of_newer_lists_and_has_a_switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:51:36 -05:00
59e65849b0 Merge pull request #446 from bobcatchris/saves-blob-name
SAVE-DATA-BLOB: import save payloads under the title's blob name
2026-11-29 02:37:02 +01:00
0efc2bd43d Merge pull request #487 from kotekompotek/work/d3d12-guid-sites-gdk-json
d3d12_guid_sites: load known GDK runtime GUIDs from gdk_runtime_class…
2026-11-29 02:36:43 +01:00
204bfbbd11 Merge pull request #498 from bobcatchris/boot-render-diagnostics
BOOT-RENDER-DIAG: summarize render evidence in boot traces
2026-11-29 02:36:30 +01:00
23c4ca006c Merge pull request #917 from TuroYT/fix/ps-oracle-unavailable-exit
ps_oracle: exit 77 when the oracle becomes unavailable during run() (PS-ORACLE-UNAVAILABLE-EXIT)
2026-11-29 02:36:09 +01:00
a908ad77e2 Merge pull request #921 from narekshaghoyandev/ubiq-gamedata-xml-atomic-and-order
gamedata_xml: write CSV/JSON reports atomically and sort walk subdirs
2026-11-29 02:35:55 +01:00
ecb0a4a496 Merge pull request #949 from barkodr/fix/numpy-missing-message
swizzle_search, tex_mode_probe: say numpy is missing in one line, as tile_probe does
2026-11-29 02:35:37 +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
583882ea2f Merge pull request #1436 from Anonymous78e/tools/pe-inspect-shared-report-path
pe_inspect: ask report_paths for the report-path guard (PE-INSPECT-SHARED-REPORT-PATH)
2026-11-29 02:31:54 +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
bf574cf31a docs: links and the clone line follow the README rewrite (CI-README-REWRITE-LINKS) 2026-11-28 17:31:06 -08:00
ad58c98963 tests: the ps1 parameter parser keeps a parameter whose attribute has an equals sign (CI-DOCS-PS1-PARAM-ATTRIBUTE) 2026-11-28 17:31:06 -08:00
2c9a491d59 runtime: cs_imgatomic_ext uses the volume T# words vk_store_test expects (CI-IMGATOMIC-EXT-VOLUME-TAG)
Based on work by @PierreEbele in ProjectLeonida/mandy#1518.

Co-authored-by: PierreEbele <127682386+PierreEbele@users.noreply.github.com>
2026-11-28 17:31:06 -08:00
1d582d5c8b runtime: vk_bindless_dimensions skips a device whose sized arrays hold fewer than its live images (CI-BINDLESS-DIMENSIONS-SMALL-DEVICE) 2026-11-28 17:31:05 -08:00
a5314101cc runtime: xs_proxy_mock times the list-value gate with steady_clock (CI-XS-PROXY-TICK-CLOCK) 2026-11-28 17:31:05 -08:00