d3d12: estimate shader progress in the overlay header #570
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/570"
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?
Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-30T04:03:04Z.
Change
Show an ETA beside the existing percentage when the overlay knows the shader-pack total. Estimate time to the displayed 100% from recent progress in the current session. Use the median of five recent rate samples, smooth the rate and limit changes to the number displayed. Hide the estimate while rebuilding confidence after a stall or a large change in pace.
Keep the estimate on the existing header row. English remains the default and the estimate follows the configured overlay language. The estimate covers shader progress, since the title can finish loading before requesting every program in the pack.
Validation
All 17
progress::testspassed using Wine from GE-Proton11-14. They cover the displayed total, cache bursts, sustained rate changes, stalls and phase shifts. ProjectScarlett was run with the overlay on the integration build on an RTX 4080 SUPER with a warm shader cache.python tuxbox.py check --no-gpuonecc598b9completed with 10 passed, 0 failed. Dedicated GPU presentation checks are pending.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T04:12:01Z.
Heads-up: main just landed a large cleanup (up to
e5d2e913), so this PR needs a rebase.rustfmt.toml).unwrap(), lossyascasts and undocumentedunsafeoutside tests.cargo fmt --check, rustdoc with warnings denied, and Miri on the providers' unit tests.The least painful way is to format your branch first, so the rebase only shows real changes:
Then run
python tuxbox.py check --no-gpu, which now includes the format step.If clippy flags something new:
Fromfor widening,TryFromfor narrowing, and a mask for bit fields.unwrap(): use?, orexpectwith the reason it can't fail.unsafeblock: it needs a// SAFETY:comment.CONTRIBUTING's "Code checks" section lists the commands. Thanks!
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.