You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Coordinating who works on what (continued from #14) #1608
Continuation of #14, which has reached GitHub's 2,500-comment cap. The previous thread contains the existing claims, findings, and open-work table. Check those records and the open pull requests before claiming anything.
Claim: comment claiming: <ID> before starting work. Use the existing ID if there is one, or give a short description for an unlisted item. Put the ID or a link to the claim in the pull request.
Finding: comment finding: <one line> with the file and line, why it matters, and what is needed to reproduce it.
Done: comment done: <ID> -> #<PR> when the pull request is open.
The same contribution rules apply. Existing claims in #14 still stand. If a claim was posted in a separate issue while #14 was capped, link it here so contributors can find it.
claiming: RT-WINDOWS-BOOT-SCRATCH-CWD -- I will handle the driver-dump part of #1552 by moving boot.ps1 child launches to a per-run working directory under -OutDir and protecting against accidental staging of a root-level ucode.elf from direct launches. Will verify relative launch paths with synthetic inputs. AI-assisted.
claiming: RT-FIRST-RUN-PAD-FOCUS - gta6rt --first-run-ui defaults LEONIDA_KEYBOARD_PAD=always (runtime/src/main.cpp, configure_first_run_ui), so keys typed into other windows reach the title's consent pages (hazard 1 of #1552). Default it to the focused mode 1; scripted presses still run unfocused. Check in tiny_game / run_tiny_first_run_ui. Does not touch boot.ps1 (#1609, RT-KEYBOARD-PAD-SCRIPT) or the shim default (#1528). AI-assisted.
done: TEST-TEMPDIR-STRIPPED-ENV -> #1600 (the done: line for this item was started on #14 but blocked by the 2,500-comment cap; completing it here as promised — #1600 (comment) ).
One testfiles::temp_dir() entry in runtime/test/test_temp_dir.h (LEONIDA_TEST_DIR, else cwd when the temp environment is stripped, else the standard temp resolution); 45 test files + the tiny_game fixture rerouted from direct GetTempPath/temp_directory_path; capture_stderr now checks _sopen_s; and the one runtime-source fallback the enumeration forced (tls_host_clone_dir in pe_loader.cpp, for the loader_tls tests), called out in the PR. Windows VM verification: stripped env — previously-crashing d3d12 tests exit 77 gracefully now, file_system_test 505 checks 0 failures, loader_test 95/0, no 0xc0000409 anywhere; normal env identical; LEONIDA_TEST_DIR honored under a fully stripped env (the scratch folder was captured mid-run inside it). Rebased over main's D3D-448 mesh changes. The finding is @whoalin1's (#14, 02:37:44Z). AI-assisted.
finding: 344 pipeline-library graphics programs still need exact translations (325 PS, 18 MS, 1 VS).
The full #1592 census of 18,837 identified programs produced 18,493 validated modules in both native wave64 and wave64 emulation. The remaining translation diagnostics include v_interp_p2_f16 fields lost in LLVM text, DPP on v_cmpx, s_getpc_b64 destinations and missing interface containers. The raw-code route has no module for those programs. A stage whose record names a valid DXBC container can still use #497.
Where: tools/rdna2spirv.py at lines 17796, 7321, 10438 and 17322 on c7e82e2. Reproduce with a local 1.0.2.1 package and the normal shaders build in #1592, then compare the extracted stage list with spirv/fspx_gfx/index.json. Counting or reproducing a translation refusal needs LLVM and SPIR-V Tools and runs on the CPU. Small hand-written fixtures are suitable for rule development. Aggregate results only.
claiming: RT-TITLE-WINDOW-OVERFLOW - from #1537: when LEONIDA_TITLE_WINDOWS_MB is used up or the arena is full, DeviceState::resolve_title_memory (runtime/shims/d3d12_vulkan_device.cpp) gives the GPU the title's raw VA, and one read of it loses the device. Point such an address at a zero-filled scratch window in the arena (reserved with the first window) instead, so the cost is a wrong frame, not the device. The default cap stays as it is. Test: a cap-0 mode in d3d12_title_va_test. No game files. AI-assisted.
claiming: GPU-JOEY54-WINDOWS-5090-9950X3D — independent synthetic GPU baseline on Windows 11
I will run the documented synthetic GPU suite on my desktop RTX 5090 (10DE:2B85, NVIDIA 621.24), then add a separate Ryzen 9 9950X3D integrated Radeon row (1002:13C0, AMD 26.11.2 / Windows driver 32.0.21045.29003). Windows 11 Pro 26H2 build 26300.9974; Vulkan SDK 1.4.363.1. Device identity and versions will be rechecked when executing.
Scope: pin an exact current-main revision, follow docs/testing.md, explicitly verify the selected GPU, record tool versions/subgroup support and the actual pass/fail/skip counts and reasons, and distinguish the documented native and wave64-emulated profiles where applicable. Submit a focused results PR under gpu-test-results/; investigate unexpected failures against known issues before proposing a separate implementation change. No success or completion is claimed yet.
This is independent Windows desktop coverage, separate from the RTX 5090 Laptop Linux report in #784 and the existing corpus/pipeline investigations such as #584. It does not take ownership of existing translator/runtime fixes or other contributors' claims.
Only repository-provided synthetic fixtures; no game files, game-derived shaders/logs, keys, or protection workarounds. New isolated workspace; existing backups remain untouched. My completed FrameLab handoff/FG checks are separate evidence, not Leonida suite results.
AI-assisted: Codex will assist with setup, execution, evidence review and the report.
claiming: TEST-JOEY54-PR1600-WINDOWS-GPU — independent validation of #1600 on Windows 11, RTX 5090 and integrated Radeon: normal vs stripped child-process temp environment and explicit LEONIDA_TEST_DIR; record actual GPU passes/skips and regressions.
claiming: TEST-JOEY54-PR1612-FOCUS — independent synthetic tiny_game / first-run profile validation of #1612, including the explicit override negative control; distinguish automated profile checks from any interactive focus behavior actually verified.
claiming: TEST-JOEY54-PR1609-SCRATCH — independent synthetic-child validation of #1609: output isolation, paths with spaces, relative inputs, and DryRun behavior.
These are supplemental testing scopes only; the original authors retain ownership of all three implementations. I will pin and report each tested PR head separately, use isolated directories and synthetic inputs only, preserve existing backups, and report blockers and pass/fail/skip honestly. No game files or production implementation edits. AI-assisted: Codex. Starting these focused checks now; the previously claimed broad GPU baseline remains a separate task.
claiming: TEST-DEVICE-FILTER-TOOLS-WINE - on Linux the vk_device_filter_tools ctest entry of the Windows cross build starts the PE harnesses vk_descriptor_bench.exe and vk_sandbox.exe directly, so it always dies with OSError: [Errno 8] Exec format error and the TEST-1141 LEONIDA_VK_DEVICE refusal is never checked under Wine. Fix in runtime/test/check_device_filter_tools.py (run a PE through the suite's wine, skip with 77 when there is none) plus tests/test_check_device_filter_tools.py. No game files needed. AI-assisted.
claiming: RT-PROTON-3070TI-VALIDATION (continuation of the existing #14 test/triage claim, #14 (comment)). Comparing preserved pre-merge #984 baseline ac7c344 with clean current main pinned at 42537e7, which includes #984, #968 plus CPU-view mapping, #939, and the silent audio endpoint work. Independent RTX 3070 Ti 8 GiB / Linux Wine 11.22 / NVIDIA 620.73.04 validation; not claiming ownership of any existing runtime implementations.
Separate worktree and private generated corpus/profile; rebuilds and synthetic tests precede retail probing. Offline network namespace, package read-only, two CPU threads left free, assertions and the title watchdog enabled, no compute skips/stub pipelines. The earlier title-side bounded-append assertion reproduced 3/3; this comparison will establish whether it remains. Counts/diagnostic classes only; all raw game-derived evidence stays local. Newly isolated fixes will be checked for existing ownership before separate claims. AI-assisted.
A native parallel MSBuild ran the BCPack table generator from both the decoder and the history trainer, then failed with a sharing error (MSB8066). I will give the generated include one build target and check clean and incremental Windows builds. Host build only.
claiming: VERIFY-767-RECTANGLE-PC-TAIL. Following the AMD rectangle-stage report, I am checking the existing runtime fix in #767 with a synthetic rectangle-list draw on a triangle PSO. The check will use a pixel shader that reads the set-1 tail on Windows with an RTX 4090. This is a hardware verification task. AI-assisted with OpenAI Codex (GPT-6).
Completed on the exact PR head. All 4,096 pixels matched for triangular and rectangle-list draws at both the native 256-byte limit and the 128-byte runtime override. Two runs, zero Vulkan validation errors. Full report on #767. A matching AMD game run is still open.
@adrianmjim — friendly overlap heads-up on RS-XASYNC-CANCEL-UAF (#1608 (comment)): we claimed and pushed D3D12-HLE-XASYNC-CALLBACK-AND-CANCEL-LIFETIME earlier tonight (#1608 (comment), #1608 (comment); branch zmasi:fix/d3d12-hle-xasync-callback-and-cancel-lifetime at daf7ddee1), covering both the pending_withArc cancel lifetime and complete_call pre-publish callback capture. Flagging it here so neither of us spends an open PR slot duplicating the same xasync.rs fix.
claiming: D3D12-SHADER-PK16-AND-U16-CLAMP — in d3d12/crates/leonida-shader/src/emit/lower.rs, Lower::packed16 and Lower::valu16_op currently reject clamp on all packed and 16-bit integer instructions (Err("modifiers on a packed/16-bit integer operation")), whereas native RDNA2 (docs/design.md "Packed 16-bit integer ops", tools/pk16_diff.py, and tools/pk_int16_clamp_probe.py) saturates per 16-bit half on v_pk_add_{u16,i16}, v_pk_sub_{u16,i16}, v_pk_mad_{u16,i16}, and VOP3 v_add_nc_u16/v_sub_nc_u16, and treats VOP3P clamp as a hardware no-op on v_pk_mul_lo_u16 and v_pk_{max,min}_{u16,i16} (while unmeasured shift/VOP3 non-add/sub clamp forms stay refused). Implementing with D3D12 GPU + pk16_diff / pk_int16_clamp_probe reference tests.
claiming: D3D12-HLE-DSTORAGE-QUEUE-VTABLE-AND-FILE-UAF — extend dstorage::QUEUE_VTABLE in d3d12/crates/leonida-hle/src/modules/dstorage.rs to 14 slots covering IDStorageQueueX2 (GetErrorEvent0x48, RetrieveErrorRecord0x50, Query0x58, EnqueueSetEvent0x60, Query10x68), wire IDStorageFileX::Close (0x18) and GetHandle (0x20), and track live Instance<File> references across enqueue_request, worker execution, and WALLS_FILES cleanup so releasing or closing a file with queued/in-flight requests cannot use-after-free or read closed handles (ref #issuecomment-7235723145 item 1).
claiming: VERIFY-2567-LINUX-VEGA20 — independent Linux verification of #2567 at 3501c5bf against main 3ca0707dd. I’ll compare the production decoder and Python asset exporter against the same synthetic BC1–BC7 goldens, run the portable C++ and Wine DirectStorage tests, and check decoded blocks on gfx906 / RADV. This does not duplicate the Windows SDK build or Rust review.
@zmasi thanks for the heads-up, you're right: your D3D12-HLE-XASYNC-CALLBACK-AND-CANCEL-LIFETIME (#1608 (comment)) came first and covers the same pending_with cancel lifetime, plus the complete_call callback capture. I'm withdrawing RS-XASYNC-CANCEL-UAF so it is yours alone; it won't become a pull request, and I've struck it from the open order in #1608 (comment).
RS-XTASKQUEUE-POOL-TRIM stays: it also edits xasync.rs, but only the thread-pool Pool (idle workers leave after a linger), not pending_with or complete_call, so the two should not overlap beyond a possible textual conflict.
claiming: VERIFY-2566-VEGA20-RADV — independent synthetic Linux/Wine and fixed-wave64 gfx906 verification of #2566 at cd8b5632, integrated locally with 3ca0707dd. I’ll identify the test-merge resolution and distinguish CPU/translator passes, physical GPU work and unsupported or blocked tests. No title run.
Update: this account can only have one pull request open here, so the 13 runtime leak fixes claimed above are now one pull request: #2569. Each fix is its own merge there and still has its own branch.
finding: Full HD (1920x1080) Linux + Wine 11.22 + VKD3D-Proton 3.2 + RTX 3070 Ti 8 GB (d3d12/ runtime) — Tensor-Core DLSS, 1080p LEONIDA_OUTPUT fix, Ampere LEONIDA_GROUP_PACK=4 data, pipeline worker stack/skip fixes, and render-correctness audit
Tested on Arch Linux (Wine 11.22 /dev/ntsync, VKD3D-Proton 3.2.0, NVIDIA 620.73.04, RTX 3070 Ti 8 GB / 8 GiB ReBAR, Ryzen 7 5800X):
True 1:1 LEONIDA_OUTPUT=1920x1080 on Series X (leonida-loader/src/hooks.rs):output_patches() lowered the 4K mode row and shrank the scanout reservation, but left the adjacent 1440p mode row untouched, causing Series X to pick 1440p and fail CreateCommittedResource3 with E_INVALIDARG. Capping the 1440p row whenever width < 2560 || height < 1440 fixes 1080p boot cleanly and saves ~850 MiB VRAM (5,497 vs 6,329 MiB in-use; up to 31.8 FPS in light scenes).
Hardware Tensor-Core NVIDIA DLSS under Wine + VKD3D-Proton 3.2: Wine 11.22's winevulkan.so already thunks VK_NVX_binary_import and VK_NVX_image_view_handle. Building with --features diagnostics,dlss, staging dxvk-nvapi (nvapi64.dll), NVIDIA's Wine NGX DLLs (nvngx.dll, _nvngx.dll), nvngx_dlss.dll, setting NVIDIA_WINE_DLL_DIR=/usr/lib/nvidia/wine, and adding the HKLM\Software\NVIDIA Corporation\Global\NGXCore\FullPath + nvlddmkm\NGXCore\NGXPath registry keys starts real Tensor-Core DLSS cleanly under Wine at ~0–1 ms overhead vs stretch (30.6 FPS / 32.6 ms light world, 22–26 FPS mid world, 15–24.7 FPS heavy world at 1080p output, peak 7,180–7,303 MiB VRAM).
LEONIDA_GROUP_PACK=4 on Ampere (RTX 3070 Ti) A/B: At identical warm cache and draw counts (~3,100–3,500 draws/frame), LEONIDA_GROUP_PACK=4 regressed GPU wait from ~8.7–14.5 ms (GROUP_PACK=0) to ~25.1–51.8 ms and increased peak VRAM by ~700 MiB (6,808 → 7,512 MiB), likely due to register pressure on high-VGPR compute shaders packed 4x per block on GA104.
Pipeline worker stack overflows & LEONIDA_SKIP_PIPELINES (pipeline/make.rs, pipeline.rs): On Wine/Windows (1 MiB default thread stack), leonida-pipelines-* workers overflowed their stacks and exited permanently, leaving hundreds of draws stuck as "being made". Giving leonida-pipelines-* and leonida-known 16 MiB stacks AND checking LEONIDA_SKIP_PIPELINES inside left_out() (so skipped shaders are not compiled during early prewarming) reduced stack overflows to 0 and being made to 0.
Heap buffer sweep CPU optimization (draw.rs): Caching SweepRanges merged spans incrementally across passes, adding tunable LEONIDA_HEAP_ROUND (default 16), and hoisting device_removed() out of the per-256-slot worker loop reduced heap_buffer_pass CPU time from ~16 ms (10 ms slots + 6 ms spans) down to ~3.4–6 ms.
djrolfes/d3d12-shader-opt-nvidia-wave64 (updated: cleared cur_phase in fill_phis and reserved fallback ping-pong LDS)
djrolfes/d3d12-watch-coalesce-epoch (updated: exact uniform-protection VirtualQuery check in protect_here() and requested-only piece recording in ask_run())
Extends QUEUE_VTABLE to Methods<14> (0x00..=0x68) covering IDStorageQueueX2: GetErrorEvent (0x48 -> nullptr), RetrieveErrorRecord (0x50 -> clears 656-byte DSTORAGE_ERROR_RECORD with CommandType = NONE), Query (0x58) & Query1 (0x68 -> populate DSTORAGE_QUEUE_INFO / INFO1 via write_unaligned), and EnqueueSetEvent (0x60 -> duplicates caller event handles, rejecting null and Win32 pseudo-handles, and signals SetEvent in queue sequence order after earlier reads and status entries publish).
Wires IDStorageFileX::Close (0x18, waiting for submitted in-flight reads before closing OS handles while rejecting unsubmitted/later requests with E_DSTORAGE_FILE_NOT_OPEN) and GetHandle (0x20, returning an independent ReOpenFile handle while open and INVALID_HANDLE_VALUE once closed or invalid).
Tracks live Instance<File> pointers in LIVE_FILES with RAII FileRef / SubmittedFile leases across enqueue_request and worker execution, rejects foreign or already-released pointers with E_DSTORAGE_INVALID_FILE_HANDLE, and cleans up WALLS_FILES on final release.
Red (3ca0707dd): queue_x2_and_file_vtable_slots_follow_the_console_abi failed (0x80004001 returned as HANDLE) and releasing_or_closing_a_file_keeps_in_flight_reads_safe_and_refuses_stale_handles crashed with 0xc0000005 (STATUS_ACCESS_VIOLATION).
Green (4175e2682): cargo test -p leonida-hle -- --test-threads=4 (183 unit + 1 integration passed, 0 failed), 0 clippy warnings in dstorage.rs (default & diagnostics), check_no_game_data.py and test_text_write_line_endings.py clean.
Activity
lixonik commentedon Nov 25, 2026
claiming: RT-WINDOWS-BOOT-SCRATCH-CWD -- I will handle the driver-dump part of #1552 by moving boot.ps1 child launches to a per-run working directory under -OutDir and protecting against accidental staging of a root-level ucode.elf from direct launches. Will verify relative launch paths with synthetic inputs. AI-assisted.
lixonik commentedon Nov 25, 2026
done: RT-WINDOWS-BOOT-SCRATCH-CWD -> #1609
Tyrannys commentedon Nov 25, 2026
claiming: RT-FIRST-RUN-PAD-FOCUS -
gta6rt --first-run-uidefaultsLEONIDA_KEYBOARD_PAD=always(runtime/src/main.cpp,configure_first_run_ui), so keys typed into other windows reach the title's consent pages (hazard 1 of #1552). Default it to the focused mode1; scripted presses still run unfocused. Check intiny_game/run_tiny_first_run_ui. Does not touchboot.ps1(#1609, RT-KEYBOARD-PAD-SCRIPT) or the shim default (#1528). AI-assisted.Tyrannys commentedon Nov 25, 2026
done: RT-FIRST-RUN-PAD-FOCUS -> #1612
thiefyzheng commentedon Nov 25, 2026
done: TEST-TEMPDIR-STRIPPED-ENV -> #1600 (the
done:line for this item was started on #14 but blocked by the 2,500-comment cap; completing it here as promised — #1600 (comment) ).One
testfiles::temp_dir()entry in runtime/test/test_temp_dir.h (LEONIDA_TEST_DIR, else cwd when the temp environment is stripped, else the standard temp resolution); 45 test files + the tiny_game fixture rerouted from direct GetTempPath/temp_directory_path;capture_stderrnow checks_sopen_s; and the one runtime-source fallback the enumeration forced (tls_host_clone_dirin pe_loader.cpp, for the loader_tls tests), called out in the PR. Windows VM verification: stripped env — previously-crashing d3d12 tests exit 77 gracefully now, file_system_test 505 checks 0 failures, loader_test 95/0, no 0xc0000409 anywhere; normal env identical; LEONIDA_TEST_DIR honored under a fully stripped env (the scratch folder was captured mid-run inside it). Rebased over main's D3D-448 mesh changes. The finding is @whoalin1's (#14, 02:37:44Z). AI-assisted.Rain156 commentedon Nov 25, 2026
done: RT-SLOT57-NATIVE-GRAPHICS-PSO -> #1592
The original claim predates the PR. The index prerequisite was #497. Reply to the post-merge RDNA2 question
Rain156 commentedon Nov 25, 2026
finding: 344 pipeline-library graphics programs still need exact translations (325 PS, 18 MS, 1 VS).
The full #1592 census of 18,837 identified programs produced 18,493 validated modules in both native wave64 and wave64 emulation. The remaining translation diagnostics include v_interp_p2_f16 fields lost in LLVM text, DPP on v_cmpx, s_getpc_b64 destinations and missing interface containers. The raw-code route has no module for those programs. A stage whose record names a valid DXBC container can still use #497.
Where: tools/rdna2spirv.py at lines 17796, 7321, 10438 and 17322 on c7e82e2. Reproduce with a local 1.0.2.1 package and the normal shaders build in #1592, then compare the extracted stage list with spirv/fspx_gfx/index.json. Counting or reproducing a translation refusal needs LLVM and SPIR-V Tools and runs on the CPU. Small hand-written fixtures are suitable for rule development. Aggregate results only.
Tyrannys commentedon Nov 25, 2026
claiming: RT-TITLE-WINDOW-OVERFLOW - from #1537: when
LEONIDA_TITLE_WINDOWS_MBis used up or the arena is full,DeviceState::resolve_title_memory(runtime/shims/d3d12_vulkan_device.cpp) gives the GPU the title's raw VA, and one read of it loses the device. Point such an address at a zero-filled scratch window in the arena (reserved with the first window) instead, so the cost is a wrong frame, not the device. The default cap stays as it is. Test: a cap-0 mode ind3d12_title_va_test. No game files. AI-assisted.JoeY54 commentedon Nov 25, 2026
claiming: GPU-JOEY54-WINDOWS-5090-9950X3D — independent synthetic GPU baseline on Windows 11
I will run the documented synthetic GPU suite on my desktop RTX 5090 (10DE:2B85, NVIDIA 621.24), then add a separate Ryzen 9 9950X3D integrated Radeon row (1002:13C0, AMD 26.11.2 / Windows driver 32.0.21045.29003). Windows 11 Pro 26H2 build 26300.9974; Vulkan SDK 1.4.363.1. Device identity and versions will be rechecked when executing.
Scope: pin an exact current-main revision, follow docs/testing.md, explicitly verify the selected GPU, record tool versions/subgroup support and the actual pass/fail/skip counts and reasons, and distinguish the documented native and wave64-emulated profiles where applicable. Submit a focused results PR under gpu-test-results/; investigate unexpected failures against known issues before proposing a separate implementation change. No success or completion is claimed yet.
This is independent Windows desktop coverage, separate from the RTX 5090 Laptop Linux report in #784 and the existing corpus/pipeline investigations such as #584. It does not take ownership of existing translator/runtime fixes or other contributors' claims.
Only repository-provided synthetic fixtures; no game files, game-derived shaders/logs, keys, or protection workarounds. New isolated workspace; existing backups remain untouched. My completed FrameLab handoff/FG checks are separate evidence, not Leonida suite results.
AI-assisted: Codex will assist with setup, execution, evidence review and the report.
JoeY54 commentedon Nov 25, 2026
claiming: TEST-JOEY54-PR1600-WINDOWS-GPU — independent validation of #1600 on Windows 11, RTX 5090 and integrated Radeon: normal vs stripped child-process temp environment and explicit LEONIDA_TEST_DIR; record actual GPU passes/skips and regressions.
claiming: TEST-JOEY54-PR1612-FOCUS — independent synthetic tiny_game / first-run profile validation of #1612, including the explicit override negative control; distinguish automated profile checks from any interactive focus behavior actually verified.
claiming: TEST-JOEY54-PR1609-SCRATCH — independent synthetic-child validation of #1609: output isolation, paths with spaces, relative inputs, and DryRun behavior.
These are supplemental testing scopes only; the original authors retain ownership of all three implementations. I will pin and report each tested PR head separately, use isolated directories and synthetic inputs only, preserve existing backups, and report blockers and pass/fail/skip honestly. No game files or production implementation edits. AI-assisted: Codex. Starting these focused checks now; the previously claimed broad GPU baseline remains a separate task.
IlyassRS3 commentedon Nov 25, 2026
Backfilling
done:entries for PRs opened while #14 was at the 2,500-comment cap (all AI-assisted, synthetic fixtures only, no game data):done: RESTOFWORLD-INDEX-VALIDATION-AND-IO -> #1535
done: SPIRV-INTERFACE-DECORATION-VALIDATION -> #1542
done: CHARACTER-CENSUS-ROW-AND-ATOMIC-IO -> #1543
done: BVH-TRI-PROBE-COMPARE-CHECK-AND-IO -> #1546
done: GAMEDATA-GRAPH-COUNTS-AND-CLI-GUARDS -> #1550
done: HEAP-INDEX-CENSUS-DATAFLOW-AND-IO -> #1551
done: CHARACTER-TEXTURES-CLASSIFICATION-AND-IO -> #1553
done: WORLD-ARCHETYPES-EXTENTS-AND-IO -> #1555
done: GAMEDATA-READER-FILTER-AND-OUT-IO -> #1557
done: CPU-FEATURE-SCAN-CLASSIFY-AND-CLI -> #1560
done: WAVE64-PIPELINE-AUDIT-VALIDATION -> #1563
done: PAGE-INDEX-SUMMARY-AND-ATOMIC-IO -> #1566
done: PTR-TRUNCATION-CENSUS-GUARDS-AND-IO -> #1567
done: RBF0-ENCODE-FAIL-CLOSED-VALIDATION -> #1574
done: PSOCACHE-EXTRACT-GUARDS-AND-IO -> #1575
done: GAMEDATA-INDEX-UTF8-DECL-AND-IO -> #1578
done: VEH-SPAWN-INTENSITIES-AGG-AND-IO -> #1580
done: WAVE64-GRAPHICS-SCAN-CLI-AND-IO -> #1582
done: GEN-D3D12-STUBS-COMMENTS-AND-IO -> #1583
done: WORLD-DRAWABLE-LOOKUP-VALIDATION -> #1584
done: TURING-ATLAS-VALIDATION-AND-ATOMIC-IO -> #1586
done: STALE-BUILD-COMMENTS-BOM-AND-NS-MTIME -> #1588
done: SGD5-EFFECTS-BOUNDARY-VALIDATION -> #1589
done: WAVE-TRACE-VALIDATION-AND-WRITE-CLEANUP -> #1590
done: XCL-COMPARE-GUARDS-AND-ATOMIC-IO -> #1591
done: RPF-PROBE-NONREG-AND-OUT-GUARDS -> #1593
done: MASK-CHANNELS-VALIDATION-AND-ATOMIC-IO -> #1597
done: BVH-GROUPS-GUARDS-AND-IO -> #1599
done: TEX-EXPORT-GUARDS-AND-ATOMIC-LOG -> #1603
done: ROOT-SIG-CONTRACT-CONSOLE-AND-VALIDATION -> #1606
done: SHADER-STATS-VALIDATION-AND-CLI -> #1607
done: CHECK-APT-KEY-PARSING-AND-GUARDS -> #1610
done: PSOCACHE-USERSIG-GUARDS -> #1611
done: DOT-DIFF-SKIPS-AND-CLI -> #1613
done: D16-IMAGE-PROBE-JSON-AND-CLI -> #1614
done: CVT-DIFF-CLI-AND-EMPTY-RUN-GUARDS -> #1615
done: DIV-FIXUP-DIFF-CLI-AND-EMPTY-RUN-GUARDS -> #1616
done: MODE-DIFF-CLI-AND-EMPTY-RUN-GUARDS -> #1617
PierreEbele commentedon Nov 25, 2026
claiming: TEST-DEVICE-FILTER-TOOLS-WINE - on Linux the
vk_device_filter_toolsctest entry of the Windows cross build starts the PE harnessesvk_descriptor_bench.exeandvk_sandbox.exedirectly, so it always dies withOSError: [Errno 8] Exec format errorand the TEST-1141LEONIDA_VK_DEVICErefusal is never checked under Wine. Fix inruntime/test/check_device_filter_tools.py(run a PE through the suite's wine, skip with 77 when there is none) plustests/test_check_device_filter_tools.py. No game files needed. AI-assisted.djrolfes commentedon Nov 25, 2026
claiming: RT-PROTON-3070TI-VALIDATION (continuation of the existing #14 test/triage claim, #14 (comment)). Comparing preserved pre-merge #984 baseline ac7c344 with clean current main pinned at 42537e7, which includes #984, #968 plus CPU-view mapping, #939, and the silent audio endpoint work. Independent RTX 3070 Ti 8 GiB / Linux Wine 11.22 / NVIDIA 620.73.04 validation; not claiming ownership of any existing runtime implementations.
Separate worktree and private generated corpus/profile; rebuilds and synthetic tests precede retail probing. Offline network namespace, package read-only, two CPU threads left free, assertions and the title watchdog enabled, no compute skips/stub pipelines. The earlier title-side bounded-append assertion reproduced 3/3; this comparison will establish whether it remains. Counts/diagnostic classes only; all raw game-derived evidence stays local. Newly isolated fixes will be checked for existing ownership before separate claims. AI-assisted.
sodove commentedon Nov 25, 2026
claiming: RT-BCPACK-TABLES-BUILD-RACE
A native parallel MSBuild ran the BCPack table generator from both the decoder and the history trainer, then failed with a sharing error (MSB8066). I will give the generated include one build target and check clean and incremental Windows builds. Host build only.
AI-assisted (OpenAI Codex).
PierreEbele commentedon Nov 25, 2026
done: TEST-DEVICE-FILTER-TOOLS-WINE -> #1618
2474 remaining items
ecox982745 commentedon Nov 28, 2026
claiming: VERIFY-767-RECTANGLE-PC-TAIL. Following the AMD rectangle-stage report, I am checking the existing runtime fix in #767 with a synthetic rectangle-list draw on a triangle PSO. The check will use a pixel shader that reads the set-1 tail on Windows with an RTX 4090. This is a hardware verification task. AI-assisted with OpenAI Codex (GPT-6).
Completed on the exact PR head. All 4,096 pixels matched for triangular and rectangle-list draws at both the native 256-byte limit and the 128-byte runtime override. Two runs, zero Vulkan validation errors. Full report on #767. A matching AMD game run is still open.
zmasi commentedon Nov 28, 2026
@adrianmjim — friendly overlap heads-up on
RS-XASYNC-CANCEL-UAF(#1608 (comment)): we claimed and pushedD3D12-HLE-XASYNC-CALLBACK-AND-CANCEL-LIFETIMEearlier tonight (#1608 (comment), #1608 (comment); branchzmasi:fix/d3d12-hle-xasync-callback-and-cancel-lifetimeatdaf7ddee1), covering both thepending_withArccancel lifetime andcomplete_callpre-publish callback capture. Flagging it here so neither of us spends an open PR slot duplicating the samexasync.rsfix.AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: VERIFY-2448, VERIFY-2445, VERIFY-2444, VERIFY-2305, VERIFY-2298 (Windows 11)
AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-SHADER-PK16-AND-U16-CLAMP — in
d3d12/crates/leonida-shader/src/emit/lower.rs,Lower::packed16andLower::valu16_opcurrently rejectclampon all packed and 16-bit integer instructions (Err("modifiers on a packed/16-bit integer operation")), whereas native RDNA2 (docs/design.md"Packed 16-bit integer ops",tools/pk16_diff.py, andtools/pk_int16_clamp_probe.py) saturates per 16-bit half onv_pk_add_{u16,i16},v_pk_sub_{u16,i16},v_pk_mad_{u16,i16}, and VOP3v_add_nc_u16/v_sub_nc_u16, and treats VOP3Pclampas a hardware no-op onv_pk_mul_lo_u16andv_pk_{max,min}_{u16,i16}(while unmeasured shift/VOP3 non-add/subclampforms stay refused). Implementing with D3D12 GPU +pk16_diff/pk_int16_clamp_probereference tests.AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-HLE-DSTORAGE-QUEUE-VTABLE-AND-FILE-UAF — extend
dstorage::QUEUE_VTABLEind3d12/crates/leonida-hle/src/modules/dstorage.rsto 14 slots coveringIDStorageQueueX2(GetErrorEvent0x48,RetrieveErrorRecord0x50,Query0x58,EnqueueSetEvent0x60,Query10x68), wireIDStorageFileX::Close(0x18) andGetHandle(0x20), and track liveInstance<File>references acrossenqueue_request, worker execution, andWALLS_FILEScleanup so releasing or closing a file with queued/in-flight requests cannot use-after-free or read closed handles (ref#issuecomment-7235723145item 1).AI-assisted.
zmasi commentedon Nov 28, 2026
claiming:
VERIFY-2567-LINUX-VEGA20— independent Linux verification of #2567 at3501c5bfagainst main3ca0707dd. I’ll compare the production decoder and Python asset exporter against the same synthetic BC1–BC7 goldens, run the portable C++ and Wine DirectStorage tests, and check decoded blocks on gfx906 / RADV. This does not duplicate the Windows SDK build or Rust review.AI-assisted.
adrianmjim commentedon Nov 28, 2026
@zmasi thanks for the heads-up, you're right: your D3D12-HLE-XASYNC-CALLBACK-AND-CANCEL-LIFETIME (#1608 (comment)) came first and covers the same
pending_withcancel lifetime, plus thecomplete_callcallback capture. I'm withdrawing RS-XASYNC-CANCEL-UAF so it is yours alone; it won't become a pull request, and I've struck it from the open order in #1608 (comment).RS-XTASKQUEUE-POOL-TRIM stays: it also edits
xasync.rs, but only the thread-poolPool(idle workers leave after a linger), notpending_withorcomplete_call, so the two should not overlap beyond a possible textual conflict.zmasi commentedon Nov 28, 2026
claiming: VERIFY-2518-RTX3090, VERIFY-2517-RTX3090, VERIFY-2516-RTX3090, VERIFY-2515-RTX3090, VERIFY-2510-RTX3090 (Windows 11, RTX 3090, NVIDIA 610.88, Vulkan SDK 1.4.363.1)
AI-assisted.
zmasi commentedon Nov 28, 2026
claiming:
VERIFY-2566-VEGA20-RADV— independent synthetic Linux/Wine and fixed-wave64 gfx906 verification of #2566 atcd8b5632, integrated locally with3ca0707dd. I’ll identify the test-merge resolution and distinguish CPU/translator passes, physical GPU work and unsupported or blocked tests. No title run.AI-assisted.
zmasi commentedon Nov 28, 2026
done: VERIFY-2448, VERIFY-2445, VERIFY-2444, VERIFY-2305, VERIFY-2298 -> results in #2448, #2445, #2444, #2305, #2298
AI-assisted.
adrianmjim commentedon Nov 28, 2026
Update: this account can only have one pull request open here, so the 13 runtime leak fixes claimed above are now one pull request: #2569. Each fix is its own merge there and still has its own branch.
djrolfes commentedon Nov 28, 2026
finding: Full HD (1920x1080) Linux + Wine 11.22 + VKD3D-Proton 3.2 + RTX 3070 Ti 8 GB (
d3d12/runtime) — Tensor-Core DLSS, 1080pLEONIDA_OUTPUTfix, AmpereLEONIDA_GROUP_PACK=4data, pipeline worker stack/skip fixes, and render-correctness auditTested on Arch Linux (Wine 11.22
/dev/ntsync, VKD3D-Proton 3.2.0, NVIDIA 620.73.04, RTX 3070 Ti 8 GB / 8 GiB ReBAR, Ryzen 7 5800X):LEONIDA_OUTPUT=1920x1080on Series X (leonida-loader/src/hooks.rs):output_patches()lowered the 4K mode row and shrank the scanout reservation, but left the adjacent 1440p mode row untouched, causing Series X to pick 1440p and failCreateCommittedResource3withE_INVALIDARG. Capping the 1440p row wheneverwidth < 2560 || height < 1440fixes 1080p boot cleanly and saves ~850 MiB VRAM (5,497vs6,329MiB in-use; up to31.8 FPSin light scenes).winevulkan.soalready thunksVK_NVX_binary_importandVK_NVX_image_view_handle. Building with--features diagnostics,dlss, stagingdxvk-nvapi(nvapi64.dll), NVIDIA's Wine NGX DLLs (nvngx.dll,_nvngx.dll),nvngx_dlss.dll, settingNVIDIA_WINE_DLL_DIR=/usr/lib/nvidia/wine, and adding theHKLM\Software\NVIDIA Corporation\Global\NGXCore\FullPath+nvlddmkm\NGXCore\NGXPathregistry keys starts real Tensor-Core DLSS cleanly under Wine at ~0–1 ms overhead vsstretch(30.6 FPS/32.6 mslight world,22–26 FPSmid world,15–24.7 FPSheavy world at 1080p output, peak7,180–7,303 MiBVRAM).LEONIDA_GROUP_PACK=4on Ampere (RTX 3070 Ti) A/B: At identical warm cache and draw counts (~3,100–3,500 draws/frame),LEONIDA_GROUP_PACK=4regressed GPU wait from~8.7–14.5 ms(GROUP_PACK=0) to~25.1–51.8 msand increased peak VRAM by ~700 MiB (6,808→7,512 MiB), likely due to register pressure on high-VGPR compute shaders packed 4x per block on GA104.LEONIDA_SKIP_PIPELINES(pipeline/make.rs,pipeline.rs): On Wine/Windows (1 MiB default thread stack),leonida-pipelines-*workers overflowed their stacks and exited permanently, leaving hundreds of draws stuck as "being made". Givingleonida-pipelines-*andleonida-known16 MiB stacks AND checkingLEONIDA_SKIP_PIPELINESinsideleft_out()(so skipped shaders are not compiled during early prewarming) reduced stack overflows to0andbeing madeto0.draw.rs): CachingSweepRangesmerged spans incrementally across passes, adding tunableLEONIDA_HEAP_ROUND(default16), and hoistingdevice_removed()out of the per-256-slot worker loop reducedheap_buffer_passCPU time from~16 ms(10 msslots +6 msspans) down to~3.4–6 ms.djrolfes/leonida(holding off on opening new PRs while d3d12: decline file-backed/multi-VMA host imports under Wine and deduplicate import memory types (RT-WINE-HOST-IMPORT-POLICY) #2126 is open under the 1-open-PR limit):djrolfes/d3d12-output-1080p-cap-1440-row(new: 1440p row cap + unit test)djrolfes/d3d12-heap-sweep-cache(new:SweepRangesmerged cache +LEONIDA_HEAP_ROUND)djrolfes/d3d12-pipeline-library-and-indirect(updated: revertedtexture.rsalias_copyskip after render-correctness audit, added 16 MiB worker stacks + compile-timeLEONIDA_SKIP_PIPELINESskip)djrolfes/d3d12-shader-opt-nvidia-wave64(updated: clearedcur_phaseinfill_phisand reserved fallback ping-pong LDS)djrolfes/d3d12-watch-coalesce-epoch(updated: exact uniform-protectionVirtualQuerycheck inprotect_here()and requested-only piece recording inask_run())djrolfes/d3d12-elide-watched-index&djrolfes/d3d12-ffx-stand-in-scalezmasi commentedon Nov 28, 2026
status: D3D12-HLE-DSTORAGE-QUEUE-VTABLE-AND-FILE-UAF -> branch https://github.com/zmasi/leonida/tree/fix/d3d12-hle-dstorage-vtable-and-file-uaf (
4175e2682ac3c542a944752ac5f6df2a46d21627onmaina997a3c77, ready once a PR slot frees up).d3d12/crates/leonida-hle/src/modules/dstorage.rs):QUEUE_VTABLEtoMethods<14>(0x00..=0x68) coveringIDStorageQueueX2:GetErrorEvent(0x48->nullptr),RetrieveErrorRecord(0x50-> clears 656-byteDSTORAGE_ERROR_RECORDwithCommandType = NONE),Query(0x58) &Query1(0x68-> populateDSTORAGE_QUEUE_INFO/INFO1viawrite_unaligned), andEnqueueSetEvent(0x60-> duplicates caller event handles, rejecting null and Win32 pseudo-handles, and signalsSetEventin queue sequence order after earlier reads and status entries publish).IDStorageFileX::Close(0x18, waiting for submitted in-flight reads before closing OS handles while rejecting unsubmitted/later requests withE_DSTORAGE_FILE_NOT_OPEN) andGetHandle(0x20, returning an independentReOpenFilehandle while open andINVALID_HANDLE_VALUEonce closed or invalid).Instance<File>pointers inLIVE_FILESwith RAIIFileRef/SubmittedFileleases acrossenqueue_requestand worker execution, rejects foreign or already-released pointers withE_DSTORAGE_INVALID_FILE_HANDLE, and cleans upWALLS_FILESon final release.3ca0707dd):queue_x2_and_file_vtable_slots_follow_the_console_abifailed (0x80004001returned asHANDLE) andreleasing_or_closing_a_file_keeps_in_flight_reads_safe_and_refuses_stale_handlescrashed with0xc0000005(STATUS_ACCESS_VIOLATION).4175e2682):cargo test -p leonida-hle -- --test-threads=4(183unit +1integration passed,0failed),0clippy warnings indstorage.rs(default &diagnostics),check_no_game_data.pyandtest_text_write_line_endings.pyclean.AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-HLE-NET-LOOKUP-LEAKS-AND-IOCTL-BOUNDS ->
d3d12/crates/leonida-hle/src/modules/net.rs(item 4 of #7235723145: refuse empty/null/non-loopback host lookups, rewritelocalhostlookups to loopback literals, validate and isolateWSAIoctlextension-pointer buffers, and readWSASendMsgMessageNameunaligned).AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-MENU-SCALE-STEP-AND-PNG-BOUNDS ->
d3d12/crates/leonida-menu/src/{app.rs,paint.rs,model.rs,png.rs}(item 5 of #7235723145: clamp non-finite/out-of-rangeMENU_SCALE, guard non-positive/non-finiteKind::Numberstep inMenu::handle, and checkpitch >= rowand arithmetic overflow inpng::encode).AI-assisted.