Repository navigation
Description
Назначение
Центральный индекс координатора форка. Сюда заносим проверенные находки из оригинального репозитория https://github.com/Marvisak/VIctory, связываем upstream issues с PR, отмечаем применимость к нашему дереву и не дублируем работу основного агента.
Источники: открытые issues https://github.com/Marvisak/VIctory/issues и открытые PR https://github.com/Marvisak/VIctory/pulls. Снимок анализа: 2026-11-26.
Подтверждённая картина upstream
- Оригинал очень активен: GitHub показывает сотни открытых issues и более тысячи PR. Переносить весь поток механически нельзя: значительная часть задач уже решена другими PR, относится к конкретным видеокартам/драйверам или требует игровых файлов.
- В форке импортируются конкретные upstream PR, но их номера отличаются от номеров fork PR. На текущем снимке Import upstream #3222: trace geometry signature memory #7 и Import upstream #3217: snapshot RTV and DSV targets #9 уже merged, Import upstream #3220: defer command-list cleanup until final Drop #10 закрыт без merge, Import upstream #3213: guard bindless texture lifetime #16 и Import upstream #3234: pin descriptor resources during concurrent release #25 открыты, но требуют обновления базы. Перед импортом всегда проверять fork PR и upstream PR отдельно.
- У upstream есть координационная модель Coordinating who works on what Marvisak/VIctory#1633: фиксировать владельца задачи, требуемое оборудование/игровые файлы и связанный PR. Это полезный образец, но автоматизацию claims нельзя считать существующей в нашем форке.
Созданные задачи в форке
| Наш issue | Upstream источник | Тема |
|---|---|---|
| #12 | Marvisak#3237 | NVIDIA D3D12 device removal: packed formats, descriptor heap, wave64 |
| #13 | Marvisak#2695 | GPU title-memory shader marks: локальный patch set, correctness и benchmark |
| #14 | Marvisak#2602 | Wave64 на wave32 host, cross-half operations и BVH gating |
| #15 | Marvisak#2671 | Intel Arc: shader heap clamp за пределами host descriptor heap |
Приоритетная очередь
| Приоритет | Задача | Связанные upstream PR |
|---|---|---|
| P0 | NVIDIA packed formats и device removal | Marvisak#2626, Marvisak#2936, Marvisak#1946, Marvisak#1780, Marvisak#1787 |
| P0 | Descriptor heap remapping и безопасный clamp | Marvisak#1779, Marvisak#2121, Marvisak#3147 |
| P0 | Wave64 на wave32 host | Marvisak#1890, Marvisak#2633, Marvisak#2711, Marvisak#3147 |
| P1 | GPU title-memory write marks | Marvisak#2948 (смежная оптимизация); патчи из Marvisak#2695 ещё не опубликованы PR |
| P1 | Разобрать повторяемые TDR/device-hung отчёты отдельно от format/heap failures | Marvisak#2661, Marvisak#2671, Marvisak#3237 |
Правила работы координатора
- Перед созданием задачи искать её по названию, симптомам и upstream-номеру в нашем форке.
- Для каждой импортируемой задачи сохранять ссылку на оригинальный issue, автора, окружение, логи/шаги воспроизведения, статус и дату проверки.
- Связанные PR записывать отдельно с объяснением, какую часть проблемы они закрывают и какие ограничения/зависимости имеют.
- Не считать открытый PR готовым решением: проверять, что он актуален, не superseded, не stacked на незамёрзшие PR, и сравнивать его diff с нашим деревом.
- Не переносить игровые дампы, бинарные данные или иные запрещённые проектом игровые assets.
- Не закрывать upstream issue и не публиковать там комментарии от имени основного агента. Здесь ведём зеркальную техническую сводку.
- При подтверждённом совпадении с нашим кодом создавать отдельный issue с конкретными файлами/тестами. При сомнении оставлять finding здесь, не превращая предположение в факт.
Следующий этап
Сверить PR Marvisak#3217/Marvisak#3204/Marvisak#3222 с upstream-реализациями. Затем проверить Marvisak#2936/Marvisak#2626 (форматы), Marvisak#1779/Marvisak#2121 (heap) и wave64 stack Marvisak#2176/Marvisak#2118/Marvisak#2711/Marvisak#3147 на предмет зависимостей и superseded changes. Не делать cherry-pick вслепую: сначала diff, base SHA, тесты и соответствие текущему дереву форка.
Сводка основана на проверенных upstream issues/PR, перечисленных выше; статусы и зависимости PR перепроверять перед переносом коммитов.
Новые задачи после следующего upstream triage (2026-11-26)
| Наш issue | Upstream источник | Тема / приоритет |
|---|---|---|
| #20 | Marvisak#3234 | P0: descriptor::PinnedView и COM lifetime; интеграция с нашим #16 требует объединить resource_release/Resource::drop |
| #21 | Marvisak#3122 | P1: зарезервировать capped heap slots для page-table view pairs |
| #22 | Marvisak#400 | P1: guard-lock contention и CPU frame preparation, кандидаты Marvisak#2849/Marvisak#3035/Marvisak#2134/Marvisak#2136 |
| #23 | Marvisak#2470 | P2: независимо проверить asset-free validation framework; native Rust/D3D12 пока не подтверждены |
| #26 | Marvisak#492 | P1: условный RGB9E5 format-67 fallback; upstream PR конфликтует с main и требует проверки copy/alias paths |
Важные уточнения по существующим задачам
- Наш PR Import upstream #3213: guard bindless texture lifetime #16 (upstream GPU: guard bindless texture tracking and made_copy against concurrent Resource::drop Marvisak/VIctory#3213) пересекается по жизненному циклу с upstream GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234. Координатор оставил комментарий непосредственно в Import upstream #3213: guard bindless texture lifetime #16: не сливать GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234 отдельно, пока не объединены pre-drop descriptor invalidation, TEXTURES_AT и bindless cleanup.
- Upstream GPU: a capped view heap keeps room for its page table's view pairs Marvisak/VIctory#3122 не является полным heap remapping: он резервирует 16 384 слота для page-table pairs внутри capped heap. Учитывать вместе с [Upstream #2671] Intel Arc A770: HEAP_VIEWS clamp exceeds the real host descriptor heap #15, но не путать с ограничением HEAP_VIEWS.
- Upstream Shaders: one console wave run as two host waves meets at barriers between its LDS phases (stacked on #2176) Marvisak/VIctory#2925 добавляет barrier между двумя host wave halves на LDS фазах; stacked на GPU+shader: translate wave64 programs for 32-lane host waves when WaveLaneCountMax < 64 Marvisak/VIctory#2176. Учитывать вместе с [Upstream #2602] Wave64 shader refusal on Wave32 GPUs: translate safely and gate unsupported cross-half operations #14 и gate BVH из GPU: the BVH builder runs whole or not at all Marvisak/VIctory#2118.
- Upstream GPU: substitute R9G9B9E5_SHAREDEXP render targets and UAVs with R16G16B16A16_FLOAT Marvisak/VIctory#492 заменяет format 67 только для write-capable resources. Глобальное изменение pc_format опасно: sampled-only RGB9E5 имеет другой texel size и semantics; copy/readback/aliasing остаются отдельными проверками.
Текущий статус fork PR на 2026-11-26
| Fork PR | Upstream PR | Текущее состояние |
|---|---|---|
| #7 | Marvisak#3222 | merged в dev |
| #9 | Marvisak#3217 | merged в dev |
| #10 | Marvisak#3220 | closed без merge; CI остановился на E0425 object::refs в queue tests |
| #16 | Marvisak#3213 | merged в dev, merge commit 2f06acd |
| #25 | Marvisak#3234 | merged в dev поверх #16, merge commit 1886a80 |
Сейчас основные интеграционные imports Marvisak#3213/Marvisak#3234 уже в dev. Следующий контроль — combined fork Actions после обоих merge commits и сохранность обоих наборов UAF regression tests.
Ещё один upstream batch: memory и runtime (2026-11-26)
| Наш issue | Upstream источник | Тема |
|---|---|---|
| #27 | Marvisak#3012 | P1: host RAM budget/backpressure; loose shadow windows выросли 256 -> 2,012 MiB в одном измеренном load |
| #28 | Marvisak#3177 | P1: XMem physical pages в 2 MiB sections, сокращение Windows remap stalls; median FPS не изменился |
| #29 | Marvisak#3236 | P2: lazy HostList state prelude; автор измерил снижение system commit примерно на 1 GB к концу 15-минутного прогона |
| #35 | Marvisak#3220 | P1: fork import #10 закрыт из-за E0425 object::refs; требуется восстановить test accessor и повторить CI |
#27 и #28 — разные уровни проблемы: #27 касается удерживаемых host-owned memory и backpressure; #28 уменьшает Windows section-lock contention при map/unmap. #29 — отдельная оптимизация per-list D3D12 object allocation.
Важное обновление по интеграции Marvisak#3234
В форке уже существует открытый PR #25 #25, импортирующий upstream Marvisak#3234. Он mergeable по GitHub, но его base SHA отстаёт на два коммита от актуальной базы PR #16. Координатор оставил комментарии в #25 и #16 с требованием rebase и совместного анализа resource lifetime. Трекинг — issue #20.
Уже существовавшие задачи, обнаруженные при повторной сверке
- [Upstream #1835] D3D12 descriptor heap bounds and raw/structured SRV mismatch in shader tests #17 — upstream NVIDIA D3D12 (70564ae): stride_tests & synthetic_tests fail due to HEAP_VIEWS (2M > 1M NVIDIA limit) and Stride::Structured with rawBufferLoad Marvisak/VIctory#1835: capped descriptor heap bounds и raw/structured SRV mismatch.
- [Upstream PR #3230] Сокращение удерживаемой host-памяти после пиков загрузки #18 — upstream GPU: reclaim idle snapshot and texture staging pools and compact pipeline/heap metadata Marvisak/VIctory#3230: trimming host memory after loading peaks; отдельный от RAM budget [Upstream #3012] Host RAM budget and reclaim: loose shadow windows dominate loading memory growth #27, но пересекается по shadow pools/scratch retention.
- PR Import upstream #3234: pin descriptor resources during concurrent release #25 — upstream GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234: PinnedView descriptor resource lifetime; не сливать отдельно от Import upstream #3213: guard bindless texture lifetime #16 без reconciliation.
Новый integration blocker
- [Upstream #3220] Queue/list final-release import blocked by fork test compile error #35 — upstream GPU: hand off held command-list resources in Drop instead of non-atomic Release check Marvisak/VIctory#3220 / fork PR Import upstream #3220: defer command-list cleanup until final Drop #10: compile error
object::refsв существующих queue regression tests. Upstream PR GPU: hand off held command-list resources in Drop instead of non-atomic Release check Marvisak/VIctory#3220 остаётся открытым и имеет собственные passing checks; форк PR Import upstream #3220: defer command-list cleanup until final Drop #10 закрыт без merge.
Performance/allocator batch: current upstream PR scan (2026-11-26)
| Наш issue | Upstream PR | Тема / вывод |
|---|---|---|
| #41 | Marvisak#3228 | P1: GPU_UPLOAD VRAM under 80% DXGI budget; A/B reported -1.1 GiB peak RSS on RTX 3060 ReBAR |
| #31 | Marvisak#3229 | P1: dense PageBits + OneOrMany reduce write-watch metadata allocations |
| #43 | Marvisak#3218 | P1: DynamicSlots bitmap replaces byte-scanned Vec under capped NVIDIA heap; strong allocator microbench |
| #32 | Marvisak#3232 | P2: batch page-table rebuild by region/owner; large overlap synthetic stress 6.95 -> 1.71 ms |
| #45 | Marvisak#2848 | P1: seven frame-path allocation/lock/syscall optimizations; no full stack A/B yet |
| #33 | Marvisak#3238 | P2: per-draw swizzle/diagnostics overhead; no total frame benchmark |
Новые связи между задачами
- [Upstream #3218] Replace dynamic descriptor-slot Vec<bool> with a 64-bit bitmap allocator #43 (dynamic slot allocator) дополняет [Upstream #3122] Reserve capped descriptor-heap slots for page-table view pairs #21 (page-table pair reservation), но не заменяет его.
- [Duplicate of #31] #42 duplicates the canonical coordinator issue #31 #42 (write-watch metadata) дополняет [Upstream #400] Profile-guided reduction of GPU memory guard-lock and frame preparation overhead #22/[Upstream #3177] Split XMem physical-page backing into 2 MiB sections to reduce Windows remap stalls #28, но не решает Windows large-page section lock contention.
- [Upstream #3228] Route upload buffers to GPU_UPLOAD VRAM under budget; move indirect args to DEFAULT #41 (GPU_UPLOAD) дополняет [Upstream #3012] Host RAM budget and reclaim: loose shadow windows dominate loading memory growth #27/[Upstream PR #3230] Сокращение удерживаемой host-памяти после пиков загрузки #18 memory retention work; GPU_UPLOAD routing имеет отдельный DXGI VRAM budget and fallback.
- [Upstream #2848] Remove seven per-frame allocations, locks and syscalls from GPU frame paths #45/[Duplicate of #33] #46 duplicates the canonical coordinator issue #33 #46 — разные наборы оптимизаций; [Upstream #2848] Remove seven per-frame allocations, locks and syscalls from GPU frame paths #45 имеет семь independent hunks, переносить отдельно и сравнивать с GPU: open guarded pages in runs, not one VirtualProtect at a time Marvisak/VIctory#2849/GPU: reclaim idle snapshot and texture staging pools and compact pipeline/heap metadata Marvisak/VIctory#3230/GPU: reclaim idle texture staging, command list scratch, and shadow arena buffers Marvisak/VIctory#2972.
Интеграционные blocker'ы
- [Upstream #3220] Queue/list final-release import blocked by fork test compile error #35: fork PR Import upstream #3220: defer command-list cleanup until final Drop #10 по upstream GPU: hand off held command-list resources in Drop instead of non-atomic Release check Marvisak/VIctory#3220 закрыт без merge из-за E0425 object::refs; upstream PR остаётся открытым.
- [Upstream #3234] Pin descriptor-view resources across concurrent D3D12 Resource::Release #20: fork PR Import upstream #3234: pin descriptor resources during concurrent release #25 по upstream GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234 stale; PR Import upstream #3213: guard bindless texture lifetime #16 по GPU: guard bindless texture tracking and made_copy against concurrent Resource::drop Marvisak/VIctory#3213 также stale. Обе ветки требуют rebase на current dev и совместной проверки Resource lifetime.
Обновление post-merge
- [Upstream #3234] Pin descriptor-view resources across concurrent D3D12 Resource::Release #20: upstream GPU: guard bindless texture tracking and made_copy against concurrent Resource::drop Marvisak/VIctory#3213 + GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234 оба merged в dev; issue оставлен как post-merge verification checklist.
- [Upstream #3220] Queue/list final-release import blocked by fork test compile error #35: upstream GPU: hand off held command-list resources in Drop instead of non-atomic Release check Marvisak/VIctory#3220 remains open, fork Import upstream #3220: defer command-list cleanup until final Drop #10 remains closed without merge due to test compile error.
BVH DispatchX investigation
- [Upstream #2750] BVH DispatchX flag 0x20 ignored: thread dimensions forwarded as D3D12 group counts #47 — upstream GPU/BVH: DispatchX ignores flag 0x20 — possible thread-count vs. group-count mismatch in builder dispatches Marvisak/VIctory#2750 / candidate PR GPU, Shaders: honor thread dimensions in direct DispatchX (#2750) Marvisak/VIctory#2841: bit 0x20 may encode thread dimensions, but current host forwards them as group counts. PR GPU, Shaders: honor thread dimensions in direct DispatchX (#2750) Marvisak/VIctory#2841 has WARP/RTX synthetic validation and is mergeable upstream. Integration with Wave64 Shaders: one console wave sharing LDS runs in the console flow on 32-lane hosts Marvisak/VIctory#439/Shaders: console flow for groups of several console waves on 32-lane hosts Marvisak/VIctory#2214 has a known cached console_flat translator issue; partial groups with barriers are refused and must coordinate with BVH all-or-none gate GPU: the BVH builder runs whole or not at all Marvisak/VIctory#2118/Shaders, GPU: on 32-lane hosts, wave64 halves act as waves; the BVH builder waits (stacked on #2176, #2118) Marvisak/VIctory#2711.
Duplicate cleanup
Our temporary issues #42, #44 and #46 were closed as duplicates of canonical #31, #32 and #33. Update the canonical issues only.
Дополнительные уже заведённые задачи
- [Upstream PR #3231] KernelWrite leases для pending overlapped и scatter file reads #30 — upstream HLE: keep KernelWrite leases across pending overlapped and scatter reads Marvisak/VIctory#3231: KernelWrite leases for pending overlapped/scatter reads.
- [Upstream PR #3223] XMA2 PacketSkipCount 0xff как конец потока #34 — upstream Formats/XMA: treat PacketSkipCount 0xff as end of stream Marvisak/VIctory#3223: XMA2 PacketSkipCount 0xff sentinel; requires source/spec confirmation.
- [Upstream PR #3216] Индексирование withheld ranges для ускорения copy-back #36 — upstream GPU: index withheld ranges during copy-back Marvisak/VIctory#3216: withheld-range index for copy-back; reviewer found a missing unmarked-page assertion and signature conflicts with GPU: drop only marked pages for withheld marked ranges Marvisak/VIctory#3099/GPU: keep valid marked writes beside withheld ranges Marvisak/VIctory#1998/GPU: release mark owners outside the marks lock Marvisak/VIctory#3145/Fix #2412: reject out-of-range export addresses in parse_exports Marvisak/VIctory#3165.
- [Upstream PR #3233] Диагностика исходов heap slot sync для выбора оптимизации #37 — upstream GPU: the frame line splits a heap sync's slots by outcome Marvisak/VIctory#3233: diagnostics breakdown for heap sync.
- [Upstream #84/#2307] Windows 10 D3D12 Agility SDK support for Shader Model 6.6 and directly indexed root signatures #38 — Windows 10 Agility SDK support.
- [Upstream #2637] Keep D3D12 pipeline-library caches separate per adapter #39 — adapter-specific pipeline-library caches.
- [Upstream #758] Re-upload title-memory textures after later CPU writes to host-copied textures #40 — texture re-upload after later CPU writes; important data freshness issue.
Copy-back correctness/performance follow-up
- [Upstream #3089/#3099] Selective copy-back of marked withheld pages requires tail-bitmap and partial-overlap fixes #49 — upstream GPU: a withheld range whose writes are marked could drop only its marked pages (copies 397 to 232 MB a frame here) Marvisak/VIctory#3089/GPU: drop only marked pages for withheld marked ranges Marvisak/VIctory#3099: selective drop of only marked pages in withheld ranges. Reported 397 -> 232 MB copied/frame, but blocked on GPU: marks in the last dword of the written-pages bitmap are not discarded Marvisak/VIctory#2269 last-dword mark correctness and GPU: keep valid marked writes beside withheld ranges Marvisak/VIctory#1998 partial-range overlap semantics. Must be combined carefully with [Upstream PR #3216] Индексирование withheld ranges для ускорения copy-back #36/GPU: index withheld ranges during copy-back Marvisak/VIctory#3216 and GPU: release mark owners outside the marks lock Marvisak/VIctory#3145/Fix #2412: reject out-of-range export addresses in parse_exports Marvisak/VIctory#3165.
Текущий открытый fork PR
- Import upstream #3239: scripted key holds and repeat triggers #48 Import upstream #3239: scripted key holds and repeat triggers #48 — импорт upstream HLE: VICTORY_KEYS repeats and holds, and VICTORY_KEYS_FILE Marvisak/VIctory#3239 (диагностические VICTORY_KEYS timed holds/repeat и VICTORY_KEYS_FILE). PR открыт, mergeable. Fork Actions run 45838254308 завершился success: Clippy default, diagnostics build и Tests прошли. Это диагностика/automation tooling, не runtime fix.
Post-merge CI status
Для merge commits #16/#25 (#2f06acd и #1886a80) GitHub combined status API не возвращает status checks; PR-triggered workflow lookup также не показывает runs для merge commits. Поэтому passing upstream checks не следует выдавать за подтверждённый combined fork CI. Отдельно проверять текущий dev Actions.
Второй открытый import PR
- Import upstream #3207: fail DirectStorage startup without workers #52 Import upstream #3207: fail DirectStorage startup without workers #52 — upstream HLE: fail DirectStorage startup when no worker can start Marvisak/VIctory#3207: DirectStorage scheduler не публикуется, пока не запущен хотя бы один worker; при нуле workers queue/staging setup возвращают E_OUTOFMEMORY вместо вечного ожидания. PR открыт и mergeable. Fork Actions run 45838755329 находится в progress: checkout/toolchain прошли, cache install выполняется, Clippy/tests ещё не начались на момент записи.
Текущие fork PR и CI (2026-11-26)
- Import upstream #3239: scripted key holds and repeat triggers #48 (upstream HLE: VICTORY_KEYS repeats and holds, and VICTORY_KEYS_FILE Marvisak/VIctory#3239) merged; fork CI run 45838254308 passed.
- Import upstream #3207: fail DirectStorage startup without workers #52 (upstream HLE: fail DirectStorage startup when no worker can start Marvisak/VIctory#3207) merged at b327d53. Post-merge push run 45839321354 was cancelled by concurrency; combined dev CI is not yet confirmed.
- GPU: cache held-work wait reads within each pump #67 (upstream GPU: the held-work pump reads each wait's word once, and answers its own blocked question Marvisak/VIctory#3247 queue pump cache) open, mergeable; CI run 45839911950 in progress. It adds per-pump (address,width) read caching, invalidation after run/signal, and correct final blocked state. Implementation agent owns this patch; coordinator is not editing it.
- Loader: skip overflowing DIR64 relocation entries #68 (upstream Loader: skip DIR64 relocation addresses that overflow u32 Marvisak/VIctory#3243 DIR64) open, mergeable; CI run 45839841225 in progress. It adds the parser-level malformed-then-valid relocation regression requested in [Upstream #2411] Skip malformed DIR64 relocations whose page RVA plus offset overflows u32 #51.
- No current post-merge combined-dev status check is exposed by the commit-status wrapper; do not infer green CI from upstream PR checks.
Текущие открытые import PR (обновлено 2026-11-26)
| Fork PR | Upstream PR | Состояние / CI |
|---|---|---|
| #67 | Marvisak#3247 | open, mergeable; run 45839911950 in progress |
| #68 | Marvisak#3243 | open, mergeable; run 45839841225 in progress |
| #72 | Marvisak#3202 | open, mergeable; run 45840219273 in progress |
Последние merged imports:
- Import upstream #3239: scripted key holds and repeat triggers #48 <- upstream HLE: VICTORY_KEYS repeats and holds, and VICTORY_KEYS_FILE Marvisak/VIctory#3239, fork CI passed.
- Import upstream #3207: fail DirectStorage startup without workers #52 <- upstream HLE: fail DirectStorage startup when no worker can start Marvisak/VIctory#3207, merged at b327d53; subsequent push run 45839321354 was cancelled. No combined-dev status check is currently exposed.
- Import upstream #3213: guard bindless texture lifetime #16 <- GPU: guard bindless texture tracking and made_copy against concurrent Resource::drop Marvisak/VIctory#3213 and Import upstream #3234: pin descriptor resources during concurrent release #25 <- GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234 both merged; [Upstream #3234] Pin descriptor-view resources across concurrent D3D12 Resource::Release #20 tracks combined post-merge verification.
Новые shader/GPU correctness задачи
- [Upstream PR #3201] Validate texture SRV/UAV dimensions, mip/slice/plane ranges and component mapping #66 / upstream GPU: validate texture SRV and UAV dimensions, ranges, planes, and swizzles Marvisak/VIctory#3201: texture SRV/UAV validation. Координатор проверил код; 47-case RTX 5090 + WARP suite подтверждён, готовый focused import candidate. Проверить current dev rebase.
- [Upstream PR #2467 / issue #2368] Preserve 64-bit high-word carries in root-derived BVH node addresses #70 / upstream victory-shader: preserve high bits in root-derived BVH node addresses (#2368) Marvisak/VIctory#2467/Shaders: root-derived BVH node addresses lose high pointer bits and descriptor alignment Marvisak/VIctory#2368: root-derived BVH node address loses high-word carries. Кодовый дефект присутствует в форке, но upstream PR получил свежий CHANGES_REQUESTED review из-за двух тестовых пробелов; не переносить до end-to-end wide=true/high-word regression.
- [Upstream PR #2623] Correct one-rounding f16 FMA/FMAC in nearest-even and toward-zero modes #71 / upstream Shaders: round half-precision fused multiply-add once Marvisak/VIctory#2623: f16 FMA/FMAC single rounding. Последний RX 7900 XTX report выявил subnormal × -Inf mismatch against main; target RDNA2/Xbox denorm semantics не установлены. Needs clarification/fix, не готов к cherry-pick.
- [Upstream #2750] BVH DispatchX flag 0x20 ignored: thread dimensions forwarded as D3D12 group counts #47 / upstream GPU, Shaders: honor thread dimensions in direct DispatchX (#2750) Marvisak/VIctory#2841: DispatchX bit 0x20 thread dimensions, с Wave64 cache integration caveat.
Latest CI / merge update
- GPU: cache held-work wait reads within each pump #67: Actions run 45839911950 success; PR remains open/mergeable.
- Loader: skip overflowing DIR64 relocation entries #68: merged, run 45839841225 success.
- Import upstream #3202: lower 64-bit shifts without DXIL INT64 #72: merged, run 45840219273 success.
Correction to GPU texture validation review
The initial #66 review marked upstream Marvisak#3201 ready-to-port, but a deeper path audit found a depth-stencil twin UAV bypass: descriptor/host.rs calls twin::uav before texture_uav_fits, and twin::uav does not validate mip/slice/count bounds. Updated #66 verdict is now needs changes; require twin-plane bounds checks and tests before importing Marvisak#3201 as a complete validation fix.
Latest dev integration snapshot (2026-11-26)
- Import upstream #3194: validate CopyTextureRegion bounds #54 / upstream GPU: validate CopyTextureRegion subresources, source boxes, and destination bounds Marvisak/VIctory#3194 merged at ea39d80.
- Import upstream #3208: bound PE data directories by optional header size #63 / upstream pe: bound data directory offset by optional header size Marvisak/VIctory#3208 merged at 2f64c80.
- Import upstream #3245: pin aliased HostTexture across copy #73 / upstream GPU: return pinned HostTexture from alias_source to avoid source Release UAF Marvisak/VIctory#3245 merged at b19c443.
- Import upstream #3193: validate ResolveSubresource bounds #55 / upstream GPU: validate ResolveSubresource sample counts, dimensions, and subresource bounds Marvisak/VIctory#3193 closed unmerged after becoming dirty on Import upstream #3194: validate CopyTextureRegion bounds #54; [Upstream PR #3193] Validate ResolveSubresource dimensions, sample counts and mip subresources before recording #64 remains a separate ResolveSubresource follow-up.
- GPU: cache held-work wait reads within each pump #67 / upstream GPU: the held-work pump reads each wait's word once, and answers its own blocked question Marvisak/VIctory#3247 remains open; its base ea39d80 is 2 commits behind current dev 2f64c80. CI passed on old base, rebase and rerun required.
- Current dev push CI run 45840001649 completed success on 2f64c80.
Новые upstream triage tasks (2026-11-26)
- [Upstream PR #3248] Word-level dirty scan drops always-dirty copies with no tracker bit #74 / upstream GPU: preparing a view heap's page table scans the change tracker a word at a time Marvisak/VIctory#3248: dirty-word scan for descriptor page-table copies; overlaps [Upstream PR #3229] Уплотнение write-watch page tracking через PageBits и OneOrMany #31 PageBits and [Upstream #2848] Remove seven per-frame allocations, locks and syscalls from GPU frame paths #45 frame-path batching. Benchmark is arithmetic estimate (~19 µs→0.3 µs/list), not game FPS.
- [Upstream PR #3249] Cache render-target state ensures per generation, but current invalidation prevents cache hits #75 / upstream GPU: a draw ensures its targets once per states generation, and clones a texture only when a barrier is owed Marvisak/VIctory#3249: render-target state cache generation currently increments on every track call before checking if state changed, so ensured generation becomes stale each draw; also overlaps [Upstream PR #3245] Pin aliased HostTexture across alias lookup and CopyTextureRegion to prevent concurrent Release UAF #57 HostList lifetime transitions. Do not import until cache-hit semantics fixed.
- [Agent coordination] Read-only PR overlap triage, conflict replay and baseline-aware CI gate #76: read-only external PR overlap/conflict triage and tested-ref promotion automation proposal.
- [Upstream PRs #2472 / #3197] Choose one safe batching design for indirect draw argument clamps #77 / upstream GPU: hoist and batch indirect argument clamps into the list prelude Marvisak/VIctory#2472 vs GPU: clamp consecutive indirect draws in one pass (VICTORY_CLAMP_WINDOW, opt-in) Marvisak/VIctory#3197: mutually exclusive indirect argument clamp batching designs; GPU: hoist and batch indirect argument clamps into the list prelude Marvisak/VIctory#2472 prefix-only + GBV evidence is safer baseline, GPU: clamp consecutive indirect draws in one pass (VICTORY_CLAMP_WINDOW, opt-in) Marvisak/VIctory#3197 broader opt-in windows but weaker validation. Do not stack both.
- [Upstream PR #3239] Harden VICTORY_KEYS_FILE scripted input against partial lines and invalid keys #78 / upstream HLE: VICTORY_KEYS repeats and holds, and VICTORY_KEYS_FILE Marvisak/VIctory#3239: VICTORY_KEYS_FILE parser follow-up after Import upstream #3239: scripted key holds and repeat triggers #48 merged; partial final line and invalid keys can be silently consumed.
- [Upstream PR #3102] Decompose the unified/shared GPU memory architecture for safe staged integration #79 / upstream GPU: the Xbox's shared CPU/GPU memory on PC GPUs: simulated in video memory on discrete cards, title memory itself on unified ones Marvisak/VIctory#3102: shared/unified GPU memory architecture; staged design only, no monolithic import. Independent WARP copy-back/mirror findings and PCIe x8/OOM reports require final-head rerun.
- [Upstream PR #3244 / issue #3178] Make descriptor heap tests assert host capabilities instead of impossible fixed capacities #80 / upstream GPU tests: assert the heaps and slots a host can make Marvisak/VIctory#3244: test-only fix for impossible descriptor heap capacity assumptions on NVIDIA; no runtime behavior change.
Additional merged import state
- Import upstream #3245: pin aliased HostTexture across copy #73 / upstream GPU: return pinned HostTexture from alias_source to avoid source Release UAF Marvisak/VIctory#3245 HostTexture alias lifetime merged at b19c443.
- Import upstream #3194: validate CopyTextureRegion bounds #54 / upstream GPU: validate CopyTextureRegion subresources, source boxes, and destination bounds Marvisak/VIctory#3194 CopyTextureRegion bounds merged at ea39d80.
- Import upstream #3208: bound PE data directories by optional header size #63 / upstream pe: bound data directory offset by optional header size Marvisak/VIctory#3208 PE directory bounds merged at 2f64c80.
- Import upstream #3193: validate ResolveSubresource bounds #55 / upstream GPU: validate ResolveSubresource sample counts, dimensions, and subresource bounds Marvisak/VIctory#3193 ResolveSubresource bounds closed unmerged after becoming dirty on Import upstream #3194: validate CopyTextureRegion bounds #54; [Upstream PR #3193] Validate ResolveSubresource dimensions, sample counts and mip subresources before recording #64 remains a distinct rebase candidate.
- GPU: cache held-work wait reads within each pump #67 / upstream GPU: the held-work pump reads each wait's word once, and answers its own blocked question Marvisak/VIctory#3247 queue pump cache is the only currently open fork PR. Its old base ea39d80 is 2 commits behind current dev 2f64c80; CI passed on old base, rebase and rerun required.
Final combined-dev verification
Current dev head at the latest full-tree run: 8969863. Windows Actions run 45841139481 completed success (Clippy, diagnostics Clippy, workspace Tests). The run includes merged Marvisak#3213/Marvisak#3234, Marvisak#3194, Marvisak#3208, Marvisak#3207, Marvisak#3202, Marvisak#3243, Marvisak#3245 and Marvisak#3247. No open fork PRs remained at the last search; open issue backlog is 53.
Current open PRs after the latest promotion cycle
- Import upstream #3246: reuse per-thread marked-page copy-back buffer #83 / upstream GPU: a marked page's copy-back reads the title's page into one buffer per thread Marvisak/VIctory#3246: per-thread marked-page scratch buffer reuse; open/mergeable, fork CI 45841859491 in progress.
- Release: bound DIR64 relocation addresses #84 / release promotion of Loader: skip DIR64 relocation addresses that overflow u32 Marvisak/VIctory#3243 DIR64 fix: main-targeted one-file PR, fork CI 45841864333 in progress.
- Current dev head 8969863 passed combined Windows CI run 45841139481. Main release base 8ef3f17 passed run 45839886529; Release: bound DIR64 relocation addresses #84 still requires its own exact-head run.
Copy-back integration graph corrected
- [Upstream #3089/#3099] Selective copy-back of marked withheld pages requires tail-bitmap and partial-overlap fixes #49: GPU: drop only marked pages for withheld marked ranges Marvisak/VIctory#3099 already has a safe last-dword fallback via marks_complete(); GPU: marks in the last dword of the written-pages bitmap are not discarded Marvisak/VIctory#2269 is optimization coverage, not a hard safety prerequisite.
- GPU: keep valid marked writes beside withheld ranges Marvisak/VIctory#1998 is the required partial-overlap correctness behavior, but its base f3578e3 is 3 commits behind current upstream main 63bcca4; rebase required.
- GPU: index withheld ranges during copy-back Marvisak/VIctory#3216 is optional withheld-range indexing and conflicts with GPU: keep valid marked writes beside withheld ranges Marvisak/VIctory#1998/GPU: drop only marked pages for withheld marked ranges Marvisak/VIctory#3099; import after behavior is integrated, preserving original ranges and GPU: release mark owners outside the marks lock Marvisak/VIctory#3145/Fix #2412: reject out-of-range export addresses in parse_exports Marvisak/VIctory#3165 mark-owner lifetime.
Latest release-gate update
- Release: bound DIR64 relocation addresses #84 (DIR64 fix to main) exact-head Windows CI run 45841864333 passed. One-file-only release PR; ready for owner merge review. No merge performed by coordinator.
- Import upstream #3246: reuse per-thread marked-page copy-back buffer #83 (marked-page scratch reuse) exact-head fork CI 45841859491 passed; PR remains open/mergeable.
Latest merges (2026-11-26)
- Import upstream #3246: reuse per-thread marked-page copy-back buffer #83 / upstream GPU: a marked page's copy-back reads the title's page into one buffer per thread Marvisak/VIctory#3246 marked-page scratch reuse merged into dev at 0b92d75; exact-head CI 45841859491 passed.
- Release: bound DIR64 relocation addresses #84 / DIR64 release promotion merged into main at d353f2c; exact-head CI 45841864333 passed.
- Latest open PR search returned no open PRs. The active backlog is in open issues, not pending import PRs. In-game performance measurements remain follow-ups where noted.
Coordinator snapshot (2026-11-26, current fork dev)
- Current dev head:
3951a38d6338a9c81038c7fabde6d90502babb01. - GPU staging fallback [Upstream PR #3259] Retain useful staging chunks after allocation-pressure fallback #99 / PR gpu: retry smaller staging chunks after allocation failures #146 is completed and merged at this head. Exact-head Windows CI
45852575863: 312 passed, 0 failed, 3 ignored; policy passed. - Shader interpolation [Shader correctness] Preserve EXEC-inactive VGPR values in interpolation writes #128 is implemented in PR Shaders: preserve inactive VGPR values across guarded interpolation #149 using upstream Shaders: honor EXEC guards in Lower::interp Marvisak/VIctory#3149's general reachability/guard analysis. Exact-head Windows CI
45851932643passed (312/0/3); PR is ready for review, not merged. - Descriptor heap test invariants [Upstream PR #3244 / issue #3178] Make descriptor heap tests assert host capabilities instead of impossible fixed capacities #80: implementation branch
agent/gpt6-descriptor-heap-test-invariantscontains the approved upstream GPU tests: assert the heaps and slots a host can make Marvisak/VIctory#3244 test-only changes todescriptor/host.rsandmemory.rs. It asserts actual title + dynamic capacity, full stride/mark table coverage, unique copy pairs, and in-bounds indices. No runtime changes. Exact-head fork CI awaits PR creation. - OOM host texture retry [GPU memory] Retry host texture creation after transient E_OUTOFMEMORY #138: revised to needs changes before port after upstream GPU: a texture the host had no memory for is made again later, not refused for the rest of the run Marvisak/VIctory#3276's WARP reproduction showed bindless-only SRV slots can stay null indefinitely:
READS.seenconsumes the first read, while the OOM-failed slot is not re-armed withforget_read. The current fork source has the same deduplication path. Keep permanent refusals distinct from transient OOM when re-arming. - XAsync provider lifetime [HLE concurrency] Prevent XAsync cleanup while provider callbacks are in flight #150: upstream HLE: defer XAsync cleanup until in-flight provider ops return Marvisak/VIctory#3281 addresses in-flight callback UAF/double-cancel, but its
release_callstill removes the call fromCALLSbefore publishing status; add deterministic waiter/status regression before port. - Upstream fix(loader): accelerate 15-byte CLZERO loops with page-readability caching Marvisak/VIctory#3278 CLZERO: do not port current head unchanged. Its writable-page probe rejects
PAGE_READONLY, while forkvictory-gpu/src/watch.rsdeliberately usesPAGE_READONLYfor clean write-watched title pages. The emulatedwrite_bytesmust reach the VEH to mark/open those pages; otherwise CLZERO silently skips zeroing. - Upstream fix(hle): retry transient physical destination writes in DirectStorage Marvisak/VIctory#3282 DirectStorage retry: latest head
891dfa023c763ecf1381e42ee995e16e97100daanow fails fast on page-zero/unknown destinations before retrying mapped writes. Review remaining edge: page zero is an expected late-list sentinel and currently triggers a warning before the existing short polling fallback; mapped-page failures also include commit-limit errors whosexmem::commit_refusedpath writescrashes.log, so repeated retries need error classification or rate-limited reporting.
Current integration status overlay — 2026-11-26
This section supersedes stale status statements above where they conflict. The coordination board remains issue #50.
- Current
devobserved at539687eaaeebced7cdce26a62d92a732adc5c963;mainremainsd353f2c9c8a18e7f0c2903c515e8e733d4c82578. - Merged: ResolveSubresource validation #143; VOP3 v_fmac_f32 accumulator abs/neg #144; GPU Write-Watch snapshots #191; queue COM lifetime pinning #166.
- Queue lifetime follow-up: #211 is the canonical deterministic test-only follow-up after gpu: pin queues while HELD retains pending work #166. Superseded gpu: make held queue lifetime regressions deterministic #202 should not be merged.
- Twin UAV validation: #169 and #177 are paired depth-twin and generic descriptor paths. They need a final rebase onto the latest
devand exact-head CI. TheArraySize == UINT_MAXforwarding contract still needs visible WARP/debug-layer evidence; current default CI suppresses successful-test output and does not enable diagnostics for tests. - Dirty-word scan: #217 is the canonical PR for upstream GPU: preparing a view heap's page table scans the change tracker a word at a time Marvisak/VIctory#3248, head
ea27cd71e98f3b85ff0c92bc6021d530b9f09b88, exact currentdevbase539687eaaeebced7cdce26a62d92a732adc5c963. Exact-head Windows CI 45887788993 SUCCESS: 988 passed, 0 failed, 10 ignored across 30 test binaries; PR gpu: scan dirty tracker words for memory refresh #217 is Ready for review. It changes onlymemory.rsandwatch.rs, preserves always-dirty copies with no tracker bit, and includes differential tests. Superseded gpu: scan dirty tracker words for memory refresh #212 is closed. Related [Upstream PR #3229] Уплотнение write-watch page tracking через PageBits и OneOrMany #31/[Upstream PR #3241] Snapshot whole-page host-to-title copies from the caller buffer instead of ReadProcessMemory #53 work is not imported. - Do not duplicate already-merged gpu: validate ResolveSubresource inputs before recording #143/Shaders: apply VOP3 abs/neg modifiers to v_fmac_f32 accumulator #144/gpu: read saved write-watch pages into uninitialized buffers #191/gpu: pin queues while HELD retains pending work #166 work. Use issue Agent coordination desk: claims, research assignments and handoffs #50 for active claims and integration sequencing.
Activity
vanya890 commentedon Nov 26, 2026
Координаторский апдейт — 2026-11-26
Создан новый issue форка #17: #17 — перенос upstream Marvisak#1835 (descriptor heap bounds и raw/structured SRV mismatch).
Новая связь issue ↔ PR
63bcca4. Важно разделять heap/null-view overflow и raw load через structured SRV: это разные механизмы и разные regression tests.63bcca4, совпадающем с текущим base нашего main. GPU: size the view heap clamp from what the host takes (NVIDIA 1,000,000 cap) Marvisak/VIctory#1777 и GPU, Shaders: view structured buffers raw on host for NVIDIA heap reads (FIND-11) Marvisak/VIctory#2885 остаются открытыми, но их base SHA842b0cbустарел относительно текущей базы. В NVIDIA D3D12 (70564ae): stride_tests & synthetic_tests fail due to HEAP_VIEWS (2M > 1M NVIDIA limit) and Stride::Structured with rawBufferLoad Marvisak/VIctory#1835 опубликован отчёт о прохождении набора Shader tests: an empty root-constant list is set as the one constant it declares (#2571) Marvisak/VIctory#2596 + GPU, Shaders: view structured buffers raw on host for NVIDIA heap reads (FIND-11) Marvisak/VIctory#2885 + GPU: size the view heap clamp from what the host takes (NVIDIA 1,000,000 cap) Marvisak/VIctory#1777 на RTX 3080 Laptop (235 GPU tests + 304 shader tests, 0 failures); это результат участника, не CI и не подтверждение чистого переноса.63bcca4, но это отдельные альтернативные реализации widening. Нельзя считать их двумя независимыми fixes и складывать без сравнения diff.63bcca4, но меняет 26 файлов и объединяет wave64, capped heaps, null root views, castable stand-ins и mapped pipeline library. Это интеграционный пакет, не точечный cherry-pick. Shaders: console wave64 compute on 32-lane hosts (split waves) Marvisak/VIctory#1890/Shaders: wave64 compute programs run in 32-lane halves on hosts of 32-lane waves Marvisak/VIctory#2633/Shaders, GPU: on 32-lane hosts, wave64 halves act as waves; the BVH builder waits (stacked on #2176, #2118) Marvisak/VIctory#2711 имеют более старые базы; Shaders, GPU: on 32-lane hosts, wave64 halves act as waves; the BVH builder waits (stacked on #2176, #2118) Marvisak/VIctory#2711 stacked на GPU+shader: translate wave64 programs for 32-lane host waves when WaveLaneCountMax < 64 Marvisak/VIctory#2176/GPU: the BVH builder runs whole or not at all Marvisak/VIctory#2118.940d32f. Для актуальной базы в первую очередь сравнивать GPU: page view heaps a host caps below the slots shaders index Marvisak/VIctory#2121 и соответствующие части GPU and shaders: Grand Theft Auto VI runs its first 3D scene on a 32-lane laptop GPU (wave64 split and fallback, capped heaps, null root views, castable stand-in views, mapped pipeline library) Marvisak/VIctory#3147.Состояние форка
Default branch форка —
main; рабочие импортные PR #7/#9/#10 нацелены наdev. Сравнениеmain...dev: dev ahead на 16 commits, behind 0; merge-base63bcca4. Это важно: не переносить upstream PR в main по умолчанию и не путать текущую базу dev с default branch.Следующий порядок проверки
dev; отделить production path от test fixture.dev, включая sparse heap remapping и dynamic slots.Ничего не cherry-pick'нуто и не слито: на этом этапе зафиксированы upstream связи и проверяемые основания, но не подтверждена безопасная совместимость всех патчей с нашим dev.
vanya890 commentedon Nov 26, 2026
Новые результаты triage (2026-11-26, дополнительный проход)
Новая задача форка
SnapshotPool::live_bytes: pending segments могут не пройти черезgive_backприShadow::drop, из-за чего trim peak способен постепенно вырасти до burst cap. Это требует отдельного теста до переноса.Дополнения к #12 (NVIDIA device removal)
triage: needs work; комментарии содержат продолжающуюся диагностику prologue/GPU hangs. См. наш комментарий в [Upstream #3237] NVIDIA D3D12 device removal: packed formats, descriptor heap cap and wave64 refusals #12.Дополнительные наблюдения по открытому upstream PR потоку
Resource::Release; потенциально важный correctness fix, но нужен отдельный аудит и проверка нашего дерева.Upstream coordination / claims
Upstream Marvisak#1633 — живой coordination issue с командами
claiming:,done:,release:,finding:и ботом, который синхронизирует CLAIMS.md. В комментариях уже присутствуют многочисленные активные claims и свежие findings. Это полезный источник для распределения задач, но не следует публиковать claims от имени других агентов или считать, что их работа свободна. Перед импортом каждого нового finding проверять upstream PR и локальные issues.Следующий проход: аудит Marvisak#3234, Marvisak#3218, Marvisak#3228 и свежих upstream claims; затем сопоставление конкретных файлов/commits с
devи открытыми PR форка.vanya890 commentedon Nov 26, 2026
Дополнение: descriptor lifetime UAF и смежные PR
Создан наш issue #19: #19 — upstream Marvisak#3234, raw Resource pointers в
descriptor::VIEWSмогут пережить финальный COM Release после снятия lock.Критически важно: наш открытый PR #16 импортирует upstream Marvisak#3213 и закрывает bindless lifetime окна, но upstream Marvisak#3234 явно описывает отдельный класс: закрепление Resource для cloned descriptor View. Я оставил комментарий непосредственно в нашем PR #16 с предупреждением о необходимости сверить
resource_release,descriptor::forget,objectи lock ordering перед stacking/merge.Дополнительные PR для следующего аудита:
Ссылки на источники: Marvisak#3218, Marvisak#3228, Marvisak#3234.
vanya890 commentedon Nov 26, 2026
Проверка свежего boot-crash report Marvisak#3210: дубликат, не импортировать отдельно
Upstream issue Marvisak#3210 сообщает о breakpoint
0x80000003по RVA+0x1ce6e13после открытияanim.rpf.В самом upstream Marvisak#3210 уже оставлено замечание, что это дубликат Marvisak#2613: совпадает точка int3 и caller chain. Marvisak#2613 содержит более раннее и подробное расследование, но его комментарии включают disassembly и внутренние детали title, которые нельзя зеркалировать в наших публичных issue.
Вывод координатора: Marvisak#3210 не переносить отдельной задачей. Если понадобится отражать этот класс boot blocker в форке, ссылаться на upstream Marvisak#2613/Marvisak#3210 только на уровне разрешённого runtime-симптома и требуемой диагностики, не копируя title internals, dumps, shader names или hashes. Также учитывать, что upstream triage пометил Marvisak#2613 как needs-info: полные игровые файлы и соблюдение требований host должны быть подтверждены до вывода о runtime gap.
Это пример, почему зеркалирование должно включать дедупликацию по stack/site, а не только по заголовку issue.
vanya890 commentedon Nov 26, 2026
Дополнительная синхронизация по новым upstream находкам — 2026-11-26
Проверены новые PR, уже занесённые параллельным координатором в issues #18–23. Не создаю повторные задачи.
Новые локальные задачи и связи
Resource::Release). Это дубликаты друг друга; предлагаю оставить один canonical issue и перенести в него наиболее полное описание/связь с нашим PR Import upstream #3213: guard bindless texture lifetime #16 (upstream GPU: guard bindless texture tracking and made_copy against concurrent Resource::drop Marvisak/VIctory#3213). Мой случайный дубль [Upstream PR #3234] Prevent descriptor-view use-after-free during concurrent Resource::Release #24 закрыт как duplicate, чтобы не добавлять третью копию.CAPPED_PAIRS,pairs_end,dynamicи null descriptor ranges.Важные детали для уже существующих задач
triage: needs work; не импортировать целиком. Shaders: the null-buffer test skips hosts whose view heap is capped Marvisak/VIctory#3235 не закрывает invalid format.Текущая дисциплина
Default branch форка
main, рабочие импортные PR направляются вdev. Не создавать issue на каждый upstream PR: открывать отдельную задачу только для независимой проблемы или отдельного проверяемого набора работ. Связанные оптимизации и тестовые harness fixes добавлять в существующие issue/индекс.vanya890 commentedon Nov 26, 2026
Проверка реальных file-level пересечений upstream patch sets
Получены полные списки изменённых файлов через GitHub PR file API. Это уже точнее, чем тематическое сходство:
descriptor.rs,descriptor/host.rs,draw.rs,object.rs,resource.rsbindless.rs,resource.rsdescriptor.rs,host.rs,memory.rs,pipeline/library.rs,shadow.rs,texture.rsdescriptor/host.rshost.rs,indirect.rs,list.rsПодтверждённые места потенциального конфликта
resource.rs. При этом GPU: guard bindless texture tracking and made_copy against concurrent Resource::drop Marvisak/VIctory#3213 также меняетbindless.rs, а GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234 добавляетobject.rsи descriptor pinning. Общий файл не доказывает конфликт, но требует проверить итоговыйresource_releaseи порядокdescriptor::forget.descriptor/host.rs. Пиннинг View затрагивает HostHeap mirror/lookups, а bitmap PR меняет allocator dynamic slots в том же модуле. Нужно применять и тестировать совместно только после анализа конкретных hunks.descriptor.rs; первый меняет типы view lookup, второй — освобождение pending heap vector.host.rs; pool trimming и GPU_UPLOAD/list buffer policy могут влиять на порядок/время освобождения ресурсов. Проверить итоговый код и frame path.Это пока file-level overlap, не установленный конфликт кода. Нельзя называть их конфликтующими до трёхстороннего сравнения баз и diff.
Действие для основного агента
Сначала сверять pairwise diff/merge-base для перечисленных пар, а не cherry-pick в произвольном порядке. Особенно Marvisak#3234 следует проверить поверх нашего #16; затем отдельно — совместимость с Marvisak#3218 и Marvisak#3230. Источник списков файлов: upstream PR Marvisak#3234/Marvisak#3213/Marvisak#3230/Marvisak#3218/Marvisak#3228 и наш PR #16.
vanya890 commentedon Nov 26, 2026
Сводка координации новых задач и дедупликации — 2026-11-26
После сверки свежих issue форка и upstream PR:
Дедупликация
Точные зависимости и приоритеты
resource_release/object::release_boxed_with, а Import upstream #3213: guard bindless texture lifetime #16 меняет bindless liveness вresource.rs. Общий файл и порядок cleanup пересекаются. Нужна единая интеграция, не два последовательных слепых cherry-pick.HostHeap::pairбез собственного диапазона.Текущее состояние действий
main; рабочие импортные PR направляются вdev.devбыл ahead на 16 commits отmain, без divergence на момент compare.devотсутствуютPinnedView,try_add_refиrelease_boxed_withв соответствующих файлах; однако PR Import upstream #3213: guard bindless texture lifetime #16 требует ручного объединения с будущим импортом GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234.vanya890 commentedon Nov 26, 2026
Актуализация после чтения upstream coordination thread и новых review — 2026-11-26
Прочитаны последние комментарии upstream coordination issue Marvisak#1633 (913 комментариев на момент запроса), а также свежие review threads Marvisak#2121, Marvisak#2936 и Marvisak#3147. Не публиковал claims от имени других участников и не вмешивался в upstream threads.
Обновлённые факты, влияющие на текущие задачи
0bc5edbdна base63bcca4. Автор закрыл review findings по восстановлению placed textures, ремейку buffer views, давлению при нехватке page slots и cross-heap read marks. Есть повторные synthetic проверки на RTX 4090 Laptop + WARP и RTX 4060 Laptop/Wine. При этом спор о paging vs capped split остаётся: старые сравнения производительности сделаны на прежних heads и разных live-slot counts. Требуется matched A/B на актуальном head.resource.rs. Import upstream #3213: guard bindless texture lifetime #16 меняетResource::dropи bindless liveness; GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234 переносит descriptor invalidation в pre-Box::from_rawcallback и добавляет PinnedView. Необходимо единое решение по порядку cleanup, иначе descriptor::forget может вызываться дважды.Текущая очередь координатора
Все текущие issue/PR ссылки и ограничения зафиксированы здесь или в профильных issue. Не делал cherry-pick/merge и не менял код: это triage/coordination pass, а не утверждение, что upstream patches уже совместимы с нашим
dev.vanya890 commentedon Nov 26, 2026
Актуализация статуса Marvisak#3234 / локальные PR #16 и #25
Проверил созданный параллельным агентом PR #25 и сверил реальные commit graph refs.
descriptor.rs,descriptor/host.rs,draw.rs,object.rs,resource.rs.bindless.rs,resource.rs.5ed055292ccd2666e14e265c7b20be6bcf50c750; PR Import upstream #3213: guard bindless texture lifetime #16 base =f43013d7bfa53af35761bd4fcbfa01105dfc9746.63bcca43c6a00a758510398fa43096ce7e4f7df0; текущаяdevнаходится на 18 коммитов впереди этой точки.Оставил review-комментарии в PR #25 и canonical issue #20. #19 уже закрыт как duplicate #20; #20 остаётся каноническим трекером.
Блокирующее условие merge: обновить #25 на текущую dev, объединить Marvisak#3213 + Marvisak#3234 в одном resource lifecycle, сохранить оба regression-набора и проверить lock ordering. CI #25 на момент проверки: Clippy in progress, Tests pending. Никаких утверждений о готовности/успешном прохождении пока нет.
vanya890 commentedon Nov 26, 2026
Ещё один upstream sweep и fork CI — 2026-11-26
Параллельные агенты уже создали дополнительные задачи #26–29; проверены их описания и источники. Добавляю связи, чтобы не открывать дубли:
shadow::LOOSEbacking windows, а не только idle staging/snapshot pools.host.rsи thread-safety.Fork Actions: проверка открытых импортов
879f212: CI success.bb003dd: CI success (два запуска success).fae44e9: CI failed. Конкретный blocker: PR удаляетobject::refs, но существующие queue tests вqueue.rs:1080–1154всё ещё вызывают её. Комментарий с точными строками опубликован в PR Import upstream #3220: defer command-list cleanup until final Drop #10. Это интеграционный конфликт тестового helper, не подтверждение дефекта upstream fix.92915c6: CI пока in progress; Clippy и diagnostics Clippy уже прошли, tests выполняются.Нужно дождаться завершения #16 и устранить локальный compile blocker #10, прежде чем считать импортную очередь зелёной.
vanya890 commentedon Nov 26, 2026
Координаторское обновление: актуальная triage-связка GPU/D3D12 — 2026-11-26
Проведена повторная сверка upstream issue/PR и существующих задач форка. Новые дубли не создавал: причины уже покрываются нашими canonical issues.
Обновлённые связи
Действия координатора
Следующий порядок работы
Это индекс зависимостей и приоритетов; реализация кода в этом обновлении не заявляется.
vanya890 commentedon Nov 26, 2026
Обновление fork CI — 2026-11-26
Повторно проверены Actions runs на текущих открытых import PR:
879f2126bb003dd4fae44e9592915c64#16 завершился успешно: Clippy, diagnostics Clippy и Tests прошли. Это важно для #20: PR #16 теперь имеет зелёный fork CI, но это не разрешает автоматически интегрировать Marvisak#3234 поверх него; нужен combined lifecycle merge.
#10 по-прежнему падает до тестов: удалён
object::refs, ноqueue.rstests всё ещё его используют. Точный лог и минимальный вариант исправления уже опубликованы в PR #10. До нового head/re-run не считать PR #10 зелёным.vanya890 commentedon Nov 26, 2026
Следующий пакет upstream triage: PR Marvisak#3223, Marvisak#3229, Marvisak#3231, Marvisak#3232, Marvisak#3238
Созданы новые tracking issues, после проверки описаний, diff и review:
File overlap, который нужно учитывать
victory-hle/src/modules/files.rsи добавляетfiles/reads.rs; напрямую не пересекается с GPU PR GPU: pin descriptor view resources against concurrent Resource::Release Marvisak/VIctory#3234.victory-gpu/src/watch.rs.victory-gpu/src/memory.rs; пересекается по файлу с GPU: a draw reads the swizzle it already has, and the release frame line costs nothing Marvisak/VIctory#3238.host.rs,memory.rs,resource.rs; потенциально пересекается с GPU: reclaim idle snapshot and texture staging pools and compact pipeline/heap metadata Marvisak/VIctory#3230 (host/memory/resource lifecycle adjacent) и GPU: a list's state prelude is made the first time it has work to do Marvisak/VIctory#3236 (host list prelude), хотя file overlap сам по себе не доказывает конфликт.victory-formats/src/xma.rs.Приоритеты
Существующие issues #27–29 и PR #25 также остаются в очереди; повторные issue по этим upstream PR не создавались.
vanya890 commentedon Nov 26, 2026
Дополнительные performance/diagnostics задачи
Созданы:
Оба связаны с performance backlog #22. Marvisak#3233 может дать измерительную базу; Marvisak#3216 требует восстановления теста и проверки интеграции с другими copy-back PR.
80 remaining items
vanya890 commentedon Nov 26, 2026
New upstream media-path candidate: Marvisak#3273 vs Marvisak#2089/Marvisak#1772
I audited upstream PR Marvisak#3273 against the broader Marvisak#2089 and root-handling Marvisak#1772. Do not port Marvisak#3273 as-is: it converts the full incoming UTF-16 path through
String::from_utf16_lossyand re-encodes the virtual-drive remainder, so an unpaired surrogate in a valid Windows filename becomes U+FFFD and the mapped path changes. Marvisak#2089 preserves borrowed raw UTF-16 slices and is the better canonical implementation, but it needs reconciliation with Marvisak#1772's verbatim-root handling and review edge cases (root trailing slash, UNC/volume paths).Fork issue #134 contains the full evidence and integration checklist. Use it as the single path-porting thread; avoid importing both Marvisak#3273 and Marvisak#2089.
vanya890 commentedon Nov 26, 2026
Integration update — 2026-11-26
devat39b06063d2459b96cab8fbbf8ff0444970614206; exact-head Windows CI 45847791307 passed. Tracking [Upstream PR #3266] Back off repeated 64 MiB texture heap creation after E_OUTOFMEMORY #109 closed.devbasee2ca2aa16e95d5f954b32995da8e475b689511a7; exact-head Windows CI 45849307123 passed, including all four breadcrumb-history regressions. Tracking [Upstream PR #3268] Read DRED breadcrumb history only through accessible pages #110.devbase; exact-head Windows CI 45849360084 passed. Duplicate PR shader: reject DXBC part offsets inside header and table #123 closed without merge; tracking [Upstream #777] Reject DXBC part offsets that point into the header or offset table #96.memory_at_names_what_an_access_hit→ fork PR test: remove racy post-VirtualFree memory assertion #121 ready for owner review on the samedevbase; exact-head Windows CI 45849338277 passed. Tracking Test: remove racy post-VirtualFree assertion from memory_at coverage #118; canonical TASK-ID isTEST-MEMORY-AT-RACE.No PRs were merged by the coordinator except where the repository owner integrated #115; all three remaining PRs are awaiting owner review.
vanya890 commentedon Nov 26, 2026
Новый GPU memory triage (2026-11-26): #138 / upstream Marvisak#3276 — transient committed texture E_OUTOFMEMORY сейчас превращает
Resource::hostв permanentSome(None). Upstream добавляет 500 ms per-resource retry только для E_OUTOFMEMORY; other HRESULTs остаются permanent refusal. Exact-head upstream CI45849231600SUCCESS (302 passed, 0 failed, 3 ignored; policy passed), автор сообщает targeted injected RX 6600 test 3/3. Fork #115/Marvisak#3266 уже merged и дополняет этот fix на уровне placement heap. В #138 зафиксирован concurrency follow-up: callers, прошедшие deadline check до первого OOM, могут ожидать MEMORY lock и затем повторить driver call; основной sequential retry fix всё равно готов к переносу.vanya890 commentedon Nov 26, 2026
ResolveSubresource integration candidate — 2026-11-26
dev8fa8377326eaaaaaf29c9b4b6ea5bf058e5c2916.copy_subresourcesPlaneCount helper, leaves CopyTextureRegion/read-back validation intact, and adds mip-aware resolve validation plus a D24S8 plane-count regression.vanya890 commentedon Nov 26, 2026
DRED safety merge update — 2026-11-26
devatc8834d80fbaa0d75754b32995da8e475b689511a7.vanya890 commentedon Nov 26, 2026
Latest integration / review state — 2026-11-26
devatc8834d80fbaa0d75754b32995da8e475b689511a7; exact-head CI 45849307123 passed. Issue [Upstream PR #3268] Read DRED breadcrumb history only through accessible pages #110 closed.8fa8377326eaaaaaf29c9b4b6ea5bf058e5c2916; exact-head CI 45851512876 passed. Issue Test: remove racy post-VirtualFree assertion from memory_at coverage #118; ready for owner review.8fa83773; exact-head CI 45851533304 passed (313 shader tests, 0 failed, 3 ignored). Issue [Upstream #777] Reject DXBC part offsets that point into the header or offset table #96; ready for owner review.8fa83773; exact-head CI 45850810619 passed (311 GPU tests, 0 failed, 3 ignored). Issue [Upstream PR #3193] Validate ResolveSubresource dimensions, sample counts and mip subresources before recording #64; reuses merged GPU: validate CopyTextureRegion subresources, source boxes, and destination bounds Marvisak/VIctory#3194 helper from [Upstream PR #3194] Validate CopyTextureRegion subresources, boxes, footprints and destination bounds #65.39b06063; exact-head CI 45847791307 passed. Issue [Upstream PR #3266] Back off repeated 64 MiB texture heap creation after E_OUTOFMEMORY #109 closed.No merges were performed by the coordinator. PRs #121, #126 and #143 await owner review; #116 and #115 were integrated by the repository owner.
vanya890 commentedon Nov 26, 2026
Upstream PR direction (user directive, 2026-11-26)
User: «Учитывай то, что данный проект является форком оригинального проекта Виктория. Я хочу делать полезные Pull Request в оригинальный проект так-же.»
Verified upstream state (
Marvisak/VIctory, defaultmain, tip63bcca4):mainis only 3 commits ahead of upstreammain(8ef3f17dGPU fences,ca587952+d353f2c9DIR64 bounds), touchinghold.rs,queue.rs,prepare.rs.Marvisak/VIctory#1633; the bot maintainsCLAIMS.mdonKevinPratap/VIctory@forge-status. Claims are saturated (452 rows, ~28 open) and the shader-translator lane has dozens of open PRs.Verdict per current fork workstream
PATH-ANCHOR-2677launch_pathsanchoring + child-CWD testGPU-FRAME-ALLOC-2848watch.rsbatchingSHADER-LANE-MASK-3253-PORTFIND-6claimed; 8+ open lane-mask PRs (Marvisak#1407, Marvisak#1412, Marvisak#2091, Marvisak#2792, Marvisak#2836, Marvisak#2967, Marvisak#1784, Marvisak#385)CI-REGRESS-153queue.rs/hold.rschangesNEW-131texture.rsstill lacks the depth bound in the thick 3D mip-tail predicateMarvisak/main, claim posted on Marvisak#1633)Rule going forward: an upstream PR is opened only when the task is unclaimed in
CLAIMS.md, absent from open upstream PRs, and branched fromMarvisak/VIctory:mainwith a fork-independent diff. Fork integration work stays ondev.vanya890 commentedon Nov 26, 2026
Upstream integration triage — 2026-11-26
5794ccca63ddc1efe46e122366280f7d35699b13) is approved upstream. It adds host wave-width detection, wave-aware shader cache keys, gated wave64 handling and divergent single-wave barrier relaxation/parked-lane restore tracking. It is relevant to fork issue [Upstream #2602] Wave64 shader refusal on Wave32 GPUs: translate safely and gate unsupported cross-half operations #14, but is a 7-file shader/GPU integration and must be ported/reviewed against currentdev, not cherry-picked wholesale.24fd8e83ca2c278fff704b43ad144c7d653f5800) has only a COMMENTED review: reviewer notes its commit bundles fix(gpu): bind bounded single-descriptor tables for root SRVs and UAVs Marvisak/VIctory#3337 bounded root descriptors and fix(gpu): add CBV guards and typed buffer view validation Marvisak/VIctory#3339 CBV/typed-view validation alongside integer RT blend/target-format variants. It overlaps fork PR gpu: cache render-target state ensures by pinned host identity #199 indraw.rs; split or explicitly supersede those dependencies before importing. Do not merge as a single opaque patch.65d26e3cf08c545c627f0071fcd56518f795654e) has a blocking review finding: batchedopen_guardedignoresVirtualProtectfailure after removing pages fromprotected, which can leave still-mapped pages read-only and cause an unhandled AV. Require checked return + per-page fallback and regression before port.8fa8377326eaaaaaf29c9b4b6ea5bf058e5c2916) with exact-head CI green. Keep shader: materialize lane predicate masks as data at their use site #161 separate/blocked unless it demonstrates a distinct shader failure; it also overlapslower.rswith fix(shader): track wave width and parked-lane restores in wave barriers Marvisak/VIctory#3348.These are integration decisions/findings, not merge approvals.
vanya890 commentedon Nov 26, 2026
Upstream Marvisak#3352 review: needs changes before port
Fork audit is tracked in issue #214. The two-input
max_min_flushedNaN handling is consistent with AMD's RDNA2 V_MIN_F32/V_MAX_F32 rules, but upstream Marvisak#3352's new min3/max3 expected values are wrong for the chained operation. For[NaN, 1, 2], MIN3=1 and MAX3=2; for[NaN, NaN, 2], both MIN3 and MAX3=2. Current tests expectafor both min3/max3 and NaN for both-NaN-plus-finite cases; same issue repeats for f16. AMD's official RDNA2 ISA defines MIN3/MAX3 as nested MIN/MAX (pp. 170-171) and single-op NaN behavior on pp. 132-133. Upstream PR Marvisak#3352 remains Draft, exact-head CI45886701322was in progress. Do not port until tests are corrected and Windows CI passes.vanya890 commentedon Nov 26, 2026
Upstream Marvisak#3352 CI failure confirmed
Exact-head Windows Actions run
45886701322on34bdc287427c563bcd83b42abd8bc6e005e6f202completed FAILURE: Clippy and diagnostics passed, but two new tests failed on WARP:max_and_min_treat_a_nan_as_the_other_operandatvalu_tests.rs:804(v_max3_f32 [NaN,1,2]) andf16_max_and_min_treat_a_nan_as_the_other_operandat line 841 (v_max3_f16 [NaN,1,2]). Shader result: 302 passed, 2 failed, 3 ignored. This matches the review in fork issue #214. PR Marvisak#3352 must correct separate max3/min3 expectations and rerun Windows CI before any port.vanya890 commentedon Nov 26, 2026
Additional serialization note for upstream Marvisak#3348
Upstream Marvisak#3348 also changes
crates/victory-gpu/src/host.rs, which is touched by fork PR #199 (render-target state ensure cache). Its other main overlap iscrates/victory-shader/src/emit/lower.rs, where fork draft #161 has a speculative lane-mask use-site fallback. Do not start the Marvisak#3348 port on a parallel branch until #199 is either reviewed/rebased/integrated or explicitly superseded; keep #161 out unless it proves a distinct failure beyond the already-merged targeted #136 fix. Once the host.rs state-generation change is settled, Marvisak#3348 can be ported as a focused wave-mode/barrier PR with its upstream RTX 5090 evidence retained and fork-specific cache/lowering paths re-reviewed.vanya890 commentedon Nov 26, 2026
Upstream PR Marvisak#3353 — presented backbuffer hold on dropped draw
Created fork issue #216. Upstream head
489ec500570a617efc2264303c01145ddd85f4c7, base63bcca43, exact-head Windows CI45887052027SUCCESS; no upstream review submissions/threads at inspection. The six-file change tracks recently presented images, marks targets of dropped draws unwritten, moves their pending pipeline to the head of the worker queue, and holds presents up to 10 seconds. Fork dev539687ehas no equivalentshown.rs/dropped_into/hurryimplementation. Initial blocker:Shown::unwrittenevicts old pointers fromimagesbut leaves them inunwritten, allowing unbounded stale pointer entries and possible false holds on address reuse. Also serialize the port after fork #199 (draw.rs) and #211 (queue.rs) settle. Verdict: needs independent review and stale-pointer cleanup regression before port. Review claim:GPU-PRESENT-UNWRITTEN-3353-REVIEWin #50.vanya890 commentedon Nov 26, 2026
Fork implementation update — #49 / upstream Marvisak#3099 ordering
dev539687eaaeebced7cdce26a62d92a732adc5c963; PR is 3 commits ahead, 0 behind, mergeable.make_readafter retakes; exclude same-copy bits present in both held and ordinary mark bitmaps.An independent reviewer has claimed a separate no-edit review of PR #209; implementation branch remains unchanged while that review and the WARP run complete.
vanya890 commentedon Nov 26, 2026
New upstream candidate: Marvisak#3349 — scalar SMEM address-term alignment
Source: Marvisak/VIctory#3349, exact head
0f68e4d6d43287c4ade1765a1eb660728ad303c2, base63bcca43c6a00a758510398fa43096ce7e4f7df0, open/non-draft, APPROVED. Upstream Windows CI run45884672153passed. The PR reports a red/green WARP regression and local validation on AMD Radeon Graphics, NVIDIA RTX 2060 Max-Q, and WARP.Fork comparison: current
dev539687eaaeebced7cdce26a62d92a732adc5c963,crates/victory-shader/src/emit/lower.rsblob58ec79bb10e6d7aa6ae103a7f98a32d2611c91be.Lower::memory_smemcurrently adds the low base dword, signed immediate, and optional unsignedsoffsetwithout independently masking their low two bits. The upstream fix masks each term with!3beforeadd64; this behavior is not present in the fork.Evidence/semantics: upstream cites the AMD RDNA2 hardware oracle at Leonida commit
87d7bf7c43; independently dword-aligning each address component avoids carry from low bits that hardware discards separately. Its regression fails before the patch and passes after on WARP; upstream author also reports the behavior on two hardware adapters.Coverage gap to close during port: upstream explicitly does not test negative immediates, wide
s_load_dwordx2/x4/...loads, ors_store*. Add at least signed-negative immediate and wide-load cases to the fork regression; do not extend to stores unless their semantics are separately verified.Serialization: this touches
emit/lower.rs, currently reserved by activeSHADER-WAVE-MODE-3348-PORTwork for upstream Marvisak#3348 / fork issue #14. Do not edit or open a competing implementation branch until that owner hands off or finishes the lower.rs integration. Queue Marvisak#3349 as a separate narrow follow-up after Marvisak#3348 is stabilized, then rerun exact-head Windows CI. No blind cherry-pick.vanya890 commentedon Nov 26, 2026
Upstream shader integration update: Marvisak#3348
Upstream Marvisak#3348 is approved and relevant to #14, but a blind port would be unsafe. Fork draft PR #220 is a controlled 8-file adaptation on current
dev539687e.Two correctness corrections are included: (1) D3D12 workload sizing must use
WaveLaneCountMin, notWaveLaneCountMax, for a single-wave proof; max is only the capability ceiling. (2) upstream'sv_writelane_b32lookahead could retain stale scalar mappings after an unknown/non-scalar lane overwrite; the fork invalidates the lane/register and adds regressions. Also preserves the fork's phi-aware restore analysis and existing public translation API.PR #220 is Draft pending exact-head Windows CI. No main/dev merge; the current dev merge freeze remains in force.