Bench: remote block, per-frame record and in-game route on Merge, for the city bench kit #665
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!665
Loading…
Reference in a new issue
No description provided.
Delete branch "cafe/merge-bench-kit"
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?
Contributor role (optional)
1577752157942198273(Cafe#9189)What it changes
gta-bench-kit) cannot drive a run. There is no remote block (scripted pads, memory pins, route tags) and no per-frame record, so the camera never flies and no frame data is written.OnceLockread and a branch.Commit 1,
Bench: remote block (DARNER_REMOTE) and per-frame record (DARNER_BENCH_CSV):remote.rs,DARNER_REMOTE=<name>: the kit's named 0x2000-byte shared block, the same layout as main'sremote.rs(version 3, magicVRM1), so the kit's tools work unchanged. Pins are written from inside the process with the guarded copy, as on main.bench.rs,DARNER_BENCH_CSV=<file>: one CSV row per title Present, written on its own thread; refuses a file that exists. The column names are main's, sobench-report.pyreads it as is: a subset of main's columns (the ones this base gives cheaply) pluspipe_making.queue.rs: the Present calls both.gameinput.rs: the block's pads replace the host's per slot at each poll, before the hold at the menu; mouse and keyboard still merge on top.Commit 2,
Bench: in-game route (DARNER_BENCH_ROUTE), remote block version 4:layer/darner-route.patch(route.rs), ported to Merge. WithDARNER_BENCH_ROUTE=<route file>(plusDARNER_BENCH_ROUTE_UP,DARNER_BENCH_ROUTE_CAMERA=1,DARNER_BENCH_ROUTE_CHAR_Z), the layer flies the route itself when the kit raisesroute_go, so nothing outside the game reads or writes its memory during the flight (the kit'sbench.ps1 -InGame/-InGamePlayer,route-go.py).vremote.pyaccepts 1-3) keep working.route_stateat 6 instead of a warning every poll.How it was tested
3c32a935d; merges clean onto28a9b4259.cam-cityroute (172 s) and save, card frame times by PresentMon over the flight:-InGame(commit 2)cargo build --locked --release -p darner: clean.cargo clippy --locked --release -p darner: 69 warnings, the same list as the base; none in the changed files.cargo test --locked --release -p darner-gpu --lib -- remote:: bench:: route::: 13 passed.DARNER_names (VICTORY_REMOTE,VICTORY_BENCH_CSV,VICTORY_BENCH_ROUTE*→DARNER_…).-InGamePlayer(game camera), Linux/Proton, other cards, real pads while the block is open. No picture check is needed: nothing changes on screen unless a switch is set.Checklist
Merge.docs/asset-policy.md).Checked for overlap
[pr-diagnostics] Bench: remote block, per-frame record and in-game route on Merge, for the city bench kitto Bench: remote block, per-frame record and in-game route on Merge, for the city bench kitView 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.