Repository navigation
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
…cl-dev#851, xcl-dev#864, xcl-dev#875-xcl-dev#876 and Wine raw fences Integrate clean upstream PRs on top of upstream/main (1ec4c98): - xcl-dev#849: direct move_away for remapped physical pages (avoids 4x sparse tile-mapping round-trips) - xcl-dev#838: FillMemoryWith*BitValueX uses list upload arena instead of leaked pattern buffers - xcl-dev#840: merge released ranges of the shared descriptor heap - xcl-dev#839: map queue-specific D3D12_BARRIER_LAYOUT values to legacy resource states - xcl-dev#841: preserve due frame-clock events when schedule changes at deadline - xcl-dev#851: split wrapped command lists before Wait64 GE after ordinary GPU work - xcl-dev#864: export XMemIsToolsMemAvailable returning 0 on retail - xcl-dev#875: tbuffer_load_format_* uses identity DST_SEL instead of V# DST_SEL - xcl-dev#876: implement IDXGIDevice2::EnqueueSetEvent Also add real::create_raw_fence for internal fences (late_release and EnqueueSetEvent) so Wine/vkd3d-proton never receives a FenceProxy on unadopted internal queues or SetEventOnMultipleFenceCompletion, and wrap list_x test exec with UnadoptGuard. Assisted-by: Antigravity (Google DeepMind)
… Linux PRs ivall#867/ivall#871/ivall#877 Update fork README for upstream/main 1ec4c98 (fenced late_release and queue-wait diagnostics), newly integrated PRs (ivall#838-ivall#841, ivall#849, ivall#851, ivall#864, ivall#875, ivall#876), live gameplay audio progress, and our three open upstream Linux PRs (ivall#867, ivall#871, ivall#877). Assisted-by: Antigravity (Google DeepMind)
228b46b to
1fdbdb5
Compare
…cl-dev#864, xcl-dev#875-xcl-dev#876 Re-apply the 8 non-merged upstream PRs from our previous fork main onto upstream/main (930e8b4): xcl-dev#838 (upload-arena fills), xcl-dev#839 (queue-specific barrier layouts), xcl-dev#840 (coalesced shared descriptor heap), xcl-dev#841 (frame clock deadline reschedule), xcl-dev#851 (split before Wait64 GE after ordinary work), xcl-dev#864 (XMemIsToolsMemAvailable), xcl-dev#875 (tbuffer_load_format identity DST_SEL), and xcl-dev#876 (IDXGIDevice2::EnqueueSetEvent with create_raw_fence). Assisted-by: Antigravity (Google DeepMind)
|
Regression run on a retail title for Tested
main: this PR: Not tested
AI use
|
Empirical test report (1fdbdb5)Tested PR #841 at Hardware / environment
Commands and results
Observed behavior
Not tested The full GPU workspace suite and game smoke runs were omitted. Live clock-thread timing and event delivery in a running title were outside the focused test's scope. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
The clock thread plans every type's next deadline from now - 1 and, once it has slept to the deadline, checks that the schedule did not change meanwhile. On a change it planned again, from now, which by then is past the deadline, so every event due there (the origin too, whatever type changed) moved a whole frame later. sleep_until spins the last 600 us without watching for a change, so a title that reschedules a frame event every frame lost about one origin in 28 at 60 Hz, and its WaitFrameEventX waited an extra interval. A deadline reached while the schedule changed is now planned again from that deadline: what the new schedule has due there fires, late. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1fdbdb5 to
3a02170
Compare
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
Fixes a frame-skipping race in
d3d12x::frame::clock_thread: whensleep_untilfinished atdeadlineand saw a changed schedulegeneration(e.g. a reschedule arriving during the unwatched 600 us spin window), the loop replanned fromqpc()(now pastdeadline), pushing every event due atdeadline(including the frame origin) a full frame interval later.deadlineinmissedand replans viareplan_after(missed.take(), qpc())(missed.min(now) - 1), so any event the new schedule still has due at that deadline fires immediately instead of being skipped for an entire interval.a_schedule_change_at_a_deadline_does_not_skip_it.Tested
617.42/32.0.16.1742), Windows 11 Pro 25H2 (26200.9974),rustc 1.100.0 (0ef1bc386 2026-11-09)MSVC debug, DXC Windows SDK10.0.26100.0,d3d12SDKLayers.dllinstalled228b46b3b011b15aeb2d5478f5f99a9f0f9763f7cargo build --workspace: clean (only pre-existingfetch_updatedeprecation warning)cargo test --workspace -- --test-threads=4: 714 passed, 0 failed, 41 ignored (new testhle::d3d12x::frame::tests::a_schedule_change_at_a_deadline_does_not_skip_itpassed)SKIPPEDGPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64Not tested
scripts/smoke.ps1) not yet run (no retail title available in this clean-room environment); opened as Draft pending a smoke run.AI use