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 #1608) #2570
Continuation of #1608 (and #14), which has reached GitHub's 2,500-comment cap. The previous threads contain 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 and #1608 still stand. If a claim was posted in a separate issue while #1608 was capped, link it here so contributors can find it.
Shader batch assigned by DadaCap. Pinned main 3bd936ecd98995bca3e1da83d5e28d2343001aef. I'll report PR-specific baseline and merged results, including validator and hardware coverage where exercised. AI-assisted: OpenAI Codex.
Gated 16-destination VOP3/SDWA omod (mul:2, mul:4, div:2) in Lower::valu16_op and �_interp_p2_f16 on COMPUTE_PGM_RSRC1 (
ative::fspx_rsrc1 + lower::with_pgm_rsrc1 in emit_program): ignores omod while keeping [0, 1] clamp under console default FLOAT_MODE = 0xC0 (denorm_mode_16_64 = 3, including FSSM stages without PGM_RSRC1 and all 29 shipped FSPX shaders) or IEEE = 1, and scales before clamp when denorm_mode_16_64 = 0 && !ieee (SHADER-135). Restored �alu_tests::f16_omod_applies_before_clamp under denorm_mode_16_64 = 0, IEEE = 0 and documented // shortcut: + SDWA /
dna2spirv.py �_cvt_f16_f32 notes.
Red (4a54aed): cargo test -p leonida-shader --lib f16_omod_tests -- --test-threads=1 -> 1 passed; 3 failed on RTX 3090 D3D12.
Green (�4679c0767): 5/5 16_omod tests, 13/13
ative::tests, and interpolated_f16_writes_the_op_sel_half_with_modifiers passed on NVIDIA GeForce RTX 3090 D3D12 + WARP + dxil.dll.
Grow the GetModuleFileNameW buffer past MAX_PATH (up to 32768) and preserve thread GetLastError() inside host_override so long-path host modules cannot bypass HLE GetProcAddress overrides (WinHttpOpen, connect, CreateFileW) or clobber caller GetLastError(); ignore null lpProcName in host_override.
Resolve ordinal exports (#n, e.g. gameinput.dll#1GameInputCreate) on pseudo-modules in GetProcAddress, reject null lpProcName and missing exports with ERROR_PROC_NOT_FOUND, and return TRUE from DisableThreadLibraryCalls on pseudo-module handles (matching runtime/shims/library_loader.cpp).
Normalize empty, trailing-slash, and trailing-dot module names in find_module so "" / "dir\\" pass through to the host instead of querying ".dll", and trailing dots follow Win32 loader rules ("kernel32.dll." -> "kernel32.dll", "kernel32." -> "kernel32").
Write GetModuleFileNameW / GetModuleFileNameA title paths via write_unaligned (avoiding slice::from_raw_parts_mut UB/panics on uninitialized or odd-byte-aligned caller buffers) and clear LastError to ERROR_SUCCESS when not truncated.
Carryover from #1608 (comment) plus completed #2570 additions so contributors scanning #2570 can avoid duplicate work. All 66 branches below are finished, tested, merge cleanly against main (c8bf0e7b6 / 3535eb5c4b), and pushed; each has its own claim and status comment on #1608 / #2570 and will open as PR slots free.
Rust D3D12 runtime (d3d12/):
D3D12-LINUX-DXC-RUNTIME-SHADERS: zmasi:vega-d3d12-linux-dxc-runtime-shaders (9075a5e419, Coordinating who works on what (continued from #1608) #2570 (comment)) — Optional app-local x64 DXC (dxcompiler.dll + dxil.dll) runtime HLSL compilation on Wine/VKD3D-Proton routing all SM 5.1 [RootSignature] shaders through compiler::compile_named (0/11 -> 11/11 stock indirect & ambient GPU tests green on RADV + Windows 11 RTX 3090 FXC/DXC)
D3D12-RT-FG-ARENA-VA-STORM: zmasi:fix/d3d12-rt-fg-arena-va-storm (9f39297d6a, Coordinating who works on what (continued from #1608) #2570 (comment)) — Ray Tracing + DLSS FrameGen 0.1 FPS white-screen fix ([4 GiB, 2^37) write-watched pool below MEMORY_PAGES - 1, [2^37, 2^40) BVH arenas, per-frame arena backoff)
D3D12-ALIAS-CAST-R9G9B9E5: zmasi:perf/d3d12-gpu-alias-cast-r9g9b9e5 (5e53cef854, Coordinating who works on what (continued from #1608) #2570 (comment)) — Zero-copy CreateCommittedResource3 castable R9G9B9E5_SHAREDEXP SRVs (6.1x–12.6x faster GPU, 0 copies/frame, saving 260–515 MiB VRAM)
D3D12-SHADER-SLOT-VIEW-ADDRESSES: zmasi:feat/d3d12-shader-slot-view-addresses (edf60e3050, Coordinating who works on what (continued from #1608) #2570 (comment)) — Descriptor-heap SLOT_ADDRESSES (t251) + USER_TABLE_BASE, unblocking 59/64 -> 64/64 ray-tracing shadow-mask trace shaders
D3D12-SHADER-PAIRED-WAVE64-EXACTNESS: zmasi:fix/d3d12-shader-paired-water-and-wave64 (53a6ec172d, Coordinating who works on what (continued from #1608) #2570 (comment)) — Paired Wave64-on-Wave32 exactness (LEONIDA_LOOPS_WAVE=1 fixpoint lane_regions, whole-wave Sym::Own lane provenance, wide/sub-dword paired_lds, USER_DISPATCH_THREADS_X + spilled paired compute)
D3D12-SMOOTH-MOTION-PRESENT-QUEUE: zmasi:fix/d3d12-smooth-motion-present-queue (9bdb186e47, Coordinating who works on what (continued from #1608) #2570 (comment)) — NVIDIA -SmoothMotion2.4 s0x80000003 exit fix (3-buffer flip swap chain, hand-over-hand QUEUE_ORDER serialization, -SmoothMotion auto-FG guard, NvAPI_Unload DRS hardening)
Scope: d3d12/crates/leonida-hle/src/modules/dsp.rs (chad.dll) — track Dsp and Stream handles via monotonic IDs + Arc ownership so XDspDisconnect before XDspDeactivate, double-disconnect/deactivate, and stale handles return E_INVALIDARG instead of UAF/double-free; replace &mut Status with atomic fields (Ordering::Release on completed) serialized per stream; handle unaligned Command / output / out-pointers safely; and accept base_length == 0 while rejecting max_streams == 0 and max_channels == 0 per runtime/shims/chad.cpp.
Updates on the three gfx906 lanes claimed in #1608 before the comment cap:
RT-VK-DEVICE-MARKERS-SYNC-WAW → zmasi:fix-vk-device-markers-sync-waw, 77670e6f. On 33db04a70 synchronization validation reported 10 repeated marker writes; the marker values were already correct. The fix adds one transfer-write dependency over the queue’s eight-byte marker slot before each marked compute dispatch. Both registered marker CTests passed; the legacy and synchronization2 marker paths read back 5/5 and 8/8 with zero validation errors. No added host wait or dependency when markers are disabled. This covers main’s out-of-rendering dispatch path, not [integration] PageMirror, GPU detile, async queue & RDNA2->SPIR-V performance stack (INTEGRATION-PERF-CPU-GPU-R6) #2566’s additional in-rendering draw path. No PR opened. Test-only follow-up ccaad2dd addresses the legacy stage capture conversion reported by @Tyrannys; the runtime is unchanged. Same-stage marker writes already have an implicit dependency under the specification; the explicit transfer dependency removed the observed layer reports. Its timing impact with markers enabled was not measured. Earlier observation: @kevincommits.
Done: VERIFY-2360-VEGA20-RADV → native bitcmp readbacks. Same 2,368 words: 1,080 wrong on main, zero wrong on the merge.
Strip Xbox high-byte console root-signature flags (0xff00_0000) from DXBCRTS0 chunks (versions 1.0..1.2) and recompute non-zero DXBC container checksums in create_deserializer (d3d12_xs!D3D12CreateRootSignatureDeserializer) before forwarding to host d3d12.dll (matching runtime/shims/d3d12_xs_rootsig.cpp, while failing closed on malformed containers/chunk tables or mismatched incoming hashes).
Guard without_console_flags in serialize_versioned to root-signature versions 1.0..1.2 (1..=3), and clear non-null output pointers (out, blob, error) on early E_INVALIDARG / E_NOTIMPL failures.
status: D3D12-HLE-DSP-HANDLE-LIFETIME-AND-ALIGNMENT — pushed to zmasi:fix/d3d12-hle-dsp-handle-lifetime (5e48f2b26f1bc935e086e6fa6b0d4427e643d7ea, based on 6c7f79343, claim #2570#issuecomment-7237957634)
Tracked live Dsp connections and Streams by monotonic non-zero handle IDs (RwLock<HashMap<usize, Arc<...>>>) with Arc<Dsp> ownership on Stream, preventing UAF when XDspDisconnect precedes XDspDeactivate, double-free on repeated XDspDisconnect / XDspDeactivate, and wild-pointer dereferences on stale or foreign handles.
Converted Status fields to AtomicU32 / AtomicI32 with per-stream submission serialization and Ordering::Release on completed, eliminating &mut Status aliasing and concurrent ticket data races.
Used read_unaligned / write_unaligned on FFI structs/out-pointers, cleared outputs on failed calls, zeroed command.output via cast::<u8>() after checked_add(byte_len), and accepted base_length == 0 while rejecting max_streams == 0 and max_channels == 0 (runtime/shims/chad.cpp).
Verified Red (3/3 new tests failed on 6c7f79343, including misaligned pointer dereference abort and 126 != 128 lost concurrent tickets) -> Green (186leonida-hle tests pass, 0 clippy warnings in dsp.rs across default and diagnostics).
@zmasi a note on RT-VK-DEVICE-MARKERS-SYNC-WAW (zmasi:fix-vk-device-markers-sync-waw, 77670e6f) and #2489, which also changes vulkan_device_markers.h (the marker buffer is CONCURRENT over the device's queue families) and vulkan_device_markers_test.cpp.
One MSVC build error on your branch (not from the merge).runtime/test/vulkan_device_markers_test.cpp:81, writes.push_back({command_buffer, stage, offset, marker, false}); in write_marker, fails with C2397: brace-initializing the std::uint64_t stage field from a VkPipelineStageFlagBits is a narrowing conversion. GCC/Clang accept it. std::uint64_t(stage) fixes it.
With that one change, the merge of both branches builds on Windows 11 / MSVC (VS 18), RelWithDebInfo, and vulkan_device_markers, vk_device_markers and depth24_scratch_sharing pass (3/3). vk_device_markers runs the marker path on an RTX 4070 SUPER (driver 621.01): marker2 and legacy rounds read back 5 and 8. The validation layer was not installed, so validation was off for this run.
Grow host_override's GetModuleFileNameW buffer up to 32768 UTF-16 code units, ignore null lpProcName, and preserve thread GetLastError() across GetProcAddress (including lazy REGISTRY initialization and GetModuleFileNameW) so long-path host modules cannot bypass HLE overrides (WinHttpOpen, connect, CreateFileW) or clobber caller GetLastError().
Resolve #ordinal exports (< 0x10000, e.g. gameinput.dll#1GameInputCreate) on console pseudo-modules in GetProcAddress, set ERROR_PROC_NOT_FOUND (127) when lpProcName is null or unimplemented, and return TRUE (1) from DisableThreadLibraryCalls on pseudo-module handles.
Normalize empty, trailing-slash, and trailing-dot module names in find_module ("" / "dir\\" pass through to the host instead of querying ".dll", and trailing . characters strip without appending .dll).
Write GetModuleFileNameW / GetModuleFileNameA title paths via write_unaligned (avoiding slice::from_raw_parts_mut UB/panics on uninitialized or odd-byte-aligned caller buffers) and clear LastError to 0 (ERROR_SUCCESS) when not truncated.
Red (16e90d1ff): all 4 new modules::kernel regression tests failed (pseudo_modules_resolve_ordinals_report_errors_and_disable_thread_calls, host_proc_overrides_handle_long_paths_and_preserve_last_error, empty_and_trailing_dot_module_names_follow_win32_rules, and title_module_filenames_accept_unaligned_uninit_buffers_and_clear_last_error with slice::from_raw_parts_mut alignment abort 0xc0000409).
Green (ea369dba2): cargo test -p leonida-hle -- --test-threads=4 (185 unit + 1 integration passed, 0 failed), 0 clippy warnings in kernel.rs (default & diagnostics), check_no_game_data.py and test_text_write_line_endings.py clean; held at open-PR cap.
finding: D3D12-HLE-RPCRT4-UUID-PARSE-AND-OOM-BOUNDS (open for anyone, not claimed by this account)
In d3d12/crates/leonida-hle/src/modules/rpcrt4.rs:
parse() (L203-225, backing UuidFromStringA and UuidFromStringW) accepts malformed UUID strings that Win32 rpcrt4 rejects with RPC_S_INVALID_STRING_UUID (1705):
unmatched leading { with no closing } ("{1234abcd-00ef-4a5b-8012-3456789abcde"),
unmatched trailing } with no leading { ("1234abcd-00ef-4a5b-8012-3456789abcde}"),
arbitrary trailing characters after } ("{1234abcd-00ef-4a5b-8012-3456789abcde}trailing", because L210 returns as soon as the 33rd character is } without exhausting chars), and
misplaced or missing - separators anywhere before the 32nd hex digit (L212 unconditionally skips - at any position).
UuidToStringA / UuidToStringW (L135, L152) return RPC_S_OK (0) with *out == null if allocate() returns null instead of RPC_S_OUT_OF_MEMORY (14), and UuidCreate / UuidFromString* / UuidToString* use aligned as_ref() / write() on caller Guid pointers instead of read_unaligned / write_unaligned.
Scope: d3d12/crates/leonida-loader/src/tls.rs — reject TLS slot indices whose index * 8 displacement overflows signed 32-bit lea r, [r + disp32] (index >= 0x1000_0000u32 wrap and index >= 0x0800_0000 negative sign-extension), check i32::try_from(rel) in patch instead of truncating rel as i32, and validate tls.directory_rva, index_at, zero-length executable sections, and section RVA/size bounds before VirtualProtect / slice creation in redirect.
claiming: D3D12-GAME-ACTIONS-AND-WATCH-NO-STDERR-PANIC (ref @KelboLive's review on #2840) — replace \�println!\ with fallible \let _ = writeln!(std::io::stderr(), ...)\ in \game_actions::log\ (\d3d12/apps/leonida/src/game_actions.rs:395, called from the title frame hook and \leonida-game-actions\ thread so a closed stderr pipe also loses the \log.txt\ write) and
un::watch\ (\d3d12/apps/leonida/src/run.rs:336, \LEONIDA_WATCH\ polling thread), with a closed-stderr subprocess regression test. AI-assisted (Gemini 4 Neon).
claiming: SMOOTH-MOTION-HELP — make -Help and -? on scripts/smooth-motion.ps1 show the profile query/on/off usage before loading NVAPI. This takes the Smooth Motion part of #2570 (comment) that #2853 explicitly left open. I will test the help path without touching a driver profile. AI-assisted (Codex).
claiming: GAME-GATE-VERB-HELP — document the run, start and stop modes in the PowerShell help for scripts/game-gate.ps1, with examples for a measured run and a stop request. Taking the game-gate item from #2570 (comment), explicitly excluded from #2853. No game or GPU needed. AI-assisted (Codex).
status: D3D12-PANEL-ADVANCED — written, reviewed and run in the title; the branch is d3d12-panel-advanced on my fork (917ad59, on top of #2801's head). No pull request yet: the repository allows one open pull request for users without write access, and mine is #2801. I will open it as soon as #2801 is merged or closed; the claim stands.
The same limit holds back D3D12-RUN-BUILD-LINE (see my note to wrexik above), so nothing of mine will collide with the adapter diagnostic in the meantime.
status: GAME-GATE-VERB-HELP is implemented, tested (25 passing game-gate tests) and independently reviewed. Branch: https://github.com/andrew-ai/mandy/tree/docs/game-gate-verb-help at 3577789. GitHub declined a second upstream PR while #2943 is open. The claim stands; I will link the PR here when it opens.
claiming: D3D12-LOADER-CRASH-NO-STDERR-PANIC — d3d12/crates/leonida-loader/src/crash.rs calls panicking eprint!/eprintln! in log_crash (line 69, before append_to_log) and inside report (lines 588, 624, 633 — invoked from extern "system" VEH/SetUnhandledExceptionFilter before append_to_log and inside the LEONIDA_CRASH_SAVE loop). On a closed stderr pipe this panics (aborting across extern "system") and loses crashes.log and LEONIDA_CRASH_SAVE dumps. Replace with fallible std::io::Write (let _ = write!/writeln!(std::io::stderr(), ...)) and write append_to_log before stderr in log_crash, with closed-stderr subprocess regression tests. AI-assisted (Gemini 4 Neon).
claiming: D3D12-LOADER-PROFILE-AND-STACKS-SAFETY — fix thread handle leaks, unsigned CPU-time underflow, and closed-stderr panics in d3d12/crates/leonida-loader/src/profile.rs and d3d12/crates/leonida-loader/src/stacks.rs:
profile.rs: add Drop on Thread so OpenThread handles are never leaked when write() fails early (e.g. File::create error) or profile() unwinds; check GetThreadTimes(...) != 0 and use saturating_sub for t.now - t.last / t.now - t.first so a failed query cannot underflow/panic in debug or wrap to u64::MAX in release; replace panicking eprintln! calls on the detached LEONIDA_PROFILE thread with fallible writeln!(std::io::stderr(), ...).
stacks.rs: close each OpenThread handle via an RAII guard (and before stderr writes) and replace panicking eprintln! calls in dump_stacks with fallible writeln!(std::io::stderr(), ...).
With unit and closed-stderr subprocess tests. AI-assisted (Gemini 4 Neon).
claiming: D3D12-RESIDENCY-PRESSURE-ATTRIBUTION — report physical-only pressure from the active hysteresis thresholds, without changing admission behavior. The current diagnostic mislabels 6 GiB free RAM / 5 GiB commit headroom as physical-only while recovering from pressure. Synthetic coverage will exercise entry, retention and recovery boundaries.
claiming: D3D12-DOC-PLAY-NVIDIA-INVOCATION — follow up the closed, unmerged #2925 with the review-requested direct invocation example for d3d12\scripts\play-nvidia.ps1, including its required -Exe argument. Documentation only; no game files.
claiming: D3D12-GPU-AWAKE-FENCE-REMOVED-OVERFLOW — d3d12/crates/leonida-gpu/src/host/awake.rs:207 computes fence.GetCompletedValue() + 2 <= value. On D3D12 device removal, ID3D12Fence::GetCompletedValue() returns u64::MAX (0xFFFF_FFFF_FFFF_FFFF), causing completed + 2 to panic with arithmetic overflow in debug builds (crashing leonida-card-awake and leaking the CreateEventW handle) and wrap to 1 in release builds (re-entering SetEventOnCompletion instead of exiting via GetDeviceRemovedReason). Handle u64::MAX explicitly, use saturating_add(2), guard the event handle with Drop, and add unit tests. AI-assisted (Gemini 4 Neon).
claiming: D3D12-PLAY-EXISTING-PRECOMPILE-RT-OFF — enable the launcher's existing shader/pipeline precompile path in Play-GTA6.bat and keep the GTX 1660 profile's real ray tracing off.
Activity
sodove commentedon Nov 28, 2026
claiming: VERIFY-508, VERIFY-1477, VERIFY-762, VERIFY-1381, VERIFY-1482, VERIFY-2419, VERIFY-1692, VERIFY-2366, VERIFY-1481, VERIFY-1582, VERIFY-338, VERIFY-2265, VERIFY-1761, VERIFY-1683, VERIFY-708, VERIFY-1370, VERIFY-858, VERIFY-1112, VERIFY-1697, VERIFY-2171, VERIFY-966, VERIFY-910, VERIFY-1563, VERIFY-898, VERIFY-1587, VERIFY-803, VERIFY-435, VERIFY-410
Shader batch assigned by DadaCap. Pinned main
3bd936ecd98995bca3e1da83d5e28d2343001aef. I'll report PR-specific baseline and merged results, including validator and hardware coverage where exercised. AI-assisted: OpenAI Codex.zmasi commentedon Nov 28, 2026
done: VERIFY-2403, VERIFY-2347, VERIFY-2303, VERIFY-2289, VERIFY-2287 (claimed in #1608#issuecomment-7237767569) -> results in #2403, #2347, #2303, #2289, #2287
AI-assisted.
zmasi commentedon Nov 28, 2026
status: D3D12-SHADER-F16-OMOD-CONSOLE-MODE -> branch https://github.com/zmasi/leonida/tree/fix/d3d12-shader-f16-omod-console-mode (�4679c076704eec8c323405e158ed9fe58bef47c, claim #1608 (comment); PR slot queued).
ative::fspx_rsrc1 + lower::with_pgm_rsrc1 in emit_program): ignores omod while keeping [0, 1] clamp under console default FLOAT_MODE = 0xC0 (denorm_mode_16_64 = 3, including FSSM stages without PGM_RSRC1 and all 29 shipped FSPX shaders) or IEEE = 1, and scales before clamp when denorm_mode_16_64 = 0 && !ieee (SHADER-135). Restored �alu_tests::f16_omod_applies_before_clamp under denorm_mode_16_64 = 0, IEEE = 0 and documented // shortcut: + SDWA /
dna2spirv.py �_cvt_f16_f32 notes.
ative::tests, and interpolated_f16_writes_the_op_sel_half_with_modifiers passed on NVIDIA GeForce RTX 3090 D3D12 + WARP + dxil.dll.
AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-HLE-KERNEL-LOADER-PARITY-AND-BOUNDS ->
d3d12/crates/leonida-hle/src/modules/kernel.rs:GetModuleFileNameWbuffer pastMAX_PATH(up to32768) and preserve threadGetLastError()insidehost_overrideso long-path host modules cannot bypass HLEGetProcAddressoverrides (WinHttpOpen,connect,CreateFileW) or clobber callerGetLastError(); ignore nulllpProcNameinhost_override.#n, e.g.gameinput.dll#1GameInputCreate) on pseudo-modules inGetProcAddress, reject nulllpProcNameand missing exports withERROR_PROC_NOT_FOUND, and returnTRUEfromDisableThreadLibraryCallson pseudo-module handles (matchingruntime/shims/library_loader.cpp).find_moduleso""/"dir\\"pass through to the host instead of querying".dll", and trailing dots follow Win32 loader rules ("kernel32.dll."->"kernel32.dll","kernel32."->"kernel32").GetModuleFileNameW/GetModuleFileNameAtitle paths viawrite_unaligned(avoidingslice::from_raw_parts_mutUB/panics on uninitialized or odd-byte-aligned caller buffers) and clearLastErrortoERROR_SUCCESSwhen not truncated.AI-assisted.
zmasi commentedon Nov 28, 2026
status: queued ready-branch index on #2570 (66 ready branches; open PR slots: #2236 OPEN, #2238 OPEN; #2239 MERGED)
PR slot status:
zmasi:fix/dstorage-multilevel-bcpack-fit@ab4102efee):OPEN(APPROVEDbylixonik)zmasi:results/gpu-vega20-radv@126058daed):OPEN(verified clean byTheGeogeo&timbot103)zmasi:fix/rdna2spirv-f16-interp-computed-ij):MERGED(9fac739da4)Carryover from #1608 (comment) plus completed #2570 additions so contributors scanning #2570 can avoid duplicate work. All 66 branches below are finished, tested, merge cleanly against
main(c8bf0e7b6/3535eb5c4b), and pushed; each has its own claim and status comment on #1608 / #2570 and will open as PR slots free.Rust D3D12 runtime (
d3d12/):D3D12-LINUX-DXC-RUNTIME-SHADERS:zmasi:vega-d3d12-linux-dxc-runtime-shaders(9075a5e419, Coordinating who works on what (continued from #1608) #2570 (comment)) — Optional app-local x64 DXC (dxcompiler.dll+dxil.dll) runtime HLSL compilation on Wine/VKD3D-Proton routing all SM 5.1[RootSignature]shaders throughcompiler::compile_named(0/11 -> 11/11stock indirect & ambient GPU tests green on RADV + Windows 11 RTX 3090 FXC/DXC)D3D12-RT-FG-ARENA-VA-STORM:zmasi:fix/d3d12-rt-fg-arena-va-storm(9f39297d6a, Coordinating who works on what (continued from #1608) #2570 (comment)) — Ray Tracing + DLSS FrameGen0.1 FPSwhite-screen fix ([4 GiB, 2^37)write-watched pool belowMEMORY_PAGES - 1,[2^37, 2^40)BVH arenas, per-frame arena backoff)D3D12-ALIAS-CAST-R9G9B9E5:zmasi:perf/d3d12-gpu-alias-cast-r9g9b9e5(5e53cef854, Coordinating who works on what (continued from #1608) #2570 (comment)) — Zero-copyCreateCommittedResource3castableR9G9B9E5_SHAREDEXPSRVs (6.1x–12.6xfaster GPU,0copies/frame, saving260–515 MiBVRAM)D3D12-SHADER-SLOT-VIEW-ADDRESSES:zmasi:feat/d3d12-shader-slot-view-addresses(edf60e3050, Coordinating who works on what (continued from #1608) #2570 (comment)) — Descriptor-heapSLOT_ADDRESSES(t251) +USER_TABLE_BASE, unblocking59/64 -> 64/64ray-tracing shadow-mask trace shadersD3D12-SHADER-PAIRED-WAVE64-EXACTNESS:zmasi:fix/d3d12-shader-paired-water-and-wave64(53a6ec172d, Coordinating who works on what (continued from #1608) #2570 (comment)) — Paired Wave64-on-Wave32 exactness (LEONIDA_LOOPS_WAVE=1fixpointlane_regions, whole-waveSym::Ownlane provenance, wide/sub-dwordpaired_lds,USER_DISPATCH_THREADS_X+ spilled paired compute)D3D12-SMOOTH-MOTION-PRESENT-QUEUE:zmasi:fix/d3d12-smooth-motion-present-queue(9bdb186e47, Coordinating who works on what (continued from #1608) #2570 (comment)) — NVIDIA-SmoothMotion2.4 s0x80000003exit fix (3-buffer flip swap chain, hand-over-handQUEUE_ORDERserialization,-SmoothMotionauto-FG guard,NvAPI_UnloadDRS hardening)D3D12-RUST-SAMPLER-FIXTURE-LOD:zmasi:vega-d3d12-sampler-copy-fixture(0b3b0052f3, Coordinating who works on what (continued from #1608) #2570 (comment)) — ValidMinLOD <= MaxLOD&ComparisonFuncindescriptor.rsbyte-copy sampler fixture for VKD3D-Proton/RADVD3D12-PROTON-MESH-TIER-PREFLIGHT:zmasi:vega-d3d12-shader-host-mesh-tier(103c1d6817, Coordinating who works on what (continued from #1608) #2570 (comment)) — ExplicitD3D12_MESH_SHADER_TIER_NOT_SUPPORTEDcheck inleonida-shaderhost test helperD3D12-SHADER-CVT-FLR-RPI:zmasi:fix/d3d12-shader-cvt-flr-rpi(f895282f6)D3D12-SHADER-SALU-SCC-CARRY-AND-OVERFLOW:zmasi:fix/d3d12-shader-salu-scc-carry-overflow(93cceae36)D3D12-SHADER-SAMPLE-OFFSET-3D-AND-GETLOD-ZW:zmasi:fix/d3d12-shader-sample-offset-3d-getlod(910d34379)D3D12-SHADER-LANE-SELECT-MASK:zmasi:fix/d3d12-shader-lane-select-mask(2decd44bd)D3D12-SHADER-SOP64-AND-V64-INLINE-FLOAT-CONSTANTS:zmasi:fix/d3d12-shader-inline-f64-constants(bd1d39882)D3D12-SHADER-HALF-SRC-INLINE-FLOAT-AND-SDWA:zmasi:fix/d3d12-shader-half-src-sdwa(aeeafe70e)D3D12-SHADER-PK16-AND-U16-CLAMP:zmasi:fix/d3d12-shader-pk16-u16-clamp(25e495dc0)D3D12-SHADER-F16-OMOD-CONSOLE-MODE:zmasi:fix/d3d12-shader-f16-omod-console-mode(1c18df59e)D3D12-SHADER-VOP3-INT16-MISSING-OPCODES:zmasi:fix/d3d12-shader-vop3-int16-missing-opcodes(60c75fba7)D3D12-SHADER-LDS-EXACT-MINMAX-COMMUTATIVITY:zmasi:fix/d3d12-shader-lds-exact-minmax-commute(2c6d71454)D3D12-GPU-ROOT-DESERIALIZER-CONSOLE-FLAGS:zmasi:fix/d3d12-gpu-root-deserializer-console-flags(48c330a01)D3D12-GPU-INPLACE-VIEW-ALIAS-AND-SECTION-LIFETIME:zmasi:fix/d3d12-gpu-inplace-view-alias-bounds(5645d55de)D3D12-GPU-DXGI-OUTPUT-DISPLAY-MODES-FORMAT:zmasi:fix/d3d12-gpu-dxgi-output-display-modes(ec798d0e0)D3D12-GPU-HOSTLIST-INDIRECT-ARGS-POOL:zmasi:fix/d3d12-gpu-hostlist-indirect-args-pool(3dc844f276)PORT-NV-INDIRECT-MERGE:zmasi:feat/d3d12-port-nv-indirect-merge(3d231394e)PORT-NV-POOL-STATS-AND-SMALL:zmasi:feat/d3d12-port-nv-pool-stats-and-small(92d339ec0)PORT-NV-WAVE64-ON-32LANE:zmasi:feat/d3d12-port-nv-wave64-on-32lane(cac46cf15)PORT-UN-SMOOTH-MOTION-NVAPI:zmasi:feat/d3d12-port-un-smooth-motion-nvapi(c9f084b8c)PORT-UN-CORES-HYBRID-PLACEMENT:zmasi:feat/d3d12-port-un-cores-hybrid-placement(55fca33e6)PORT-UN-FIDELITYFX-REDIRECT:zmasi:feat/d3d12-port-un-fidelityfx-redirect(d3e26d9dd)PORT-NV-DOCS-8GB-AND-WINMEM:zmasi:docs/d3d12-port-nv-docs-8gb-and-winmem(a62b478526)D3D12-HLE-APU-HANDLE-LIFETIME:zmasi:fix/d3d12-hle-apu-handle-lifetime(c7cef4fe7)D3D12-HLE-DSP-HANDLE-LIFETIME-AND-ALIGNMENT:zmasi:fix/d3d12-hle-dsp-handle-lifetime(5e48f2b26)D3D12-HLE-KERNEL-LOADER-PARITY-AND-BOUNDS:zmasi:fix/d3d12-hle-kernel-loader-parity-bounds(ea369dba2)D3D12-HLE-GAMEINPUT-QI-AND-DISCONNECT-HISTORY:zmasi:fix/d3d12-hle-gameinput-qi-disconnect-history(6c064eb6c)D3D12-HLE-LIFECYCLE-ANSI-WNDPROC-AND-NCDESTROY:zmasi:fix/d3d12-hle-lifecycle-ansi-wndproc-lifetime(903e7e448)D3D12-HLE-XASYNC-CALLBACK-AND-CANCEL-LIFETIME:zmasi:fix/d3d12-hle-xasync-callback-and-cancel-lifetime(daf7ddee1)D3D12-HLE-DSTORAGE-QUEUE-VTABLE-AND-FILE-UAF:zmasi:fix/d3d12-hle-dstorage-vtable-and-file-uaf(4175e2682)D3D12-HLE-DSTORAGE-INPLACE-OVERLAP-AND-STATUS-RACE:zmasi:fix/d3d12-hle-dstorage-inplace-overlap-status(aa1044d77)D3D12-HLE-XMEM-PHYSICAL-MAP-BOUNDS-AND-SPLIT-PLACEHOLDERS:zmasi:fix/d3d12-hle-xmem-physical-map-placeholders(fc1019e81)D3D12-HLE-NET-LOOKUP-LEAKS-AND-IOCTL-BOUNDS:zmasi:fix/d3d12-hle-net-lookup-ioctl-bounds(7f20d0713)D3D12-HLE-XG-TILING-AND-COPY-BOUNDS:zmasi:fix/d3d12-hle-xg-tiling-and-copy-bounds(3d1c30a4a)D3D12-HLE-FILES-VIRTUAL-DRIVE-BOUNDS(+media.rsprefixes):zmasi:fix/d3d12-hle-files-virtual-drive-bounds(4cc2b5950)D3D12-HLE-AUDIO-NOTIFICATION-AND-HEAP-BOUNDS:zmasi:fix/d3d12-hle-audio-notification-heap-bounds(9050ec766)D3D12-HLE-XGAMESAVE-VERSION-AND-READ-BOUNDS:zmasi:fix/d3d12-hle-xgamesave-version-read-bounds(51b469296)D3D12-HLE-XSYSTEM-REGISTRY-AND-ANALYTICS-BOUNDS:zmasi:fix/d3d12-hle-xsystem-registry-analytics-bounds(b0108027e)D3D12-LUA-SANDBOX-XPCALL-AND-STRING-METATABLE:zmasi:fix/d3d12-lua-sandbox-xpcall-string-meta(5b8522db1)D3D12-MENU-MODS-STALE-ITEM-INDEX:zmasi:fix/d3d12-menu-mods-stale-item-index(4014af66f)D3D12-MENU-SCALE-STEP-AND-PNG-BOUNDS:zmasi:fix/d3d12-menu-scale-step-png-bounds(0f2d5db30)D3D12-LOADER-CLZERO-LOOP-DECODE:zmasi:fix/d3d12-loader-clzero-loop-decode(71c8d3e2e)D3D12-LOADER-PREPARE-BOUNDS:zmasi:fix/d3d12-loader-prepare-bounds(7b8d688ba)D3D12-LOADER-TLS-DISP32-AND-PROTECT-BOUNDS:zmasi:fix/d3d12-loader-tls-disp32-protect-bounds(758b30fe8)D3D12-LOADER-CRASH-PAGE-THROW-AND-UNWIND-BOUNDS:zmasi:fix/d3d12-loader-crash-page-throw-unwind-bounds(164de1cb7)D3D12-PE-ENTRY-AND-TLS-BOUNDS:zmasi:fix/d3d12-pe-entry-and-tls-bounds(de6a23248)D3D12-FORMATS-TEXTURE-MIP-MSAA-1D-BOUNDS:zmasi:fix/d3d12-formats-texture-mip-msaa-1d-bounds(f79892998)D3D12-FORMATS-XMA-FIRST-FRAME-BOUNDS:zmasi:fix/d3d12-formats-xma-first-frame-bounds(b4613feb1)D3D12-CORE-POLICY-MONOREPO-ROOT:zmasi:fix/d3d12-core-policy-monorepo-root(48c5c824c)C++ runtime, scripts, and tools:
TEST-INTERP-COMPUTED-IJ-FALLBACK-RTZ:zmasi:fix/test-interp-computed-ij-rtz(3e478dcef6, Coordinating who works on what (continued from #1608) #2570 (comment)) — Aligntest_interp_computed_ij_fallback.py(rdna2spirv: lower computed I/J barycentrics under --f16-interp-fallback (SHADER-F16-INTERP-COMPUTED-IJ) #2239)v_interp_p2_f16oracle withSHADER-468(rdna2spirv: f16 interp deltas and toward-zero p2 narrow (SHADER-468) #1181) toward-zero narrowingD3D12-PROTON-EXPLICIT-WOW64:zmasi:fix/play-linux-preserve-wow64(98a4c170d6, Coordinating who works on what (continued from #1608) #2570 (comment)) — Preserve explicitWINEARCH=wow64acrossscripts/play-linux.shcold boot and launchMAKE-GAME-DEFAULT-FNV1A-FMIX32:zmasi:make-game-default-fnv1a-fmix32(c847cc059)VK-DEVICE-MARKERS-SYNC-WAW:zmasi:fix-vk-device-markers-sync-waw(ccaad2dde)RT-ORDINARY-HEAP-LOW-ARENA-VSHARP:zmasi:fix-d3d12-low-title-vsharp-provenance(c8bde535f)RT-GAMEINPUT-SDL-BLOCKING-UNREGISTER-SYNC:zmasi:fix/gameinput-sdl-blocking-unregister-sync(11900cb59)RT-MSAA-DEPTH-SRV:zmasi:fix/msaa-depth-srv(0cef915f3)RT-COMPILE-HELPER-LATE-JOURNAL-RELOAD:zmasi:fix/compile-helper-late-journal-reload(9bb59d09f)RT-SLOT70-SUPERSEDED-SLOT133-VIEW:zmasi:fix/slot70-superseded-slot133-view(44311889e)RT-COMPILE-SERVER-REQUEST-SPIN:zmasi:fix/compile-server-request-spin(736ae309f)TOOL-LDS-FUZZ-CMPST-BARRIER:zmasi:fix/lds-fuzz-cmpst-barrier(dc553a70e)AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: VERIFY-2285, VERIFY-2266, VERIFY-2264, VERIFY-2263, VERIFY-2262 (Windows 11)
AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-HLE-DSP-HANDLE-LIFETIME-AND-ALIGNMENT
Scope:
d3d12/crates/leonida-hle/src/modules/dsp.rs(chad.dll) — trackDspandStreamhandles via monotonic IDs +Arcownership soXDspDisconnectbeforeXDspDeactivate, double-disconnect/deactivate, and stale handles returnE_INVALIDARGinstead of UAF/double-free; replace&mut Statuswith atomic fields (Ordering::Releaseoncompleted) serialized per stream; handle unalignedCommand/output/ out-pointers safely; and acceptbase_length == 0while rejectingmax_streams == 0andmax_channels == 0perruntime/shims/chad.cpp.AI-assisted.
zmasi commentedon Nov 28, 2026
Updates on the three gfx906 lanes claimed in #1608 before the comment cap:
RT-VK-DEVICE-MARKERS-SYNC-WAW→zmasi:fix-vk-device-markers-sync-waw,77670e6f. On33db04a70synchronization validation reported 10 repeated marker writes; the marker values were already correct. The fix adds one transfer-write dependency over the queue’s eight-byte marker slot before each marked compute dispatch. Both registered marker CTests passed; the legacy and synchronization2 marker paths read back 5/5 and 8/8 with zero validation errors. No added host wait or dependency when markers are disabled. This covers main’s out-of-rendering dispatch path, not [integration] PageMirror, GPU detile, async queue & RDNA2->SPIR-V performance stack (INTEGRATION-PERF-CPU-GPU-R6) #2566’s additional in-rendering draw path. No PR opened. Test-only follow-upccaad2ddaddresses the legacy stage capture conversion reported by @Tyrannys; the runtime is unchanged. Same-stage marker writes already have an implicit dependency under the specification; the explicit transfer dependency removed the observed layer reports. Its timing impact with markers enabled was not measured. Earlier observation: @kevincommits.VERIFY-2360-VEGA20-RADV→ native bitcmp readbacks. Same 2,368 words: 1,080 wrong on main, zero wrong on the merge.VERIFY-2478-VEGA20-RADV→ Wine rectangle-corner readbacks. Main failed 7 of 17 pixel cases; the merge passed all 17.AI-assisted.
zmasi commentedon Nov 28, 2026
done: VERIFY-2285, VERIFY-2266, VERIFY-2264, VERIFY-2263, VERIFY-2262 -> results in #2285, #2266, #2264, #2263, #2262
AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-GPU-ROOT-DESERIALIZER-CONSOLE-FLAGS ->
d3d12/crates/leonida-gpu/src/root.rs:0xff00_0000) fromDXBCRTS0chunks (versions1.0..1.2) and recompute non-zeroDXBCcontainer checksums increate_deserializer(d3d12_xs!D3D12CreateRootSignatureDeserializer) before forwarding to hostd3d12.dll(matchingruntime/shims/d3d12_xs_rootsig.cpp, while failing closed on malformed containers/chunk tables or mismatched incoming hashes).without_console_flagsinserialize_versionedto root-signature versions1.0..1.2(1..=3), and clear non-null output pointers (out,blob,error) on earlyE_INVALIDARG/E_NOTIMPLfailures.AI-assisted.
zmasi commentedon Nov 28, 2026
status: D3D12-HLE-DSP-HANDLE-LIFETIME-AND-ALIGNMENT — pushed to
zmasi:fix/d3d12-hle-dsp-handle-lifetime(5e48f2b26f1bc935e086e6fa6b0d4427e643d7ea, based on6c7f79343, claim#2570#issuecomment-7237957634)Dspconnections andStreams by monotonic non-zero handle IDs (RwLock<HashMap<usize, Arc<...>>>) withArc<Dsp>ownership onStream, preventing UAF whenXDspDisconnectprecedesXDspDeactivate, double-free on repeatedXDspDisconnect/XDspDeactivate, and wild-pointer dereferences on stale or foreign handles.Statusfields toAtomicU32/AtomicI32with per-stream submission serialization andOrdering::Releaseoncompleted, eliminating&mut Statusaliasing and concurrent ticket data races.read_unaligned/write_unalignedon FFI structs/out-pointers, cleared outputs on failed calls, zeroedcommand.outputviacast::<u8>()afterchecked_add(byte_len), and acceptedbase_length == 0while rejectingmax_streams == 0andmax_channels == 0(runtime/shims/chad.cpp).3/3new tests failed on6c7f79343, includingmisaligned pointer dereferenceabort and126 != 128lost concurrent tickets) -> Green (186leonida-hletests pass,0clippy warnings indsp.rsacross default anddiagnostics).AI-assisted.
Tyrannys commentedon Nov 28, 2026
@zmasi a note on
RT-VK-DEVICE-MARKERS-SYNC-WAW(zmasi:fix-vk-device-markers-sync-waw,77670e6f) and #2489, which also changesvulkan_device_markers.h(the marker buffer is CONCURRENT over the device's queue families) andvulkan_device_markers_test.cpp.git merge-treeof vulkan: depth24 scratch and the device marker buffer are shared across queue families (RT-QUEUE-FAMILY-SHARING-DEPTH24-MARKERS) #2489's head and your branch is clean. Your barrier usesVK_QUEUE_FAMILY_IGNOREDon a slot of its own queue, which is fine on a CONCURRENT buffer too.runtime/test/vulkan_device_markers_test.cpp:81,writes.push_back({command_buffer, stage, offset, marker, false});inwrite_marker, fails with C2397: brace-initializing thestd::uint64_t stagefield from aVkPipelineStageFlagBitsis a narrowing conversion. GCC/Clang accept it.std::uint64_t(stage)fixes it.vulkan_device_markers,vk_device_markersanddepth24_scratch_sharingpass (3/3).vk_device_markersruns the marker path on an RTX 4070 SUPER (driver 621.01): marker2 and legacy rounds read back 5 and 8. The validation layer was not installed, so validation was off for this run.AI-assisted (Claude Code)
zmasi commentedon Nov 28, 2026
status: D3D12-HLE-KERNEL-LOADER-PARITY-AND-BOUNDS -> branch https://github.com/zmasi/leonida/tree/fix/d3d12-hle-kernel-loader-parity-bounds (
ea369dba2a2d99fd2869b3f1100c0d5ecae45194onmain16e90d1ff)d3d12/crates/leonida-hle/src/modules/kernel.rs):host_override'sGetModuleFileNameWbuffer up to32768UTF-16 code units, ignore nulllpProcName, and preserve threadGetLastError()acrossGetProcAddress(including lazyREGISTRYinitialization andGetModuleFileNameW) so long-path host modules cannot bypass HLE overrides (WinHttpOpen,connect,CreateFileW) or clobber callerGetLastError().#ordinalexports (< 0x10000, e.g.gameinput.dll#1GameInputCreate) on console pseudo-modules inGetProcAddress, setERROR_PROC_NOT_FOUND(127) whenlpProcNameis null or unimplemented, and returnTRUE(1) fromDisableThreadLibraryCallson pseudo-module handles.find_module(""/"dir\\"pass through to the host instead of querying".dll", and trailing.characters strip without appending.dll).GetModuleFileNameW/GetModuleFileNameAtitle paths viawrite_unaligned(avoidingslice::from_raw_parts_mutUB/panics on uninitialized or odd-byte-aligned caller buffers) and clearLastErrorto0(ERROR_SUCCESS) when not truncated.16e90d1ff): all 4 newmodules::kernelregression tests failed (pseudo_modules_resolve_ordinals_report_errors_and_disable_thread_calls,host_proc_overrides_handle_long_paths_and_preserve_last_error,empty_and_trailing_dot_module_names_follow_win32_rules, andtitle_module_filenames_accept_unaligned_uninit_buffers_and_clear_last_errorwithslice::from_raw_parts_mutalignment abort0xc0000409).ea369dba2):cargo test -p leonida-hle -- --test-threads=4(185unit +1integration passed,0failed),0clippy warnings inkernel.rs(default &diagnostics),check_no_game_data.pyandtest_text_write_line_endings.pyclean; held at open-PR cap.AI-assisted.
zmasi commentedon Nov 28, 2026
finding: D3D12-HLE-RPCRT4-UUID-PARSE-AND-OOM-BOUNDS (open for anyone, not claimed by this account)
In
d3d12/crates/leonida-hle/src/modules/rpcrt4.rs:parse()(L203-225, backingUuidFromStringAandUuidFromStringW) accepts malformed UUID strings that Win32rpcrt4rejects withRPC_S_INVALID_STRING_UUID(1705):{with no closing}("{1234abcd-00ef-4a5b-8012-3456789abcde"),}with no leading{("1234abcd-00ef-4a5b-8012-3456789abcde}"),}("{1234abcd-00ef-4a5b-8012-3456789abcde}trailing", becauseL210returns as soon as the 33rd character is}without exhaustingchars), and-separators anywhere before the 32nd hex digit (L212unconditionally skips-at any position).UuidToStringA/UuidToStringW(L135, L152) returnRPC_S_OK(0) with*out == nullifallocate()returns null instead ofRPC_S_OUT_OF_MEMORY(14), andUuidCreate/UuidFromString*/UuidToString*use alignedas_ref()/write()on callerGuidpointers instead ofread_unaligned/write_unaligned.AI-assisted.
zmasi commentedon Nov 28, 2026
claiming: D3D12-LOADER-TLS-DISP32-AND-PROTECT-BOUNDS
Scope:
d3d12/crates/leonida-loader/src/tls.rs— reject TLS slot indices whoseindex * 8displacement overflows signed 32-bitlea r, [r + disp32](index >= 0x1000_0000u32wrap andindex >= 0x0800_0000negative sign-extension), checki32::try_from(rel)inpatchinstead of truncatingrel as i32, and validatetls.directory_rva,index_at, zero-length executable sections, and section RVA/size bounds beforeVirtualProtect/ slice creation inredirect.AI-assisted.
1467 remaining items
bobcatchris commentedon Dec 1, 2026
claiming: D3D12-GAME-ACTIONS-AND-WATCH-NO-STDERR-PANIC (ref @KelboLive's review on #2840) — replace \�println!\ with fallible \let _ = writeln!(std::io::stderr(), ...)\ in \game_actions::log\ (\d3d12/apps/leonida/src/game_actions.rs:395, called from the title frame hook and \leonida-game-actions\ thread so a closed stderr pipe also loses the \log.txt\ write) and
un::watch\ (\d3d12/apps/leonida/src/run.rs:336, \LEONIDA_WATCH\ polling thread), with a closed-stderr subprocess regression test. AI-assisted (Gemini 4 Neon).
andrew-ai commentedon Dec 1, 2026
claiming: SMOOTH-MOTION-HELP — make -Help and -? on scripts/smooth-motion.ps1 show the profile query/on/off usage before loading NVAPI. This takes the Smooth Motion part of #2570 (comment) that #2853 explicitly left open. I will test the help path without touching a driver profile. AI-assisted (Codex).
andrew-ai commentedon Dec 1, 2026
done: SMOOTH-MOTION-HELP -> #2943
andrew-ai commentedon Dec 1, 2026
claiming: GAME-GATE-VERB-HELP — document the run, start and stop modes in the PowerShell help for scripts/game-gate.ps1, with examples for a measured run and a stop request. Taking the game-gate item from #2570 (comment), explicitly excluded from #2853. No game or GPU needed. AI-assisted (Codex).
bobcatchris commentedon Dec 1, 2026
done: D3D12-GAME-ACTIONS-AND-WATCH-NO-STDERR-PANIC -> #2945. AI-assisted (Gemini 4 Neon).
Sergentval commentedon Dec 1, 2026
status: D3D12-PANEL-ADVANCED — written, reviewed and run in the title; the branch is
d3d12-panel-advancedon my fork (917ad59, on top of #2801's head). No pull request yet: the repository allows one open pull request for users without write access, and mine is #2801. I will open it as soon as #2801 is merged or closed; the claim stands.The same limit holds back D3D12-RUN-BUILD-LINE (see my note to wrexik above), so nothing of mine will collide with the adapter diagnostic in the meantime.
🤖 Generated with Claude Code
andrew-ai commentedon Dec 1, 2026
status: GAME-GATE-VERB-HELP is implemented, tested (25 passing game-gate tests) and independently reviewed. Branch: https://github.com/andrew-ai/mandy/tree/docs/game-gate-verb-help at 3577789. GitHub declined a second upstream PR while #2943 is open. The claim stands; I will link the PR here when it opens.
bobcatchris commentedon Dec 1, 2026
claiming: D3D12-LOADER-CRASH-NO-STDERR-PANIC —
d3d12/crates/leonida-loader/src/crash.rscalls panickingeprint!/eprintln!inlog_crash(line 69, beforeappend_to_log) and insidereport(lines 588, 624, 633 — invoked fromextern "system"VEH/SetUnhandledExceptionFilterbeforeappend_to_logand inside theLEONIDA_CRASH_SAVEloop). On a closed stderr pipe this panics (aborting acrossextern "system") and losescrashes.logandLEONIDA_CRASH_SAVEdumps. Replace with falliblestd::io::Write(let _ = write!/writeln!(std::io::stderr(), ...)) and writeappend_to_logbefore stderr inlog_crash, with closed-stderr subprocess regression tests. AI-assisted (Gemini 4 Neon).bobcatchris commentedon Dec 1, 2026
claiming: D3D12-LOADER-PROFILE-AND-STACKS-SAFETY — fix thread handle leaks, unsigned CPU-time underflow, and closed-stderr panics in
d3d12/crates/leonida-loader/src/profile.rsandd3d12/crates/leonida-loader/src/stacks.rs:profile.rs: addDroponThreadsoOpenThreadhandles are never leaked whenwrite()fails early (e.g.File::createerror) orprofile()unwinds; checkGetThreadTimes(...) != 0and usesaturating_subfort.now - t.last/t.now - t.firstso a failed query cannot underflow/panic in debug or wrap tou64::MAXin release; replace panickingeprintln!calls on the detachedLEONIDA_PROFILEthread with falliblewriteln!(std::io::stderr(), ...).stacks.rs: close eachOpenThreadhandle via an RAII guard (and before stderr writes) and replace panickingeprintln!calls indump_stackswith falliblewriteln!(std::io::stderr(), ...).With unit and closed-stderr subprocess tests. AI-assisted (Gemini 4 Neon).
NetZlash commentedon Dec 1, 2026
claiming: D3D12-RESIDENCY-PRESSURE-ATTRIBUTION — report physical-only pressure from the active hysteresis thresholds, without changing admission behavior. The current diagnostic mislabels 6 GiB free RAM / 5 GiB commit headroom as physical-only while recovering from pressure. Synthetic coverage will exercise entry, retention and recovery boundaries.
wrexik commentedon Dec 1, 2026
claiming: D3D12-DOC-PLAY-NVIDIA-INVOCATION — follow up the closed, unmerged #2925 with the review-requested direct invocation example for
d3d12\scripts\play-nvidia.ps1, including its required-Exeargument. Documentation only; no game files.bobcatchris commentedon Dec 1, 2026
done: D3D12-LOADER-CRASH-NO-STDERR-PANIC -> #2946. AI-assisted (Gemini 4 Neon).
bobcatchris commentedon Dec 1, 2026
done: D3D12-LOADER-PROFILE-AND-STACKS-SAFETY -> #2947. AI-assisted (Gemini 4 Neon).
bobcatchris commentedon Dec 1, 2026
claiming: D3D12-GPU-AWAKE-FENCE-REMOVED-OVERFLOW —
d3d12/crates/leonida-gpu/src/host/awake.rs:207computesfence.GetCompletedValue() + 2 <= value. On D3D12 device removal,ID3D12Fence::GetCompletedValue()returnsu64::MAX(0xFFFF_FFFF_FFFF_FFFF), causingcompleted + 2to panic with arithmetic overflow in debug builds (crashingleonida-card-awakeand leaking theCreateEventWhandle) and wrap to1in release builds (re-enteringSetEventOnCompletioninstead of exiting viaGetDeviceRemovedReason). Handleu64::MAXexplicitly, usesaturating_add(2), guard the event handle withDrop, and add unit tests. AI-assisted (Gemini 4 Neon).Neofinal7 commentedon Dec 1, 2026
claiming: D3D12-PLAY-EXISTING-PRECOMPILE-RT-OFF — enable the launcher's existing shader/pipeline precompile path in Play-GTA6.bat and keep the GTX 1660 profile's real ray tracing off.