The retail title 1.0.2.1, RTX 4060 8 GB: no crash at 30 fps, but the window stays black; 2048 BCPack refusals #781

Open
opened 2026-11-26 04:32:21 +00:00 by github-bot · 1 comment
Owner

@⁠ynnmuraii on GitHub · 2026-11-24 05:10 UTC · original

Environment

GPU NVIDIA GeForce RTX 4060, 8 GB (8188 MiB)
CPU / RAM Ryzen 7 5700X / 32 GB
OS Windows 11 10.0.26200
XCL main 64b3f35, cargo build --release --workspace, DXC from SDK 10.0.26100.0
Package retail 1.0.2.1, unpacked, all 108 files at full size (sha256 e95020b2…8993 for the exe)

What happens

With an incomplete package the title asserts 0x80000003 at game_scarlett_master.exe+0xf437ba at ~2.7 s, right after the XPackage / XGame / XSystem / XSystemAnalytics API queries.

After completing the package the assert is gone. The title now runs without crashing: 2100+ frames presented, a steady 30.0 fps over each 300-frame window, 131 072 draws with translated pipelines (0 skipped), 5 224 dispatches, Opus audio decoded. But the window stays pure black for the whole run (three screenshots, mean RGB 0/0/0) and VRAM sits at 7 644 / 8 188 MiB.

Both runs were killed by a 200 s timeout, not by a crash.

What the log shows at the end

DirectStorage: BCPack refusals so far: 2048 requests: BC1 1764 (108675072 bytes), BC5 107 (7077888 bytes), BC6H 1 (1048576 bytes), BC7 176 (24666112 bytes)
DirectStorage: a request failed (0x89240030): 32768 bytes from …
title textures: 16384 uploads left out so far – the texture's memory held what it held at its last upload
D3D12.X: compute PSO with the translated console CS (84212 B DXIL, 1002 ms)

Also, both runs report zero free space for a host path while the same call on another path reports real numbers:

GetDiskFreeSpaceExA(…\NVIDIA\DXCache\): 179249 MiB available of 487469 MiB
GetDiskFreeSpaceExW(C:\Windows\system32): 0 MiB available of 487469 MiB
GetDiskFreeSpaceExW(C:\Windows): 0 MiB available of 487469 MiB

Reproduce

git switch --detach 64b3f35
cargo build --release --workspace
.\target\release\xcl.exe run "<game folder>"

Logs: %LOCALAPPDATA%\XCL\<package id>\logs\{xcl.log,report.json} (kept locally, can attach).

Guesses, not measured

  • 8 GB VRAM may be the wall: coherent 3998/4095 MB, sparse 7445 MB, 214 held blocks; the BCPack refusals and the 16 384 dropped uploads fit a surface that never gets its textures.
  • The 0 MiB free-space answer and the single remaining stub (xmem.dll!XMemIsToolsMemAvailable, from xcl inspect) are the only two other oddities visible in the log.
**@⁠ynnmuraii** on GitHub · 2026-11-24 05:10 UTC · [original](https://github.com/xcl-dev/xcl/issues/781) ### Environment | | | |---|---| | GPU | NVIDIA GeForce RTX 4060, 8 GB (8188 MiB) | | CPU / RAM | Ryzen 7 5700X / 32 GB | | OS | Windows 11 10.0.26200 | | XCL | `main` `64b3f35`, `cargo build --release --workspace`, DXC from SDK 10.0.26100.0 | | Package | retail 1.0.2.1, unpacked, all 108 files at full size (sha256 `e95020b2…8993` for the exe) | ### What happens With an incomplete package the title asserts `0x80000003` at `game_scarlett_master.exe+0xf437ba` at ~2.7 s, right after the `XPackage` / `XGame` / `XSystem` / `XSystemAnalytics` API queries. After completing the package the assert is gone. The title now runs **without crashing**: 2100+ frames presented, a steady 30.0 fps over each 300-frame window, 131 072 draws with translated pipelines (0 skipped), 5 224 dispatches, Opus audio decoded. But **the window stays pure black** for the whole run (three screenshots, mean RGB 0/0/0) and VRAM sits at 7 644 / 8 188 MiB. Both runs were killed by a 200 s timeout, not by a crash. ### What the log shows at the end ``` DirectStorage: BCPack refusals so far: 2048 requests: BC1 1764 (108675072 bytes), BC5 107 (7077888 bytes), BC6H 1 (1048576 bytes), BC7 176 (24666112 bytes) DirectStorage: a request failed (0x89240030): 32768 bytes from … title textures: 16384 uploads left out so far – the texture's memory held what it held at its last upload D3D12.X: compute PSO with the translated console CS (84212 B DXIL, 1002 ms) ``` Also, both runs report zero free space for a host path while the same call on another path reports real numbers: ``` GetDiskFreeSpaceExA(…\NVIDIA\DXCache\): 179249 MiB available of 487469 MiB GetDiskFreeSpaceExW(C:\Windows\system32): 0 MiB available of 487469 MiB GetDiskFreeSpaceExW(C:\Windows): 0 MiB available of 487469 MiB ``` ### Reproduce ```powershell git switch --detach 64b3f35 cargo build --release --workspace .\target\release\xcl.exe run "<game folder>" ``` Logs: `%LOCALAPPDATA%\XCL\<package id>\logs\{xcl.log,report.json}` (kept locally, can attach). ### Guesses, not measured - 8 GB VRAM may be the wall: coherent 3998/4095 MB, sparse 7445 MB, 214 held blocks; the BCPack refusals and the 16 384 dropped uploads fit a surface that never gets its textures. - The `0 MiB` free-space answer and the single remaining stub (`xmem.dll!XMemIsToolsMemAvailable`, from `xcl inspect`) are the only two other oddities visible in the log.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:32:21 +00:00
Author
Owner

@⁠ynnmuraii on GitHub · 2026-11-24 05:36 UTC · original

Another run on the same 8 GB RTX 4060 (Win 11 26200, 32 GB RAM), commit 64b3f35. Ran a shader precompile in parallel this time (xcl shaders … --recomp), which held ~8.1 GB of RAM.

Differing from my previous report: the session aborted at 56 s instead of dying on the watchdog at 129 s.

xcl: DirectStorage: BCPack BC7: mode 7 unsupported (src=…, dst=65536); the request fails with E_DECOMPRESSION
xcl: DirectStorage: BCPack BC1: mode 1 unsupported (src=39541, intermediate=0, dst=65536, swizzle=0); the request fails with E_DECOMPRESSION
xcl: DirectStorage: BCPack BC5: mode 5 unsupported (src=19515, intermediate=0, dst=65536, swizzle=0); the request fails with E_DECOMPRESSION
xcl: DirectStorage: a request failed (0x89240030): 65536 bytes from
memory allocation of 12582912 bytes failed
Game exited with code 0xc0000409

64 refusals in total (BC5 44, BC7 20, plus the two above). So BC5 mode 5 and BC1 mode 1 are refused as well, not only BC7.

Two things that may be worth a look:

  1. A 12 MB allocation failing while 12.6 GB of RAM was still free right after the exit — the abort looks like the allocator giving up, not the kernel refusing memory. alloc failed kills the run immediately, so nothing downstream of the DirectStorage failure is observable.
  2. Whether running anything else that holds memory is expected to break the session at all. If so, the precompile should be documented as "not while playing".

Presentation reached 600 frames at 28.5 fps with 8 921 draws translated, 0 skipped, 0 PC pipelines; screen still black.

**@⁠ynnmuraii** on GitHub · 2026-11-24 05:36 UTC · [original](https://github.com/xcl-dev/xcl/issues/781#issuecomment-7123112735) Another run on the same 8 GB RTX 4060 (Win 11 26200, 32 GB RAM), commit 64b3f35. Ran a shader precompile in parallel this time (`xcl shaders … --recomp`), which held ~8.1 GB of RAM. Differing from my previous report: the session aborted **at 56 s** instead of dying on the watchdog at 129 s. ``` xcl: DirectStorage: BCPack BC7: mode 7 unsupported (src=…, dst=65536); the request fails with E_DECOMPRESSION xcl: DirectStorage: BCPack BC1: mode 1 unsupported (src=39541, intermediate=0, dst=65536, swizzle=0); the request fails with E_DECOMPRESSION xcl: DirectStorage: BCPack BC5: mode 5 unsupported (src=19515, intermediate=0, dst=65536, swizzle=0); the request fails with E_DECOMPRESSION xcl: DirectStorage: a request failed (0x89240030): 65536 bytes from memory allocation of 12582912 bytes failed Game exited with code 0xc0000409 ``` 64 refusals in total (BC5 44, BC7 20, plus the two above). So BC5 mode 5 and BC1 mode 1 are refused as well, not only BC7. Two things that may be worth a look: 1. A **12 MB** allocation failing while 12.6 GB of RAM was still free right after the exit — the abort looks like the allocator giving up, not the kernel refusing memory. `alloc failed` kills the run immediately, so nothing downstream of the DirectStorage failure is observable. 2. Whether running anything else that holds memory is expected to break the session at all. If so, the precompile should be documented as "not while playing". Presentation reached 600 frames at 28.5 fps with 8 921 draws translated, 0 skipped, 0 PC pipelines; screen still black.
This discussion has been locked. Commenting is limited to contributors.
No description provided.