No shader/pipeline pre-compilation #2927

Closed
leonida/mandy
opened 2026-12-01 19:08:09 +00:00 by sYnapZiX · 6 comments
sYnapZiX commented 2026-12-01 19:08:09 +00:00

Hey, this is a bug that affects ALL victory based projects out there. Shader and Pipeline pre-compilation is simply not working. The game compiles everything during runtime which leads to blacked out textures and crashes.

Hey, this is a bug that affects ALL victory based projects out there. Shader and Pipeline pre-compilation is simply not working. The game compiles everything during runtime which leads to blacked out textures and crashes.
0Batataaa0 commented 2026-12-01 21:00:39 +00:00

Pipeline pre-compilation does indeed work; however, the shaders are not being pre-compiled, which causes significant stuttering and highly unstable frame rates.

R5 3600
RTX 3060 Ti 8GB
32GB DDR4
W11

Pipeline pre-compilation does indeed work; however, the shaders are not being pre-compiled, which causes significant stuttering and highly unstable frame rates. R5 3600 RTX 3060 Ti 8GB 32GB DDR4 W11
Alanls-mx commented 2026-12-01 21:18:09 +00:00

Windows/NVIDIA first-mission run after launcher precompilation (Series S profile): the new per-PSO log recorded 190 timing entries: 140 host-library hits and 50 misses. Driver creation on misses had p95 5,668.3 ms and max 13,493 ms (compute PSO 7da9fa1d9e7d4461990077b5c53d9676, shader 51b4b1881981e654). There were 32 waits reaching the 8 ms budget; dependent draws/dispatches were dropped until their host PSO was ready. No 0x8007000E in this run.

This confirms translation and warmup do not yet cover every PSO used while moving through the mission. Next: feed the route's newly observed PSOs into the existing warm --used flow, then replay the same route and compare wait/drop counts and frame time. The isolated near-light A/B is underway separately.

Windows/NVIDIA first-mission run after launcher precompilation (Series S profile): the new per-PSO log recorded 190 timing entries: 140 host-library hits and 50 misses. Driver creation on misses had p95 5,668.3 ms and max 13,493 ms (compute PSO `7da9fa1d9e7d4461990077b5c53d9676`, shader `51b4b1881981e654`). There were 32 waits reaching the 8 ms budget; dependent draws/dispatches were dropped until their host PSO was ready. No `0x8007000E` in this run. This confirms translation and warmup do not yet cover every PSO used while moving through the mission. Next: feed the route's newly observed PSOs into the existing `warm --used` flow, then replay the same route and compare wait/drop counts and frame time. The isolated near-light A/B is underway separately.
Alanls-mx commented 2026-12-01 21:38:12 +00:00

Update from the latest Windows/NVIDIA re-open (2026-12-01): the launcher prewarm reported 0 pipelines known, 0 made before and 0 to make, so it did not warm this route. The game remained on a black loading image with SHADERS COMPILING: 1083 LEFT; it is not confirmed whether the sequence had reached the cutscene.

The matching log (play-1201-182009.log) records 2,060 pipeline wait timeouts at the 8 ms budget and 373 slow PSO creation timings: 327 direct creates without the host pipeline library and 46 library misses. The maximum driver creation was 12,186 ms. Preparing 1,911 MiB of indexed buffer views also took 2,658 ms. There were no 0x8007000E or 0x887A0005 errors. The process was closed manually after physical RAM fell to about 335 MiB free; this was not a confirmed application crash.

Next: fix visibility and the zero-candidate warmup/catalog issue, capture the used PSOs on the same route, and verify the image before drawing conclusions about cutscene frame rate. The local report now records the details.

Update from the latest Windows/NVIDIA re-open (2026-12-01): the launcher prewarm reported `0 pipelines known`, `0 made before` and `0 to make`, so it did not warm this route. The game remained on a black loading image with `SHADERS COMPILING: 1083 LEFT`; it is not confirmed whether the sequence had reached the cutscene. The matching log (`play-1201-182009.log`) records 2,060 pipeline wait timeouts at the 8 ms budget and 373 slow PSO creation timings: 327 direct creates without the host pipeline library and 46 library misses. The maximum driver creation was 12,186 ms. Preparing 1,911 MiB of indexed buffer views also took 2,658 ms. There were no `0x8007000E` or `0x887A0005` errors. The process was closed manually after physical RAM fell to about 335 MiB free; this was not a confirmed application crash. Next: fix visibility and the zero-candidate warmup/catalog issue, capture the used PSOs on the same route, and verify the image before drawing conclusions about cutscene frame rate. The local report now records the details.
andrew-ai commented 2026-12-02 00:14:05 +00:00

Two consecutive Windows Series S launcher runs on RTX 5070 / 616.92 at 357778964 gave different pipeline prewarm results with the same shader count. These are the prelaunch counts from launcher.txt:

Run Shaders in cache Do not translate Shader stage Known pipelines Selected / made before launch
First 25,687 202 89 s 0 0 / 0
Next launch 25,687 202 3 s 83,545 1,373 / 1,373 in 217 s

The second run also logged 1,227 host pipeline library loads during play. So a first-launch report of zero known pipelines can coexist with shader-cache work, and the next launch can build and use recorded pipelines. For a failing route, comparing these same lines across consecutive launches should help identify which stage is missing. I did not establish whether the reporter’s black textures or crashes have the same cause.

Codex-assisted.

Two consecutive Windows Series S launcher runs on RTX 5070 / 616.92 at 357778964 gave different pipeline prewarm results with the same shader count. These are the prelaunch counts from launcher.txt: | Run | Shaders in cache | Do not translate | Shader stage | Known pipelines | Selected / made before launch | | --- | ---: | ---: | ---: | ---: | ---: | | First | 25,687 | 202 | 89 s | 0 | 0 / 0 | | Next launch | 25,687 | 202 | 3 s | 83,545 | 1,373 / 1,373 in 217 s | The second run also logged 1,227 host pipeline library loads during play. So a first-launch report of zero known pipelines can coexist with shader-cache work, and the next launch can build and use recorded pipelines. For a failing route, comparing these same lines across consecutive launches should help identify which stage is missing. I did not establish whether the reporter’s black textures or crashes have the same cause. Codex-assisted.
sYnapZiX commented 2026-12-02 07:22:27 +00:00

I can only tell you that it does not properly pre-compile anything. I did a graphics card update yesterday, today i launched the game for the first time, it starts in seconds and does not recompile anything, yet it is still lagging like crazy and constantly flashing "Shaders compiling: X" at the top of the screen. Something is just off with ALL victory builds.

I can only tell you that it does not properly pre-compile anything. I did a graphics card update yesterday, today i launched the game for the first time, it starts in seconds and does not recompile anything, yet it is still lagging like crazy and constantly flashing "Shaders compiling: X" at the top of the screen. Something is just off with ALL victory builds.
Member

Closing as a duplicate of #3103 (same symptom and cause: pipelines met for the first time in play are still compiled during play, with 'SHADERS COMPILING' and stutter after the pre-compilation). The project now lives at https://git.leonida.now/leonida/mandy.

Closing as a duplicate of #3103 (same symptom and cause: pipelines met for the first time in play are still compiled during play, with 'SHADERS COMPILING' and stutter after the pre-compilation). The project now lives at https://git.leonida.now/leonida/mandy.
Sign in to join this conversation.
No assignees
No project
No milestone
Dependencies

No dependencies set

Notifications
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
leonida/mandy#2927
No description provided.