GPU: cap command lists per submission (VICTORY_SUBMIT_MAX_RUNS) #1463
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1463
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1463"
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?
@Bebrik229 on GitHub · 2026-11-24 18:13 UTC · original
Bebrik229:gpu/submit-max-runs→main· +39 −8 · 1 files · 1 commits · openA title frame's runs go to the queue in one
ExecuteCommandListscall and the host waits on the fence, so a batch of heavy compute work stalls the device for its whole duration: on an RTX 5070 a 28-list batch held the GPU for ~63 s and Windows removed the device (0x887A0006) after the ~2 s reset threshold, ending the run.VICTORY_SUBMIT_MAX_RUNSsplits the batch into chunks of runs, keeping each submission's worst-case GPU time bounded; the default keeps every run in one call as before. The per-list timing path (VICTORY_GPU_TIMING) still submits each run on its own.Observed on the Grand Theft Auto VI title: a deterministic 28-run batch of compute lists took 63 s on the GPU and removed the device twice; with the cap at 4 the same content submits in bounded chunks.
@pfhandler on GitHub · 2026-11-24 20:50 UTC · original
Local patches for two issues hit while running GTA VI 1.0.2.1 through VIctory on Linux (GE-Proton 11-14, vkd3d-proton 3.2.0, RTX 4060 Ti 8 GB):
VICTORY_NO_HOST_PAD=1— a connected host pad (e.g. DualShock appearing as XInput pad 0) keeps the keyboard stand-in pad from being enumerated. Hiding the host pad letsVICTORY_KEYSdrive the title again.VICTORY_MODE=1920x1080— the DXGI output mode list is fixed at the console's 3840x2160. Reporting 1920x1080 instead keeps the title's render targets and VRAM use down on smaller hosts (Series S profile + 1080p settled around 3.5 GB VRAM here).Both are local uncommitted diffs, posted here for reuse. Tested only on the configuration above.
@Marvisak on GitHub · 2026-11-25 01:29 UTC · original
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:crates/victory-gpu/src/host.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.