Preload window: strip the log's colour codes before reading a line #2773
No reviewers
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!2773
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2773"
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?
@FactorOfTheThird on GitHub · 2026-11-29 17:08 UTC · original
FactorOfTheThird:fix/preload-window-colour-codes→main· +2 −1 · 1 files · 1 commits · openThe preload window's last line (the log tail under the progress bar) showed the log's colour codes as text, e.g.
⌐[2m2026-11-29T17:03:53Z⌐[0m ⌐[32m INFO⌐[0m ⌐[2mvictory_gpu::pipeline⌐[0m.... Because the codes stand before the timestamp, the existing^\S+Z\s+(TRACE|...)strip never matched either, so the time and level stayed in.Update-PreloadWindownow removesESC [ ... <letter>sequences before it reads the line, so the progress patterns and the time/level strip see plain text.How it was tested
-Preloadrun.victory_gpu::pipeline: shader translated. Then seen in the live window during a-Preload(RTX 3060):victory_gpu::pipeline: shader translated stage="mesh" hash=... user_data=3 samplers=0 ms=0, no codes, no time or level.cargo testpassed for the crates it touches: n/a (PowerShell only).cargo xtask policyreports the existing hit incrates/victory-loader/src/heap_sites/frame_users.rs, the same onmain.🤖 Generated with Claude Code
@FactorOfTheThird on GitHub · 2026-11-29 18:01 UTC · original
Updated the testing notes: the change is now confirmed in a live preload window (RTX 3060), where a tracing line shows as
victory_gpu::pipeline: shader translated ...with no colour codes and no time/level prefix.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.