perf(gpu): add opt-in tiered WDDM residency orchestrator (VICTORY_WDDM_RESIDENCY=1) #282

Open
github-bot wants to merge 1 commit from github-bot/gh-282 into main AGit
Owner

@⁠Vladimir-Human on GitHub · 2026-11-27 13:37 UTC · original
Vladimir-Human:feat/uma-wddm-adapter-scorer → main · +1769 −32 · 6 files · 1 commits · open

Summary

Split out WDDM tiered residency (VICTORY_WDDM_RESIDENCY=1, default 0) first per @TaynanGT's review (UMA fast path & smart multi-GPU adapter selection removed here; automatic UMA selection stays off everywhere):

  • crates/victory-gpu/src/residency_wddm.rs:
    • Bounded IDXGIAdapter3::SetVideoMemoryReservation on local VRAM (targets_working_bytes, capped strictly below AvailableForReservation and Budget, with UMA cap <= 25% via probe_uma).
    • ID3D12Device1::SetResidencyPriority tiering for committed RT/depth/hot buffers (HIGH), active textures (NORMAL), and idle texture pool blocks (LOW / MINIMUM).
    • Fence-safe explicit ID3D12Device::Evict / MakeResident lifecycle on aged idle pool.rs texture heaps (completed_submission >= idle_fence), with rollback on mapped() failure and zero D3D12 debug errors.
  • Strict default-0 neutrality (crates/victory-gpu/src/pool.rs):
    • At VICTORY_WDDM_RESIDENCY=0, pool::room, pool::texture, Pool::take_ripe, and Pool::reclaim execute the exact unmodified baseline code paths without querying submissions or modifying residency state.

Verification

  • cargo xtask policy: asset policy: 323 files ok
  • cargo clippy -p victory-gpu --all-targets -- -D warnings (default & --features diagnostics): 0 warnings
  • Hardware D3D12 (VICTORY_D3D12_DEBUG=1) & VICTORY_D3D12_WARP=1 (--test-threads=1):
    • residency_wddm::tests: 3 passed, 0 failed (both HW & WARP)
    • pool::tests: 12 passed, 0 failed (both HW & WARP, including default_disabled_wddm_take_ripe_and_reclaim_preserve_baseline_order)

No gameplay run was performed locally for this change; performance impact in-game is unmeasured.

The remaining smart-adapter scorer & explicit VICTORY_UMA_FAST_PATH=1 (auto disabled) portion is staged on Vladimir-Human/Vice-Tay:feat/smart-adapter-uma-optin for follow-up once this lands.

**@⁠Vladimir-Human** on GitHub · 2026-11-27 13:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282) `Vladimir-Human:feat/uma-wddm-adapter-scorer` → `main` · +1769 −32 · 6 files · 1 commits · open ## Summary Split out **WDDM tiered residency** (`VICTORY_WDDM_RESIDENCY=1`, default `0`) first per `@TaynanGT`'s review (UMA fast path & smart multi-GPU adapter selection removed here; automatic UMA selection stays off everywhere): - **`crates/victory-gpu/src/residency_wddm.rs`**: - Bounded `IDXGIAdapter3::SetVideoMemoryReservation` on local VRAM (`targets_working_bytes`, capped strictly below `AvailableForReservation` and `Budget`, with UMA cap `<= 25%` via `probe_uma`). - `ID3D12Device1::SetResidencyPriority` tiering for committed RT/depth/hot buffers (`HIGH`), active textures (`NORMAL`), and idle texture pool blocks (`LOW` / `MINIMUM`). - Fence-safe explicit `ID3D12Device::Evict` / `MakeResident` lifecycle on aged idle `pool.rs` texture heaps (`completed_submission >= idle_fence`), with rollback on `mapped()` failure and zero D3D12 debug errors. - **Strict default-0 neutrality (`crates/victory-gpu/src/pool.rs`)**: - At `VICTORY_WDDM_RESIDENCY=0`, `pool::room`, `pool::texture`, `Pool::take_ripe`, and `Pool::reclaim` execute the exact unmodified baseline code paths without querying submissions or modifying residency state. ## Verification - `cargo xtask policy`: `asset policy: 323 files ok` - `cargo clippy -p victory-gpu --all-targets -- -D warnings` (default & `--features diagnostics`): 0 warnings - Hardware D3D12 (`VICTORY_D3D12_DEBUG=1`) & `VICTORY_D3D12_WARP=1` (`--test-threads=1`): - `residency_wddm::tests`: **3 passed, 0 failed** (both HW & WARP) - `pool::tests`: **12 passed, 0 failed** (both HW & WARP, including `default_disabled_wddm_take_ripe_and_reclaim_preserve_baseline_order`) No gameplay run was performed locally for this change; performance impact in-game is unmeasured. _The remaining smart-adapter scorer & explicit `VICTORY_UMA_FAST_PATH=1` (`auto` disabled) portion is staged on `Vladimir-Human/Vice-Tay:feat/smart-adapter-uma-optin` for follow-up once this lands._
- Probe D3D12_FEATURE_ARCHITECTURE1 at device init (with legacy ARCHITECTURE fallback and runtime telemetry) and automatically disable redundant RAM-to-RAM card buffer twins and copy-queue bounce copies on UMA adapters, with VICTORY_UMA_FAST_PATH=0/1 and VICTORY_CARD_BUFFERS=0/1 controls and zero regression on discrete GPUs.
- Add residency_wddm.rs wrapping IDXGIAdapter3::SetVideoMemoryReservation (clamped to OS AvailableForReservation and Budget), ID3D12Device1::SetResidencyPriority (HIGH for RT/depth/hot buffers, NORMAL for active textures/heaps, LOW/MINIMUM for idle pool blocks), and fence-safe lock-free Evict()/MakeResident() on aged idle pool.rs texture heaps with VICTORY_WDDM_RESIDENCY=0 opt-out and WARP/legacy driver tolerance.
- Add adapter.rs upgrading hardware selection via IDXGIFactory6 (DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE) scoring dedicated VRAM (>= 4 GiB), SM 6.6+, TiledResourcesTier, and display output LUID affinity, checking MonitorFromWindow output adapter LUID vs device.GetAdapterLuid() at startup and presenter creation, and fixing numeric GPU model substring filters ("4090", "6700", etc.) in VICTORY_D3D12_ADAPTER.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 13:47:46 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 13:43 UTC · original

@⁠Vladimir-Human UMA, residency reservations and adapter selection should be independently testable. Start with an explicit adapter choice so the same physical GPU runs both sides. Record local and shared memory alongside frame time before recommending any of these as a default.

**@⁠TaynanGT** on GitHub · 2026-11-27 13:43 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7219862644) @⁠Vladimir-Human UMA, residency reservations and adapter selection should be independently testable. Start with an explicit adapter choice so the same physical GPU runs both sides. Record local and shared memory alongside frame time before recommending any of these as a default.
github-bot changed title from Add native UMA fast path, tiered WDDM residency, and smart multi-GPU adapter scorer to Add opt-in UMA fast path, tiered WDDM residency, and smart multi-GPU adapter scorer 2026-11-27 14:19:43 +00:00
github-bot force-pushed github-bot/gh-282 from 572aa47524 to 56af81d4f7 2026-11-27 14:19:43 +00:00 Compare
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-27 14:12 UTC · original

@⁠TaynanGT Updated to 56af81d4 (rebased onto main, 4/4 CI green). All three behavioral paths now default to 0 (OFF) so baseline behavior stays unchanged unless explicitly opted in, and each subsystem can be measured independently on the same physical GPU pinned via VICTORY_D3D12_ADAPTER:

Switch Default Values What changes when enabled
VICTORY_UMA_FAST_PATH 0 0, 1, auto 1 forces UMA fast path (for same-GPU A/B); auto follows D3D12_FEATURE_ARCHITECTURE1.UMA. Disables card buffer twins (shadow::cards, Host::card_ready, card_before, card_budget, shadow::card_room_kept() == 0) and bounce copy-queue staging (upq::on, relay_copy). VICTORY_CARD_BUFFERS=0|1 overrides card buffers independently.
VICTORY_WDDM_RESIDENCY 0 0, 1 Enables IDXGIAdapter3::SetVideoMemoryReservation (clamped <= AvailableForReservation and Budget), ID3D12Device1::SetResidencyPriority (HIGH RT/depth/hot buffers, NORMAL active textures/heaps, LOW/MINIMUM idle pool blocks), and fence-safe Evict()/MakeResident() on aged idle pool.rs heaps (preserving VICTORY_RIPE_BLOCKS under normal VRAM, collapsing to 1/0 hot spares under >= 75%/>= 85% pressure).
VICTORY_SMART_ADAPTER 0 0, 1 Enables multi-criteria IDXGIFactory6 (DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE) scoring (SM 6.6+, dedicated VRAM >= 4 GiB, TiledResourcesTier, output LUID tiebreak). When 0, keeps the baseline first-SM-6.6+ loop with zero extra probe devices.

Explicit VICTORY_D3D12_ADAPTER=<name|index> selection (including numeric GPU model substrings such as 4070, 4090, 6700) and read-only startup telemetry (uma, cache_coherent_uma, active switch states, output LUID check, and local/shared DXGI_QUERY_VIDEO_MEMORY_INFO budget/usage/reservation alongside frame-time logs) remain active across both control and opt-in runs.

Suggested same-GPU A/B sequence (pinning VICTORY_D3D12_ADAPTER=<gpu> across all runs and recording local/shared VRAM + frame time):

  1. Control: all three switches unset (0)
  2. UMA path solo: VICTORY_UMA_FAST_PATH=1 (or auto on an APU)
  3. WDDM residency solo: VICTORY_WDDM_RESIDENCY=1
  4. Smart adapter solo (multi-GPU hosts without VICTORY_D3D12_ADAPTER): VICTORY_SMART_ADAPTER=1

Tests added/verified on both RTX 4070 SUPER and WARP (VICTORY_D3D12_DEBUG=1, 0 debug errors): adapter::tests::all_three_subsystems_default_off_and_toggle_independently, adapter::tests::uma_policy_defaults_off_and_toggles_independently_with_safe_overrides, adapter::tests::live_device_probes_architecture1_and_luid_cleanly, and residency_wddm::tests::live_wddm_reservation_priority_and_evict_make_resident_roundtrip.

**@⁠Vladimir-Human** on GitHub · 2026-11-27 14:12 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7220484579) @⁠TaynanGT Updated to `56af81d4` (rebased onto `main`, 4/4 CI green). All three behavioral paths now default to `0` (`OFF`) so baseline behavior stays unchanged unless explicitly opted in, and each subsystem can be measured independently on the same physical GPU pinned via `VICTORY_D3D12_ADAPTER`: | Switch | Default | Values | What changes when enabled | | --- | --- | --- | --- | | `VICTORY_UMA_FAST_PATH` | `0` | `0`, `1`, `auto` | `1` forces UMA fast path (for same-GPU A/B); `auto` follows `D3D12_FEATURE_ARCHITECTURE1.UMA`. Disables card buffer twins (`shadow::cards`, `Host::card_ready`, `card_before`, `card_budget`, `shadow::card_room_kept() == 0`) and bounce copy-queue staging (`upq::on`, `relay_copy`). `VICTORY_CARD_BUFFERS=0\|1` overrides card buffers independently. | | `VICTORY_WDDM_RESIDENCY` | `0` | `0`, `1` | Enables `IDXGIAdapter3::SetVideoMemoryReservation` (clamped `<= AvailableForReservation` and `Budget`), `ID3D12Device1::SetResidencyPriority` (`HIGH` RT/depth/hot buffers, `NORMAL` active textures/heaps, `LOW`/`MINIMUM` idle pool blocks), and fence-safe `Evict()`/`MakeResident()` on aged idle `pool.rs` heaps (preserving `VICTORY_RIPE_BLOCKS` under normal VRAM, collapsing to `1`/`0` hot spares under `>= 75%`/`>= 85%` pressure). | | `VICTORY_SMART_ADAPTER` | `0` | `0`, `1` | Enables multi-criteria `IDXGIFactory6` (`DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE`) scoring (SM 6.6+, dedicated VRAM `>= 4 GiB`, `TiledResourcesTier`, output LUID tiebreak). When `0`, keeps the baseline first-SM-6.6+ loop with zero extra probe devices. | Explicit `VICTORY_D3D12_ADAPTER=<name|index>` selection (including numeric GPU model substrings such as `4070`, `4090`, `6700`) and read-only startup telemetry (`uma`, `cache_coherent_uma`, active switch states, output LUID check, and local/shared `DXGI_QUERY_VIDEO_MEMORY_INFO` budget/usage/reservation alongside frame-time logs) remain active across both control and opt-in runs. Suggested same-GPU A/B sequence (pinning `VICTORY_D3D12_ADAPTER=<gpu>` across all runs and recording local/shared VRAM + frame time): 1. Control: all three switches unset (`0`) 2. UMA path solo: `VICTORY_UMA_FAST_PATH=1` (or `auto` on an APU) 3. WDDM residency solo: `VICTORY_WDDM_RESIDENCY=1` 4. Smart adapter solo (multi-GPU hosts without `VICTORY_D3D12_ADAPTER`): `VICTORY_SMART_ADAPTER=1` Tests added/verified on both RTX 4070 SUPER and WARP (`VICTORY_D3D12_DEBUG=1`, `0` debug errors): `adapter::tests::all_three_subsystems_default_off_and_toggle_independently`, `adapter::tests::uma_policy_defaults_off_and_toggles_independently_with_safe_overrides`, `adapter::tests::live_device_probes_architecture1_and_luid_cleanly`, and `residency_wddm::tests::live_wddm_reservation_priority_and_evict_make_resident_roundtrip`.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 14:25 UTC · original

@⁠Vladimir-Human The three switches now give us independent comparisons. Start with WDDM residency alone on the same discrete adapter and report the eviction count, local/shared memory and p10 frame rate. Test auto for the UMA path on an APU and leave the scorer for a machine with two eligible adapters.

**@⁠TaynanGT** on GitHub · 2026-11-27 14:25 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7220761736) @⁠Vladimir-Human The three switches now give us independent comparisons. Start with WDDM residency alone on the same discrete adapter and report the eviction count, local/shared memory and p10 frame rate. Test `auto` for the UMA path on an APU and leave the scorer for a machine with two eligible adapters.
Author
Owner

@⁠Facostarr on GitHub · 2026-11-27 16:20 UTC · original

I tried the effect of the UMA fast path on an APU (Ryzen AI Max+ 395 / Radeon 8060S, driver 32.0.32029.2010), without building the PR. Per the diff, for the -Machine 7900xtx profile the UMA policy comes down to VICTORY_CARD_BUFFERS=0, VICTORY_RELAY_COPY=0 and VICTORY_INDIRECT_CARD_BUDGET=0 (VICTORY_UP_QUEUE and VICTORY_CARD_WINDOWS_MB are already off by default), so I ran 877a40e with those three.

Series S, same save, world only: 3 FPS median against 17 with card buffers on. The CPU takes over the snapshots and compares: copying back goes from 14-18 ms to 120-310 ms per frame, preparing from 46-52 ms to 300-470 ms, and private memory reaches 112.8 GB (commit 153.9 GB, from 31.5 and 73 GB). On this UMA APU, the compare on the card is what keeps the host fast, so auto would be a large regression on such machines.

Also, unless I misread it, the pool.rs changes (take_ripe, reclaim) run on the default path with all three new switches at 0, so the PR may not be behaviour-neutral by default; worth a check.

Full report, with log lines and the other switches tried on this APU: #319

**@⁠Facostarr** on GitHub · 2026-11-27 16:20 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7223140253) I tried the effect of the UMA fast path on an APU (Ryzen AI Max+ 395 / Radeon 8060S, driver 32.0.32029.2010), without building the PR. Per the diff, for the `-Machine 7900xtx` profile the UMA policy comes down to `VICTORY_CARD_BUFFERS=0`, `VICTORY_RELAY_COPY=0` and `VICTORY_INDIRECT_CARD_BUDGET=0` (`VICTORY_UP_QUEUE` and `VICTORY_CARD_WINDOWS_MB` are already off by default), so I ran `877a40e` with those three. Series S, same save, world only: **3 FPS median against 17** with card buffers on. The CPU takes over the snapshots and compares: copying back goes from 14-18 ms to 120-310 ms per frame, preparing from 46-52 ms to 300-470 ms, and private memory reaches 112.8 GB (commit 153.9 GB, from 31.5 and 73 GB). On this UMA APU, the compare on the card is what keeps the host fast, so `auto` would be a large regression on such machines. Also, unless I misread it, the `pool.rs` changes (`take_ripe`, `reclaim`) run on the default path with all three new switches at 0, so the PR may not be behaviour-neutral by default; worth a check. Full report, with log lines and the other switches tried on this APU: https://git.gtahub.st/github/TaynanGT--Vice-Tay/issues/319
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 16:25 UTC · original

@⁠Facostarr The 17-to-3 FPS result is enough to keep automatic UMA selection off for this APU. It applies to the three toggles on 877a40e. The exact PR still needs the same-save check. I’ll check whether take_ripe and reclaim enter the new path with all three switches at zero.

**@⁠TaynanGT** on GitHub · 2026-11-27 16:25 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7223243140) @⁠Facostarr The 17-to-3 FPS result is enough to keep automatic UMA selection off for this APU. It applies to the three toggles on `877a40e`. The exact PR still needs the same-save check. I’ll check whether `take_ripe` and `reclaim` enter the new path with all three switches at zero.
github-bot force-pushed github-bot/gh-282 from 56af81d4f7 to b4c1f1dd25 2026-11-27 19:56:20 +00:00 Compare
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-27 19:53 UTC · original

@⁠Facostarr @⁠TaynanGT Updated #282 (b4c1f1dd, rebased onto main):

  1. Strict default-0 neutrality in pool.rs (confirmed @Facostarr's catch):

    • With VICTORY_WDDM_RESIDENCY=0 (default), pool::room, pool::texture, Pool::take_ripe, and Pool::reclaim now execute the exact unmodified baseline paths — skipping host::submissions(), queue::queued(), reclaim_with_fence, take_ripe_or_restore, and set_heap_priority. Added pool::tests::default_disabled_wddm_take_ripe_and_reclaim_preserve_baseline_order verifying baseline ordering and zero residency side effects at 0.
    • Note that the subtle behavioral shift @Facostarr spotted when reading the earlier diff was real in pool.rs (take_ripe/reclaim entered take_ripe_or_restore/reclaim_with_fence even at 0); that is now completely eliminated.
  2. Removed automatic UMA card-buffer disable:

    • Removed UmaFastPathMode::Auto so VICTORY_UMA_FAST_PATH=auto (or unset) resolves to Off and never disables card buffers automatically on UMA APUs after @Facostarr's Ryzen AI Max+ 395 / Radeon 8060S measurement (17 -> 3 FPS regression and 31.5 -> 112.8 GB private memory spike). VICTORY_UMA_FAST_PATH=1 remains strictly an explicit diagnostic override.

Verified cleanly on b4c1f1dd (xtask policy 324 files ok, clippy -p victory-gpu --all-targets -- -D warnings 0 warnings, and both VICTORY_D3D12_DEBUG=1 HW RTX 4070 SUPER and VICTORY_D3D12_WARP=1: adapter::tests 6/6, residency_wddm::tests 3/3, pool::tests 12/12).

**@⁠Vladimir-Human** on GitHub · 2026-11-27 19:53 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7226977352) @⁠Facostarr @⁠TaynanGT Updated `#282` (`b4c1f1dd`, rebased onto `main`): 1. **Strict default-0 neutrality in `pool.rs` (confirmed `@Facostarr`'s catch):** - With `VICTORY_WDDM_RESIDENCY=0` (default), `pool::room`, `pool::texture`, `Pool::take_ripe`, and `Pool::reclaim` now execute the exact unmodified baseline paths — skipping `host::submissions()`, `queue::queued()`, `reclaim_with_fence`, `take_ripe_or_restore`, and `set_heap_priority`. Added `pool::tests::default_disabled_wddm_take_ripe_and_reclaim_preserve_baseline_order` verifying baseline ordering and zero residency side effects at `0`. - Note that the subtle behavioral shift `@Facostarr` spotted when reading the earlier diff was real in `pool.rs` (`take_ripe`/`reclaim` entered `take_ripe_or_restore`/`reclaim_with_fence` even at `0`); that is now completely eliminated. 2. **Removed automatic UMA card-buffer disable:** - Removed `UmaFastPathMode::Auto` so `VICTORY_UMA_FAST_PATH=auto` (or unset) resolves to `Off` and never disables card buffers automatically on UMA APUs after `@Facostarr`'s Ryzen AI Max+ 395 / Radeon 8060S measurement (17 -> 3 FPS regression and 31.5 -> 112.8 GB private memory spike). `VICTORY_UMA_FAST_PATH=1` remains strictly an explicit diagnostic override. Verified cleanly on `b4c1f1dd` (`xtask policy` 324 files ok, `clippy -p victory-gpu --all-targets -- -D warnings` 0 warnings, and both `VICTORY_D3D12_DEBUG=1` HW RTX 4070 SUPER and `VICTORY_D3D12_WARP=1`: `adapter::tests` 6/6, `residency_wddm::tests` 3/3, `pool::tests` 12/12).
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 19:59 UTC · original

@⁠Vladimir-Human The new guard in pool.rs restores the default-off reclaim path. Please split out WDDM residency first, with the test that checks baseline ordering and zero residency side effects. Keep auto off on UMA given the Radeon 8060S result.

**@⁠TaynanGT** on GitHub · 2026-11-27 19:59 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7227062355) @⁠Vladimir-Human The new guard in `pool.rs` restores the default-off reclaim path. Please split out WDDM residency first, with the test that checks baseline ordering and zero residency side effects. Keep `auto` off on UMA given the Radeon 8060S result.
github-bot changed title from Add opt-in UMA fast path, tiered WDDM residency, and smart multi-GPU adapter scorer to perf(gpu): add opt-in tiered WDDM residency orchestrator (VICTORY_WDDM_RESIDENCY=1) 2026-11-27 20:47:19 +00:00
github-bot force-pushed github-bot/gh-282 from b4c1f1dd25 to 4687df5eb8 2026-11-27 20:47:20 +00:00 Compare
Author
Owner

@⁠Vladimir-Human on GitHub · 2026-11-27 20:48 UTC · original

@⁠TaynanGT Done — split #282 (4687df5, rebased onto main 2a577f8) down to tiered WDDM residency only (VICTORY_WDDM_RESIDENCY=1, default 0):

  • Kept residency_wddm.rs, pool.rs (including the strict default-0 baseline guard and pool::tests::default_disabled_wddm_take_ripe_and_reclaim_preserve_baseline_order), residency.rs, resource.rs, and the minimal host.rs reservation/priority hooks (using a local residency_wddm::probe_uma helper so there is no adapter.rs dependency).
  • Removed adapter.rs, host/upq.rs, shadow.rs, and all UMA fast-path / smart-adapter selection changes from #282 and staged them on Vladimir-Human/Vice-Tay:feat/smart-adapter-uma-optin with automatic UMA selection (auto) kept disabled per @Facostarr's Radeon 8060S result.
  • Verified #282 (4687df5) cleanly: xtask policy (323 files ok), clippy -p victory-gpu --all-targets -- -D warnings (default & diagnostics, 0 warnings), and both VICTORY_D3D12_DEBUG=1 HW + VICTORY_D3D12_WARP=1: residency_wddm::tests 3/3, pool::tests 12/12.
**@⁠Vladimir-Human** on GitHub · 2026-11-27 20:48 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/282#issuecomment-7227863828) @⁠TaynanGT Done — split `#282` (`4687df5`, rebased onto `main` `2a577f8`) down to **tiered WDDM residency only (`VICTORY_WDDM_RESIDENCY=1`, default `0`)**: - Kept `residency_wddm.rs`, `pool.rs` (including the strict default-0 baseline guard and `pool::tests::default_disabled_wddm_take_ripe_and_reclaim_preserve_baseline_order`), `residency.rs`, `resource.rs`, and the minimal `host.rs` reservation/priority hooks (using a local `residency_wddm::probe_uma` helper so there is no `adapter.rs` dependency). - Removed `adapter.rs`, `host/upq.rs`, `shadow.rs`, and all UMA fast-path / smart-adapter selection changes from `#282` and staged them on [`Vladimir-Human/Vice-Tay:feat/smart-adapter-uma-optin`](https://github.com/Vladimir-Human/Vice-Tay/tree/feat/smart-adapter-uma-optin) with automatic UMA selection (`auto`) kept disabled per `@Facostarr`'s Radeon 8060S result. - Verified `#282` (`4687df5`) cleanly: `xtask policy` (`323 files ok`), `clippy -p victory-gpu --all-targets -- -D warnings` (default & `diagnostics`, 0 warnings), and both `VICTORY_D3D12_DEBUG=1` HW + `VICTORY_D3D12_WARP=1`: `residency_wddm::tests` **3/3**, `pool::tests` **12/12**.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/282/head:github-bot/gh-282'
git switch 'github-bot/gh-282'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-282'
git switch 'github-bot/gh-282'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-282'
git switch 'github-bot/gh-282'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-282'
git switch 'main'
git merge --squash 'github-bot/gh-282'
git switch 'main'
git merge --ff-only 'github-bot/gh-282'
git switch 'main'
git merge 'github-bot/gh-282'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.