Draft: reproduce RTX 5080 world-transition GPU hang on combined renderer patches #1519

Closed
alladeen321123 wants to merge 53 commits from upstream-pr/1520 into main
alladeen321123 commented 2026-11-24 18:43:08 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by alladeen321123 on 2026-11-24T18:43:08Z.


This draft shares the exact source used for a Windows RTX 5080 comparison against main at ffe310e. It is an integration branch for cross-machine testing. The included work comes from #175, #994, #302, #193, #704, #309, #1067, #953, #1260, #1267, #1254 and #334. Their original commits are preserved. Local changes reconcile the branches, skip redundant COPY_SOURCE presentation barriers and add optional frame recording.

Reproduce on Windows

  1. Check out the PR head and follow the repository README for prerequisites and game configuration.
  2. Run cargo build --release -p victory --features diagnostics and cargo xtask agility. Verify the matching runtime is under target\release\D3D12.
  3. In PowerShell set $env:VICTORY_D3D12_DEBUG='1' and $env:VICTORY_D3D12_DRED='1'. Use the default hardware adapter. Start with the normal presentation path and no optional capture settings.
  4. Run target\release\victory.exe run "<path to title executable>" --execute, select Player and let the loading transition finish. For a separate debug geometry comparison, use the intermediate-target and debug pixel shader options documented in docs/linux-proton.md.

RTX 5080 observations

Debug geometry stayed visible past loading. Adding #334 reduced the observed debug-layer ID 527 and ID 538 counts from 213 and 135 to zero in the matched debug-target runs. The normal-output run presented intro text. Both modes eventually reported DXGI_ERROR_DEVICE_HUNG. The only partially completed breadcrumb list in each showed 6/12, with DISPATCH next. The shader and cause remain unknown.

Please report your GPU, driver, operating system, commit, presentation mode and whether the run advances past loading. For a hang, include the device removal reason and a short breadcrumb summary. A text report is enough.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6588915913 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520). Originally posted by [alladeen321123](https://github.com/alladeen321123) on 2026-11-24T18:43:08Z. --- This draft shares the exact source used for a Windows RTX 5080 comparison against main at `ffe310e`. It is an integration branch for cross-machine testing. The included work comes from #175, #994, #302, #193, #704, #309, #1067, #953, #1260, #1267, #1254 and #334. Their original commits are preserved. Local changes reconcile the branches, skip redundant COPY_SOURCE presentation barriers and add optional frame recording. ### Reproduce on Windows 1. Check out the PR head and follow the repository README for prerequisites and game configuration. 2. Run `cargo build --release -p victory --features diagnostics` and `cargo xtask agility`. Verify the matching runtime is under `target\release\D3D12`. 3. In PowerShell set `$env:VICTORY_D3D12_DEBUG='1'` and `$env:VICTORY_D3D12_DRED='1'`. Use the default hardware adapter. Start with the normal presentation path and no optional capture settings. 4. Run `target\release\victory.exe run "<path to title executable>" --execute`, select Player and let the loading transition finish. For a separate debug geometry comparison, use the intermediate-target and debug pixel shader options documented in `docs/linux-proton.md`. ### RTX 5080 observations Debug geometry stayed visible past loading. Adding #334 reduced the observed debug-layer ID 527 and ID 538 counts from 213 and 135 to zero in the matched debug-target runs. The normal-output run presented intro text. Both modes eventually reported DXGI_ERROR_DEVICE_HUNG. The only partially completed breadcrumb list in each showed 6/12, with DISPATCH next. The shader and cause remain unknown. Please report your GPU, driver, operating system, commit, presentation mode and whether the run advances past loading. For a hang, include the device removal reason and a short breadcrumb summary. A text report is enough.
alladeen321123 commented 2026-11-24 19:04:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by alladeen321123 on 2026-11-24T18:59:39Z.


RTX 5080 follow-up on the PR head with local command-list naming instrumentation. With DRED enabled and the D3D12 debug layer disabled, normal presentation still ended in DXGI_ERROR_DEVICE_HUNG. The partially completed list was run 21, breadcrumb 6/12. The next recorded operation maps to a 12x1x1 dispatch of compute shader eeed82b877b44b5f. The preceding dispatch used the same shader and dimensions. With the debug layer enabled, the same list index and breadcrumb position were observed. This identifies where progress stopped; it does not establish whether the shader, its inputs, or earlier GPU work caused the hang. Reports from another GPU at this transition would help.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7141439964 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7141439964). Originally posted by [alladeen321123](https://github.com/alladeen321123) on 2026-11-24T18:59:39Z. --- RTX 5080 follow-up on the PR head with local command-list naming instrumentation. With DRED enabled and the D3D12 debug layer disabled, normal presentation still ended in DXGI_ERROR_DEVICE_HUNG. The partially completed list was run 21, breadcrumb 6/12. The next recorded operation maps to a 12x1x1 dispatch of compute shader `eeed82b877b44b5f`. The preceding dispatch used the same shader and dimensions. With the debug layer enabled, the same list index and breadcrumb position were observed. This identifies where progress stopped; it does not establish whether the shader, its inputs, or earlier GPU work caused the hang. Reports from another GPU at this transition would help.
HenriqueSBueno commented 2026-11-24 20:03:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by HenriqueSBueno on 2026-11-24T19:29:00Z.


Possibly related to the hang mechanism here: on our machine (RTX 3080), with #1388 applied and a counter added where it defers a list tail, command-list 64-bit memory waits held queue work back 32+ times in ~5 minutes of a Series S world run (queue-level fence waits: 0). Without #1388 those consumers run before their producers. A long-running world shader that loops on a bound its producer has not written yet would then never finish. We saw that pattern in a lighting pixel shader whose outer loop exits on an equality test. It may be worth trying this branch with #1388 to see whether the hang at run 21 / breadcrumb 6 moves or disappears. Notes in #1317 (H-6.7, H-6.14) and on #1388.

AI-assisted (Claude Code)

<!-- greyfinch-sync:Marvisak/VIctory:comment:7142159871 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142159871). Originally posted by [HenriqueSBueno](https://github.com/HenriqueSBueno) on 2026-11-24T19:29:00Z. --- Possibly related to the hang mechanism here: on our machine (RTX 3080), with #1388 applied and a counter added where it defers a list tail, command-list 64-bit memory waits held queue work back **32+ times in ~5 minutes** of a Series S world run (queue-level fence waits: 0). Without #1388 those consumers run before their producers. A long-running world shader that loops on a bound its producer has not written yet would then never finish. We saw that pattern in a lighting pixel shader whose outer loop exits on an equality test. It may be worth trying this branch with #1388 to see whether the hang at run 21 / breadcrumb 6 moves or disappears. Notes in #1317 (H-6.7, H-6.14) and on #1388. AI-assisted (Claude Code)
Bullet18x commented 2026-11-24 20:03:13 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Bullet18x on 2026-11-24T19:34:15Z.


RTX 5090 run of this branch, following the steps in the description. (Plain main on the same machine: #1586 .)

Machine: RTX 5090 32 GB, driver 621.40 (32.0.16.2114), Ryzen 9 9950X3D, 64 GB, Windows 11 Pro 10.0.28000.
Build: head 2190efe, cargo build --release -p victory --features diagnostics, cargo xtask agility (1.620.2, files under target\release\D3D12).
Run: VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, default adapter, normal presentation path, VICTORY_KEYS=8:Enter,20:Enter,35:Enter, victory.exe run <dump>\game_scarlett_master.exe --execute. Pipeline cache warm from an earlier main run.

Result: advances past loading, then DXGI_ERROR_DEVICE_HUNG.

  • Menus at 30 fps; the world from ~70 s at 1.0–1.4 fps (632–2,015 draws/frame; 827–2,440 dropped without a host pipeline and 1,460–3,364 indirect per frame).
  • ~100 s in the world: a submission of 1 list took 5,071 ms, then device removed ... 0x887A0006. Breadcrumbs: that list stopped at 204/478.
  • On main ffe310e the same machine hung after ~60 s in the world (a submission of 11 lists, 4,839 ms; list 1 at 222/710). So this branch ran ~40 s longer before the hang, on a warm cache; one run each, so not conclusive.

In that first run the debug layer did not start (0x887A002D): this Windows build's in-box D3D12 (10.0.28000.3365) is newer than 1.620.2, so the in-box runtime was used, and Graphics Tools was not installed.

Rerun with the debug layer working (Graphics Tools installed):

  • Same end: world at 1.1–1.8 fps, then a 1-list submission (93 commands, dispatches) took 5,096 ms and DXGI_ERROR_DEVICE_HUNG (~45 s in the world). The debug layer reports the removal (id=232) but no validation error for the hung list, so it does not name a bad command: this looks like a GPU timeout, not invalid API use.
  • IDs 527 and 538: 0, as described for #334.
  • What the debug layer did report (counts):
    • id=622 ×135: CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32. On a 32-lane GPU these wave64 compute pipelines are refused (matches the ~118–135 host pipeline refused ... 0x80070057 per run), so their dispatches are dropped on NVIDIA.
    • id=645 ×2: CreateDescriptorHeap: NumDescriptors 1572864 and 1376256, but the limit for shader visible view heaps is 1000000. Both runs also log host view heap capped at 1000000 ... count=1245184, and this branch logs 376,256 title slot past the host heap warnings during boot; no dynamic slots for its tables reached dropped=262144. #1496 and #1508 hit the same limit.
    • id=970/972 ×401 each, id=971 ×180: ID3D12PipelineLibrary::StorePipeline: A pipeline with name … already exists / Load*Pipeline: The pipeline state desc provided does not match the one used to create the PSO stored with name … / … does not have a pipeline stored with name …. Several different pipeline descs are stored under the same library name, so loads miss and stores fail (cache thrash; no wrong PSO is loaded since D3D12 refuses the mismatch).
    • id=679 ×6, id=974 ×4: a pixel shader writes a render target slot the PSO does not bind.

Not tested: the debug-geometry comparison from docs/linux-proton.md, a cold cache on this branch, a wave64 emulation mode (not on this branch).

No game data, title-content log lines or screenshots attached. AI use: Claude Code (Claude Opus 5.5) built, ran and summarised the logs; I checked it.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7142286795 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142286795). Originally posted by [Bullet18x](https://github.com/Bullet18x) on 2026-11-24T19:34:15Z. --- RTX 5090 run of this branch, following the steps in the description. (Plain `main` on the same machine: #1586 .) **Machine**: RTX 5090 32 GB, driver 621.40 (32.0.16.2114), Ryzen 9 9950X3D, 64 GB, Windows 11 Pro 10.0.28000. **Build**: head `2190efe`, `cargo build --release -p victory --features diagnostics`, `cargo xtask agility` (1.620.2, files under `target\release\D3D12`). **Run**: `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, default adapter, normal presentation path, `VICTORY_KEYS=8:Enter,20:Enter,35:Enter`, `victory.exe run <dump>\game_scarlett_master.exe --execute`. Pipeline cache warm from an earlier `main` run. **Result: advances past loading, then DXGI_ERROR_DEVICE_HUNG.** - Menus at 30 fps; the world from ~70 s at 1.0–1.4 fps (632–2,015 draws/frame; 827–2,440 dropped without a host pipeline and 1,460–3,364 indirect per frame). - ~100 s in the world: a submission of **1 list took 5,071 ms**, then `device removed ... 0x887A0006`. Breadcrumbs: that list stopped at **204/478**. - On `main` `ffe310e` the same machine hung after ~60 s in the world (a submission of 11 lists, 4,839 ms; list 1 at 222/710). So this branch ran ~40 s longer before the hang, on a warm cache; one run each, so not conclusive. In that first run the debug layer did not start (`0x887A002D`): this Windows build's in-box D3D12 (10.0.28000.3365) is newer than 1.620.2, so the in-box runtime was used, and Graphics Tools was not installed. **Rerun with the debug layer working** (Graphics Tools installed): - Same end: world at 1.1–1.8 fps, then a 1-list submission (93 commands, dispatches) took **5,096 ms** and `DXGI_ERROR_DEVICE_HUNG` (~45 s in the world). The debug layer reports the removal (id=232) but no validation error for the hung list, so it does not name a bad command: this looks like a GPU timeout, not invalid API use. - **IDs 527 and 538: 0**, as described for #334. - What the debug layer did report (counts): - **id=622 ×135**: `CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32`. On a 32-lane GPU these wave64 compute pipelines are refused (matches the ~118–135 `host pipeline refused ... 0x80070057` per run), so their dispatches are dropped on NVIDIA. - **id=645 ×2**: `CreateDescriptorHeap: NumDescriptors 1572864` and `1376256`, `but the limit for shader visible view heaps is 1000000`. Both runs also log `host view heap capped at 1000000 ... count=1245184`, and this branch logs **376,256** `title slot past the host heap` warnings during boot; `no dynamic slots for its tables` reached `dropped=262144`. #1496 and #1508 hit the same limit. - **id=970/972 ×401 each, id=971 ×180**: `ID3D12PipelineLibrary::StorePipeline: A pipeline with name … already exists` / `Load*Pipeline: The pipeline state desc provided does not match the one used to create the PSO stored with name …` / `… does not have a pipeline stored with name …`. Several different pipeline descs are stored under the same library name, so loads miss and stores fail (cache thrash; no wrong PSO is loaded since D3D12 refuses the mismatch). - id=679 ×6, id=974 ×4: a pixel shader writes a render target slot the PSO does not bind. **Not tested**: the debug-geometry comparison from `docs/linux-proton.md`, a cold cache on this branch, a wave64 emulation mode (not on this branch). No game data, title-content log lines or screenshots attached. AI use: Claude Code (Claude Opus 5.5) built, ran and summarised the logs; I checked it.
adnanoos commented 2026-11-24 20:03:15 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by adnanoos on 2026-11-24T19:39:54Z.


RTX 5060 Laptop GPU (Blackwell): no GPU hang in two runs; the world runs ~7.5 min, then the title's own breakpoint at +0x63966f (#698)

Setup. NVIDIA GeForce RTX 5060 Laptop GPU (32-lane waves), driver 32.0.16.2124, Intel Core 7 240H + Intel iGPU (dGPU forced with GpuPreference=2), 32 GB, Windows 11 Pro 26200. This PR at 2190efe, cargo build --release -p victory --features diagnostics, cargo xtask agility (1.620.2; the in-box runtime is newer here, so it is used, and the debug layer comes from Graphics Tools). VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, default (normal) presentation, no capture options, Series X mode, title 1.0.2.1 (b99f876b…). Input: VICTORY_KEYS sending Enter every 5 s for 4 min.

run 1 run 2
debug layer not loaded (Graphics Tools missing, 0x887A002D) loaded
past loading yes, world at ~2m50s yes, world at ~3m
device removal / DRED none none
slow host submissions 57, avg 440 ms, max 1,448 ms 171, avg 386 ms, max 2,685 ms
black frames logged 4 9
end window closed at 4m47s title breakpoint 0x80000003 at +0x63966f after ~7.5 min in the world (3 threads)

The run 2 stop matches #698 (same address, NVIDIA, no device removal, ~6.7 min there). So on this machine the PR gets past loading, and nothing hangs the GPU for as long as the title keeps running.

Debug-layer messages (run 2), by ID:

ID count message
971 / 970 / 972 944 / 410 / 400 pipeline library: not stored / already exists / desc mismatch
622 157 CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32
679 / 680 14 / 7 PSO expects an RTV / a DSV that is not bound (benign)
820 11 ClearRenderTargetView clear value mismatch
645 2 CreateDescriptorHeap: NumDescriptors 1572864 (and 1376256), limit for shader-visible view heaps 1000000
974, 989, 1477, 599, 677 6, 4, 4, 2, 1
527 / 538 0 / 0

So 527 and 538 are at zero here too, as in your #334 run. The ID 622 messages are the wave64 compute pipelines tracked in #71 (see my listing there). The ID 645 heap sizes go with the host heap capped at 868,928 descriptors; the title addresses slots up to 1,245,183 (title slot past the host heap, about 376k of those lines, all for_draw=false).

Logs (390k lines, mostly the heap warning) are available if useful.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7142416525 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142416525). Originally posted by [adnanoos](https://github.com/adnanoos) on 2026-11-24T19:39:54Z. --- **RTX 5060 Laptop GPU (Blackwell): no GPU hang in two runs; the world runs ~7.5 min, then the title's own breakpoint at `+0x63966f` (#698)** **Setup.** NVIDIA GeForce RTX 5060 Laptop GPU (32-lane waves), driver 32.0.16.2124, Intel Core 7 240H + Intel iGPU (dGPU forced with `GpuPreference=2`), 32 GB, Windows 11 Pro 26200. This PR at `2190efe`, `cargo build --release -p victory --features diagnostics`, `cargo xtask agility` (1.620.2; the in-box runtime is newer here, so it is used, and the debug layer comes from Graphics Tools). `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, default (normal) presentation, no capture options, Series X mode, title 1.0.2.1 (`b99f876b…`). Input: `VICTORY_KEYS` sending Enter every 5 s for 4 min. | | run 1 | run 2 | |---|---|---| | debug layer | not loaded (Graphics Tools missing, `0x887A002D`) | **loaded** | | past loading | yes, world at ~2m50s | yes, world at ~3m | | device removal / DRED | none | **none** | | slow host submissions | 57, avg 440 ms, max 1,448 ms | 171, avg 386 ms, max 2,685 ms | | black frames logged | 4 | 9 | | end | window closed at 4m47s | **title breakpoint `0x80000003` at `+0x63966f`** after ~7.5 min in the world (3 threads) | The run 2 stop matches #698 (same address, NVIDIA, no device removal, ~6.7 min there). So on this machine the PR gets past loading, and nothing hangs the GPU for as long as the title keeps running. **Debug-layer messages (run 2), by ID:** | ID | count | message | |---:|---:|---| | 971 / 970 / 972 | 944 / 410 / 400 | pipeline library: not stored / already exists / desc mismatch | | **622** | **157** | `CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32` | | 679 / 680 | 14 / 7 | PSO expects an RTV / a DSV that is not bound (benign) | | 820 | 11 | ClearRenderTargetView clear value mismatch | | 645 | 2 | `CreateDescriptorHeap: NumDescriptors 1572864` (and `1376256`), limit for shader-visible view heaps 1000000 | | 974, 989, 1477, 599, 677 | 6, 4, 4, 2, 1 | | | **527 / 538** | **0 / 0** | | So 527 and 538 are at zero here too, as in your #334 run. The ID 622 messages are the wave64 compute pipelines tracked in #71 (see my listing there). The ID 645 heap sizes go with the host heap capped at 868,928 descriptors; the title addresses slots up to 1,245,183 (`title slot past the host heap`, about 376k of those lines, all `for_draw=false`). Logs (390k lines, mostly the heap warning) are available if useful.
adnanoos commented 2026-11-24 20:03:24 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by adnanoos on 2026-11-24T20:01:20Z.


Follow-up: with the boot delay gone, this PR reproduces a DEVICE_HUNG on the RTX 5060 Laptop GPU, stopped at a draw, not a dispatch

My runs above spent about two minutes at boot logging title slot past the host heap. That comes from #994's resync_title_writes walking slots past NVIDIA's capped heap; I posted the cause and a fix on #994. With that warning muted (VICTORY_LOG=info,victory_gpu::descriptor::host=error), the same build (2190efe, --features diagnostics, VICTORY_D3D12_DRED=1, no debug layer, normal presentation) reached the world 1 min after launch and then:

  • DXGI_ERROR_DEVICE_HUNG (0x887A0006) about 2m50s into the world, after a submission of 26 lists.
  • Slow submissions just before it: 339, 308, 338, then 2,312 ms.
  • DRED: list 21 stopped at command 197 of 763 (op 3), commands 196..220 between its barriers. The lists after it are at 0 of their breadcrumbs.
    • command 197: draw 4x391 [vertex cb47fdb3b37b7880, pixel b335d5633b1ed53f]
    • the draws after it in that section use vertex 65511934598e485c / pixel 5e69b507ec27b789
  • No page fault reported.

Your RTX 5080 run stopped at 6/12 with a DISPATCH next, so this may be a second stop rather than the same one. Neither hash appears in any issue or PR so far. A 3-minute run with the #994 fix applied (no muting) did not hang, but it only had about 1m20s in the world. The full DRED line is available if useful.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7142930639 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142930639). Originally posted by [adnanoos](https://github.com/adnanoos) on 2026-11-24T20:01:20Z. --- **Follow-up: with the boot delay gone, this PR reproduces a `DEVICE_HUNG` on the RTX 5060 Laptop GPU, stopped at a draw, not a dispatch** My runs above spent about two minutes at boot logging `title slot past the host heap`. That comes from #994's `resync_title_writes` walking slots past NVIDIA's capped heap; I posted the cause and a fix on #994. With that warning muted (`VICTORY_LOG=info,victory_gpu::descriptor::host=error`), the same build (`2190efe`, `--features diagnostics`, `VICTORY_D3D12_DRED=1`, no debug layer, normal presentation) reached the world 1 min after launch and then: - **`DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`)** about 2m50s into the world, after a submission of 26 lists. - Slow submissions just before it: 339, 308, 338, then **2,312 ms**. - **DRED:** list 21 stopped at **command 197 of 763 (op 3)**, commands 196..220 between its barriers. The lists after it are at 0 of their breadcrumbs. - command 197: `draw 4x391 [vertex cb47fdb3b37b7880, pixel b335d5633b1ed53f]` - the draws after it in that section use vertex `65511934598e485c` / pixel `5e69b507ec27b789` - No page fault reported. Your RTX 5080 run stopped at 6/12 with a DISPATCH next, so this may be a second stop rather than the same one. Neither hash appears in any issue or PR so far. A 3-minute run with the #994 fix applied (no muting) did not hang, but it only had about 1m20s in the world. The full DRED line is available if useful.
alladeen321123 commented 2026-11-24 21:03:28 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by alladeen321123 on 2026-11-24T20:24:02Z.


Follow-up RTX 5080 comparison is available at 0e900e5. Build and launch as in the PR description. This branch adds #984 and both heap-layout and guard commits described in #747 to the original PR head. With #984, two normal-output runs were manually closed without the prior device-hung report. In the debug geometry comparison, the #984-only run reported dropped work due to exhausted dynamic slots, while the combined run showed geometry and logged no such warning through manual close. Normal output remains largely dark. Workspace tests and both CI Clippy profiles passed. If comparing, please include the commit, adapter, presentation mode, any slot-exhaustion warnings, and whether you closed the run yourself.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7143488646 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7143488646). Originally posted by [alladeen321123](https://github.com/alladeen321123) on 2026-11-24T20:24:02Z. --- Follow-up RTX 5080 comparison is available at [0e900e5](https://github.com/alladeen321123/VIctory/tree/test/rtx5080-984-747). Build and launch as in the PR description. This branch adds #984 and both heap-layout and guard commits described in #747 to the original PR head. With #984, two normal-output runs were manually closed without the prior device-hung report. In the debug geometry comparison, the #984-only run reported dropped work due to exhausted dynamic slots, while the combined run showed geometry and logged no such warning through manual close. Normal output remains largely dark. Workspace tests and both CI Clippy profiles passed. If comparing, please include the commit, adapter, presentation mode, any slot-exhaustion warnings, and whether you closed the run yourself.
adnanoos commented 2026-11-24 21:03:32 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by adnanoos on 2026-11-24T20:30:58Z.


Follow-up on the DEVICE_HUNG at the draw of vertex cb47fdb3b37b7880 / pixel b335d5633b1ed53f above: it reproduced (3m16s into the world, same command 197), and it does not happen with #452 merged (no device removal in 7m45s, longest submission 1.57 s) or with VICTORY_SHADER_LOOP_LIMIT=4096. So it is a translated loop running to the 2^20 limit. Details and the table are on #452. #452 merges into this branch with two keep-both conflicts in emit/lower.rs.

Separately, cargo test -p victory-shader --lib does not compile on this branch (2190efe) by itself: sgpr_spill.rs:340 calls the function at resource.rs:147 with 3 arguments where it takes 4 (E0061). The release build is unaffected.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7143664586 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7143664586). Originally posted by [adnanoos](https://github.com/adnanoos) on 2026-11-24T20:30:58Z. --- Follow-up on the `DEVICE_HUNG` at the draw of vertex `cb47fdb3b37b7880` / pixel `b335d5633b1ed53f` above: it reproduced (3m16s into the world, same command 197), and it does not happen with #452 merged (no device removal in 7m45s, longest submission 1.57 s) or with `VICTORY_SHADER_LOOP_LIMIT=4096`. So it is a translated loop running to the 2^20 limit. Details and the table are on #452. #452 merges into this branch with two keep-both conflicts in `emit/lower.rs`. Separately, `cargo test -p victory-shader --lib` does not compile on this branch (`2190efe`) by itself: `sgpr_spill.rs:340` calls the function at `resource.rs:147` with 3 arguments where it takes 4 (`E0061`). The release build is unaffected.
adnanoos commented 2026-11-24 21:03:40 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by adnanoos on 2026-11-24T20:47:28Z.


One more for this branch (2190efe): cargo test -p victory-gpu --lib does not compile either. indirect.rs:326 calls transition and indirect.rs:335 calls done, and neither is in scope there (E0425). Together with the victory-shader one above, the unit tests of both crates need a fix before this branch's tests can run; the release build is fine.

Also, on top of this branch with the #994 bound and #452, #1010 takes world frames on the RTX 5060 Laptop GPU from ~3.0 s to ~1.7 s, and the run outlasts the +0x5149aec stop (details on #1010).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7144060219 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7144060219). Originally posted by [adnanoos](https://github.com/adnanoos) on 2026-11-24T20:47:28Z. --- One more for this branch (`2190efe`): `cargo test -p victory-gpu --lib` does not compile either. `indirect.rs:326` calls `transition` and `indirect.rs:335` calls `done`, and neither is in scope there (`E0425`). Together with the `victory-shader` one above, the unit tests of both crates need a fix before this branch's tests can run; the release build is fine. Also, on top of this branch with the #994 bound and #452, #1010 takes world frames on the RTX 5060 Laptop GPU from ~3.0 s to ~1.7 s, and the run outlasts the `+0x5149aec` stop (details on #1010).
upstream-sync closed this pull request 2026-11-25 01:06:46 +00:00
Marvisak commented 2026-11-25 01:08:15 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:41:55Z.


Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7148783026 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7148783026). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T00:41:55Z. --- Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

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
Marvisak/VIctory!1519
No description provided.