Device reset (0x887A0007) at the same point every run: police chase, before the final jump (Series S, RTX 4050 Laptop 6 GB, 16gb RAM) #29

Open
opened 2026-11-30 02:23:21 +00:00 by github-bot · 1 comment
Owner

@⁠nakuul15 on GitHub · 2026-11-28 19:52 UTC · original

foxhound-20261128-205450.zip
foxhound-20261128-235750.zip
foxhound-20261129-004352.zip
foxhound-20261129-005855.zip

Summary

On foxhound 0.2.0-pre.5 (7c53527), Series S profile, the run ends with a host GPU device removal at the same moment of the story every time: in the police chase, a few seconds before the final jump. It reproduces on every attempt (8+ runs). The earlier "interview cutscene" removal (int_prolo_int_prolo_mcs2_interview_one_min, SRL state Prestream) is passed now; this one is the next wall.

Removal reason is almost always DXGI_ERROR_DEVICE_RESET (0x887A0007); one release run reported DXGI_ERROR_DEVICE_HUNG (0x887A0006). A diag run with VICTORY_D3D12_DRED=light shows empty breadcrumbs and "nothing of ours was running on the card".

System

GPU NVIDIA GeForce RTX 4050 Laptop GPU, 6 GB (DXGI local budget 5,152 MB), Resizable BAR on (BAR1 8,192 MiB)
CPU Intel Core 5 210H (8 cores / 12 threads; no SSE4a)
RAM 16 GB (shared GPU budget 7,349 MB), page files 16 GB + 32 GB
OS Windows 11, build 26300
Drivers 621.40 and 621.14 (both reproduce)
TDR TdrDelay = 15, TdrDdiDelay = 15
Title Title ID 7952987a, version 930.048.020-vb_sub_story, console type Lockhart
Launch play-foxhound.ps1 -SeriesS -Dlss performance (release build)

What happens

  • Gameplay in the chase runs at 4–7 fps with 9,000–12,500 draws/frame; the CPU side is the bottleneck (the submitting thread ~150–175 ms/frame, the card mostly idle).
  • A few seconds before the final jump the frame time spikes (one frame of 0.8–1.5 s), then the device is removed.
  • In the release log the first sign is usually a 0x887A0005 from an unrelated call (no upload buffer, no shared buffer, the card is not kept awake), followed by:
ERROR victory_gpu::host: when the host device went: the submitting thread was preparing a submission (nothing of ours was running on the card) ...
ERROR victory_gpu::host: host GPU device removed after N submissions sent ahead (VICTORY_RELAY=1) of M lists; ... device removed: The GPU will not respond to more commands, most likely because some other application submitted invalid commands. (0x887A0007)
  • Diag build with VICTORY_D3D12_DRED=light (foxhound-20261128-235750.log):
host GPU device removed after 5 submissions sent ahead (VICTORY_RELAY=1) of 73 lists; breadcrumbs (done/count, list) []; device removed: ... (0x887A0007)

No page fault is reported. Windows logs no TDR events (no Display 4101 / LiveKernelEvent) for any of the runs.

What was tried (all still crash at the same point)

Change Result
Driver 621.40 → 621.14 (clean install) Same crash
-Dlss off Same crash (GPU-bound at ~4 fps, so the GPU was busy far more)
GPU core clock capped (nvidia-smi -lgc 0,2100) Same crash
Windows "High performance" GPU for victory.exe + NVIDIA "Prefer maximum performance" Got past the interview cutscene for the first time; chase still crashes
VICTORY_TEXTURES_IN_PC share lowered (75 % → 55 % of the shared budget; local switch) PC textures 375 MB instead of 1.2 GB; same crash (that run reported 0x887A0006)
VICTORY_TEXTURE_ROOM_PERCENT=80 + slot eviction Card held at 86–87 % (≈680 MB free) through the last minute; same crash
Leaving out the shaders first bound before the crash Not a fit: one run had no new pipelines in its last 15 s; no hash is common to all runs

Per-frame counts at the moment of the crash (draws, indirect executions, raw buffer-view twins, view-slot writes, mesh group counts, changed heap pages) are at or below values the same run already survived earlier.

So the removal does not track VRAM fullness, shared memory, DLSS, driver version, core clock or a newly translated shader. It tracks the point in the story.

Observation about the texture queue's room test

Not the cause here, but noticed while testing: crate::resource::room subtracts crate::pool::texture_room() (free space inside texture blocks, 265–580 MB on this card) from the card's use. That space is still committed, so with the default 90 % line the card itself runs at 99–100 % of its budget, e.g.:

the texture queue's room: 5158 MB in use - 474 MB free in texture blocks + ... = 4684 MB against a line of 4636 MB (90.0 % of a budget of 5152 MB): no room, new textures wait

Local changes on top of 7c53527 (for transparency)

All runs above used these; the crash point did not move with any of them:

  • pool.rs: 4 MiB texture blocks and fewer spare blocks on cards with ≤ 6 GiB budget; textures > 1 MiB not pooled there.
  • host.rs, texture.rs: aliasing barriers only for pooled textures (fixed an E_INVALIDARG at boot with the above).
  • resource.rs: VICTORY_TEXTURE_MAX_DIM (block-compressed mips capped at 512 by default on ≤ 6 GiB); VICTORY_TEXTURES_IN_PC_PERCENT; slot eviction ported from VIctory-NVIDIA (VICTORY_SLOT_EVICT=1, off by default).
  • descriptor/host.rs: shader-resource views clamped to the host copy's mip levels, for 2D and 2D-array views (fixed a CreateShaderResourceView invalid-call removal with VICTORY_TEXTURE_MAX_DIM=256).
  • descriptor.rs: helpers for slot eviction.

Happy to run a stock 7c53527 build, or any diagnostics switch you'd like, at that point of the chase.

Logs

  • Release, driver 621.14: foxhound-20261129-005855.log (core clock capped), foxhound-20261129-004352.log (card at 86–87 %)
  • Diag + DRED light: foxhound-20261128-235750.log
  • Release, driver 621.40: foxhound-20261128-205450.log
  • From %LOCALAPPDATA%\victory\logs\
**@⁠nakuul15** on GitHub · 2026-11-28 19:52 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/29) [foxhound-20261128-205450.zip](https://github.com/user-attachments/files/35556430/foxhound-20261128-205450.zip) [foxhound-20261128-235750.zip](https://github.com/user-attachments/files/35556427/foxhound-20261128-235750.zip) [foxhound-20261129-004352.zip](https://github.com/user-attachments/files/35556428/foxhound-20261129-004352.zip) [foxhound-20261129-005855.zip](https://github.com/user-attachments/files/35556429/foxhound-20261129-005855.zip) ## Summary On foxhound `0.2.0-pre.5` (`7c53527`), Series S profile, the run ends with a host GPU device removal at **the same moment of the story every time**: in the police chase, a few seconds before the final jump. It reproduces on every attempt (8+ runs). The earlier "interview cutscene" removal (`int_prolo_int_prolo_mcs2_interview_one_min`, SRL state `Prestream`) is passed now; this one is the next wall. Removal reason is almost always `DXGI_ERROR_DEVICE_RESET` (`0x887A0007`); one release run reported `DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`). A diag run with `VICTORY_D3D12_DRED=light` shows **empty breadcrumbs** and "nothing of ours was running on the card". ## System | | | |---|---| | GPU | NVIDIA GeForce RTX 4050 Laptop GPU, 6 GB (DXGI local budget 5,152 MB), Resizable BAR on (BAR1 8,192 MiB) | | CPU | Intel Core 5 210H (8 cores / 12 threads; no SSE4a) | | RAM | 16 GB (shared GPU budget 7,349 MB), page files 16 GB + 32 GB | | OS | Windows 11, build 26300 | | Drivers | 621.40 and 621.14 (both reproduce) | | TDR | `TdrDelay` = 15, `TdrDdiDelay` = 15 | | Title | Title ID `7952987a`, version `930.048.020-vb_sub_story`, console type Lockhart | | Launch | `play-foxhound.ps1 -SeriesS -Dlss performance` (release build) | ## What happens - Gameplay in the chase runs at 4–7 fps with **9,000–12,500 draws/frame**; the CPU side is the bottleneck (the submitting thread ~150–175 ms/frame, the card mostly idle). - A few seconds before the final jump the frame time spikes (one frame of 0.8–1.5 s), then the device is removed. - In the release log the first sign is usually a `0x887A0005` from an unrelated call (`no upload buffer`, `no shared buffer`, `the card is not kept awake`), followed by: ``` ERROR victory_gpu::host: when the host device went: the submitting thread was preparing a submission (nothing of ours was running on the card) ... ERROR victory_gpu::host: host GPU device removed after N submissions sent ahead (VICTORY_RELAY=1) of M lists; ... device removed: The GPU will not respond to more commands, most likely because some other application submitted invalid commands. (0x887A0007) ``` - Diag build with `VICTORY_D3D12_DRED=light` (`foxhound-20261128-235750.log`): ``` host GPU device removed after 5 submissions sent ahead (VICTORY_RELAY=1) of 73 lists; breadcrumbs (done/count, list) []; device removed: ... (0x887A0007) ``` No page fault is reported. Windows logs no TDR events (no Display 4101 / LiveKernelEvent) for any of the runs. ## What was tried (all still crash at the same point) | Change | Result | |---|---| | Driver 621.40 → 621.14 (clean install) | Same crash | | `-Dlss off` | Same crash (GPU-bound at ~4 fps, so the GPU was busy far more) | | GPU core clock capped (`nvidia-smi -lgc 0,2100`) | Same crash | | Windows "High performance" GPU for victory.exe + NVIDIA "Prefer maximum performance" | Got past the interview cutscene for the first time; chase still crashes | | `VICTORY_TEXTURES_IN_PC` share lowered (75 % → 55 % of the shared budget; local switch) | PC textures 375 MB instead of 1.2 GB; same crash (that run reported `0x887A0006`) | | `VICTORY_TEXTURE_ROOM_PERCENT=80` + slot eviction | Card held at **86–87 %** (≈680 MB free) through the last minute; same crash | | Leaving out the shaders first bound before the crash | Not a fit: one run had no new pipelines in its last 15 s; no hash is common to all runs | Per-frame counts at the moment of the crash (draws, indirect executions, raw buffer-view twins, view-slot writes, mesh group counts, changed heap pages) are at or below values the same run already survived earlier. So the removal does not track VRAM fullness, shared memory, DLSS, driver version, core clock or a newly translated shader. It tracks **the point in the story**. ## Observation about the texture queue's room test Not the cause here, but noticed while testing: `crate::resource::room` subtracts `crate::pool::texture_room()` (free space inside texture blocks, 265–580 MB on this card) from the card's use. That space is still committed, so with the default 90 % line the card itself runs at 99–100 % of its budget, e.g.: ``` the texture queue's room: 5158 MB in use - 474 MB free in texture blocks + ... = 4684 MB against a line of 4636 MB (90.0 % of a budget of 5152 MB): no room, new textures wait ``` ## Local changes on top of 7c53527 (for transparency) All runs above used these; the crash point did not move with any of them: - `pool.rs`: 4 MiB texture blocks and fewer spare blocks on cards with ≤ 6 GiB budget; textures > 1 MiB not pooled there. - `host.rs`, `texture.rs`: aliasing barriers only for pooled textures (fixed an `E_INVALIDARG` at boot with the above). - `resource.rs`: `VICTORY_TEXTURE_MAX_DIM` (block-compressed mips capped at 512 by default on ≤ 6 GiB); `VICTORY_TEXTURES_IN_PC_PERCENT`; slot eviction ported from VIctory-NVIDIA (`VICTORY_SLOT_EVICT=1`, off by default). - `descriptor/host.rs`: shader-resource views clamped to the host copy's mip levels, for 2D and 2D-array views (fixed a `CreateShaderResourceView` invalid-call removal with `VICTORY_TEXTURE_MAX_DIM=256`). - `descriptor.rs`: helpers for slot eviction. Happy to run a stock `7c53527` build, or any diagnostics switch you'd like, at that point of the chase. ## Logs - Release, driver 621.14: `foxhound-20261129-005855.log` (core clock capped), `foxhound-20261129-004352.log` (card at 86–87 %) - Diag + DRED light: `foxhound-20261128-235750.log` - Release, driver 621.40: `foxhound-20261128-205450.log` - From `%LOCALAPPDATA%\victory\logs\`
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 02:23:21 +00:00
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-11-29 08:11 UTC · original

v0.8 changed how close to the card's memory budget new textures are made (VICTORY_ROOM_REAL, on by default), the likely cause of these resets on a 6 GB card, and v0.8.1 (https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.1) adds VICTORY_RESIDENCY_LIMITED=1 (smaller memory budgets; it helped device losses on AMD cards, untested on NVIDIA laptops). Could you try the chase with v0.8.1 first as it is, then with VICTORY_RESIDENCY_LIMITED=1 in the launcher's Further switches, and attach the log?

**@⁠readmet3xt-lab** on GitHub · 2026-11-29 08:11 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/29#issuecomment-7252943818) v0.8 changed how close to the card's memory budget new textures are made (`VICTORY_ROOM_REAL`, on by default), the likely cause of these resets on a 6 GB card, and v0.8.1 (https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.1) adds `VICTORY_RESIDENCY_LIMITED=1` (smaller memory budgets; it helped device losses on AMD cards, untested on NVIDIA laptops). Could you try the chase with v0.8.1 first as it is, then with `VICTORY_RESIDENCY_LIMITED=1` in the launcher's Further switches, and attach the log?
This discussion has been locked. Commenting is limited to contributors.
No description provided.