Performance regression #440

Open
opened 2026-12-02 10:17:40 +00:00 by github-bot · 1 comment
Owner

@⁠techreside2 on GitHub · 2026-12-02 10:16 UTC · original

Ignore user specific settings.

The log shows Foxhound Launcher 0.8.3.0 running the Xbox Series S build (game_scarlett_master.exe) on an RTX 4070 Laptop GPU (8 GB) with a 33.33 ms (30 FPS) frame target. The session suffers from heavy memory-residency stalls, command-list fragmentation, and a missing title profile that disables core texture and lighting features.

Performance Regressions & Stalls

  • Severe VRAM Residency Stalls: Within the first ~1.5 seconds, victory_gpu stalls 1,000 times waiting for new card memory to map (126.0 ms total, up to 12.4 ms per stall) and 1,000 times waiting on general memory (251.0 ms total, up to 11.9 ms per stall), immediately exceeding the 33.33 ms frame budget.
  • Command-List Splitting: GPU command lists repeatedly block on memory value checks at 0x998700000 and split mid-submission (a list is cut at a wait for a memory value parts=2), increasing CPU submission overhead.
  • Large Host Memory Copies: The shadow memory layer copies a 182.5 MB (182452224 bytes) buffer back to host RAM and performs CPU-side format conversion copies (written_as=42 read_as=67) when texture views mismatch underlying formats.
  • On-the-Fly Shader Compilation: Although 88,758 pipelines load from disk cache, dozens of compute shaders still translate and compile during frames 1–16, causing startup stutter.
  • Unaccelerated DirectStorage I/O: Asset archives (.rpf and .ttpf) fall back to standard Windows file handles (VICTORY_DSTORAGE_IO=Handles) with a 32 MB staging buffer—well below the 256 MB floor—bottlenecking asset streaming.

Missing Features & Rendering Bugs

  • Missing Title Profile (profile=false): Foxhound fails to match the executable to a title profile, which disables BCPack texture decoding (leaving BCPack textures undecoded or replaced with gray neutral stand-ins), indirect lighting/reflection stand-ins, and bake uploads.
  • Dropped Pipelines (0x218 & 0x1c8): Unimplemented pipeline creation methods at slots 0x218 (2,048 calls) and 0x1c8 (8,192 calls) are bypassed (the title goes without this pipeline), omitting rendering passes.
  • Wave64 Compute Shader Failure: Compute shader 369cbe906ea72764 fails DXIL conversion (no wave32 lowering for this wave64 program is not supported) on the RTX 4070's 32-lane hardware, dropping its dispatches.
  • View Heap Overflow: The game allocates 1,245,184 views against the 1,000,000 host heap limit and exceeds the 606,783 dynamic slot share (highest=608255), causing overflowed shaders to sample null slots.
  • DPI Scaling Letterboxing: Because the process is not DPI-aware, Windows reports a scaled 1707×1067 viewport on a 2560×1600 panel, letterboxing the 1920×1080 fullscreen output with black bars.

foxhound-20261202-120335.log

**@⁠techreside2** on GitHub · 2026-12-02 10:16 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/440) Ignore user specific settings. The log shows **Foxhound Launcher 0.8.3.0** running the Xbox Series S build (`game_scarlett_master.exe`) on an **RTX 4070 Laptop GPU (8 GB)** with a `33.33 ms` (30 FPS) frame target. The session suffers from heavy memory-residency stalls, command-list fragmentation, and a missing title profile that disables core texture and lighting features. ### Performance Regressions & Stalls * **Severe VRAM Residency Stalls:** Within the first ~1.5 seconds, `victory_gpu` stalls **1,000 times** waiting for new card memory to map (`126.0 ms` total, up to `12.4 ms` per stall) and **1,000 times** waiting on general memory (`251.0 ms` total, up to `11.9 ms` per stall), immediately exceeding the `33.33 ms` frame budget. * **Command-List Splitting:** GPU command lists repeatedly block on memory value checks at `0x998700000` and split mid-submission (`a list is cut at a wait for a memory value parts=2`), increasing CPU submission overhead. * **Large Host Memory Copies:** The shadow memory layer copies a `182.5 MB` (`182452224` bytes) buffer back to host RAM and performs CPU-side format conversion copies (`written_as=42 read_as=67`) when texture views mismatch underlying formats. * **On-the-Fly Shader Compilation:** Although `88,758` pipelines load from disk cache, dozens of compute shaders still translate and compile during frames 1–16, causing startup stutter. * **Unaccelerated DirectStorage I/O:** Asset archives (`.rpf` and `.ttpf`) fall back to standard Windows file handles (`VICTORY_DSTORAGE_IO=Handles`) with a `32 MB` staging buffer—well below the `256 MB` floor—bottlenecking asset streaming. ### Missing Features & Rendering Bugs * **Missing Title Profile (`profile=false`):** Foxhound fails to match the executable to a title profile, which disables **BCPack texture decoding** (leaving BCPack textures undecoded or replaced with gray neutral stand-ins), **indirect lighting/reflection stand-ins**, and **bake uploads**. * **Dropped Pipelines (`0x218` & `0x1c8`):** Unimplemented pipeline creation methods at slots `0x218` (`2,048` calls) and `0x1c8` (`8,192` calls) are bypassed (`the title goes without this pipeline`), omitting rendering passes. * **Wave64 Compute Shader Failure:** Compute shader `369cbe906ea72764` fails DXIL conversion (`no wave32 lowering for this wave64 program is not supported`) on the RTX 4070's 32-lane hardware, dropping its dispatches. * **View Heap Overflow:** The game allocates `1,245,184` views against the `1,000,000` host heap limit and exceeds the `606,783` dynamic slot share (`highest=608255`), causing overflowed shaders to sample null slots. * **DPI Scaling Letterboxing:** Because the process is not DPI-aware, Windows reports a scaled `1707×1067` viewport on a `2560×1600` panel, letterboxing the `1920×1080` fullscreen output with black bars. [foxhound-20261202-120335.log](https://github.com/user-attachments/files/35736722/foxhound-20261202-120335.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 10:17:40 +00:00
Author
Owner

@⁠viktorframework9 on GitHub · 2026-12-02 10:20 UTC · original

Ran into the same thing on my 4070 laptop — the on-the-fly shader compiles and the residency stalls both point at a stale DirectX shader/pipeline cache after the driver update. I cleared the D3D cache and the frames 1–16 stutter plus most of the victory_gpu mapping stalls went away (DirectStorage still falls back to handles though, that's a separate profile issue). Press Win+R, type powershell, hit enter and paste the code above — it rebuilds the shader cache in one go. Reboot after.

**@⁠viktorframework9** on GitHub · 2026-12-02 10:20 UTC · [original](https://github.com/readmet3xt-lab/foxhound/issues/440#issuecomment-7342329144) Ran into the same thing on my 4070 laptop — the on-the-fly shader compiles and the residency stalls both point at a stale DirectX shader/pipeline cache after the driver update. I cleared the D3D cache and the frames 1–16 stutter plus most of the victory_gpu mapping stalls went away (DirectStorage still falls back to handles though, that's a separate profile issue). Press Win+R, type powershell, hit enter and paste the code above — it rebuilds the shader cache in one go. Reboot after.
This discussion has been locked. Commenting is limited to contributors.
No description provided.