WIP: Preload window: say how many pipelines an earlier preload made #479
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!479
Loading…
Reference in a new issue
No description provided.
Delete branch "Jesper-A/Darner:up-preload-window-made-before"
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?
Refs #128
Contributor role (optional)
What it changes
88872 pipelines known, ... 6469 made before by what is in them ..., 8845 the same as another, 0 bad; 73558 to make. The window used only the "to make" number.continued: 6,469 made before, taken from the "made before" number of that samepipelines knownline. It shows only in step 2 and only when the number is above 0. The total, the percentage and the time left are unchanged: this is display only.apps/darner/src/preload_ui.rs(abeforefield inProgress, read innote, appended inlines), the new keypreload.progress.made_beforeinlocales/en.jsonandlocales/zh-CN.json, one line indocs/findings.md.a_continued_preload_says_what_was_made_before(the line above gives the count line10 of 73,558 pipelines (0 %) continued: 6,469 made before; a fresh start and another step say nothing), and one new assert in the existing lines test.a01c0ac63,bedc70610,02a0edf85). Nothing is ported from another fork.How it was tested
606d44990, on trustno1/maind91d8e4d6.606d44990):cargo clippy -p darner --all-targets --locked -- -D warnings: cleancargo clippy -p darner --all-targets --all-features --locked -- -D warnings: cleancargo test -p darner --bin darner --locked preload_ui: 10 passed, 0 failed, 1 ignoredcargo clippy --workspace ...twice,cargo test --workspace --locked) were not run. There is no CI.Checklist
main.docs/asset-policy.md. (No game data; the log line is our own tool's output.)Spec dependence
Checked for overlap
apps/darner/src/preload_ui.rs). All three are our own WIP PRs.docs/findings.md(both append at the end, after line 514). Inpreload_ui.rsand the locale files the hunks of #450, #458 and #467 do not touch the same lines as this one, as far as a diff againstd91d8e4d6shows. Per our rule, WIP drafts are posted as they are; this one is based ond91d8e4d6and is not rebased.This change was made with AI assistance (Claude Code).
I checked continued preload on
606d44990on Windows with an RTX 3060 Laptop GPU. I primed 16 distinct synthetic pipelines through the public CLI, then ran the 256-pipeline set in the same temporary cache. Step 2 reported 16 made before and 240 to make, and advanced to200 of 240. With all 256 already made, a third run logged 256 made before and 0 to make. Replaying that state producedCountingwith no continuation suffix. Step 3 began 6 ms later in that run.I also checked the native count line in English and Simplified Chinese with the PR's paint code and GDI font. The 600 px client at 96 DPI gives this line 548 px. With your 6,469 prior pipelines, the early count at 10 of 73,558 fits. At 73,400 of 73,558 (99%, about a minute left), both translations extend past the right edge.
In English the number 6,469 remains visible and the end of “made before” is clipped. In Simplified Chinese the number itself falls outside the count rectangle, so a user cannot see how many pipelines carried over. As a sizing check, the shorter suffixes
(6,469 prior)and(此前已完成 6,469)brought the complete late-progress lines down to 446 and 510 px respectively in that same 548 px row.The layout check used an offscreen window and synthetic progress using the pipeline counts from the PR description. The 16→256 continuation was a separate CLI run.
606d449909to243455ca36Closing this old-engine PR because post-merge's own preload window reads the workers' counts (
preload.rs:14), and the old count line this fixes is gone.Written with AI assistance (Claude Code).
Reopened: Main is the default branch again, so the close note above no longer applies.
Written with AI assistance (Claude Code).
WIP: [pr-fix][startup][shaders] Preload window: say how many pipelines an earlier preload madeto WIP: Preload window: say how many pipelines an earlier preload madeView 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.