← Back to AI Insights
Gemini Executive Synthesis

Performance bottleneck in fxceless/victory-fork (Xbox Series title on Windows PC) due to indirect draws

Technical Positioning
Optimizing GPU performance for Xbox Series titles on Windows PCs with NVIDIA RTX 5080, specifically targeting the high cost of numerous indirect draw calls in the opening cutscene.
SaaS Insight & Market Implications
This issue identifies a severe performance bottleneck in `victory-fork` on RTX 5080, with the opening cutscene running at 8.5 FPS. The primary culprit is the high GPU time consumed by 3,227 indirect draw calls per frame, each costing approximately 12 µs. Initial analysis suggests the overhead is not primarily from the argument clamp pass, but rather from the individual `ExecuteIndirect` calls and associated barriers. This represents a critical developer pain point in optimizing low-level graphics API calls for performance-sensitive applications. Market implications are significant: such low frame rates render the product unusable for its intended purpose. The detailed micro-profiling and investigation into `VICTORY_INDIRECT_WINDOW=1` indicate a deep, complex optimization challenge requiring architectural changes like stream compaction to reduce the per-execution overhead, rather than simple shader or clamp optimizations.
Proprietary Technical Taxonomy
RTX 5080 (Blackwell) 8.5 fps in the lit cutscene 40 of 63 ms GPU time is 3,227 indirect draws a frame (~12 µs each) NVIDIA GeForce RTX 5080 16 GB driver 32.0.16.1088 Ryzen 7 9800X3D Windows 11 Pro 26300 native D3D12

Raw Developer Origin & Technical Request

Source Icon GitHub Issue Nov 24, 2026
Repo: fxceless/victory-fork
RTX 5080 on 4e17478: 8.5 fps in the lit cutscene; 40 of 63 ms GPU time is 3,227 indirect draws a frame (~12 µs each)

**RTX 5080 (Blackwell) on `4e17478`: 8.5–8.7 fps in the lit opening cutscene with #31's switches. `VICTORY_GPU_TIMING` puts 40.5 of the card's 63 ms a frame in 3,227 indirect commands (about 12 µs each).** Numbers only; no assets.

**Setup**
- NVIDIA GeForce RTX 5080 16 GB, driver 32.0.16.1088.
- Ryzen 7 9800X3D, 62 GB RAM, Windows 11 Pro 26300, native D3D12, default TDR.
- This fork at `4e17478`, `cargo build --profile diag -p victory --features diagnostics` (rustc 1.98.1 from `rust-toolchain.toml`). Series X profile, warm cache.
- Settings from #31: `VICTORY_DISPLAY_MODE=1920x1080 VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024`.
- Menus driven by `VICTORY_KEYS`. Each run was 300 s, and the numbers are from the last 300-s report, in the dusk shot of the opening cutscene.

**Runs**

| build | fps | ms/frame | preparing | on the GPU | copying back | end |
|---|---|---|---|---|---|---|
| `4e17478` | 8.5 | 118.2 | 37.9 (copies 20.2 ms, 66.5 MB) | 71.8 | 47.0 (17.9 MB) | time limit, no fault |
| `4e17478` + #45 #47 #48 #49 #63 #67 | 8.7 | 115.0 | 39.6 (copies 19.4 ms, 62.6 MB) | 66.8 | 44.2 (17.2 MB) | time limit, no fault |

The six PRs give about 3%, inside run-to-run noise on this machine. The card logs as about 64% busy ("nothing of ours queued 45.7 ms").

An earlier run on `4e17478` with only `VICTORY_RELAY=2` ended at 129 s with device removed. One submission of 11 lists took 5,118 ms, past the default 2 s ...

Developer Debate & Comments

ThiagoAlexsander • Nov 24, 2026
Correction to my reading above. The draws are not run one record at a time. The same timing run logs only **2 dropped indirect executions a frame** (dropped … and 2 indirect), and the 4 signatures it names are single-argument with `max=1` (`stride=12 args=[[2, 13, 0, 0]]`, `[[10, …]]`, `stride=16 args=[[0, …]]`, `[[105, …]]`). So multi-argument support / would change little in this scene. The 3,227 indirect commands a frame look like separate executions from the title. The cost to look at is then per execution: the clamp pass and its barriers before each one, plus the host `ExecuteIndirect` itself. Upstream (non-destructive, count-buffer-aware clamping) and (a compaction pass for the whole indirect stream) aim at that overhead, not at signatures. AI use: Claude Code (Claude Opus 5.5); posted with my approval.
ryotdev • Nov 24, 2026
An RTX 5070 data point from `4e17478`, Windows, 2560×1440, one restored world checkpoint at frame 2000. The capture logged 2,944 mesh `ExecuteIndirect` calls with `max=1`. That is one command record per call. The mesh-group count comes from the record. I grouped numbered operations by host command-list ID and broke every sequence at every logged queue submission. In 2,715 pairs the next logged operation on the same list was another one-record mesh call. In 2,281 of those pairs the argument address advanced by a multiple of 4 between 12 and 256 bytes inclusive. A 32-byte step accounted for 1,914 pairs. This is an upper bound on the adjacent pairs in that subset that could pass a walking-address check. The capture omits some resets and doesn't establish matching shadow buffer/signature stride, absence of a count buffer, or absence of shader writes. Actual window hits need runtime counters. I'd measure GPU timestamps around the clamp dispatch and its barriers separately from the host `E...
ryotdev • Nov 24, 2026
On RTX 5070 I measured the argument clamp and the mesh execution separately. This was the restored prison checkpoint at +200 frames, on 4e17478 with diagnostics-only instrumentation. Windows, driver 610.88, native D3D12, 2560×1440, non-relay. I sampled one in 16 qualifying mesh calls with max=1. [Instrumentation and four synthetic tests](https://github.com/ryotdev/victory-gta6/compare/4e17478...d46787461502921e723ac279f74ea2f482db3e4d). | GPU interval | Mean per sampled call | | --- | ---: | | Argument clamp, including its two ordering barriers | 3.541 µs | | ExecuteIndirect, including mesh rendering | 11.453 µs | In reporting intervals averaging at least 1,000 mesh calls per frame there were 510,328 calls over 175 frames. All 31,896 selected calls had valid paired timestamps. Across all 20 reporting intervals the means were 3.535 and 11.456 µs. The clamp accounts for 23.62% of the two measured intervals in the heavier sample. Resource refresh, graphics setup and scratch release sit ...
ThiagoAlexsander • Nov 24, 2026
**Follow-up: `VICTORY_INDIRECT_WINDOW=1` works here, but the frame time does not change. The cost of each indirect draw is not the clamp pass.** Same machine, settings and scene as above. The build is `4e17478` + . **FPS with the switch** (300 s, last three reports): 8.9 / 8.2 / 8.7 fps, GPU 64.5 / 67.5 / 66.8 ms. Without it: 8.7 fps, GPU 66.8 ms. The difference is within noise. **Counters.** To see whether windows open in this scene, I added local counters in `draw.rs` (not part of any PR). They sit around the `windowed` / `hit` / `walks` logic and log once per 20,000 indirect draws. Over a 240 s run, the last three reports were: | | draws | dispatch | several records | count buffer | storing | eligible | served from a window | opened | step misfit | no window | |---|---|---|---|---|---|---|---|---|---|---| | 1 | 20,000 | 3,001 | 0 | 0 | 2,064 | 16,994 | 9,536 | 1,648 | 5,396 | 415 | | 2 | 20,000 | 3,803 | 0 | 0 | 2,568 | 16,189 | 8,796 | 1,628 | 5,362 | 402...
dkdknight • Nov 24, 2026
**RTX 5080, measured: neither the two waits around each clamp nor the number of clamp passes is the per-execution cost. Removing the waits changes nothing, and `VICTORY_INDIRECT_WINDOW=1` halves the passes but makes the frame slower.** **Setup** - NVIDIA GeForce RTX 5080 16 GB, driver 621.14, i9-13900KF, Windows 11 26200. - Diag build (`--profile diag --features diagnostics`) of `4e17478` + + + + , Series X profile. - `VICTORY_DISPLAY_MODE=1920x1080 VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024`. - Same binary for all three runs, same save, the character standing still at the same spot in the world. Medians over 20 frame lines (~2 min) once texture uploads had settled. One run each. | | A: as is | B: `VICTORY_BARRIER_TEST=indirect` | C: `VICTORY_INDIRECT_WINDOW=1` | |---|---:|---:|---:| | frame | 232.4 ms | 231.8 ms | 255.5 ms | | on the GPU | 85.8 ms | 88.8 ms | 105.9 ms | | card busy (card's clock) ...

Adjacent Repository Pain Points

Other highly discussed features and pain points extracted from fxceless/victory-fork.

Extracted Positioning
Shader translation and rendering defects in fxceless/victory-fork on RTX 4080
Achieving accurate and performant shader translation for Xbox Series titles on Windows PCs with NVIDIA RTX 4080, specifically addressing visual artifacts caused by `deep-skips wave64` form and `loop limit` settings.
Top Replies
Xeltax • Nov 24, 2026
Bisect result: the culprits are in both halves of the 14. These runs used the same settings as above, with no loop limit and the same cell scene, one run each. | kept out of the deep-skips form | t...
ryotdev • Nov 24, 2026
I ran the same saved prison checkpoint on Windows with an RTX 5070 12 GB, driver 610.88, Series X profile, based on 4e17478. With the default translator and with the 14-shadow diagnostic, both runs...
marketingwithlux • Nov 24, 2026
Picking up the translator side of this, so it doesn't get done twice. Same symptom here on a 32-lane card: in the prison cell, the sunlight through the windows lands on the walls and on hair as sta...
Extracted Positioning
Performance and rendering issues in fxceless/victory-fork (Xbox Series title on Windows PC)
Optimizing the `victory-fork` to achieve stable, high-performance rendering of Xbox Series titles on Windows PCs with NVIDIA GPUs, specifically addressing frame rate, draw calls, and missing geometry.
Top Replies
rebasecase • Nov 24, 2026
> own copy of 1.0.2.1, Series X profile Pull the other one 🤣
Yorivel • Nov 24, 2026
Same card, same room. Your A/B fits what I found on : the shell's draws run with data that draws nothing, and **`VICTORY_FULL_REFRESH=1`** (a local switch that refreshes every copy whole, skipping ...
hashdev512 • Nov 24, 2026
Fifteen runs on an RX 9070 XT. They lean the same way as the table above, but less cleanly: here no setting draws the walls every time. **Setup:** RX 9070 XT, Adrenalin 32.0.32029.2010, Ryzen 7 570...
Extracted Positioning
Upstream merge strategy and shader translator compatibility for fxceless/victory-fork
Strategically integrating upstream `VIctory` project changes into `fxceless/victory-fork` to leverage upstream's shader translation advancements while preserving the fork's unique 'lit world' rendering capabilities, specifically addressing command-list memory waits and shader host flags.
Top Replies
HenriqueSBueno • Nov 24, 2026
**Correction:** I was wrong about this fork. At `4e17478` it does handle command-list memory waits. `wait_for` (`list.rs:1889`, reached from `wait_value`/`wait_value64` at slots 71/72) cuts the lis...
ericomeehan • Nov 24, 2026
I tried the cheapest version of the merge, bringing in only upstream's shader translator (`victory-shader`, applied three-way from `ffe310e..upstream/main`), to see whether it could land on its own...
ericomeehan • Nov 24, 2026
Several open PRs overlap, so here's a map of them for whoever merges. Each line says which ones edit the same lines and what I'd merge. I read the diffs against `4e17478`. I didn't build or run any...
Top Replies
ghost • Nov 24, 2026
Same on an RX 9060 XT (RDNA4, Adrenalin 32.0.32029.2010, Windows 11), `578d459` unmodified, default switches. No game data. - `fc5e66f8f873d3bb` stopped the GPU in both unskipped runs, 2-3 min in ...
fxceless • Nov 24, 2026
Thanks for the AMD report and the skip list; noted for the README. Newer commits than `578d459` are usable again from `e9765a7` on (the device loss in between is fixed, see .
pablogonz12 • Nov 24, 2026
A RADV data point on whether AMD on Linux needs these skips: in my run, no. `578d459` as-is (no `VICTORY_SKIP_PIPELINES`, no loop limit), with Microsoft's `d3dcompiler_47` next to the exe instead o...
Top Replies
pablogonz12 • Nov 24, 2026
Same finding on AMD under Linux, for the record. **Setup:** RX 9070 XT (RDNA4), Mesa 26.3.1 RADV, Ryzen 9 9900X, 30 GB, GE-Proton11-14 `wine` run directly, vkd3d-proton master, fork at `578d459`, `...
deadkid14 • Nov 24, 2026
Follow-up: `e9765a7` (with `004bf69` and `7b0f736`) on the same Linux/Proton setup (RTX 5070 Ti, 620.73.04), on top of `d279e69` and the DXC fallback above: one run in the default configuration, me...
fxceless • Nov 24, 2026
Thanks, useful on both counts. The device loss is fixed in `e9765a7` (details in ; it was specific to one wave64 form on 32-lane NVIDIA cards with the default loop limit, which fits your clean runs...

Frequently Asked Questions

Market intelligence mapped to Performance bottleneck in fxceless/victory-fork (Xbox Series title on Windows PC) due to indirect draws.

What problem does Performance bottleneck in fxceless/victory-fork (Xbox Series title on Windows PC) due to indirect draws solve?
Based on our AI analysis of the original developer request, its primary technical positioning is: Optimizing GPU performance for Xbox Series titles on Windows PCs with NVIDIA RTX 5080, specifically targeting the high cost of numerous indirect draw calls in the opening cutscene.
What is the general sentiment around Performance bottleneck in fxceless/victory-fork (Xbox Series title on Windows PC) due to indirect draws?
Yes, we have tracked 16 direct responses and active debates regarding this specific topic originating from GitHub Issue.
What architecture is tied to Performance bottleneck in fxceless/victory-fork (Xbox Series title on Windows PC) due to indirect draws?
Our proprietary extraction maps Performance bottleneck in fxceless/victory-fork (Xbox Series title on Windows PC) due to indirect draws to adjacent architectural concepts including RTX 5080 (Blackwell), 8.5 fps in the lit cutscene, 40 of 63 ms GPU time is 3,227 indirect draws a frame (~12 µs each), NVIDIA GeForce RTX 5080 16 GB.

Engagement Signals

16
Replies
open
Issue Status

Cross-Market Term Frequency

Counts stored text matches for foundational terms like end and fps in analysed public discussions. These counts do not measure adoption.

Stored text matches, not adoption or market-share measurements.

  • end: 492 records
  • fps: 26 records
  • Ryzen 7 9800X3D: 8 records
  • Series X profile: 7 records
  • warm cache: 5 records
  • ms/frame: 5 records
  • preparing: 5 records
  • cargo build --profile diag -p victory --features diagnostics: 4 records
  • copying back: 4 records
  • Windows 11 Pro 26300: 3 records
  • 4e17478: 3 records
  • VICTORY_RELAY=2: 3 records
  • on the GPU: 3 records
  • native D3D12: 2 records
  • default TDR: 2 records
  • VICTORY_KEYS: 2 records
  • RTX 5080 (Blackwell): 1 records
  • 8.5 fps in the lit cutscene: 1 records
  • 40 of 63 ms GPU time is 3,227 indirect draws a frame (~12 µs each): 1 records
  • NVIDIA GeForce RTX 5080 16 GB: 1 records
  • driver 32.0.16.1088: 1 records
  • rustc 1.98.1 from rust-toolchain.toml: 1 records
  • VICTORY_DISPLAY_MODE=1920x1080: 1 records
  • VICTORY_LATE_WAIT=3: 1 records
  • VICTORY_WIDE_BACK=1: 1 records
  • VICTORY_CARD_BUFFERS_MIN_MB=1: 1 records
  • VICTORY_CARD_BUFFERS_MB=1024: 1 records
  • 300 s report: 1 records
  • dusk shot of the opening cutscene: 1 records
  • six PRs give about 3%, inside run-to-run noise: 1 records
  • card logs as about 64% busy: 1 records
  • nothing of ours queued 45.7 ms: 1 records
  • earlier run on 4e17478 with only VICTORY_RELAY=2 ended at 129 s with device removed: 1 records
  • One submission of 11 lists took 5,118 ms, past the default 2 s ...: 1 records
  • draws are not run one record at a time: 1 records
  • 2 dropped indirect executions a frame: 1 records
  • single-argument with max=1: 1 records
  • multi-argument support (#956/#1160) would change little: 1 records
  • 3,227 indirect commands a frame look like separate executions from the title: 1 records
  • cost to look at is then per execution: the clamp pass and its barriers before each one, plus the host ExecuteIndirect itself: 1 records
  • Upstream #242 (non-destructive, count-buffer-aware clamping): 1 records
  • #740 (a compaction pass for the whole indirect stream): 1 records
  • aim at that overhead, not at signatures: 1 records
  • RTX 5070 data point from 4e17478: 1 records
  • 2560×1440: 1 records
  • one restored world checkpoint at frame 2000: 1 records
  • capture logged 2,944 mesh ExecuteIndirect calls with max=1: 1 records
  • one command record per call: 1 records
  • mesh-group count comes from the record: 1 records
  • grouped numbered operations by host command-list ID: 1 records
  • broke every sequence at every logged queue submission: 1 records
  • next logged operation on the same list was another one-record mesh call: 1 records
  • argument address advanced by a multiple of 4 between 12 and 256 bytes inclusive: 1 records
  • 32-byte step accounted for 1,914 pairs: 1 records
  • upper bound on the adjacent pairs in that subset that could pass a walking-address check: 1 records
  • capture omits some resets and doesn't establish matching shadow buffer/signature stride, absence of a count buffer, or absence of shader writes: 1 records
  • Actual window hits need runtime counters: 1 records
  • GPU timestamps around the clamp dispatch and its barriers separately from the host ExecuteIndirect: 1 records
  • Argument clamp, including its two ordering barriers: 3.541 µs: 1 records
  • ExecuteIndirect, including mesh rendering: 11.453 µs: 1 records
  • 510,328 calls over 175 frames: 1 records
  • 31,896 selected calls had valid paired timestamps: 1 records
  • clamp accounts for 23.62% of the two measured intervals: 1 records
  • Resource refresh, graphics setup and scratch release sit ...: 1 records
  • VICTORY_INDIRECT_WINDOW=1 works here, but the frame time does not change: 1 records
  • cost of each indirect draw is not the clamp pass: 1 records