[Bug]: Low FPS — ~11.5 fps, CPU/sync bound during fresh-save starting cutscenes #168

Open
opened 2026-12-03 14:19:01 +00:00 by pizzav-xyz · 0 comments
pizzav-xyz commented 2026-12-03 14:19:01 +00:00 (Migrated from github.com)
Contributor

Imported from eikkapine/jaxe. Originally posted by pizzav-xyz on 2026-12-03T14:19:01Z.


Hardware & OS

Ryzen 7 7840HS (8C/16T) | AMD Radeon RX 7700S 8 GB (+ Radeon 780M iGPU) | 61.8 GB DDR5 | Windows 11 Pro build 26200 | WD_BLACK SN850X 2TB NVMe | ~15.9 GB pagefile

Launch Profile / Preset

jaxe.bat — Balanced (Default) — built from dev source, diag profile with --features diagnostics

Frame Generation & Launch Count

Frame Gen OFF (Native) — 2nd+ launch (warm cache)

Issue Category

Low FPS / heavy stutters (specify Native vs FG FPS below)

What happened?

10-minute run from a fresh save through the starting cutscenes on Console Series S, built from source. The GPU is not saturated; steady state is CPU/synchronization bound, plus a long streaming warm-up and a ~35 ms serialization stall on title-memory reads before present.

  • FPS: mean 11.51, 1% low 2.10, min 1.70, p50 12.20, p95 15.90, p99 23.30, max 30.00 (loading/menu), over 233 samples.
  • Run completed the full 600 s window: exitedEarly=false, stalled=false, killed=true; no ERROR/fatal lines.
  • The harness verdict is fail solely on 31 rendering WARNs (31 unique): unimplemented pipeline creation slots 0x218 / 0x1c8 (jaxe-gpu/src/device.rs), one GPU address above 40 bits, and one texback "could not be tiled" failure. Those are a correctness issue, not the frame-rate cause.

Headline FPS

metric value
mean 11.51 fps
1% low / min 2.10 / 1.70
p50 / p95 / p99 12.20 / 15.90 / 23.30
max 30.00 (loading/menu)
samples 233 logged fps lines (120 rows, 5 s cadence)

Timeline

Phase Window FPS Frame time GPU busy CPU lists' steps
Warm-up first ~1 min after launch ~30 34 ms ~8% <1 ms
Load/stream min 1–7 4–11 90–250 ms 33–71% 25–149 ms
Ramp ~200–270 s 13–17 60–75 ms ~70% 22–27 ms
Dip ~275–325 s 4.6–10.9 100–135 ms 57–64% 38–47 ms
Plateau ~410–600 s 12.6–14.0 ~74 ms 76% ~22 ms

The 1% low/min are streaming hitches, not steady gameplay.

Steady-state frame budget (last 3 min, 175 per-frame samples)

The jaxe_gpu::host "preparing per frame" line sums to ~70.8 ms, matching the ~74 ms frame time:

  • 34.8 ms — waiting for flights; the submissions sent ahead line attributes it to title memory read 34.5 (CPU stalls on the GPU before reading/normalizing title memory).
  • 21.9 ms — CPU lists' steps (refresh/flush/copy/fill of command data).
  • 5.9 ms — asking the write-watch.
  • 5.2 ms — copies in card memory.
  • 1.3 ms snapshots, 0.8 ms sending lists, 0.8 ms end heap wait, 0.1 ms heap records.

Running alongside that:

  • GPU is only ~76% busy (≈56 ms of work on a 74 ms frame); it idles ~17.9 ms, 13.1 ms of which while the submitting thread is working. Perfect overlap would only reach ~18 fps, so the CPU/sync path, not raw GPU throughput, is the main limiter.
  • Descriptor heap mirroring: 9.0 ms, 412 changed heap pages, 844,654 slots looked at, ~5,198 records mirrored.
  • Heap-view pass: ~11.8 ms (5.1 slots + 0.4 spans + 6.3 textures).
  • Guards/protections: ~12.6 ms (7.0 guard waits + 5.6 protection changes).
  • Texture refreshes: 2.9 ms; title fence signals held back 17.1 ms on average (max 37 ms).
  • Relay/landing thread: 41.9 ms landing (18.8 ms with nothing to land, 32.8 ms waiting for copy fetches).
  • Command volume is huge: by frame 8192 the title had issued 19,796,734 draws (~3,000/frame) and 11,505,106 dispatches (~1,400/frame).
  • Memory churn (one ~70-frame copystat sample): 22,370 refreshes (17.5 GB), 432 write-watch scans checking 9.3 GB, 11,389 title copies, 216 MB written back — hundreds of refreshes and >100 MB/frame of watch checking in the plateau.

Reading

  • The GPU is not saturated. Steady state is dominated by CPU-side command submission and memory tracking/synchronization, plus a ~35 ms serialization stall on title-memory reads before present.
  • Early slowness is streaming warm-up. In the first minute lists' steps spikes to 149 ms/frame and stays 25–47 ms for ~6 min; the GPU sits 33–71% busy. The mid-run dip (275–325 s) is the same pattern when new content streams.
  • The 31 render WARNs fire during that early pipeline load and are a correctness issue, not the FPS cause.

Probe candidates (from the logs)

  • JAXE_CARD_BUFFERS_MIN_MB=1 — large title-buffer copies are currently CPU-compared (4.5 MB in copies of 1 MiB or more); moving them to the card could cut the 35 ms read stall.
  • JAXE_SEND_CHANGED=1 / the card re-hash path to reduce re-hash/compare passes (the logs note 286 hash + 106 compare passes per sample).
  • Relay/landing tuning — the relay thread spends ~42 ms/frame.

Logs

Sanitized text excerpt (paths stripped; repeated slot WARNs collapsed):

INFO jaxe_gpu::pipeline::make: host pipelines all made made=2 loaded=2901 started_early=2900 slow_this_run=2
INFO jaxe_gpu::pipeline::make: host pipelines all made made=83 loaded=2928 started_early=2909 slow_this_run=18

INFO jaxe_gpu::host: preparing per frame, the submitting thread: 5.8 ms asking the write watch (0.9 of them finding what to ask), 0.3 putting the title's bytes under flights' writes, 21.3 in the lists' steps ..., 1.4 snapshots, 5.1 for copies in the card's memory, 0.8 sending the lists (JAXE_LIGHT_REFRESH is on); ahead of these 0.0 waiting for the submission lock, 0.0 planning steps done on the card, 33.6 waiting for flights, 0.1 the heaps' records and what is swept; at the end 0.8 waiting for the heaps' records

INFO jaxe_gpu::host: submissions sent ahead per frame: 28.0 in 4.2 settles (0.0 flights each time), 34.5 ms waiting for the card in them; settled for: ... title memory read 4.2 (by a buffer copy 0.0, a fill of upload memory 4.2, a texture 0.0) ...; 14.1 waits for memory values met by a flight's bottom-of-pipe write, 17.0 fence signals set behind flights

WARN jaxe_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x218 calls=1..2048 (description/first_points_at pointer arrays elided)
WARN jaxe_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x1c8 calls=1..16384 (description/first_points_at pointer arrays elided)
WARN jaxe_gpu::resource: a GPU address above 40 bits address=0x1df46970000 backing="committed" desc=ResourceDesc { dimension: 1, width: 819200, height: 1, mip_levels: 1, format: 0, ... }
WARN jaxe_gpu::texback: a texture copied back could not be tiled e=Unsupported mip=0 slice=0
<!-- greyfinch-sync:eikkapine/jaxe:issue:6770607760 --> Imported from [eikkapine/jaxe](https://github.com/eikkapine/jaxe/issues/168). Originally posted by [pizzav-xyz](https://github.com/pizzav-xyz) on 2026-12-03T14:19:01Z. --- ### Hardware & OS Ryzen 7 7840HS (8C/16T) | AMD Radeon RX 7700S 8 GB (+ Radeon 780M iGPU) | 61.8 GB DDR5 | Windows 11 Pro build 26200 | WD_BLACK SN850X 2TB NVMe | ~15.9 GB pagefile ### Launch Profile / Preset jaxe.bat — Balanced (Default) — built from dev source, `diag` profile with `--features diagnostics` ### Frame Generation & Launch Count Frame Gen OFF (Native) — 2nd+ launch (warm cache) ### Issue Category Low FPS / heavy stutters (specify Native vs FG FPS below) ### What happened? 10-minute run from a fresh save through the starting cutscenes on Console Series S, built from source. The GPU is **not saturated**; steady state is CPU/synchronization bound, plus a long streaming warm-up and a ~35 ms serialization stall on title-memory reads before present. - **FPS:** mean **11.51**, 1% low 2.10, min 1.70, p50 12.20, p95 15.90, p99 23.30, max 30.00 (loading/menu), over 233 samples. - Run completed the full 600 s window: `exitedEarly=false`, `stalled=false`, `killed=true`; no ERROR/fatal lines. - The harness verdict is `fail` solely on **31 rendering WARNs** (31 unique): unimplemented pipeline creation slots `0x218` / `0x1c8` (`jaxe-gpu/src/device.rs`), one GPU address above 40 bits, and one `texback` "could not be tiled" failure. Those are a correctness issue, not the frame-rate cause. ### Headline FPS | metric | value | | --- | --- | | mean | **11.51 fps** | | 1% low / min | 2.10 / 1.70 | | p50 / p95 / p99 | 12.20 / 15.90 / 23.30 | | max | 30.00 (loading/menu) | | samples | 233 logged fps lines (120 rows, 5 s cadence) | ### Timeline | Phase | Window | FPS | Frame time | GPU busy | CPU `lists' steps` | | --- | --- | --- | --- | --- | --- | | Warm-up | first ~1 min after launch | ~30 | 34 ms | ~8% | <1 ms | | Load/stream | min 1–7 | 4–11 | 90–250 ms | 33–71% | **25–149 ms** | | Ramp | ~200–270 s | 13–17 | 60–75 ms | ~70% | 22–27 ms | | Dip | ~275–325 s | 4.6–10.9 | 100–135 ms | 57–64% | 38–47 ms | | Plateau | ~410–600 s | **12.6–14.0** | **~74 ms** | **76%** | **~22 ms** | The 1% low/min are streaming hitches, not steady gameplay. ### Steady-state frame budget (last 3 min, 175 per-frame samples) The `jaxe_gpu::host` "preparing per frame" line sums to ~70.8 ms, matching the ~74 ms frame time: - **34.8 ms** — `waiting for flights`; the `submissions sent ahead` line attributes it to `title memory read 34.5` (CPU stalls on the GPU before reading/normalizing title memory). - **21.9 ms** — CPU `lists' steps` (refresh/flush/copy/fill of command data). - **5.9 ms** — asking the write-watch. - **5.2 ms** — copies in card memory. - **1.3 ms** snapshots, **0.8 ms** sending lists, **0.8 ms** end heap wait, **0.1 ms** heap records. Running alongside that: - **GPU is only ~76% busy** (≈56 ms of work on a 74 ms frame); it idles ~17.9 ms, **13.1 ms of which while the submitting thread is working**. Perfect overlap would only reach ~18 fps, so the CPU/sync path, not raw GPU throughput, is the main limiter. - Descriptor heap mirroring: **9.0 ms**, 412 changed heap pages, **844,654 slots** looked at, ~5,198 records mirrored. - Heap-view pass: **~11.8 ms** (5.1 slots + 0.4 spans + 6.3 textures). - Guards/protections: **~12.6 ms** (7.0 guard waits + 5.6 protection changes). - Texture refreshes: 2.9 ms; title fence signals held back **17.1 ms** on average (max 37 ms). - Relay/landing thread: **41.9 ms** landing (18.8 ms with nothing to land, 32.8 ms waiting for copy fetches). - Command volume is huge: by frame 8192 the title had issued **19,796,734 draws** (~3,000/frame) and **11,505,106 dispatches** (~1,400/frame). - Memory churn (one ~70-frame `copystat` sample): 22,370 refreshes (17.5 GB), 432 write-watch scans checking 9.3 GB, 11,389 title copies, 216 MB written back — hundreds of refreshes and >100 MB/frame of watch checking in the plateau. ### Reading - **The GPU is not saturated.** Steady state is dominated by CPU-side command submission and memory tracking/synchronization, plus a ~35 ms serialization stall on title-memory reads before present. - **Early slowness is streaming warm-up.** In the first minute `lists' steps` spikes to **149 ms/frame** and stays 25–47 ms for ~6 min; the GPU sits 33–71% busy. The mid-run dip (275–325 s) is the same pattern when new content streams. - The 31 render WARNs fire during that early pipeline load and are a correctness issue, not the FPS cause. ### Probe candidates (from the logs) - `JAXE_CARD_BUFFERS_MIN_MB=1` — large title-buffer copies are currently CPU-compared (`4.5 MB in copies of 1 MiB or more`); moving them to the card could cut the 35 ms read stall. - `JAXE_SEND_CHANGED=1` / the card re-hash path to reduce re-hash/compare passes (the logs note 286 hash + 106 compare passes per sample). - Relay/landing tuning — the relay thread spends ~42 ms/frame. ### Logs Sanitized text excerpt (paths stripped; repeated slot WARNs collapsed): ```text INFO jaxe_gpu::pipeline::make: host pipelines all made made=2 loaded=2901 started_early=2900 slow_this_run=2 INFO jaxe_gpu::pipeline::make: host pipelines all made made=83 loaded=2928 started_early=2909 slow_this_run=18 INFO jaxe_gpu::host: preparing per frame, the submitting thread: 5.8 ms asking the write watch (0.9 of them finding what to ask), 0.3 putting the title's bytes under flights' writes, 21.3 in the lists' steps ..., 1.4 snapshots, 5.1 for copies in the card's memory, 0.8 sending the lists (JAXE_LIGHT_REFRESH is on); ahead of these 0.0 waiting for the submission lock, 0.0 planning steps done on the card, 33.6 waiting for flights, 0.1 the heaps' records and what is swept; at the end 0.8 waiting for the heaps' records INFO jaxe_gpu::host: submissions sent ahead per frame: 28.0 in 4.2 settles (0.0 flights each time), 34.5 ms waiting for the card in them; settled for: ... title memory read 4.2 (by a buffer copy 0.0, a fill of upload memory 4.2, a texture 0.0) ...; 14.1 waits for memory values met by a flight's bottom-of-pipe write, 17.0 fence signals set behind flights WARN jaxe_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x218 calls=1..2048 (description/first_points_at pointer arrays elided) WARN jaxe_gpu::device: a pipeline creation method that is not implemented: the title goes without this pipeline slot=0x1c8 calls=1..16384 (description/first_points_at pointer arrays elided) WARN jaxe_gpu::resource: a GPU address above 40 bits address=0x1df46970000 backing="committed" desc=ResourceDesc { dimension: 1, width: 819200, height: 1, mip_levels: 1, format: 0, ... } WARN jaxe_gpu::texback: a texture copied back could not be tiled e=Unsupported mip=0 slice=0 ```
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
eikkapine/jaxe#168
No description provided.