In play: ~9,000 small dependent compute dispatches a frame leave the card underfed #6

Open
opened 2026-12-03 05:00:13 +00:00 by github-bot · 0 comments
Owner

@⁠kc01-8 on GitHub · 2026-12-03 04:54 UTC · original

In play the card runs about 9,000 compute dispatches a frame, 90 % of them under 20 µs, and it is busy 93-97 % of the time with its memory bus 7-8 % busy (#1). A console's GPU takes small dependent dispatches cheaply; through vkd3d-proton on NVIDIA each pays a fixed cost, and every wait between them drains the card.

To do:

  • Count the barriers and full waits a frame and who asks for them (VICTORY_BARRIER_STATS).
  • Indirect executions: ~4,500 a frame, with a 0.6 µs clamp dispatch about 2,900 times a frame. VICTORY_INDIRECT_BATCH=3 gave +10 % in one run (19.6 against 17.8 fps, 1440p DLSS performance); check the picture and repeat before it becomes the profile's default.
  • Join waits of ours where nothing between them needs them; look at which of the title's barriers vkd3d-proton turns into full pipeline barriers.
  • Draws are not in the timestamp profile (it times dispatches); measure them too.

Tools (local): VKD3D_QUEUE_PROFILE=<file> (built in), and a vkd3d-proton built with -Denable_profiling=true (gcc 14 needs -Dc_args=-Wno-error=incompatible-pointer-types for its profiled device table) with VKD3D_TIMESTAMP_PROFILE=<file> (a CSV of the last 5 s, rewritten every 5 s).

🤖 Generated with Claude Code

**@⁠kc01-8** on GitHub · 2026-12-03 04:54 UTC · [original](https://github.com/kc01-8/LINUX-NVIDIA-VI/issues/6) In play the card runs about **9,000 compute dispatches a frame**, 90 % of them under 20 µs, and it is busy 93-97 % of the time with its memory bus 7-8 % busy (#1). A console's GPU takes small dependent dispatches cheaply; through vkd3d-proton on NVIDIA each pays a fixed cost, and every wait between them drains the card. To do: - Count the barriers and full waits a frame and who asks for them (`VICTORY_BARRIER_STATS`). - Indirect executions: ~4,500 a frame, with a 0.6 µs clamp dispatch about 2,900 times a frame. `VICTORY_INDIRECT_BATCH=3` gave +10 % in one run (19.6 against 17.8 fps, 1440p DLSS performance); check the picture and repeat before it becomes the profile's default. - Join waits of ours where nothing between them needs them; look at which of the title's barriers vkd3d-proton turns into full pipeline barriers. - Draws are not in the timestamp profile (it times dispatches); measure them too. Tools (local): `VKD3D_QUEUE_PROFILE=<file>` (built in), and a vkd3d-proton built with `-Denable_profiling=true` (gcc 14 needs `-Dc_args=-Wno-error=incompatible-pointer-types` for its profiled device table) with `VKD3D_TIMESTAMP_PROFILE=<file>` (a CSV of the last 5 s, rewritten every 5 s). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 05:00:13 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/kc01-8--LINUX-NVIDIA-VI#6
No description provided.