fix(gpu,play): add VRAM-tiered default DXR BLAS budget and HW-RT memory caps #411

Merged
Androtim merged 1 commit from upstream-pr/411 into main 2026-12-04 00:09:05 +00:00
Androtim commented 2026-12-03 23:44:09 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-03T23:44:09Z.


Summary

Fixes unbounded DXR BLAS VRAM growth and missing RT memory caps when Hardware RT (\VICTORY_HW_RT=1) is enabled without an explicit \VICTORY_HW_RT_BLAS_BUDGET_MB\ / \VICTORY_RT_MEMORY_MB\ override.

Root Cause

  1. Unbounded / uninitialized DXR BLAS budget: \HwRtManager\ left \LRU[4]\ at \
<!-- greyfinch-sync:Androtim/MiniVI:issue:5637130806 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/411). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-03T23:44:09Z. --- ## Summary Fixes unbounded DXR BLAS VRAM growth and missing RT memory caps when Hardware RT (\VICTORY_HW_RT=1\) is enabled without an explicit \VICTORY_HW_RT_BLAS_BUDGET_MB\ / \VICTORY_RT_MEMORY_MB\ override. ### Root Cause 1. **Unbounded / uninitialized DXR BLAS budget**: \HwRtManager\ left \LRU[4]\ at \
Androtim commented 2026-12-04 00:02:28 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T00:02:28Z.


Triage (0c7f7a0d, CI check PASS):

  • Clean, 100% title-neutral HW-RT VRAM-safety fix (+209/-34, 4 files: play.rs, host.rs, hwrt.rs, hwrt/budget.rs, zero opt-in toggles): adds VRAM-tiered default DXR BLAS budget and HW-RT memory caps so VICTORY_HW_RT=1 cannot grow BLAS VRAM unbounded.
  • Holding auto-merge for Gate 2 Audit (#282) + Gate 3 live VICTORY_HW_RT=1 GPU verification (and verifying RT-off default path is untouched).
<!-- greyfinch-sync:Androtim/MiniVI:comment:7396297926 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/411#issuecomment-7396297926). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-04T00:02:28Z. --- Triage (`0c7f7a0d`, **CI `check` PASS**): - Clean, 100% title-neutral HW-RT VRAM-safety fix (`+209/-34`, 4 files: `play.rs`, `host.rs`, `hwrt.rs`, `hwrt/budget.rs`, zero opt-in toggles): adds VRAM-tiered default DXR BLAS budget and HW-RT memory caps so `VICTORY_HW_RT=1` cannot grow BLAS VRAM unbounded. - Holding auto-merge for **Gate 2 Audit (`#282`)** + **Gate 3 live `VICTORY_HW_RT=1` GPU verification** (and verifying RT-off default path is untouched).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Androtim/MiniVI!411
No description provided.