[Bug]: game reaches the world, then exits by itself after 55-105 s (exit code 1, no ERROR in the log, 155 draws/frame dropped for want of a host pipeline) — RX 9070 XT #113
Labels
No labels
accessibility
bug
crash
documentation
duplicate
enhancement
good first issue
graphics
help wanted
invalid
needs logs
performance
question
rdna2
rdna3
rdna4
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/eikkapine--victory-amd#113
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@cb274709726 on GitHub · 2026-12-01 16:00 UTC · original
Hardware & OS
Ryzen 7 9700X (8C/16T) | RX 9070 XT 16 GB (RDNA4, Adrenalin 26.11.2 / 32.0.32029.2010) | 31 GB DDR5-6000 | Windows 11 26200 | NVMe, 48 GB pagefile | 3440x1440@120 (game presents 1920x1080)
Launch Profile / Preset
Custom / Built from dev source
Frame Generation & Launch Count
Frame Gen OFF (Native) — 2nd+ launch (warm cache)
Issue Category
Black screen / hang after menu
What happened?
Hardware & OS
VICTORY_KBM_PC=1)Build
VIctory Launcher.cmdfromVIctory-AMD-v2026.11.30.8.zip(SHA256 of the zip matches the release page).victory.exeshipped in that zip (build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)).victory.exe warm --jobs 11completed with60,662 made in 681 s (46 have no host pipeline, 9 ended their process),warm-bad.txtlists 5 pipelines.victory.exe shaders+warm --jobs N) runs before every launch.Launch profile / settings
victory.ini:Full environment of the run (
settings-20261201-233506.txt, unchanged defaults fromGet-Tier):What happens
The game reaches the world normally and runs well, then the process disappears on its own:
ERRORline inrun-*.log, nocrashes.log, no WER application-error event, no TDR (event 4101), no WHEA, no dump on termination (Procdump-e -ma -wnever fires).frames-*.csvalso just ends (last row 50.1 s).GetExitCodeProcessandWin32_Processboth report 1).Evidence from the log
Frame statistics of the last second (
run-20261201-233506.log):The two console pipeline-creation methods are called all the time and refuse:
and one compute pipeline cannot be built at all on this card:
(The same four pipeline keys are in
cache\pipelines\warm-bad.txt; see also issue #49 and #111.)What a debugger shows at the exit
Running
victory.exe run ... --executeunder a minimal debugger and hookingExitProcess/TerminateProcess/RtlExitUserProcess/NtTerminateProcess/
NtTerminateThread(the exit path is a plainExitProcess(1); sometimes the hooksare not reached at all and the process still ends with 1):
136,530 first-chance access violations, all at the same instruction and on the same thread:
so the title is walking a large region from a near-null base, its own exception handler
swallows each fault, it keeps going for ~75 s and then the process ends with code 1.
For reference, the known hang-watchdog trap
+0x23cf683(issue #3624, PR #95) is adifferent address: I patched both jumps (
+0x2215bdc,+0x2215c70) intonopand setthe quit flag byte at
+0x71b6340every 500 ms from an external process — the game thenstill exits (55-105 s), so the killer here is not (only) the watchdog.
What I tried, and what it changed
VICTORY_LOG=warninstead ofinfoinfothe game never left the loading screen (log I/O); withwarnit reaches the worldVICTORY_COMPUTE_WAIT_MS=0,COMPUTE_LATE_WAIT_MS=200,SCREEN_WAIT_MS=1500VICTORY_PIPELINE_WORKERS=1VICTORY_SKIP_PIPELINES=240cb516c1af0bc3,f16876929fa64f9f,a567b9ef845fb680,878933b499cfa14d,c1eee35dbc50a9ef--console series-xinstead ofseries-sstorage\settingsmoved away (fresh in-game settings)savesfolder moved away (fresh profile)victory.exe warm(60,662 pipelines)RAZDA4A-XEN(Wave 16, prebuiltRAZDA4A_XEN.exe, same title)WARN victory_gpu::object: method not implemented object="command queue" slot=0xb8Question
image+0x555e3b1(writing0x10000,0x20000, ... ) one of thetitle's own "stop" sites you know of, like
+0x23cf683(hang watchdog),+0x1ce6e13(archive mount) and
+0x2219650(pool OOM) from PR #3906? If it is, what does it test?of the calls I can log or override, I would rather test that than guess.
0x1c8,0x218)return something usable, even a dummy, so the 155 draws/frame are not dropped? Even a wrong
picture would tell us whether the null base comes from there.
Logs attached:
run-20261201-233506.log(2.2 MB, the 55 s run),frames-20261201-233506.csv,settings-20261201-233506.txt, plusrun-20261201-233417.log(a 16 s run that never left theloading screen) for comparison. No game content is included: hashes, counters and error strings only.
VIctory-issue-logs.zip
Logs (
collect_logs.batoutput or last ~100 lines oflogs\last_run.log)@cb274709726 on GitHub · 2026-12-02 05:29 UTC · original
Follow-up after more testing: the exit looks like a fixed ~90 s deadline in the title, not a settings problem
Hardware as before (Ryzen 7 9700X, RX 9070 XT 16 GB, Adrenalin 26.11.2 / 32.0.32029.2010, 31 GB DDR5-6000, Windows 11 26200). Same release (
victory.exefromVIctory-AMD-v2026.11.30.8.zip), warm cache.1. The "8 draws" screen is the account picker, and it is drivable
The title sits on
选择账户 (Y) PLAYER (A)(Select account) at 8 draws/frame.XUserAddAsync: the offline local user options=1is logged, so the layer's user is there; the screen waits for a button.Synthetic input does reach the game (pressing F3 removes the layer's FPS panel). Per
crates/victory-hle/src/modules/gameinput.rs,(0x0D, A)— Enter is pad A and(b'F', Y)— F is pad Y. Sending F, then Enter (each held 150 ms) confirms the account: the game then loads and is in the world (6000+ draws/frame, 22–31 native / 44–61 FG fps) about 20 s later. Without it, the title stays on that screen and exits at ~90 s.So an account picker nobody presses is one exit path — but it is not the only one: with the account confirmed and the character actually moving in the world (W held, screenshots taken), the process still ends.
2. Every configuration exits at 85–107 s, wall clock
Sixteen runs, each: launch, wait for the window, confirm the account, play (W held every second), sample the window title every second (it carries
N native / M FG fpsanddraws/frame), screenshot every 12 s.LATE_WAIT=0; WIDE_BACK=0RELAY=0TEXTURE_NO_WAIT=0; LATE_WAIT_LISTS=0CARD_STEPS=0COMPILER_GUARD=1; PIPELINE_WORKERS=1FIDELITYFX_FRAMEGEN=0TEXTURE_MAX=512RELAY=0(repeat)TEXTURE_MAX=512; CARD_BUFFERS_MB=256; CARD_WINDOWS_MB=1024COMPUTE_WAIT_MS=0; COMPUTE_LATE_WAIT_MS=0--console series-xSKIP_INTRO=0LOG=infoSIM_RAM_GB=16Two more runs pinned the clock down:
FRAME_INTERVAL_MS=33.333, FG off): 104 s, i.e. half the frames in the same wall time. The deadline is not a frame count.SIM_RAM_GB8 / 12 / 16 made no difference.3. It is the title terminating itself
Under the minimal debugger:
EXIT_PROCESS code=0x1 (1) after 92.8 s, and the exit-path hook fires on a thread whose stack has no title frames (ntdll/kernelbase only). Threads whose entry isimage+0x2215ea0exit with code 1 at the end. NoERRORline, nocrashes.log, no WER event, no TDR, no WHEA, no dump on termination.VICTORY_TIMER_LOG=1prints nothing on this image (theTIMERSRVAs fail therva + 0x14 > sizecheck inrun.rs, so the thread returns immediately) — worth knowing if you use it for triage.I also tried patching the process's own exit paths from outside (IAT slot → a
retstub,WriteProcessMemoryon the mapped title image):exit+_exit→ 95 s (at 85 s the frame counter collapsed from ~6500 to 126 draws, then it ended anyway);TerminateProcess→ 35 s, i.e. it broke a normal path;exit,_exit,_c_exit,terminate,__std_terminate,TerminateProcess) → ends immediately.So the title's termination is intentional and entangled with its own teardown, not a single stray call.
4. What would actually help
The two console pipeline-creation methods are still unimplemented and refuse every call (
slot=0x1c8 calls=16384,slot=0x218 calls=2048, several hundred draws/frame dropped). If the title's ~90 s deadline is its reaction to a subsystem that never becomes ready (pipeline creation is the most likely candidate on this card), implementing those two would change the picture.Questions:
+0x23cf683, which I knocked out separately and which changed nothing)?VICTORY_TIMER_LOG=1: are theTIMERSRVAs valid for the Series 1.0.2.1 image (victory-image-b99f876b74d4a77f)? If not, can you point at the right ones? That diagnostic would let us see which title timer expires.For the moment the practical workaround is a relaunch loop: the launcher re-runs the game automatically after each exit (~85 s of play per run, about 20 s of loading), which keeps the same save and session going.