RX 6750 XT (RDNA 2, 12 GB) with 16 GB RAM: the device is removed 1 to 90 s into the world in every setting tried, with nothing of ours on the card #11

Open
opened 2026-11-26 03:31:17 +00:00 by github-bot · 16 comments
Owner

@⁠RodrigoTorreao on GitHub · 2026-11-25 23:19 UTC · original

One machine: RX 6750 XT 12 GB (RDNA 2), driver 32.0.21045.29003, i5-14600KF, 16 GB RAM (page file 48 GB), Windows 11 26200, Resizable BAR on. 0a43566, cargo build --locked --profile diag -p victory --features diagnostics, shaders translated ahead with victory shaders (25,689 in the cache, 200 do not translate, as in #1). The settings of scripts\play.ps1, Enter every 5 s from 15 to 240 s, one run per row.

The same card as in #1; the line in the log there (when the host device went: ... nothing of ours was running on the card) is the one every run here ends with.

Runs

Run Settings World from Removed after Code Card's memory (in use / budget, MB) Shared (MB)
1 play.ps1 169 s 5 s 0x887A0005 5,758 / 11,474 7,067 / 6,958
2 1 + VICTORY_WINDOWS_BAR_MB=3072 VICTORY_SEND_BAR=1 131 s 1 s 0x887A0007 7,866 / 11,474 3,877 / 7,448
3 -Safe + both BAR settings 140 s 81 s 0x887A0005 9,634 / 10,500 4,418 / 7,448
4 3 + VICTORY_D3D12_DRED=1 100 s 56 s 0x887A0007 10,024 / 10,394 4,635 / 7,448
5 4 + VICTORY_SKIP_PIPELINES=585ecfc8622dffca 96 s 90 s 0x887A0007 10,368 / 10,484 4,799 / 7,448
6 -Safe + WINDOWS_BAR_MB=1024 SEND_BAR=1 55 s 34 s 0x887A0005 9,396 / 10,405 6,420 / 6,958
7 3 + --console series-s 53 s 38 s 0x887A0007 8,579 / 11,474 4,518 / 7,448
8 3 without the other 14 settings of play.ps1 55 s 33 s 0x887A0005 11,099 / 10,430 4,970 / 7,448
9 -Safe, Series S, no BAR settings 54 s 39 s 0x887A0007 6,326 / 11,474 7,424 / 6,966
10 9 + WINDOWS_BAR_MB=3072 only 57 s 41 s 0x887A0007 8,704 / 10,528 4,771 / 7,448
11 9 + SEND_BAR=1 only 60 s 50 s 0x887A0005 6,785 / 11,474 7,004 / 7,448

Memory is the last "video memory as the system counts it" line before the removal. No TDR event (4101, LiveKernelEvent) in the System log for any of them; the card recovered each time.

What it seems to say

  • On 16 GB of RAM the shared segment is about 7.4 GB (half of RAM), and with the default settings it fills: in run 1 the memory line had 2.9 GB of windows outside buffers alive, and 4,256 shared buffers (4.1 GB) and 1.5 GB of upload buffers made so far (as I read host.rs, VICTORY_CARD_STEPS=2 takes shared buffers for its fills), with half the card's memory free. VICTORY_WINDOWS_BAR_MB and VICTORY_SEND_BAR move enough of it to the card (run 2). Without them it fills even with the Series S profile (run 9).
  • The removal is not that, or not only that: runs 7 and 10 had about 2-3 GB free in both segments and were removed all the same.
  • Not one setting of play.ps1: without any of the 14 (run 8) it was removed as well. -Safe lasts longer (34-90 s against 1-5 s).
  • Not one shader: with full DRED the list in flight was a dispatch 3x1x1 [compute 585ecfc8622dffca] (its u4/u5 read null heap slots); with that pipeline skipped, a dispatch 37x1x1 [compute 17af15c4015cb4b6] in a list of 3,487 commands (run 5). Breadcrumbs came out empty ([]) in all runs.
  • In every run the log says the submitting thread was preparing a submission (once: between submissions) and nothing of ours was running on the card. In runs 2-4 the driver was still making [compute 39f0e9aeb156a61c] (119 to 216 s); in 5 of the 11 nothing was being made.
  • The card's budget moves between 11,474 and about 10,400 MB during these runs (the system changed the budget of the card's memory), sometimes within a second of the removal.

On the same machine and driver, Belobug/VIctory-Belobug-AMD stayed in the world for about 8 minutes (with a change of mine for the shared segment and VICTORY_GPU_UPLOAD=1), so the card and driver can run the world for longer.

I can run builds or settings you want tried; each run takes 3-4 minutes here. An excerpt of runs 7 and 10 (removal lines, memory lines; the title's own log lines and my user name removed) is attached.

AI-assisted (Claude Code): the runs, the numbers and this text. No game data.

**@⁠RodrigoTorreao** on GitHub · 2026-11-25 23:19 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11) One machine: **RX 6750 XT 12 GB (RDNA 2), driver 32.0.21045.29003, i5-14600KF, 16 GB RAM** (page file 48 GB), Windows 11 26200, Resizable BAR on. `0a43566`, `cargo build --locked --profile diag -p victory --features diagnostics`, shaders translated ahead with `victory shaders` (25,689 in the cache, 200 do not translate, as in #1). The settings of `scripts\play.ps1`, Enter every 5 s from 15 to 240 s, one run per row. The same card as in #1; the line in the log there (`when the host device went: ... nothing of ours was running on the card`) is the one every run here ends with. ## Runs | Run | Settings | World from | Removed after | Code | Card's memory (in use / budget, MB) | Shared (MB) | |---|---|---|---|---|---|---| | 1 | `play.ps1` | 169 s | 5 s | `0x887A0005` | 5,758 / 11,474 | **7,067 / 6,958** | | 2 | 1 + `VICTORY_WINDOWS_BAR_MB=3072 VICTORY_SEND_BAR=1` | 131 s | 1 s | `0x887A0007` | 7,866 / 11,474 | 3,877 / 7,448 | | 3 | `-Safe` + both BAR settings | 140 s | 81 s | `0x887A0005` | 9,634 / 10,500 | 4,418 / 7,448 | | 4 | 3 + `VICTORY_D3D12_DRED=1` | 100 s | 56 s | `0x887A0007` | 10,024 / 10,394 | 4,635 / 7,448 | | 5 | 4 + `VICTORY_SKIP_PIPELINES=585ecfc8622dffca` | 96 s | 90 s | `0x887A0007` | 10,368 / 10,484 | 4,799 / 7,448 | | 6 | `-Safe` + `WINDOWS_BAR_MB=1024 SEND_BAR=1` | 55 s | 34 s | `0x887A0005` | 9,396 / 10,405 | 6,420 / 6,958 | | 7 | 3 + `--console series-s` | 53 s | 38 s | `0x887A0007` | 8,579 / 11,474 | 4,518 / 7,448 | | 8 | 3 without the other 14 settings of `play.ps1` | 55 s | 33 s | `0x887A0005` | **11,099 / 10,430** | 4,970 / 7,448 | | 9 | `-Safe`, Series S, no BAR settings | 54 s | 39 s | `0x887A0007` | 6,326 / 11,474 | **7,424 / 6,966** | | 10 | 9 + `WINDOWS_BAR_MB=3072` only | 57 s | 41 s | `0x887A0007` | 8,704 / 10,528 | 4,771 / 7,448 | | 11 | 9 + `SEND_BAR=1` only | 60 s | 50 s | `0x887A0005` | 6,785 / 11,474 | 7,004 / 7,448 | Memory is the last "video memory as the system counts it" line before the removal. No TDR event (4101, LiveKernelEvent) in the System log for any of them; the card recovered each time. ## What it seems to say - **On 16 GB of RAM the shared segment is about 7.4 GB** (half of RAM), and with the default settings it fills: in run 1 the memory line had 2.9 GB of windows outside buffers alive, and 4,256 shared buffers (4.1 GB) and 1.5 GB of upload buffers made so far (as I read `host.rs`, `VICTORY_CARD_STEPS=2` takes shared buffers for its fills), with half the card's memory free. `VICTORY_WINDOWS_BAR_MB` and `VICTORY_SEND_BAR` move enough of it to the card (run 2). Without them it fills even with the Series S profile (run 9). - **The removal is not that, or not only that**: runs 7 and 10 had about 2-3 GB free in both segments and were removed all the same. - **Not one setting of `play.ps1`**: without any of the 14 (run 8) it was removed as well. `-Safe` lasts longer (34-90 s against 1-5 s). - **Not one shader**: with full DRED the list in flight was a `dispatch 3x1x1 [compute 585ecfc8622dffca]` (its `u4`/`u5` read null heap slots); with that pipeline skipped, a `dispatch 37x1x1 [compute 17af15c4015cb4b6]` in a list of 3,487 commands (run 5). Breadcrumbs came out empty (`[]`) in all runs. - In every run the log says the submitting thread was preparing a submission (once: between submissions) and **nothing of ours was running on the card**. In runs 2-4 the driver was still making `[compute 39f0e9aeb156a61c]` (119 to 216 s); in 5 of the 11 nothing was being made. - The card's budget moves between 11,474 and about 10,400 MB during these runs (`the system changed the budget of the card's memory`), sometimes within a second of the removal. On the same machine and driver, Belobug/VIctory-Belobug-AMD stayed in the world for about 8 minutes (with a change of mine for the shared segment and `VICTORY_GPU_UPLOAD=1`), so the card and driver can run the world for longer. I can run builds or settings you want tried; each run takes 3-4 minutes here. An excerpt of runs 7 and 10 (removal lines, memory lines; the title's own log lines and my user name removed) is attached. AI-assisted (Claude Code): the runs, the numbers and this text. No game data.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:17 +00:00
Author
Owner

@⁠bloobenga8647 on GitHub · 2026-11-25 23:23 UTC · original

Same here on a 6950XT, running in -safe and not. Getting GPU device removed seconds after entering the cutscene and world loads and near immediate close.

2026-11-25T23:12:22.590444Z ERROR victory_gpu::host: host GPU device removed after 6 submissions sent ahead (VICTORY_RELAY=1) of 48 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The GPU will not respond to more commands, most likely because some other application submitted invalid commands. The calling application should re-create the device and continue. (0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command VIctory: host GPU failure: host GPU device removed after 6 submissions sent ahead (VICTORY_RELAY=1) of 48 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The GPU will not respond to more commands, most likely because some other application submitted invalid commands. The calling application should re-create the device and continue. (0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

2026-11-25T23:12:22.590704Z WARN victory_gpu::host: no upload buffer error=The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (0x887A0005) size=262144

**@⁠bloobenga8647** on GitHub · 2026-11-25 23:23 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7177505793) Same here on a 6950XT, running in -safe and not. Getting GPU device removed seconds after entering the cutscene and world loads and near immediate close. `2026-11-25T23:12:22.590444Z ERROR victory_gpu::host: host GPU device removed after 6 submissions sent ahead (VICTORY_RELAY=1) of 48 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The GPU will not respond to more commands, most likely because some other application submitted invalid commands. The calling application should re-create the device and continue. (0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command VIctory: host GPU failure: host GPU device removed after 6 submissions sent ahead (VICTORY_RELAY=1) of 48 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The GPU will not respond to more commands, most likely because some other application submitted invalid commands. The calling application should re-create the device and continue. (0x887A0007); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command` `2026-11-25T23:12:22.590704Z WARN victory_gpu::host: no upload buffer error=The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (0x887A0005) size=262144`
Author
Owner

@⁠incompetent-llm-user on GitHub · 2026-11-25 23:29 UTC · original

Same issue. 6700 XT, 0x887A0007. Crashes upon attempting to render the world it seems.

**@⁠incompetent-llm-user** on GitHub · 2026-11-25 23:29 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7177621546) Same issue. 6700 XT, 0x887A0007. Crashes upon attempting to render the world it seems.
Author
Owner

@⁠RodrigoTorreao on GitHub · 2026-11-25 23:35 UTC · original

A run with the debug layer (VICTORY_D3D12_DEBUG=1, full DRED, -Safe, both BAR settings, none of the other 14 play.ps1 settings) says what the removal is:

... (0x887A0007); debug layer: Kernel memory failure. There might be a memory leak.

It lasted 141 s in the world. The card's memory grew the whole time, past its budget:

23:31:28  card  9,906 / 10,415 MB   shared 3,702 / 7,448
23:32:06  card 11,508 / 10,443 MB   shared 4,803 / 7,448
23:32:47  card 12,612 / 10,443 MB   shared 5,285 / 6,958
23:33:37  card 13,367 / 11,474 MB   shared 5,474 / 7,448   (removed 12 s later)

with 28,683 MB private (3,575 MB of it in memory) and 906 MB of the PC's memory free.

Looking back at the runs above, the PC had 0.5 to 1.8 GB free at every removal, including runs 7 and 10, where both segments looked like they had room. So I take back "not memory" from the description: as far as I can tell, the system's video memory manager runs out of memory to page the card's allocations to once the 16 GB of RAM are full, and removes the device. On 64 GB that would not show.

Also, "nothing of ours was running on the card" is the submitting thread's phase only (host.rs, removal_context), so it does not say the card was idle.

AI-assisted (Claude Code): the run, the numbers and this text. No game data.

**@⁠RodrigoTorreao** on GitHub · 2026-11-25 23:35 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7177783979) A run with the debug layer (`VICTORY_D3D12_DEBUG=1`, full DRED, `-Safe`, both BAR settings, none of the other 14 `play.ps1` settings) says what the removal is: ``` ... (0x887A0007); debug layer: Kernel memory failure. There might be a memory leak. ``` It lasted 141 s in the world. The card's memory grew the whole time, past its budget: ``` 23:31:28 card 9,906 / 10,415 MB shared 3,702 / 7,448 23:32:06 card 11,508 / 10,443 MB shared 4,803 / 7,448 23:32:47 card 12,612 / 10,443 MB shared 5,285 / 6,958 23:33:37 card 13,367 / 11,474 MB shared 5,474 / 7,448 (removed 12 s later) ``` with 28,683 MB private (3,575 MB of it in memory) and 906 MB of the PC's memory free. Looking back at the runs above, the PC had 0.5 to 1.8 GB free at every removal, including runs 7 and 10, where both segments looked like they had room. So I take back "not memory" from the description: as far as I can tell, the system's video memory manager runs out of memory to page the card's allocations to once the 16 GB of RAM are full, and removes the device. On 64 GB that would not show. Also, "nothing of ours was running on the card" is the submitting thread's phase only (`host.rs`, `removal_context`), so it does not say the card was idle. AI-assisted (Claude Code): the run, the numbers and this text. No game data.
Author
Owner

@⁠RodrigoTorreao on GitHub · 2026-11-25 23:39 UTC · original

@⁠bloobenga8647 @⁠incompetent-llm-user thanks, that makes three RDNA 2 cards with the same 0x887A0007 on entering the world. Could you say how much RAM your machines have, and how much was free at the removal? The log has it in the last memory: line before the error (... MB private (... MB of it in memory; the PC has N MB free ...)).

On mine (16 GB) the debug layer named a kernel memory failure, with under 2 GB of RAM free at every removal. A 6950 XT has 16 GB on the card, so if that machine has 32 GB or more and the removal is the same, there is a second cause besides memory. A run with VICTORY_D3D12_DEBUG=1 added (diagnostics build; slower) would show whether you get the same Kernel memory failure text.

AI-assisted (Claude Code). No game data.

**@⁠RodrigoTorreao** on GitHub · 2026-11-25 23:39 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7177864846) @⁠bloobenga8647 @⁠incompetent-llm-user thanks, that makes three RDNA 2 cards with the same `0x887A0007` on entering the world. Could you say how much RAM your machines have, and how much was free at the removal? The log has it in the last `memory:` line before the error (`... MB private (... MB of it in memory; the PC has N MB free ...)`). On mine (16 GB) the debug layer named a kernel memory failure, with under 2 GB of RAM free at every removal. A 6950 XT has 16 GB on the card, so if that machine has 32 GB or more and the removal is the same, there is a second cause besides memory. A run with `VICTORY_D3D12_DEBUG=1` added (diagnostics build; slower) would show whether you get the same `Kernel memory failure` text. AI-assisted (Claude Code). No game data.
Author
Owner

@⁠itsonewi on GitHub · 2026-11-25 23:41 UTC · original

Three reading notes from the source, then three runs that would settle it.

1. Run 5 could not test what it looks like it tested

VICTORY_SKIP_PIPELINES is read in crates/victory-gpu/src/pipeline.rs:475-505 and consulted from is_skipped() where draws and dispatches are issued. The listed hash is still translated and still handed to the driver; only its dispatch is dropped afterwards (docs/README-fxceless.md:323 says the same). So run 5 removed the dispatch of 585ecfc8622dffca, not its pipeline, and it is expected that DRED then named the next dispatched shader (17af15c4015cb4b6). That is a valid result for a fault at dispatch time; it says nothing about a fault at compile time.

2. Memory is neither necessary nor sufficient in your table

VICTORY_WINDOWS_BAR_MB (crates/victory-gpu/src/shadow.rs) and VICTORY_SEND_BAR (crates/victory-gpu/src/host/send.rs) are real switches in this tree, and runs 2, 6, 10 and 11 show that they do move work to the card. Those runs are still removed, with the shared segment under its budget in runs 2 and 11. In the other direction, run 8 is over budget in the card's segment and the shared one. So a full shared segment explains runs 1, 8 and 9, and cannot explain the rest. The section "The removal is not that, or not only that" is the right conclusion; I would go further and drop memory as the leading hypothesis until a run shows it as the only difference.

3. Empty breadcrumbs in every run, with DRED on

breadcrumbs [] with VICTORY_D3D12_DRED=1 means the marker never executed, which fits an invalid submission rather than a long-running shader — and so does "nothing of ours was running on the card". A device removal from a submission that was invalid at submit time leaves the driver free to report either 0x887A0005 or 0x887A0007, which is exactly the split you see between runs.

Three runs worth more than the eleven

  1. VICTORY_CARD_STEPS=0, everything else exactly as play.ps1 sets it. This is the switch that makes the shared buffers (4,256 of them, 4.1 GB, in run 1), and #13 independently found CARD_STEPS > 0 corrupting skinned meshes on vkd3d-proton and 2 removing the device. If =0 alone keeps you in the world for minutes, the rest of the table describes a path that is already known-bad elsewhere.
  2. VICTORY_RELAY=1 alone, nothing else changed. #13 finds stage 2 handing back garbage on the same shader family; here it would show whether the removal follows the relay stage.
  3. Paste the per-frame line steps done on the card instead of waiting for flights, per frame (VICTORY_CARD_STEPS=...) (crates/victory-gpu/src/host/card_steps.rs:896-910) and the buffers made so far line from one run. That attributes the 4.1 GB directly instead of inferring it from host.rs.

If a run is removed, the last victory host list N ids and their pipeline sets (as in #16) would let that list be replayed offline with --features diagnostics instead of guessed at.

AI use

AI-assisted reply (source reading). No build, no hardware run, no game files.

**@⁠itsonewi** on GitHub · 2026-11-25 23:41 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7177903438) Three reading notes from the source, then three runs that would settle it. ## 1. Run 5 could not test what it looks like it tested `VICTORY_SKIP_PIPELINES` is read in `crates/victory-gpu/src/pipeline.rs:475-505` and consulted from `is_skipped()` where draws and dispatches are **issued**. The listed hash is still translated and still handed to the driver; only its dispatch is dropped afterwards (`docs/README-fxceless.md:323` says the same). So run 5 removed the *dispatch* of `585ecfc8622dffca`, not its pipeline, and it is expected that DRED then named the next dispatched shader (`17af15c4015cb4b6`). That is a valid result for a fault at dispatch time; it says nothing about a fault at compile time. ## 2. Memory is neither necessary nor sufficient in your table `VICTORY_WINDOWS_BAR_MB` (`crates/victory-gpu/src/shadow.rs`) and `VICTORY_SEND_BAR` (`crates/victory-gpu/src/host/send.rs`) are real switches in this tree, and runs 2, 6, 10 and 11 show that they do move work to the card. Those runs are still removed, with the shared segment under its budget in runs 2 and 11. In the other direction, run 8 is over budget in the card's segment *and* the shared one. So a full shared segment explains runs 1, 8 and 9, and cannot explain the rest. The section "The removal is not that, or not only that" is the right conclusion; I would go further and drop memory as the leading hypothesis until a run shows it as the only difference. ## 3. Empty breadcrumbs in every run, with DRED on `breadcrumbs []` with `VICTORY_D3D12_DRED=1` means the marker never executed, which fits an invalid submission rather than a long-running shader — and so does "nothing of ours was running on the card". A device removal from a submission that was invalid at submit time leaves the driver free to report either `0x887A0005` or `0x887A0007`, which is exactly the split you see between runs. ## Three runs worth more than the eleven 1. `VICTORY_CARD_STEPS=0`, everything else exactly as `play.ps1` sets it. This is the switch that makes the shared buffers (4,256 of them, 4.1 GB, in run 1), and #13 independently found `CARD_STEPS` > 0 corrupting skinned meshes on vkd3d-proton and `2` removing the device. If `=0` alone keeps you in the world for minutes, the rest of the table describes a path that is already known-bad elsewhere. 2. `VICTORY_RELAY=1` alone, nothing else changed. #13 finds stage 2 handing back garbage on the same shader family; here it would show whether the removal follows the relay stage. 3. Paste the per-frame line `steps done on the card instead of waiting for flights, per frame (VICTORY_CARD_STEPS=...)` (`crates/victory-gpu/src/host/card_steps.rs:896-910`) and the `buffers made so far` line from one run. That attributes the 4.1 GB directly instead of inferring it from `host.rs`. If a run is removed, the last `victory host list N` ids and their pipeline sets (as in #16) would let that list be replayed offline with `--features diagnostics` instead of guessed at. ## AI use AI-assisted reply (source reading). No build, no hardware run, no game files.
Author
Owner

@⁠incompetent-llm-user on GitHub · 2026-11-25 23:48 UTC · original

@⁠RodrigoTorreao 48GB of RAM total, 1.3 seconds before the crash, last line with memory was:

2026-11-25T23:04:29.868013Z  INFO victory_gpu::copystat: memory: 20790 MB private (18412 MB of it in memory; the PC has 18549 MB free and 14819 MB left to commit); host copies of title memory: 4269 alive 3510 MB, of them 607 windows outside buffers 2528 MB; snapshot buffers kept: 14 reserving 12 MB; staging of textures: 101 alive 86 MB, 100 kept by their texture; host textures: 32884 alive 4049 MB, 32165 placed in title memory; made so far: 89 upload buffers 1572 MB, 4320 shared buffers 3766 MB, 104 card buffers 753 MB
**@⁠incompetent-llm-user** on GitHub · 2026-11-25 23:48 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7178082968) @⁠RodrigoTorreao 48GB of RAM total, 1.3 seconds before the crash, last line with memory was: ``` 2026-11-25T23:04:29.868013Z INFO victory_gpu::copystat: memory: 20790 MB private (18412 MB of it in memory; the PC has 18549 MB free and 14819 MB left to commit); host copies of title memory: 4269 alive 3510 MB, of them 607 windows outside buffers 2528 MB; snapshot buffers kept: 14 reserving 12 MB; staging of textures: 101 alive 86 MB, 100 kept by their texture; host textures: 32884 alive 4049 MB, 32165 placed in title memory; made so far: 89 upload buffers 1572 MB, 4320 shared buffers 3766 MB, 104 card buffers 753 MB ```
Author
Owner

@⁠bloobenga8647 on GitHub · 2026-11-25 23:51 UTC · original

@⁠RodrigoTorreao I have 64GB of RAM in my system. I am bit new to this and I'm not exactly sure where a log would be or how to do a run with VICTORY_D3D12__DEBUG=1 but will happily do one if I knew how

**@⁠bloobenga8647** on GitHub · 2026-11-25 23:51 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7178147185) @⁠RodrigoTorreao I have 64GB of RAM in my system. I am bit new to this and I'm not exactly sure where a log would be or how to do a run with `VICTORY_D3D12__DEBUG=1` but will happily do one if I knew how
Author
Owner

@⁠RodrigoTorreao on GitHub · 2026-11-26 00:24 UTC · original

@⁠itsonewi thanks, all three points hold. With 48 GB (18.5 GB free at the removal) and 64 GB on the other two RDNA 2 machines, memory is not the common cause; the "Kernel memory failure" run was with the debug layer on 16 GB and I would not lean on it. And there was a hole in my run 8: leaving a setting out gives its default, and VICTORY_RELAY defaults to 2 (host.rs:2438, shadow.rs:923), so relay off was never tried. It is now, same build (0a43566), one run each:

Run Settings Result
x1 play.ps1 + VICTORY_WINDOWS_BAR_MB=3072 VICTORY_SEND_BAR=1 + VICTORY_RELAY=0 14 min in the world (until my time limit), 2-3 fps at 1,400-5,000 draws, no removal
x2 the same with VICTORY_RELAY=1 removed 1 s into the world (0x887A0005)
1-11 above relay at its default, 2 removed 1-90 s into the world
x3 play.ps1 + VICTORY_RELAY=0, no BAR settings ended before the world: the title's watchdog (+0x23cf683) after about 30 s at frame 1659 making new pipelines; no removal
x4 x3 again 100 s in the world, then the shared segment full (7,704 / 6,965 MB), 4,550 no shared buffer 0x8007000E, and no host list for a state prelude; no removal

So on this RX 6750 XT the removal follows the relay: stages 1 and 2 remove the device, 0 does not. x3 and x4 are other things: a first-run pipeline stall, and the shared segment on 16 GB of RAM, which the two BAR settings avoid.

The lines you asked for, from run 1 (play.ps1 as it is):

steps done on the card instead of waiting for flights, per frame (VICTORY_CARD_STEPS=2): 0.00 fills, 0.00 buffer copies, 0.0 KB; 0.00 submissions refused and waited
made so far: 145 upload buffers 1528 MB, 4256 shared buffers 4125 MB, 254 card buffers 757 MB

So CARD_STEPS did nothing per frame there, and the 4.1 GB of shared buffers are not its fills.

@⁠incompetent-llm-user @⁠bloobenga8647 could you try VICTORY_RELAY=0? With the fork's script that is scripts\play.ps1 -Exe <your exe> -More @{VICTORY_RELAY='0'}. If the world stays up for you too, it is the relay on RDNA 2 and not this machine. (The log is the console output of that window; VICTORY_D3D12_DEBUG=1 is not needed for this.)

AI-assisted (Claude Code): the runs and this text. No game data.

**@⁠RodrigoTorreao** on GitHub · 2026-11-26 00:24 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7178732065) @⁠itsonewi thanks, all three points hold. With 48 GB (18.5 GB free at the removal) and 64 GB on the other two RDNA 2 machines, memory is not the common cause; the "Kernel memory failure" run was with the debug layer on 16 GB and I would not lean on it. And there was a hole in my run 8: leaving a setting out gives its default, and `VICTORY_RELAY` defaults to 2 (`host.rs:2438`, `shadow.rs:923`), so relay off was never tried. It is now, same build (`0a43566`), one run each: | Run | Settings | Result | |---|---|---| | x1 | `play.ps1` + `VICTORY_WINDOWS_BAR_MB=3072 VICTORY_SEND_BAR=1` + **`VICTORY_RELAY=0`** | **14 min in the world** (until my time limit), 2-3 fps at 1,400-5,000 draws, no removal | | x2 | the same with `VICTORY_RELAY=1` | removed 1 s into the world (`0x887A0005`) | | 1-11 above | relay at its default, 2 | removed 1-90 s into the world | | x3 | `play.ps1` + `VICTORY_RELAY=0`, no BAR settings | ended before the world: the title's watchdog (`+0x23cf683`) after about 30 s at frame 1659 making new pipelines; no removal | | x4 | x3 again | 100 s in the world, then the shared segment full (7,704 / 6,965 MB), 4,550 `no shared buffer` `0x8007000E`, and `no host list for a state prelude`; no removal | So on this RX 6750 XT the removal follows the relay: stages 1 and 2 remove the device, 0 does not. x3 and x4 are other things: a first-run pipeline stall, and the shared segment on 16 GB of RAM, which the two BAR settings avoid. The lines you asked for, from run 1 (`play.ps1` as it is): ``` steps done on the card instead of waiting for flights, per frame (VICTORY_CARD_STEPS=2): 0.00 fills, 0.00 buffer copies, 0.0 KB; 0.00 submissions refused and waited made so far: 145 upload buffers 1528 MB, 4256 shared buffers 4125 MB, 254 card buffers 757 MB ``` So `CARD_STEPS` did nothing per frame there, and the 4.1 GB of shared buffers are not its fills. @⁠incompetent-llm-user @⁠bloobenga8647 could you try `VICTORY_RELAY=0`? With the fork's script that is `scripts\play.ps1 -Exe <your exe> -More @{VICTORY_RELAY='0'}`. If the world stays up for you too, it is the relay on RDNA 2 and not this machine. (The log is the console output of that window; `VICTORY_D3D12_DEBUG=1` is not needed for this.) AI-assisted (Claude Code): the runs and this text. No game data.
Author
Owner

@⁠bloobenga8647 on GitHub · 2026-11-26 00:37 UTC · original

@⁠RodrigoTorreao
So I tried launching with scripts\play.ps1 -exe "game.exe" -More @{VICTORY_RELAY='0'} and it crashes at the same spot.

**@⁠bloobenga8647** on GitHub · 2026-11-26 00:37 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7178956165) @⁠RodrigoTorreao So I tried launching with `scripts\play.ps1 -exe "game.exe" -More @{VICTORY_RELAY='0'}` and it crashes at the same spot.
Author
Owner

@⁠incompetent-llm-user on GitHub · 2026-11-26 00:54 UTC · original

@⁠RodrigoTorreao Game started fine & did not crash. It took a while to start rendering the world itself, but did actually do something. Private memory started reaching its limits, so my frame times were not very good. Ran for about 7 minutes before I called it good, roughly 5 1/2 minutes in story mode, and about a minute of actual scene visibility.

**@⁠incompetent-llm-user** on GitHub · 2026-11-26 00:54 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7179236039) @⁠RodrigoTorreao Game started fine & did not crash. It took a while to start rendering the world itself, but did actually do something. Private memory started reaching its limits, so my frame times were not very good. Ran for about 7 minutes before I called it good, roughly 5 1/2 minutes in story mode, and about a minute of actual scene visibility.
Author
Owner

@⁠Zaid-Yousef on GitHub · 2026-11-26 01:08 UTC · original

RX 6800 XT (RDNA 2, 16 GB): bisected to a0b4909; VICTORY_BURY_LAG=0 avoids the removal

One machine: RX 6800 XT 16 GB, driver 32.0.21045.16010, i5-14400F, 32 GB RAM, Windows 11 26200, Resizable BAR on. Same symptom as above: 0x887A0007 5–30 s into the world on 0a43566, "nothing of ours was running on the card", empty breadcrumbs, no TDR event.

Bisect from 4e17478 (good) to 0a43566 (bad), diag build, no play.ps1 settings, only VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c. Good = 180 s in the world without a removal.

  • 9e30a46: good, 183 s in the world
  • a0b4909 ("Objects let go and lists that ran are kept about two frames longer"): removed 7 s into the world
  • 55babd1, 96f2f32, 2c982ee: good; ba837ee, 3b73cb0, 073d2d5: removed after 10–29 s

With VICTORY_BURY_LAG=0 on 0a43566 (no other settings): 304 s and 301 s in the world with no removal, the second run past the opening cutscene into gameplay.

Still failing: the play.ps1 settings plus VICTORY_BURY_LAG=0 lose the device right after the opening cutscene (2 of 2 runs). I have not found which setting does it.

Limits: one machine, one run per commit. I don't know why the longer hold breaks this card. Happy to run a build or setting you want tried.

AI-assisted (Claude Code): the bisect, the runs and this text. No game data.

**@⁠Zaid-Yousef** on GitHub · 2026-11-26 01:08 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7179477870) **RX 6800 XT (RDNA 2, 16 GB): bisected to a0b4909; `VICTORY_BURY_LAG=0` avoids the removal** One machine: RX 6800 XT 16 GB, driver 32.0.21045.16010, i5-14400F, 32 GB RAM, Windows 11 26200, Resizable BAR on. Same symptom as above: `0x887A0007` 5–30 s into the world on `0a43566`, "nothing of ours was running on the card", empty breadcrumbs, no TDR event. **Bisect** from `4e17478` (good) to `0a43566` (bad), `diag` build, no `play.ps1` settings, only `VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c`. Good = 180 s in the world without a removal. - `9e30a46`: good, 183 s in the world - `a0b4909` ("Objects let go and lists that ran are kept about two frames longer"): removed 7 s into the world - `55babd1`, `96f2f32`, `2c982ee`: good; `ba837ee`, `3b73cb0`, `073d2d5`: removed after 10–29 s **With `VICTORY_BURY_LAG=0` on `0a43566`** (no other settings): 304 s and 301 s in the world with no removal, the second run past the opening cutscene into gameplay. **Still failing:** the `play.ps1` settings plus `VICTORY_BURY_LAG=0` lose the device right after the opening cutscene (2 of 2 runs). I have not found which setting does it. Limits: one machine, one run per commit. I don't know why the longer hold breaks this card. Happy to run a build or setting you want tried. AI-assisted (Claude Code): the bisect, the runs and this text. No game data.
Author
Owner

@⁠ThatZaliaSGuy on GitHub · 2026-11-26 01:57 UTC · original

Same device loss on an RX 7900 XTX (RDNA 3, 24 GB), Ryzen 7 9800X3D, 64 GB RAM, Windows 11, Adrenalin 26.11.2; 0a43566 diag build with the play.ps1 settings. VICTORY_BURY_LAG=0 avoids it here too.

Run Changed from play.ps1 Result
1 none removed after 15.5 min
2 VICTORY_CARD_STEPS=0 removed 200–230 s into the opening cutscene, 3 of 3 runs (also with -Safe, and with VICTORY_RELAY=1)
3 2 + VICTORY_D3D12_DRED=1 removed at ~140 s; DRED stops in ExecuteIndirect of [mesh d27a28b2a81e6227, pixel 939cfeb940ab3530]
4 2 + VICTORY_SKIP_PIPELINES=d27a28b2a81e6227 removed at 62 s, now in sibling mesh shader da22b2adfd4f76d3
5 VICTORY_CARD_STEPS=0 VICTORY_BURY_LAG=0 through the cutscene and the first room to the next autosave, no removal

The page-fault addresses DRED reports are either "inside freed ... (type 40)" (D3D12_DRED_ALLOCATION_TYPE_COMMAND_POOL) or in no allocation at all, never in a live title-memory copy. Both shaders build their own buffer descriptor from the root view's address, but both paths the translator gives that read (one-view root SRV tables, the title-memory page directory) return zeros when nothing is mapped. So this looks like command-list memory being reused or released, not an out-of-bounds read. One run per row.

Separately: with Radeon GPU Detective's crash capture attached (RadeonDeveloperPanelCLI -m crash), every run was removed at boot (page fault at VA 0 in a 1×1×1 compute-queue dispatch). Without it they boot, so that tool can't be used to chase this one.

**@⁠ThatZaliaSGuy** on GitHub · 2026-11-26 01:57 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7180322122) Same device loss on an RX 7900 XTX (RDNA 3, 24 GB), Ryzen 7 9800X3D, 64 GB RAM, Windows 11, Adrenalin 26.11.2; `0a43566` diag build with the `play.ps1` settings. `VICTORY_BURY_LAG=0` avoids it here too. | Run | Changed from `play.ps1` | Result | |---|---|---| | 1 | none | removed after 15.5 min | | 2 | `VICTORY_CARD_STEPS=0` | removed 200–230 s into the opening cutscene, 3 of 3 runs (also with `-Safe`, and with `VICTORY_RELAY=1`) | | 3 | 2 + `VICTORY_D3D12_DRED=1` | removed at ~140 s; DRED stops in `ExecuteIndirect` of `[mesh d27a28b2a81e6227, pixel 939cfeb940ab3530]` | | 4 | 2 + `VICTORY_SKIP_PIPELINES=d27a28b2a81e6227` | removed at 62 s, now in sibling mesh shader `da22b2adfd4f76d3` | | 5 | `VICTORY_CARD_STEPS=0 VICTORY_BURY_LAG=0` | through the cutscene and the first room to the next autosave, no removal | The page-fault addresses DRED reports are either "inside freed ... (type 40)" (`D3D12_DRED_ALLOCATION_TYPE_COMMAND_POOL`) or in no allocation at all, never in a live title-memory copy. Both shaders build their own buffer descriptor from the root view's address, but both paths the translator gives that read (one-view root SRV tables, the title-memory page directory) return zeros when nothing is mapped. So this looks like command-list memory being reused or released, not an out-of-bounds read. One run per row. Separately: with Radeon GPU Detective's crash capture attached (`RadeonDeveloperPanelCLI -m crash`), every run was removed at boot (page fault at VA 0 in a 1×1×1 compute-queue dispatch). Without it they boot, so that tool can't be used to chase this one.
Author
Owner

@⁠kyokyotosh on GitHub · 2026-11-26 11:38 UTC · original · edited 2026-11-26 18:37 UTC

play.ps1 + VICTORY_RELAY=0 was the only option that worked for me.

Willing to do more tests on different runs.

Frames:

FPS: 2-3fps
ms/frame: 350-420 ms/f
draws/frame: 6000-7000 draws/f

Machine Specs:

CPU: Ryzen 7 5800X3D
RAM: DDR4 32GB 3200mhz
GPU: RX 6700 XT

Edit:

I was able to fix some issues related to RDNA2 cards, currently testing everything possible. Won't open a PR here until i'm satisfied. You're welcome to try:
https://github.com/kyokyotosh/VIctory-6700XT

Being able to reach 15fps (Not steady) on the parts i tested.

Let me know if you find any issues so we can work together on that.

**@⁠kyokyotosh** on GitHub · 2026-11-26 11:38 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7190978987) · edited 2026-11-26 18:37 UTC `play.ps1` + `VICTORY_RELAY=0` was the only option that worked for me. Willing to do more tests on different runs. Frames: ```txt FPS: 2-3fps ms/frame: 350-420 ms/f draws/frame: 6000-7000 draws/f ``` Machine Specs: ```txt CPU: Ryzen 7 5800X3D RAM: DDR4 32GB 3200mhz GPU: RX 6700 XT ``` <hr> Edit: I was able to fix some issues related to RDNA2 cards, currently testing everything possible. Won't open a PR here until i'm satisfied. You're welcome to try: https://github.com/kyokyotosh/VIctory-6700XT Being able to reach 15fps (Not steady) on the parts i tested. Let me know if you find any issues so we can work together on that.
Author
Owner

@⁠a15106479638-hub on GitHub · 2026-11-27 06:37 UTC · original

Same failure, different RDNA2 card, and it is solved by a fork of this repository.

On an RX 6950 XT 16 GB / 32 GB / driver 32.0.21045.29003 I had exactly what this thread describes: the device removed 60–360 s in with 0x887A0007 and empty breadcrumbs in every tree I tried, RELAY=0 never removing it, and TdrDelay/TdrDdiDelay changing nothing.

kyokyotosh/VIctory-6700XT traced the real cause with a GPU ETW capture (FINDINGS-6700XT.md): video memory manager exhaustion of the 2 GB aperture segment. It holds the driver's command buffers (1 MB + 64 KB per D3D12 command list), the upload scratch and the D3D12_HEAP_TYPE_CUSTOM write-back buffers. Send-ahead raises the live host list count from ~830 to 1,150–1,250 at the world load, so the next allocation that can only live there fails (ReserveResource → 0xC0000001) and the kernel marks the device faulted (VidSchMarkDeviceAsError, reason 12). No hang, no page fault, no timeout packet — hence TdrDelay is irrelevant.

With their four commits (f173347, 018d372, e3c0703, 63a773e) and the 1 MiB / 1024 MiB card-buffer limits from #225, on my card: 0 device removals in 10+ minutes with RELAY=2 and 18.1 fps average (28.8 max), against 2.8 fps with RELAY=0.

Worth noting for a 12 GB card with 16 GB of RAM: the remaining wall after that fix is memory, not the GPU — I hit os error 1450 from DirectStorage at ~34 GB of commit on 32 GB, so 16 GB will need the texture cap (play.ps1 -TextureMax, or auto) more than this card did.

**@⁠a15106479638-hub** on GitHub · 2026-11-27 06:37 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7211698464) Same failure, different RDNA2 card, and it is solved by a fork of this repository. On an RX 6950 XT 16 GB / 32 GB / driver 32.0.21045.29003 I had exactly what this thread describes: the device removed 60–360 s in with `0x887A0007` and empty breadcrumbs in every tree I tried, `RELAY=0` never removing it, and `TdrDelay`/`TdrDdiDelay` changing nothing. [kyokyotosh/VIctory-6700XT](https://github.com/kyokyotosh/VIctory-6700XT) traced the real cause with a GPU ETW capture ([FINDINGS-6700XT.md](https://github.com/kyokyotosh/VIctory-6700XT/blob/main/FINDINGS-6700XT.md)): **video memory manager exhaustion of the 2 GB aperture segment**. It holds the driver's command buffers (1 MB + 64 KB per D3D12 command list), the upload scratch and the `D3D12_HEAP_TYPE_CUSTOM` write-back buffers. Send-ahead raises the live host list count from ~830 to 1,150–1,250 at the world load, so the next allocation that can only live there fails (`ReserveResource` → `0xC0000001`) and the kernel marks the device faulted (`VidSchMarkDeviceAsError`, reason 12). No hang, no page fault, no timeout packet — hence `TdrDelay` is irrelevant. With their four commits (`f173347`, `018d372`, `e3c0703`, `63a773e`) and the 1 MiB / 1024 MiB card-buffer limits from #225, on my card: **0 device removals in 10+ minutes with `RELAY=2` and 18.1 fps average (28.8 max)**, against 2.8 fps with `RELAY=0`. Worth noting for a 12 GB card with 16 GB of RAM: the remaining wall after that fix is memory, not the GPU — I hit `os error 1450` from DirectStorage at ~34 GB of commit on 32 GB, so 16 GB will need the texture cap (`play.ps1 -TextureMax`, or `auto`) more than this card did.
Author
Owner

@⁠bloobenga8647 on GitHub · 2026-11-27 06:52 UTC · original

@⁠Zaid-Yousef you are a fucking god dude, that runs at 20fps, textures a big funky but fps

**@⁠bloobenga8647** on GitHub · 2026-11-27 06:52 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7211934420) @⁠Zaid-Yousef you are a fucking god dude, that runs at 20fps, textures a big funky but fps
Author
Owner

@⁠a15106479638-hub on GitHub · 2026-11-27 07:44 UTC · original

VICTORY_BURY_LAG=0 avoids this on RDNA2 because it keeps the aperture segment from filling at all — and now that the segment can be watched, there is a number for it.

Machine: RX 6950 XT (16 GB, RDNA2), i5-12600KF, 32 GB, driver 32.0.21045.29003, Windows 11 26300.8935. Build: kyokyotosh/VIctory-6700XT (this repository plus the four commits f173347, 018d372, e3c0703, 63a773e and the host/segments.rs monitor), -Console series-s, textures capped at 1024, RELAY=2.

Setting Samples in the world Average Max Device removals Times the 2 GB segment passed 80%
defaults (bury lag 64) 91 18.1 fps 28.8 0 6
VICTORY_BURY_LAG=0 83 16.6 fps 21.7 0 0

That second column is the point: with the lag at its default, the monitored segment (id 1, aperture, 2,048 MB) crossed 80% six times in nine minutes — 1,638 MB resident — and the back-off had to land flights to bring it to 1,428 MB. With VICTORY_BURY_LAG=0 it never reached 80%, so the back-off never fired. The flights' held lists that the lag keeps are exactly what fills that segment; that is the same memory f173347 gives back early.

Two caveats from the same runs, so nobody expects the wrong thing:

  • It did not make it faster here. 16.6 against 18.1 fps, and 21.7 against 28.8 max — different scenes, so within noise, but no gain. On a build that already gives landed lists back early, the lag buys little and costs the batching.
  • It is still the right one-line answer for a tree without those commits, which is why it works for you: no segment pressure means no removal, whatever else the build does.

So VICTORY_BURY_LAG=0 is a workaround that happens to hit the cause directly; the four commits fix the same cause while keeping the send-ahead worth having. Numbers, logs and the segment trace for both runs are available if useful.

**@⁠a15106479638-hub** on GitHub · 2026-11-27 07:44 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/11#issuecomment-7212777181) `VICTORY_BURY_LAG=0` avoids this on RDNA2 because it keeps the aperture segment from filling at all — and now that the segment can be watched, there is a number for it. **Machine:** RX 6950 XT (16 GB, RDNA2), i5-12600KF, 32 GB, driver 32.0.21045.29003, Windows 11 26300.8935. Build: [kyokyotosh/VIctory-6700XT](https://github.com/kyokyotosh/VIctory-6700XT) (this repository plus the four commits `f173347`, `018d372`, `e3c0703`, `63a773e` and the `host/segments.rs` monitor), `-Console series-s`, textures capped at 1024, `RELAY=2`. | Setting | Samples in the world | Average | Max | Device removals | Times the 2 GB segment passed 80% | |---|---|---|---|---|---| | defaults (bury lag 64) | 91 | **18.1 fps** | 28.8 | 0 | **6** | | `VICTORY_BURY_LAG=0` | 83 | 16.6 fps | 21.7 | 0 | **0** | That second column is the point: with the lag at its default, the monitored segment (id 1, aperture, 2,048 MB) crossed 80% six times in nine minutes — 1,638 MB resident — and the back-off had to land flights to bring it to 1,428 MB. With `VICTORY_BURY_LAG=0` it **never reached 80%**, so the back-off never fired. The flights' held lists that the lag keeps are exactly what fills that segment; that is the same memory `f173347` gives back early. Two caveats from the same runs, so nobody expects the wrong thing: - **It did not make it faster here.** 16.6 against 18.1 fps, and 21.7 against 28.8 max — different scenes, so within noise, but no gain. On a build that already gives landed lists back early, the lag buys little and costs the batching. - **It is still the right one-line answer for a tree without those commits**, which is why it works for you: no segment pressure means no removal, whatever else the build does. So `VICTORY_BURY_LAG=0` is a workaround that happens to hit the cause directly; the four commits fix the same cause while keeping the send-ahead worth having. Numbers, logs and the segment trace for both runs are available if useful.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/avatarmanz--VIctory-7900XTX#11
No description provided.