Black screen after boot: title reaches its menu (19-28 draws/frame) but nothing is presented #1

Open
opened 2026-12-01 17:26:03 +00:00 by Sunent123 · 5 comments
Sunent123 commented 2026-12-01 17:26:03 +00:00 (Migrated from github.com)

Imported from n-romanovich/NVIctory. Originally posted by Sunent123 on 2026-12-01T17:26:03Z.


Black screen after boot: title reaches its menu (19–28 draws/frame) but nothing is drawn

Summary. On my machine the title boots, loads every pack, and settles into what looks like its
main menu, but the window is black except for NVIctory's own FPS overlay. No GPU work is queued,
no game files are read after boot, and nothing in the log reports an error.

Hardware and software

CPU 13th-gen-ish laptop (32 logical threads, AVX2)
GPU NVIDIA GeForce RTX 5060 Laptop, 8151 MiB VRAM, driver 616.56
RAM 15.3 GB (+ 64 GB pagefile on another drive)
OS Windows 11 x64
Build main @ b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93
Build command RUSTFLAGS="-C target-cpu=x86-64-v3" cargo build --profile perf --features diagnostics -p victory

How I launch it

$env:VICTORY_GAME_DIR = "<dump>\GTA6.Xbox.v1.0.2.1-CYBERLEEK"
$env:VICTORY_CACHE_DIR = "<writable dir>"
$env:VICTORY_DATA_DIR  = "<writable dir>"
$env:VICTORY_OUTPUT    = "1920x1080"
victory.exe run "<dump>\game_scarlett_master.exe" --execute --console series-s

selftest passes everywhere:

CPU: 32 logical threads, AVX2=true
GPU Adapter: NVIDIA GeForce RTX 5060 Laptop GPU (NVIDIA, 7899 MiB VRAM)
Wavefront: min=32 max=32 lanes (Wave32 mode)
Binding Tier: Tier 3 (1M view heap supported=true)
2D Warp Oracle (32x2): 64/64 threads executed once

victory.exe config reports the D3D12 Agility SDK 1.620 D3D12Core.dll next to the exe.

What the window shows

Title bar: Americas | NVIctory 30 fps 33.3 ms/frame 19 draws/frame [OK]

  • The frame counter is steady at 30 fps / 33.3 ms.
  • draws/frame cycles between 4, 19, 20, 21 and 28 when I press Enter — so the title is
    alive and reacting to input, it is not a frozen process.
  • The rest of the window is pure black; PrintWindow captures the same black frame.
  • frame presented ... frame=64/128/256/512/1024 draws=32/1048/2432/4864/9728 in trace level, i.e.
    ~19 draws per frame, never the ~1500+ of a 3D world.

Measurements

Metric Value
Process CPU 17–22 % of one core
GPU 3D engine utilisation (\GPU Engine(*engtype_3D)\Utilization Percentage) 0 %
ReadTransferCount over 120 s 0 MB
Threads 124, all Wait
TCP connections 0
victory_gpu::host: "the card's clock per frame" "nothing of ours queued 31.5 ms (the card about 5% busy)"

Things I ruled out

  • Resolution: 1280x720, 1920x1080 and Native all behave the same.
  • Console profile: series-s and series-x both reach the same black menu.
  • DLSS/frame generation: --dlss off, balanced, performance, ultraperformance — no change.
  • Memory: no 0x8007000E, VRAM budget switches (VICTORY_VRAM_BUDGET_MB,
    VICTORY_TEXTURE_ROOM_PERCENT, VICTORY_LOW_SPARE_MB, VICTORY_SLOT_EVICT_PERCENT) make no
    difference.
  • Cache: cold cache and warm cache behave the same.
  • Window: windowed and borderless, VICTORY_LIGHT_REFRESH, VICTORY_SYNC_BESIDE,
    VICTORY_THREAD_TICKET on/off — no change.

DirectStorage instrumentation (local patch, not upstream)

I added temporary tracing::info! probes to crates/victory-hle/src/modules/dstorage.rs
(create_status_array, enqueue_request, enqueue_status, submit, is_complete, start,
finish, flush) and diffed every read:

  • 9 767 reads start and 9 767 finish, 0 missing, 0 execute failures.
  • enqueue_status + submit come in pairs (24 in the first second).
  • is_complete is then called ~67 million times, always done=false for the polled array, while
    the arrays that are written (S_OK) are different pointers.
  • flush defers with waiting=<seq> running_first=<seq>.
  • A stall snapshot while black shows one lane holding one pending status with 41 queued reads and
    running=26; those reads never leave running, so the status is never written.

I also tried releasing held PAGE_DESTINATION reads when a status is in the batch
(lane.held → immediate dispatch), which does not change the outcome.

Warnings that repeat

WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x218 calls=1..16384
WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x1c8 calls=16384
WARN victory_hle::modules::kernel: a host DLL outside the host policy: refused dll="amd_fidelityfx_upscaler_xbox.dll"
WARN victory_hle::modules::kernel: a host DLL outside the host policy: refused dll="rpcrt4.dll"

The first two are documented as the benign precompiled-binary path (the title falls back to
create_stream), and bound amd_fidelityfx_upscaler_xbox.dll: 8 hle, 78 host, 0 title, 0 missing
suggests the FSR module itself is bound — so I do not know whether the refusal matters.

At 720p only, trace level also prints:

FSR_API_DEBUG_ERROR: Shipping FSR4 configuration mismatch: maxUpscaleSize must be 1920x1080; received 1280x720

Question

Is this the known "menu draws but nothing is presented" state on 8 GB Ada/Blackwell cards, or is
the DirectStorage status completion above the actual blocker? If the latter, what is the expected
ordering between lane.held, submit and is_complete when the title polls a status whose reads
are PAGE_DESTINATION?

Happy to run any instrumented build you want and send the logs.

<!-- greyfinch-sync:n-romanovich/NVIctory:issue:6726400856 --> Imported from [n-romanovich/NVIctory](https://github.com/n-romanovich/NVIctory/issues/1). Originally posted by [Sunent123](https://github.com/Sunent123) on 2026-12-01T17:26:03Z. --- # Black screen after boot: title reaches its menu (19–28 draws/frame) but nothing is drawn **Summary.** On my machine the title boots, loads every pack, and settles into what looks like its main menu, but the window is black except for NVIctory's own FPS overlay. No GPU work is queued, no game files are read after boot, and nothing in the log reports an error. ## Hardware and software | | | |---|---| | CPU | 13th-gen-ish laptop (32 logical threads, AVX2) | | GPU | NVIDIA GeForce RTX 5060 Laptop, 8151 MiB VRAM, driver 616.56 | | RAM | 15.3 GB (+ 64 GB pagefile on another drive) | | OS | Windows 11 x64 | | Build | `main` @ b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93 | | Build command | `RUSTFLAGS="-C target-cpu=x86-64-v3" cargo build --profile perf --features diagnostics -p victory` | ## How I launch it ```powershell $env:VICTORY_GAME_DIR = "<dump>\GTA6.Xbox.v1.0.2.1-CYBERLEEK" $env:VICTORY_CACHE_DIR = "<writable dir>" $env:VICTORY_DATA_DIR = "<writable dir>" $env:VICTORY_OUTPUT = "1920x1080" victory.exe run "<dump>\game_scarlett_master.exe" --execute --console series-s ``` `selftest` passes everywhere: ``` CPU: 32 logical threads, AVX2=true GPU Adapter: NVIDIA GeForce RTX 5060 Laptop GPU (NVIDIA, 7899 MiB VRAM) Wavefront: min=32 max=32 lanes (Wave32 mode) Binding Tier: Tier 3 (1M view heap supported=true) 2D Warp Oracle (32x2): 64/64 threads executed once ``` `victory.exe config` reports the D3D12 Agility SDK 1.620 `D3D12Core.dll` next to the exe. ## What the window shows Title bar: `Americas | NVIctory 30 fps 33.3 ms/frame 19 draws/frame [OK]` - The frame counter is steady at 30 fps / 33.3 ms. - `draws/frame` cycles between **4, 19, 20, 21 and 28** when I press Enter — so the title is alive and reacting to input, it is not a frozen process. - The rest of the window is **pure black**; `PrintWindow` captures the same black frame. - `frame presented ... frame=64/128/256/512/1024 draws=32/1048/2432/4864/9728` in trace level, i.e. ~19 draws per frame, never the ~1500+ of a 3D world. ## Measurements | Metric | Value | |---|---| | Process CPU | 17–22 % of one core | | GPU 3D engine utilisation (`\GPU Engine(*engtype_3D)\Utilization Percentage`) | **0 %** | | `ReadTransferCount` over 120 s | **0 MB** | | Threads | 124, all `Wait` | | TCP connections | 0 | | `victory_gpu::host`: "the card's clock per frame" | "nothing of ours queued 31.5 ms (the card about 5% busy)" | ## Things I ruled out - Resolution: 1280x720, 1920x1080 and `Native` all behave the same. - Console profile: `series-s` and `series-x` both reach the same black menu. - DLSS/frame generation: `--dlss off`, `balanced`, `performance`, `ultraperformance` — no change. - Memory: no `0x8007000E`, VRAM budget switches (`VICTORY_VRAM_BUDGET_MB`, `VICTORY_TEXTURE_ROOM_PERCENT`, `VICTORY_LOW_SPARE_MB`, `VICTORY_SLOT_EVICT_PERCENT`) make no difference. - Cache: cold cache and warm cache behave the same. - Window: windowed and borderless, `VICTORY_LIGHT_REFRESH`, `VICTORY_SYNC_BESIDE`, `VICTORY_THREAD_TICKET` on/off — no change. ## DirectStorage instrumentation (local patch, not upstream) I added temporary `tracing::info!` probes to `crates/victory-hle/src/modules/dstorage.rs` (`create_status_array`, `enqueue_request`, `enqueue_status`, `submit`, `is_complete`, `start`, `finish`, `flush`) and diffed every read: - 9 767 reads start and 9 767 finish, **0 missing**, 0 execute failures. - `enqueue_status` + `submit` come in pairs (24 in the first second). - `is_complete` is then called ~67 million times, always `done=false` for the polled array, while the arrays that *are* written (`S_OK`) are different pointers. - `flush` defers with `waiting=<seq> running_first=<seq>`. - A stall snapshot while black shows one lane holding one pending status with 41 queued reads and `running=26`; those reads never leave `running`, so the status is never written. I also tried releasing held `PAGE_DESTINATION` reads when a status is in the batch (`lane.held` → immediate dispatch), which does not change the outcome. ## Warnings that repeat ``` WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x218 calls=1..16384 WARN victory_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x1c8 calls=16384 WARN victory_hle::modules::kernel: a host DLL outside the host policy: refused dll="amd_fidelityfx_upscaler_xbox.dll" WARN victory_hle::modules::kernel: a host DLL outside the host policy: refused dll="rpcrt4.dll" ``` The first two are documented as the benign precompiled-binary path (the title falls back to `create_stream`), and `bound amd_fidelityfx_upscaler_xbox.dll: 8 hle, 78 host, 0 title, 0 missing` suggests the FSR module itself is bound — so I do not know whether the refusal matters. At 720p only, trace level also prints: ``` FSR_API_DEBUG_ERROR: Shipping FSR4 configuration mismatch: maxUpscaleSize must be 1920x1080; received 1280x720 ``` ## Question Is this the known "menu draws but nothing is presented" state on 8 GB Ada/Blackwell cards, or is the DirectStorage status completion above the actual blocker? If the latter, what is the expected ordering between `lane.held`, `submit` and `is_complete` when the title polls a status whose reads are `PAGE_DESTINATION`? Happy to run any instrumented build you want and send the logs.
n-romanovich commented 2026-12-02 07:58:44 +00:00 (Migrated from github.com)
Author

Imported from n-romanovich/NVIctory. Originally posted by n-romanovich on 2026-12-02T07:58:44Z.


Thanks for the detailed report and instrumentation!

Looking at crates/victory-hle/src/modules/dstorage.rs and crates/victory-gpu:

  1. Swapchain / Present: fpsbox is rendered on top of &back right after CopyResource(&back, texture) in present_now, so the swapchain itself is working — the texture passed by the title is genuinely all-zero (black).
  2. DirectStorage (dstorage.rs): By design, Close() (close_lane) leaves unstarted statuses as E_PENDING (verified by a_closed_queue_completes_nothing), and lane.running inserts/removes 1:1 between Lanes::start and Lanes::finish. That means 9,767 starts == 9,767 finishes (0 missing) and running=26 cannot hold simultaneously at the end of a run — either those 26 reads actually blocked inside execute() in the stalled run, or they finished later and the polled (array, index) was left in unsubmitted, held, or dropped by close_lane.
  3. Menu draws (19–28 draws/frame): frame presented logs both draws (recorded) and drawn (actually executed on the host), and it would be helpful to know whether drawn == draws during the black menu.

I've pushed commit dc6d1aa (fix(hle/dstorage): add stall watchdog and log pending statuses on lane close), which adds:

  • A non-blocking stall watchdog in is_complete() that logs every 1M E_PENDING polls with the exact location of the polled (array, index) (unsubmitted, held, statuses(seq=...), or missing), all non-idle lane states, and the 5 oldest active execute() reads (elapsed_ms, size, options).
  • A warning in close_lane() if a queue is closed while still holding pending status entries.

Could you pull main dc6d1aa, run again until the black screen appears, and share:

  1. The dstorage: status polled ... / dstorage: stall lane state / dstorage: stall active read lines (plus any dstorage: queue closed with pending status entries warning).
  2. One frame presented ... line showing both draws= and drawn=.

Once we see which exact path is blocking, I'll follow up with the root-cause fix.

<!-- greyfinch-sync:n-romanovich/NVIctory:comment:7338850541 --> Imported from [n-romanovich/NVIctory](https://github.com/n-romanovich/NVIctory/issues/1#issuecomment-7338850541). Originally posted by [n-romanovich](https://github.com/n-romanovich) on 2026-12-02T07:58:44Z. --- Thanks for the detailed report and instrumentation! Looking at `crates/victory-hle/src/modules/dstorage.rs` and `crates/victory-gpu`: 1. **Swapchain / Present:** `fpsbox` is rendered on top of `&back` right after `CopyResource(&back, texture)` in `present_now`, so the swapchain itself is working — the `texture` passed by the title is genuinely all-zero (black). 2. **DirectStorage (`dstorage.rs`):** By design, `Close()` (`close_lane`) leaves unstarted statuses as `E_PENDING` (verified by `a_closed_queue_completes_nothing`), and `lane.running` inserts/removes 1:1 between `Lanes::start` and `Lanes::finish`. That means `9,767 starts == 9,767 finishes (0 missing)` and `running=26` cannot hold simultaneously at the end of a run — either those 26 reads actually blocked inside `execute()` in the stalled run, or they finished later and the polled `(array, index)` was left in `unsubmitted`, `held`, or dropped by `close_lane`. 3. **Menu draws (`19–28 draws/frame`):** `frame presented` logs both `draws` (recorded) and `drawn` (actually executed on the host), and it would be helpful to know whether `drawn == draws` during the black menu. I've pushed commit dc6d1aa (`fix(hle/dstorage): add stall watchdog and log pending statuses on lane close`), which adds: - A non-blocking stall watchdog in `is_complete()` that logs every 1M `E_PENDING` polls with the exact location of the polled `(array, index)` (`unsubmitted`, `held`, `statuses(seq=...)`, or `missing`), all non-idle lane states, and the 5 oldest active `execute()` reads (`elapsed_ms`, `size`, `options`). - A warning in `close_lane()` if a queue is closed while still holding pending status entries. Could you pull `main` dc6d1aa, run again until the black screen appears, and share: 1. The `dstorage: status polled ...` / `dstorage: stall lane state` / `dstorage: stall active read` lines (plus any `dstorage: queue closed with pending status entries` warning). 2. One `frame presented ...` line showing both `draws=` and `drawn=`. Once we see which exact path is blocking, I'll follow up with the root-cause fix.
Sunent123 commented 2026-12-02 15:43:18 +00:00 (Migrated from github.com)
Author

Imported from n-romanovich/NVIctory. Originally posted by Sunent123 on 2026-12-02T15:43:18Z.


Thanks for the fast follow-up and for dc6d1aa — I pulled the commit, built it with --features diagnostics and reproduced the black screen. Answers to your three points:

1. drawn == draws — confirmed.

frame presented (since the last line: draws and dispatches, and those run on the host) frame=2048 draws=19456 drawn=19456 dispatches=1024 dispatched=...

Nothing is being dropped on the host side while the menu renders.

2. Stall watchdog output (1920x1080, series-s, black screen, 8 GB RTX 5060 Laptop, driver 616.56, Win11 x64).

dstorage: status polled 1000000 times while still pending array=2350669248048 index=0 polls=1000000 location="lane 16 statuses(seq=4203)" staged_mb=0 bcpack_in_flight=0 active_jobs=32
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=3547 statuses=1 running=32 waiting_first=656 running_first=624 status_first=4203
dstorage: stall active read seq=624 lane=16 elapsed_ms=2 size=65536 options=0x1
dstorage: stall active read seq=625 lane=16 elapsed_ms=2 size=65536 options=0x1
...
dstorage: status polled 16000000 times while still pending array=2350669248048 index=0 polls=16000000 location="lane 16 statuses(seq=9619)" staged_mb=0 bcpack_in_flight=0 active_jobs=32
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=2991 statuses=1 running=32 waiting_first=1212 running_first=1180 status_first=4203

3. queue closed with pending status entries: never logged (0 occurrences in a 793 KB trace; the process was running, not closing).

Two extra observations from this run:

  • The polled status is always in statuses(seq=...) (never unsubmitted, held or missing), and status_first keeps advancing (4203 -> 8213 -> 9619) while unsubmitted=0 held=0. Reads are being started and finished continuously at 1-2 ms each, but the queue front (waiting_first/running_first) never passes the waiting status, so flush keeps deferring. It looks like steady-state progress without ever reaching the status: new reads keep arriving ahead of it.
  • Earlier I reported running=26; in a 22 s window with per-read start/finish probes I measured starts=9767 finishes=9767 missing=0, so that was just a snapshot between start and finish, not a leak.

Environment: game dump on an SSD, VICTORY_CACHE_DIR/VICTORY_DATA_DIR on an empty writable directory, console series-s, output 1920x1080, VICTORY_LOG=victory_hle=info,victory_gpu=info.

Happy to run more instrumentation — just tell me which counters you want next.

<!-- greyfinch-sync:n-romanovich/NVIctory:comment:7350806438 --> Imported from [n-romanovich/NVIctory](https://github.com/n-romanovich/NVIctory/issues/1#issuecomment-7350806438). Originally posted by [Sunent123](https://github.com/Sunent123) on 2026-12-02T15:43:18Z. --- Thanks for the fast follow-up and for `dc6d1aa` — I pulled the commit, built it with `--features diagnostics` and reproduced the black screen. Answers to your three points: **1. `drawn == draws` — confirmed.** ``` frame presented (since the last line: draws and dispatches, and those run on the host) frame=2048 draws=19456 drawn=19456 dispatches=1024 dispatched=... ``` Nothing is being dropped on the host side while the menu renders. **2. Stall watchdog output (1920x1080, series-s, black screen, 8 GB RTX 5060 Laptop, driver 616.56, Win11 x64).** ``` dstorage: status polled 1000000 times while still pending array=2350669248048 index=0 polls=1000000 location="lane 16 statuses(seq=4203)" staged_mb=0 bcpack_in_flight=0 active_jobs=32 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=3547 statuses=1 running=32 waiting_first=656 running_first=624 status_first=4203 dstorage: stall active read seq=624 lane=16 elapsed_ms=2 size=65536 options=0x1 dstorage: stall active read seq=625 lane=16 elapsed_ms=2 size=65536 options=0x1 ... dstorage: status polled 16000000 times while still pending array=2350669248048 index=0 polls=16000000 location="lane 16 statuses(seq=9619)" staged_mb=0 bcpack_in_flight=0 active_jobs=32 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=2991 statuses=1 running=32 waiting_first=1212 running_first=1180 status_first=4203 ``` **3. `queue closed with pending status entries`: never logged** (0 occurrences in a 793 KB trace; the process was running, not closing). Two extra observations from this run: - The polled status is always in `statuses(seq=...)` (never `unsubmitted`, `held` or `missing`), and `status_first` keeps advancing (4203 -> 8213 -> 9619) while `unsubmitted=0 held=0`. Reads are being started and finished continuously at 1-2 ms each, but the queue front (`waiting_first`/`running_first`) never passes the waiting status, so `flush` keeps deferring. It looks like steady-state progress without ever reaching the status: new reads keep arriving ahead of it. - Earlier I reported `running=26`; in a 22 s window with per-read start/finish probes I measured `starts=9767 finishes=9767 missing=0`, so that was just a snapshot between start and finish, not a leak. Environment: game dump on an SSD, `VICTORY_CACHE_DIR`/`VICTORY_DATA_DIR` on an empty writable directory, console series-s, output 1920x1080, `VICTORY_LOG=victory_hle=info,victory_gpu=info`. Happy to run more instrumentation — just tell me which counters you want next.
julienmayer commented 2026-12-02 21:09:58 +00:00 (Migrated from github.com)
Author

Imported from n-romanovich/NVIctory. Originally posted by julienmayer on 2026-12-02T21:09:58Z.


Same black screen on a GTX 1660 Ti (6 GB, Turing, no RT cores), i7-10750H, 16 GB RAM, Windows 11 (build 26300), driver 592.27, series-s, render scale 0.5, build 2430fb0 (includes dc6d1aa), launched through VILauncher.
Intro video audio plays and menu sounds respond to input, but the picture stays black.

Same signature as above:

dstorage: status polled 21000000 times while still pending ... location="lane 16 statuses(seq=10102)" staged_mb=0 bcpack_in_flight=0 active_jobs=1
dstorage: status polled 34000000 times while still pending ... location="lane 16 statuses(seq=18451)" staged_mb=0 bcpack_in_flight=0 active_jobs=1
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=0 statuses=1 running=1 running_first=10101 status_first=10102
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=1616 statuses=1 running=12 waiting_first=11050 running_first=11030 status_first=12666
frame presented ... frame=4096 draws=20944 drawn=20944 dispatches=2050 dispatched=2050
  • queue closed with pending status entries: 0 occurrences
  • 4 min session at 30 fps, 4–21 draws/frame, 63 pipelines made, 0 device lost, 0 refused for memory

victory.exe selftest: all PASS (AVX2, Wave32, Tier 3 / 1M view heap, 32x2 warp oracle 64/64).

The issue is closed but still reproduces on 2430fb0 — could it be reopened? Happy to run more instrumentation.

<!-- greyfinch-sync:n-romanovich/NVIctory:comment:7358884969 --> Imported from [n-romanovich/NVIctory](https://github.com/n-romanovich/NVIctory/issues/1#issuecomment-7358884969). Originally posted by [julienmayer](https://github.com/julienmayer) on 2026-12-02T21:09:58Z. --- Same black screen on a **GTX 1660 Ti** (6 GB, Turing, no RT cores), i7-10750H, 16 GB RAM, Windows 11 (build 26300), driver 592.27, series-s, render scale 0.5, build `2430fb0` (includes `dc6d1aa`), launched through VILauncher. Intro video audio plays and menu sounds respond to input, but the picture stays black. Same signature as above: ``` dstorage: status polled 21000000 times while still pending ... location="lane 16 statuses(seq=10102)" staged_mb=0 bcpack_in_flight=0 active_jobs=1 dstorage: status polled 34000000 times while still pending ... location="lane 16 statuses(seq=18451)" staged_mb=0 bcpack_in_flight=0 active_jobs=1 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=0 statuses=1 running=1 running_first=10101 status_first=10102 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=1616 statuses=1 running=12 waiting_first=11050 running_first=11030 status_first=12666 frame presented ... frame=4096 draws=20944 drawn=20944 dispatches=2050 dispatched=2050 ``` - `queue closed with pending status entries`: 0 occurrences - 4 min session at 30 fps, 4–21 draws/frame, 63 pipelines made, 0 device lost, 0 refused for memory `victory.exe selftest`: all PASS (AVX2, Wave32, Tier 3 / 1M view heap, 32x2 warp oracle 64/64). The issue is closed but still reproduces on `2430fb0` — could it be reopened? Happy to run more instrumentation.
n-romanovich commented 2026-12-02 22:01:00 +00:00 (Migrated from github.com)
Author

Imported from n-romanovich/NVIctory. Originally posted by n-romanovich on 2026-12-02T22:01:00Z.


@Sunent123, @julienmayer, thank you so much for pulling dc6d1aa and sharing the watchdog diagnostics! The drawn == draws confirmation and the exact lane 16 statuses(seq=4203) stall trace pinpointed the exact issue.

Following up on those logs, the DirectStorage queue/lane scheduling and status completion logic has now been reworked and fixed in main.

Since this issue was already marked as closed earlier, I'll leave it closed as resolved. Please pull the latest changes from main and give it another try - if you still run into the black screen or any other trouble, feel free to reopen this or open a new issue!

<!-- greyfinch-sync:n-romanovich/NVIctory:comment:7360104680 --> Imported from [n-romanovich/NVIctory](https://github.com/n-romanovich/NVIctory/issues/1#issuecomment-7360104680). Originally posted by [n-romanovich](https://github.com/n-romanovich) on 2026-12-02T22:01:00Z. --- @Sunent123, @julienmayer, thank you so much for pulling dc6d1aa and sharing the watchdog diagnostics! The drawn == draws confirmation and the exact lane 16 statuses(seq=4203) stall trace pinpointed the exact issue. Following up on those logs, the DirectStorage queue/lane scheduling and status completion logic has now been reworked and fixed in main. Since this issue was already marked as closed earlier, I'll leave it closed as resolved. Please pull the latest changes from main and give it another try - if you still run into the black screen or any other trouble, feel free to reopen this or open a new issue!
Sunent123 commented 2026-12-02 23:21:55 +00:00 (Migrated from github.com)
Author

Imported from n-romanovich/NVIctory. Originally posted by Sunent123 on 2026-12-02T23:21:55Z.


Two runs on the same machine (build 2430fb0 + dc6d1aa, 1920x1080, series-s, 8 GB RTX 5060 Laptop, Win11 x64, driver 616.56):

1. It reaches the same second-phase signature @julienmayer posted — the queued reads drain to 0, a small set stays "running", and the status sits just ahead of running_first (240 s run):

dstorage: status polled 13000000 times while still pending array=1619561889552 index=0 polls=13000000 location="lane 16 statuses(seq=7629)" staged_mb=1 bcpack_in_flight=0 active_jobs=26
dstorage: status polled 14000000 times while still pending array=1619561889552 index=0 polls=14000000 location="lane 16 statuses(seq=8037)" staged_mb=0 bcpack_in_flight=0 active_jobs=13
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=0 statuses=1 running=13 running_first=8024 status_first=8037
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=2 statuses=1 running=5 waiting_first=9006 running_first=9001 status_first=9008

First phase, queue full and draining, status not moving at all:

dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=3445 statuses=1 running=32 waiting_first=758 running_first=726 status_first=4203
dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=2410 statuses=1 running=32 waiting_first=1793 running_first=1761 status_first=4203

2. drawn == draws for the whole run (both of your questions answered):

frame presented (since the last line: draws and dispatches, and those run on the host) frame=4096 draws=38912 drawn=38912 dispatches=2048 dispatched=2048

queue closed with pending status entries: 0 occurrences in either run; the process keeps running at 19 draws/frame, 30 fps, reporting [OK].

3. I added a probe for the head of the running list, because the "5 oldest active reads" are always 1-3 ms old (max over 240 s: 3 ms), which by itself would mean nothing has been inside execute() for long:

dstorage: stall running head lane=16 head_seq=729 head_in_active=true head_elapsed_ms=2 running=32 orphans=0 orphan_seqs=[] status_first=4203
dstorage: stall running head lane=16 head_seq=1811 head_in_active=true head_elapsed_ms=3 running=32 orphans=0 orphan_seqs=[] status_first=4203
dstorage: stall running head lane=16 head_seq=3451 head_in_active=true head_elapsed_ms=3 running=32 orphans=0 orphan_seqs=[] status_first=4203

So: the head is never an orphan (it is always in active), running stays pinned at 32, and the head advances (729 -> 1303 -> 1811 -> 2384 -> 2935 -> 3451 over six watchdogs, i.e. ~600 sequence numbers apart) while status_first stays at 4203. Later status_first does move (8731, 9414) once the queue drains.

That gives me a discrepancy I cannot explain from the logs: 32 workers × 1-3 ms per read suggests the queue should advance thousands of sequence numbers per second, but between two watchdogs it only advances ~600 (the watchdogs are ~13 s apart here). Either reads are re-inserted into active with a fresh started timestamp after a retry/requeue (which would make elapsed_ms always small), or the pool is not actually running 32 at once.

Question: can a read be retried/re-enqueued (new or same seq, fresh Instant::now() in start()) without leaving any trace? If yes, a per-seq start count (or a counter of Lanes::start calls) in the stall snapshot would separate "slow" from "restarted". I can build and run whatever probe you prefer — the machine is available and the dump is on the same disk.


Update: main @ d79f5ac still reproduces (2026-12-03)

I pulled the current main (d79f5ac, crates/victory-hle/src/modules/dstorage.rs is 115,839 bytes now, up from 86,633 in dc6d1aa), built it and re-ran with the same settings.

Build note (FYI, not a blocker): the diag profile failed for me in libmimalloc-sys with MSVC D8050 (could not place the command line in the debug record); cargo build --profile diag --no-default-features --features diagnostics -p victory built fine in 1m13s. If mimalloc is the default you want to keep, it may break for people building with the default toolchain.

Result on the same machine (RTX 5060 Laptop 8 GB, Win11, driver 616.56, 1920x1080, -Console series-s):

  • Window title: VIctory-NVIDIA 30 fps 33.3 ms/frame 19 draws/frame for the whole run (180 s), same as before.
  • \Process(...)\IO Read Transfer Count delta over 150 s: 0 MB. It opens 60 files (all .rpf / .ttpf) and then never reads a byte.
  • No dstorage: stall lane state lines are emitted any more, so the new watchdog does not fire; the title is still stuck at 19 draws/frame with a black screen behind the FPS overlay.
  • New warnings worth looking at:
    • victory_gpu::descriptor::host: host view heap capped at 1000000 (737855 title + 262144 dynamic slots); views past 737855 read a null slot count=1245184 fitted=737855 dynamic=262144
    • victory_gpu::residency: host memory pressure: limiting texture prefetch and idle upload storage ... physical_free_mib=2724 available_commit_mib=43639
    • victory_gpu::memory: the PC ran short of memory (1770 MB free, under the line of 3072 MB) twice

So the dc6d1aa stall path is gone, but on this machine the state is now "files opened, zero bytes read, draws == drawn == 19/frame, black". I left the run artifacts outside the repo; happy to dump whatever counters you want next (VICTORY_LOG level, per-lane state, or the file-open list).

I keep the issue as closed if you prefer; just say if you want it reopened and I will.

<!-- greyfinch-sync:n-romanovich/NVIctory:comment:7361901473 --> Imported from [n-romanovich/NVIctory](https://github.com/n-romanovich/NVIctory/issues/1#issuecomment-7361901473). Originally posted by [Sunent123](https://github.com/Sunent123) on 2026-12-02T23:21:55Z. --- Two runs on the same machine (build `2430fb0` + `dc6d1aa`, 1920x1080, series-s, 8 GB RTX 5060 Laptop, Win11 x64, driver 616.56): **1. It reaches the same second-phase signature @julienmayer posted** — the queued reads drain to 0, a small set stays "running", and the status sits just ahead of `running_first` (240 s run): ``` dstorage: status polled 13000000 times while still pending array=1619561889552 index=0 polls=13000000 location="lane 16 statuses(seq=7629)" staged_mb=1 bcpack_in_flight=0 active_jobs=26 dstorage: status polled 14000000 times while still pending array=1619561889552 index=0 polls=14000000 location="lane 16 statuses(seq=8037)" staged_mb=0 bcpack_in_flight=0 active_jobs=13 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=0 statuses=1 running=13 running_first=8024 status_first=8037 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=2 statuses=1 running=5 waiting_first=9006 running_first=9001 status_first=9008 ``` First phase, queue full and draining, status not moving at all: ``` dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=3445 statuses=1 running=32 waiting_first=758 running_first=726 status_first=4203 dstorage: stall lane state lane=16 closed=false unsubmitted=0 held=0 reads=2410 statuses=1 running=32 waiting_first=1793 running_first=1761 status_first=4203 ``` **2. `drawn == draws` for the whole run** (both of your questions answered): ``` frame presented (since the last line: draws and dispatches, and those run on the host) frame=4096 draws=38912 drawn=38912 dispatches=2048 dispatched=2048 ``` `queue closed with pending status entries`: 0 occurrences in either run; the process keeps running at 19 draws/frame, 30 fps, reporting `[OK]`. **3. I added a probe for the head of the running list**, because the "5 oldest active reads" are always 1-3 ms old (max over 240 s: 3 ms), which by itself would mean nothing has been inside `execute()` for long: ``` dstorage: stall running head lane=16 head_seq=729 head_in_active=true head_elapsed_ms=2 running=32 orphans=0 orphan_seqs=[] status_first=4203 dstorage: stall running head lane=16 head_seq=1811 head_in_active=true head_elapsed_ms=3 running=32 orphans=0 orphan_seqs=[] status_first=4203 dstorage: stall running head lane=16 head_seq=3451 head_in_active=true head_elapsed_ms=3 running=32 orphans=0 orphan_seqs=[] status_first=4203 ``` So: the head is never an orphan (it is always in `active`), `running` stays pinned at 32, and the head advances (729 -> 1303 -> 1811 -> 2384 -> 2935 -> 3451 over six watchdogs, i.e. ~600 sequence numbers apart) while `status_first` stays at 4203. Later `status_first` does move (8731, 9414) once the queue drains. That gives me a discrepancy I cannot explain from the logs: 32 workers × 1-3 ms per read suggests the queue should advance thousands of sequence numbers per second, but between two watchdogs it only advances ~600 (the watchdogs are ~13 s apart here). Either reads are re-inserted into `active` with a fresh `started` timestamp after a retry/requeue (which would make `elapsed_ms` always small), or the pool is not actually running 32 at once. Question: can a read be retried/re-enqueued (new or same `seq`, fresh `Instant::now()` in `start()`) without leaving any trace? If yes, a per-seq start count (or a counter of `Lanes::start` calls) in the stall snapshot would separate "slow" from "restarted". I can build and run whatever probe you prefer — the machine is available and the dump is on the same disk. --- ## Update: main @ d79f5ac still reproduces (2026-12-03) I pulled the current `main` (`d79f5ac`, `crates/victory-hle/src/modules/dstorage.rs` is 115,839 bytes now, up from 86,633 in `dc6d1aa`), built it and re-ran with the same settings. Build note (FYI, not a blocker): the `diag` profile failed for me in `libmimalloc-sys` with MSVC `D8050 (could not place the command line in the debug record)`; `cargo build --profile diag --no-default-features --features diagnostics -p victory` built fine in 1m13s. If `mimalloc` is the default you want to keep, it may break for people building with the default toolchain. Result on the same machine (RTX 5060 Laptop 8 GB, Win11, driver 616.56, 1920x1080, `-Console series-s`): - Window title: `VIctory-NVIDIA 30 fps 33.3 ms/frame 19 draws/frame` for the whole run (180 s), same as before. - `\Process(...)\IO Read Transfer Count` delta over 150 s: **0 MB**. It opens 60 files (all `.rpf` / `.ttpf`) and then never reads a byte. - No `dstorage: stall lane state` lines are emitted any more, so the new watchdog does not fire; the title is still stuck at 19 draws/frame with a black screen behind the FPS overlay. - New warnings worth looking at: - `victory_gpu::descriptor::host: host view heap capped at 1000000 (737855 title + 262144 dynamic slots); views past 737855 read a null slot count=1245184 fitted=737855 dynamic=262144` - `victory_gpu::residency: host memory pressure: limiting texture prefetch and idle upload storage ... physical_free_mib=2724 available_commit_mib=43639` - `victory_gpu::memory: the PC ran short of memory (1770 MB free, under the line of 3072 MB)` twice So the `dc6d1aa` stall path is gone, but on this machine the state is now "files opened, zero bytes read, draws == drawn == 19/frame, black". I left the run artifacts outside the repo; happy to dump whatever counters you want next (`VICTORY_LOG` level, per-lane state, or the file-open list). I keep the issue as closed if you prefer; just say if you want it reopened and I will.
Sign in to join this conversation.
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
n-romanovich/NVIctory#1
No description provided.