Optimised build flags (-O3 -march=native) eliminate periodic frame-pacing alternations — RDNA3 field data #10
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Skrills68--Valhalla-xmem#10
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?
@thedee8086 on GitHub · 2026-12-01 12:53 UTC · original
Optimised build flags (-O3 -march=native) eliminate periodic frame-pacing alternations — RDNA3 field data
Field observation on an RDNA3 desktop card (24 GB, ReBAR on), running the title at 2560x1440 with the upscaler + frame generation, using the runtime's own 5-second frame-pacing telemetry (mean/max/alternations per window) over identical scripted free-roam routes.
Symptom (stock build,
meson --buildtype release, defaultc_args): the title's frame limiter locks free roam at 33.33 ms, but stock builds show periodic pacing alternations — 66-75 alternations across ~170 measured windows, with worst 5-second windows of 179-246 ms. Checked per-window: the alternation pattern recurs mid-run (14/34 windows), so it is not warm-up. Alternating windows have means of 35-37 ms against the locked 33.33.Result (same code, mesa AND vkd3d-proton rebuilt with
-Dc_args='-O3 -march=native'): 0 alternations across ~204 windows in every warm run, worst 5-second window 99-114 ms. Medians/p90/long-frame percentages are identical by construction (the title's limiter caps them), so the signal is entirely in the tails and pacing.Isolation: the separate lazy-L2 gate PR is not the variable — with the gate OFF, the rebuilt mesa still shows 0 alternations. Reading: a periodic CPU-side stall in the submit path that the optimised build removes (vectorised paths on a current high-end desktop CPU).
Suggestion: a short optional note in the build docs that local source builds benefit from
-O3 -march=native(local builds only — not appropriate for distributed packages). Not claiming an FPS win: on desktop the medians are limiter-capped; the claim is elimination of the periodic pacing hitches and roughly 2x better worst-window.Happy to re-run any variant combination the maintainer wants measured.