Commit Graph

5744 Commits

Author SHA1 Message Date
db333b7fa7 Merge PR #9606 2026-11-23 17:09:03 -05:00
5af8d96693 Merge PR #9603 2026-11-23 17:08:58 -05:00
5125a01f03 Remove pc_checker.py and point to web checker
Removes tools/pc_checker.py and its test, and updates README and
docs/testing.md to link to https://assttro.github.io/can-i-run-leonida/
as a lightweight browser-based alternative.

Closes #9711
2026-11-23 23:08:43 +01:00
508fde4118 Merge PR #9592 2026-11-23 17:08:41 -05:00
bca17fcf82 Merge PR #9590 2026-11-23 17:08:37 -05:00
d0c05fbd6a Merge PR #9584 2026-11-23 17:08:28 -05:00
2cc21a6521 docs: the retail boot on an Intel host with 16 GB, measured (RT-5)
A measurement page in its own file: which stops of docs/retail_boot_chain.md and of #8554's ladder hold on an Intel CPU
with #7111's emulation, the stop that is specific to a 16 GB host (the 6.1 GiB physical-page request against the commit
limit, cleared by #7556), the frame loop to the 900 s timeout with stub pipelines, and what the layer refuses at that
depth, including the console mesh-shader stream subobject. Counts and slot numbers only; no addresses. Plus the
docs/README.md row.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GDgoLP2cV47KaCDkbmckob
2026-11-23 23:08:14 +01:00
6e9a5463e2 Merge PR #9574 2026-11-23 17:08:10 -05:00
98d99cfca0 Merge PR #9570 2026-11-23 17:08:03 -05:00
ca9f9856bb Merge PR #9569 2026-11-23 17:08:01 -05:00
ad6e5d6bbe gta6rt: --init/--run stop with a clear message on a host without AVX
The game runs AVX code from its TLS callbacks on, so a CPU or OS without
AVX (a QEMU qemu64 guest) died with a bare 0xC000001D. Check CPUID.1
AVX/OSXSAVE and XCR0 YMM state first, print one line and exit 4 (3 is
LEONIDA_UNIMPLEMENTED=stop). --dry-run is unchanged and
LEONIDA_SKIP_CPU_CHECK=1 skips the check.

AI-assisted.
2026-11-23 23:07:51 +01:00
813b8ed6ee Merge PR #9560 2026-11-23 17:07:36 -05:00
2be1e08271 Merge PR #9549 2026-11-23 17:07:14 -05:00
a30edd1ad5 Merge PR #9538 2026-11-23 17:06:58 -05:00
3d1387b3b9 Merge PR #9531 2026-11-23 17:06:48 -05:00
1c4026d554 Merge PR #9527 2026-11-23 17:06:41 -05:00
2004b2c1df Merge PR #9517 2026-11-23 17:06:29 -05:00
b8956e4f3b tests: execute a mesh shader's exp prim and GS_ALLOC_REQ translation in the interpreter
fixtures/ms_prim_export.asm (72 threads, two wave64 waves) runs as a mesh shader and with --mesh-compute: m0 = prims << 12 | verts gives the counts, the three 9-bit index fields exclude the edge flags, bit 31 sets CullPrimitiveEXT, and threads at or past a count write nothing. spirv_mini_interp learns OpSetMeshOutputsEXT, struct zero values, aggregate outputs and OpAtomicStore.
2026-11-24 01:06:22 +03:00
e0c51b8aa5 Merge PR #9501 2026-11-23 17:06:04 -05:00
8dd1b1d5ed Merge PR #9500 2026-11-23 17:06:02 -05:00
9c2dc0a26c Merge PR #9499 2026-11-23 17:06:01 -05:00
51ccd2f1c5 Merge PR #9496 2026-11-23 17:05:56 -05:00
fa08c64f0d docs/gpu_test_results: record the AMD RX 9070 XT on Windows 11
A native-Windows AMD RDNA4 point next to the RX 9070 GRE and RTX 4060 entries: run_gpu_tests.py on main at 5d74c2723 built with MSVC gives 224/241 passed, 16 skipped, 1 failed (ms_wave_info_s3) native and 225/241 passed, 0 failed under LEONIDA_W64_EMULATE=1. The failure is deterministic natively (3 of 3 isolated reruns) and flaky emulated (1 of 3), on the AMD proprietary driver, so it is neither RADV- nor shader-cache-specific.
2026-11-23 22:05:22 +00:00
09c5359161 Update gpu_test_results.md
docs: add RX 7900 GRE (RDNA3, Windows) GPU test results
2026-11-24 00:03:40 +02:00
bd8be62577 Merge own/main into own/mangrove
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:54:28 +00:00
bef7488733 Merge #3976 into own/slot67
regen_fixtures finds its sources by marker on main, so the two ds_append
sources carry the marker instead of a SHADERS entry. ds_append and
ds_consume join wave64_emulate_opt's always-barrier ops (autogenes-sudo's
fix on #3976): under --wave64-emulate they exchange through a barrier
round, and a guarded one in a multi-wave group hit the translator's assert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:49:07 +00:00
88797f3ebd d3d12: LEONIDA_CAPTURE writes the presented frames to disk
A question that keeps coming back on the boot path is "what is actually on screen", and the window is not a reliable
answer: under Wine it is not mapped at all, and even on Windows a compositor or a capture-blocked surface can hide
the content. The presenter already copies every presented frame into a staging buffer when capture is enabled, so
this adds the disk side: `LEONIDA_CAPTURE=<dir>` writes each captured frame as a binary PPM and appends the extent
and the mean RGB to `<dir>/index.txt`, with `LEONIDA_CAPTURE_EVERY` and `LEONIDA_CAPTURE_LIMIT` bounding the run.

Off unless set, and created with the folder if it is missing. The write happens on the fence that already covers the
copy, so the present path is untouched.

d3d12_present_test turns it on and checks the files against the colour the test clears to: at least half the captured
frames (it resizes and injects failures on purpose, so a frame caught mid-transition is a near miss), and no frame
black. A capture that reads the wrong or a stale buffer fails there instead of in a report months later.
2026-11-24 00:48:42 +03:00
2462d9cfb8 Merge #8526 into own/slot67
# Conflicts:
#	docs/design.md
2026-11-23 21:48:26 +00:00
d3f8e51b78 Merge #8448 into own/slot67 2026-11-23 21:48:01 +00:00
d4554644c7 Merge #7864 (exe/audio-init-fatal) 2026-11-23 21:45:36 +00:00
f09afa4dee Merge #7010 (exe/import-fail-fast) 2026-11-23 21:45:35 +00:00
239002fb0a Merge #6443 (fuzz/f64-ldexp-cvt) 2026-11-23 21:45:35 +00:00
3bf208f9f5 Merge #6207 (fuzz/salu-cmov-movrels) 2026-11-23 21:45:35 +00:00
87ce00625c Merge #5561 (fix/fmisc-omod-snan) 2026-11-23 21:45:35 +00:00
bba85a0ec4 Merge #5479 (fuzz/mode-diff)
# Conflicts:
#	docs/design.md
2026-11-23 21:45:35 +00:00
92dc0a9ce1 Merge #5310 (fix/ldexp-f16-mode-rtz) 2026-11-23 21:45:18 +00:00
e034ce24d7 Merge #5231 (fix/fma-exact-sticky) 2026-11-23 21:45:18 +00:00
e49139b7ee Merge #5168 (fuzz/vrel-diff)
# Conflicts:
#	docs/shader_validation.md
2026-11-23 21:45:18 +00:00
3fede91c3f Merge #5029 (fuzz/f16misc-diff) 2026-11-23 21:45:02 +00:00
f447410b49 Merge #5012 (fuzz/wint-clamp) 2026-11-23 21:45:02 +00:00
93de6401c8 Merge #4908 (fuzz/vint-clamp-b64) 2026-11-23 21:45:02 +00:00
6061deb13d Merge #4795 (fuzz/cvt-diff) 2026-11-23 21:45:01 +00:00
8d46480ae2 Merge #4717 (fuzz/dot-diff) 2026-11-23 21:45:01 +00:00
f1d006bdbd Merge #4025 (test/877b-shader-programs-validation) 2026-11-23 21:45:01 +00:00
c22ae8b35a docs(i18n/fr): clearer wording for when pipelines starts (review suggestion from SalemTheProgrammer) 2026-11-23 22:41:27 +01:00
6cbcf3c6e0 fix(docs,tools): fix markdown links and pin newline='\n' in text writers 2026-11-23 23:38:26 +02:00
34406f5cdf wave64_halves: an aggregated (elected) atomic needs a wave-uniform address
Only the elected lane runs the atomic, at its own address. Each 32-lane half
elects its own lane, so with a per-lane address (an untainted pixel coordinate
too) the halves bump different counters and their slots collide:
ps_w64_b_ballot_atomic with the counter offset from y gives {0: 16} for the
wave and {0: 8, 4: 8} with 8 lost slot words for the halves, yet was tier B.
Accept the elected atomic only when each address VGPR is uniform, or was
written by the elected lane from scalars and constants since EXEC last
changed; otherwise tier C elected-lane.
2026-11-23 18:37:51 -03:00
0389f715e1 docs/design: drop contradictory resinfo sentence and prune superseded Unverified item 2026-11-23 15:37:41 -06:00
07e818b406 docs/exe_fail_fast.md: XMemVirtualAlloc takes the 2 MiB page mode since #6919
The row still said the shim refuses it. main reserves it 2 MiB-aligned through VirtualAlloc2 and refuses it
only without the placeholder API; the placeholder calls (0x4000, 0x40000) are made as windows too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:37:02 +00:00
5d17841407 import_fail_fast: the counts are heuristic, not a lower bound
Straight-line reading misses sites, and a stray call byte pair can add a false one, so the count can be off in
both directions (review on #7010).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:36:00 +00:00