Preload: let the shader step print a real total (files or bytes scanned) #1423
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1423
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Jesper-Andersson on GitHub · 2026-11-28 19:39 UTC · original
Related: #869 shows a last-run total and an ETA in the launcher window. This asks for a real total from the shader step itself, so neither the console line nor that window has to rely on the previous run's count.
During
-Preload(which runsshaders, thenwarm, then the library step), the shader step's progress line only counts up:In
apps/victory/src/translate.rs(precompile), the total isn't known while the step runs: the walk reads each file and finds shader containers as it goes. A last-run count goes stale exactly when it matters most, after a build where translator changes make most shaders new.Suggestion: before the loop, count the candidate files (those
may_hold_shaderspasses, underMAX_FILE) and their total size. That's a metadata-only walk, with no reads. Then print progress against that, e.g. (made-up numbers):An ETA from the bytes done, or #869's window, could then build on it.
Not measured: how long the extra walk takes on a full install.
@github-actions[bot] on GitHub · 2026-11-28 19:39 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
github-bot referenced this issue2026-11-28 21:02:42 +00:00