RX 9060 XT: GPU-bound at ~37–47 ms; barriers/ALU ruled out, memory placement suspected #142

Open
opened 2026-12-02 20:41:42 +00:00 by github-bot · 0 comments
Owner

@⁠furkanbulus123 on GitHub · 2026-12-02 20:38 UTC · original

Setup: RX 9060 XT 16 GB (ReBAR on), Ryzen 5 7600, 32 GB DDR5, Win 11, build v2026.11.30.7, series-s tier, Locked 30.

Result: GPU-bound. PresentMon GPU busy 97–100%: ~37 ms standing, ~43–47 ms walking. CPU is not the limit.

What we ruled out (A/B, PresentMon GPU busy):

Experiment Gain
VICTORY_BARRIER_TEST=both (all group + clamp barriers off) ~1 ms
Early depth (DEPTH_BEFORE_SHADER → ForceEarlyDepthStencil, ported from revictory; 919 UAV-writing PS affected) ~0.5–1 ms
v_mul_legacy_f32 as plain fmul (−26% DXIL instructions over all 26k shaders) ~0.8 ms
indirect::bench: windows of 32 already used ~2.5 ms total cost

GPU timing profile is flat (heaviest command 0.76 ms), so shaders are not ALU-bound.

Main suspect: memory placement. Port #1 keeps ~973 MB of title graphics memory in system RAM. Measured on this card:

  • shader read from sysmem: 28 GB/s
  • shader read from VRAM / ReBAR: 190 / 197 GB/s
  • CPU write to ReBAR: 22.6 GB/s (CPU read from ReBAR: 0.04 GB/s)

Suggestion: put the CPU-written, GPU-read regions (constants ring, skinning output) in GPU_UPLOAD (ReBAR) heaps, with CPU reads redirected to a RAM copy. Happy to test builds.

**@⁠furkanbulus123** on GitHub · 2026-12-02 20:38 UTC · [original](https://github.com/eikkapine/jaxe/issues/142) **Setup:** RX 9060 XT 16 GB (ReBAR on), Ryzen 5 7600, 32 GB DDR5, Win 11, build v2026.11.30.7, series-s tier, Locked 30. **Result:** GPU-bound. PresentMon GPU busy 97–100%: ~37 ms standing, ~43–47 ms walking. CPU is not the limit. **What we ruled out (A/B, PresentMon GPU busy):** | Experiment | Gain | |---|---| | `VICTORY_BARRIER_TEST=both` (all group + clamp barriers off) | ~1 ms | | Early depth (`DEPTH_BEFORE_SHADER` → `ForceEarlyDepthStencil`, ported from revictory; 919 UAV-writing PS affected) | ~0.5–1 ms | | `v_mul_legacy_f32` as plain `fmul` (−26% DXIL instructions over all 26k shaders) | ~0.8 ms | | `indirect::bench`: windows of 32 already used | ~2.5 ms total cost | GPU timing profile is flat (heaviest command 0.76 ms), so shaders are not ALU-bound. **Main suspect: memory placement.** Port #1 keeps ~973 MB of title graphics memory in system RAM. Measured on this card: - shader read from sysmem: 28 GB/s - shader read from VRAM / ReBAR: 190 / 197 GB/s - CPU write to ReBAR: 22.6 GB/s (CPU read from ReBAR: 0.04 GB/s) **Suggestion:** put the CPU-written, GPU-read regions (constants ring, skinning output) in `GPU_UPLOAD` (ReBAR) heaps, with CPU reads redirected to a RAM copy. Happy to test builds.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 20:41:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.