Excessive freezes when compiling shaders #2961

Open
opened 2026-12-01 21:54:03 +00:00 by Gamegami49 · 2 comments
Gamegami49 commented 2026-12-01 21:54:03 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Gamegami49 on 2026-12-01T21:54:03Z.


  • The launcher doesn't really precompile shaders.
  • The game freezes whenever it has to compile shaders while running, sometimes to the point that windows drops the directx instance cause the timeout has been exceeded.
  • Faint flickers when in the open world at times
  • F1 menu settings won't save (keeps trying to use FSR)
  • Sound samples dropping after the boat mission (drive back to Jason's home) (this is a bug with nearly every victory port except Leila)

System: Windows 10 22H2 (using DirectX Agility SDK)
CPU: AMD Ryzen 7 5800X (it's better than any console, so it should be enough)
GPU: NVIDIA RTX 5070
Storage: WD Black NVMe 2TB
RAM: 64GB DDR4 3200

Utilisation sits at around 90% CPU and 70% GPU. Other ports run a lot better on this system off the fact they opt to leverage the GPU for most of the compute instead of the CPU.

My suggestion? Ditch/completely rewrite Victory (staying on dx12), or work anew on a lower level layer based on Vulkan. I have tested around 12 different Victory ports and they all run about the same (~7-14 fps driving in the open world with occasional graphical bugs). It's an incredibly inefficient runtime that's clearly hit a ceiling and there's no progress to be made excusing it because 5090s and 9800X3Ds can run it sorta well.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6731500868 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2961). Originally posted by [Gamegami49](https://github.com/Gamegami49) on 2026-12-01T21:54:03Z. --- - The launcher doesn't really precompile shaders. - The game freezes whenever it has to compile shaders while running, sometimes to the point that windows drops the directx instance cause the timeout has been exceeded. - Faint flickers when in the open world at times - F1 menu settings won't save (keeps trying to use FSR) - Sound samples dropping after the boat mission (drive back to Jason's home) (this is a bug with nearly every victory port except Leila) System: Windows 10 22H2 (using DirectX Agility SDK) CPU: AMD Ryzen 7 5800X (it's better than any console, so it should be enough) GPU: NVIDIA RTX 5070 Storage: WD Black NVMe 2TB RAM: 64GB DDR4 3200 Utilisation sits at around 90% CPU and 70% GPU. Other ports run a lot better on this system off the fact they opt to leverage the GPU for most of the compute instead of the CPU. My suggestion? Ditch/completely rewrite Victory (staying on dx12), or work anew on a lower level layer based on Vulkan. I have tested around 12 different Victory ports and they all run about the same (~7-14 fps driving in the open world with occasional graphical bugs). It's an incredibly inefficient runtime that's clearly hit a ceiling and there's no progress to be made excusing it because 5090s and 9800X3Ds can run it sorta well.
Alanls-mx commented 2026-12-01 22:34:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Alanls-mx on 2026-12-01T22:34:18Z.


Local run evidence (2026-12-01, NVIDIA / Series S profile): the log recorded 82 pipeline-timing entries. Cache misses included driver pipeline creation of:

  • Frame 3204: compute 41217059b1eb768a, 16,401 ms.
  • Frame 3428: compute 043df98be0270424, 15,404 ms.
  • Frame 2808: mesh 98f80c44e029ee25 + pixel 916adf6c9ee1bd5f, 4,730 ms.
  • Frame 2815: mesh a108118d1cfe4b92 + pixel f23ac5187c49056a, 1,602 ms.
  • Frame 2962: compute 422ae0b850e3624e, 1,026 ms.

The cutscene screenshot sampled 8.1 FPS / 123.4 ms with 6,474 draws. These timings support runtime compilation stalls, but do not identify the shader responsible for the hair/fur pixels. The visual issue and failed target-capture attempt are tracked separately in #2990; the -Capture run produced no PNGs and no F9 marker.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7328039871 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2961#issuecomment-7328039871). Originally posted by [Alanls-mx](https://github.com/Alanls-mx) on 2026-12-01T22:34:18Z. --- Local run evidence (2026-12-01, NVIDIA / Series S profile): the log recorded 82 pipeline-timing entries. Cache misses included driver pipeline creation of: - Frame 3204: compute `41217059b1eb768a`, 16,401 ms. - Frame 3428: compute `043df98be0270424`, 15,404 ms. - Frame 2808: mesh `98f80c44e029ee25` + pixel `916adf6c9ee1bd5f`, 4,730 ms. - Frame 2815: mesh `a108118d1cfe4b92` + pixel `f23ac5187c49056a`, 1,602 ms. - Frame 2962: compute `422ae0b850e3624e`, 1,026 ms. The cutscene screenshot sampled 8.1 FPS / 123.4 ms with 6,474 draws. These timings support runtime compilation stalls, but do not identify the shader responsible for the hair/fur pixels. The visual issue and failed target-capture attempt are tracked separately in #2990; the `-Capture` run produced no PNGs and no F9 marker.
MoonEyes commented 2026-12-03 15:35:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T15:35:36Z.


This was generated by AI during triage.

Triage Notes

What we've established so far:

  • The report combines several independent concerns: shader-compilation stalls, visual flicker, F1 settings not persisting, and missing audio samples.
  • It also proposes replacing/reworking the runtime, but does not define one concrete behavior or acceptance target for that broad change.

What we still need from you (@Gamegami49):

  • Which single symptom should be tracked first? Please open separate issues for unrelated symptoms and include exact reproduction steps, relevant log excerpts, and a measurable expected result for the one you want investigated first. No game files are needed.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7383405183 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2961#issuecomment-7383405183). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T15:35:36Z. --- > *This was generated by AI during triage.* ## Triage Notes **What we've established so far:** - The report combines several independent concerns: shader-compilation stalls, visual flicker, F1 settings not persisting, and missing audio samples. - It also proposes replacing/reworking the runtime, but does not define one concrete behavior or acceptance target for that broad change. **What we still need from you (@Gamegami49):** - Which single symptom should be tracked first? Please open separate issues for unrelated symptoms and include exact reproduction steps, relevant log excerpts, and a measurable expected result for the one you want investigated first. No game files are needed.
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
ProjectLeonida/mandy#2961
No description provided.