Host GPU device removed after mass texture sweep, and upload buffer starvation (0x8007000E) on RX 6700 XT #2288
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#2288
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?
@Apersonsnight on GitHub · 2026-11-29 11:25 UTC · original
What you would like
A Series S session that reaches real gameplay with working subtitles, but dies within 10 minutes on every run. I would like it to survive long enough to play, or at least fail soft instead of taking the host GPU context down with it.
Environment
own_memory_mb=12242, driver 32.0.21045.1000. This is an AMD box — the memory/texture path appears shared with the NVIDIA branch, so I am filing it here.v2026.11.29.01play <exe> --series-s --dlss off --fps 30 --set VICTORY_TEXTURE_ROOM_PERCENT=55(also tried 70 and 88; same outcome)What the logs say
From the 11.29.01 run at ROOM=88, frame 4951, final 3 s:
Two things stand out:
From the 11.28.01 run at ROOM=55, every 5–6 s through the last minute:
At 55 % the texture line is 5.8 GB, but actual card usage is ~9.0–9.1 GB and the free texture pool is under 0.7 GB. Render targets (1.57 GB) plus title buffer copies (0.09 GB) are ~1.66 GB; the remaining ~7.3 GB is not reachable by any switch I have found.
Why VICTORY_TEXTURE_ROOM_PERCENT does not fix this
I ran 88 / 70 / 55. The VRAM readout barely moves (10.8 / 10.3 / 10.3 GB), because the knob only caps the 4 GB texture component inside an ~10.6 GB card that is already ~85 % consumed by things the knob does not touch. Going down to 55 costs fps and buys no headroom. The line being crossed is not the texture line.
The spiral I think is happening
VRAM full → textures spill to the shared segment (7746 MB) → shared usage eats host RAM → WDDM shrinks the local budget (11.2 GB at start of the session, 10.7 GB at the crash) → still more spill. On 16 GB host RAM the budget never gets back.
How it ends
11.29.01:
11.28.01, same settings family, ends the same way but stops at the error line — no
Victory: host GPU failuresummary and nomemory now:line are emitted by that build at all:freed_mb=4says the spare pool the reclaim-and-retry path draws on is down to 4 MB by then; the next allocation is fatal instead of degraded.Second failure mode: sweep burst then device removal
At ROOM=70 (x2) and ROOM=88 (once) I get a different death: a burst of
all within the last ~5 s, followed by
then a cascade of
0x887A0005on UMA buffers, read-backs and uploads. No Event 4101, so not a TDR. At ROOM=55 this burst never happens and it dies on upload buffers instead.Runs so far
grep -c "sweep:"= 0The 11.28.01 run shows the upload starvation is reachable with the sweep code never executing, so the two paths are independent.
Questions
the card's own ... in use of a budget of ...going over 100 % be prevented — i.e. should victory throttle before creating, against the live budget rather than a line computed earlier?VICTORY_WINDOWS_BAR_MBdefaults to 0 here; I have not found another switch on main that lowers host-side copies.VICTORY_HOST_TEXTURE_SWEEP=0(per your reply in #1918) help the upload-starvation mode, or is it only relevant to the sweep-then-device-removed mode?FSR4 on RDNA2
The title keeps building FSR4 pass pipelines and every one fails:
Does the NewBE fallback allocate upload buffers per pass? Is there a way to stop the title from requesting FSR4 passes at all when the card cannot provide them?
Not tried yet
--setat all (every run above carries a ROOM value)Happy to run either, or any
--setcombination, and send logs —the texture queue's room, the per-second fps line andmemory nowall appear in my 11.29.01 logs.One note on log scraping
The error text in these logs is the localized Chinese
内存资源不足,无法完成此操作next to0x8007000E. If anything counts failures by matching the English string, it would under-report on a non-English Windows.@github-actions[bot] on GitHub · 2026-11-29 11:26 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@Apersonsnight on GitHub · 2026-11-29 11:30 UTC · original
crashes.log
victory-nvidia-play-20261129-111148-2268.log
GPU: AMD Radeon RX 6700 XT 12 GB (driver 32.0.21045.1000). Windows 11, build 22000.
@Apersonsnight on GitHub · 2026-11-29 11:32 UTC · original
The failure is at 2026-11-29T11:20:34Z (frame 4951). The two lines I think matter most are at 11:20:31.742 —
the card's own 10810 MB in use of a budget of 10701 MB, the PC's shared with the card 7746 MB— and at 11:20:33.174 —11445 MB against a line of 9427 MB (88.0 % of a budget of 10712 MB; 4067 MB in texture copies): no room.@Apersonsnight on GitHub · 2026-11-29 11:58 UTC · original
Follow-up: the same
VICTORY_TEXTURE_ROOM_PERCENT=88has now produced bothdeaths, on two runs:
no upload buffer (0x8007000E)→a host state prelude did not recordhost GPU device removed(0x887A0006)Timeline of the sweeps in run 2, all relative to the removal, thread 8220:
then:
followed by a cascade of
0x887A0005on UMA buffers, read-backs and uploads.So to summarise what I can see across all my runs: ROOM=55 gives upload starvation with no
sweep burst; ROOM=70 (×2) and ROOM=88 give sweep bursts of this exact shape, then device removal
~0.5 s later. The common factor in the second mode is a run of sweeps releasing host copies
"each held by its title texture alone (no list, no slot)" in the last few hundred milliseconds.
Is
VICTORY_HOST_TEXTURE_SWEEP=0the right thing to try against this mode?victory-nvidia-play-20261129-115331-25480.log
@Apersonsnight on GitHub · 2026-11-29 12:14 UTC · original
Rollback result: not a regression on this hardware.
I put v2026.11.28.01 back (
victory.v2026.11.28.01...exe, 116 MB) and ran the identicalcommand. It survived 9 min 52 s and then died the same way as v2026.11.29.01:
Frame/fps in the healthy part of that run: 11.6 fps, 85.9 ms/frame, 3145 draws, VRAM 8.8/10.4,
RAM 22.2 GB, shared 6.5 GB — i.e. the same performance as the newer build, so the rollback
gained nothing.
The important part:
grep -c "sweep:"on that log returns 0. No sweep of any kind ran,and it still died on upload buffers. So the sweep path (#1772) and the upload path are
independent, and the upload starvation is not caused by the sweeps — it happens on both builds
as soon as the card reaches its budget.
Summary of my four runs, same settings otherwise:
Also, on this AMD card the title keeps building FSR4 pass pipelines and every one fails:
FFX_FSR4_PASS_2 1'…6',FFX_FSR4_SPD_AUTOEXPOSURE_PASS,FFX_FSR4_RCAS_PASS→
DeserializeComputePipelineStateX FAILED hr=0x80004001→ falling back to NewBE.Can the NewBE fallback path be allocating upload buffers per pass? Is there a way to stop the
title from asking for FSR4 passes at all when the card cannot provide them?
@Apersonsnight on GitHub · 2026-11-29 12:30 UTC · original
Logs from the runs referenced above.
victory-nvidia-play-20261129-111148-2268.logis the 88 % upload-starvation run (8m46s),victory-nvidia-play-20261129-115331-25480.logis the sweep-burst run (2m38s),victory-nvidia-play-20261129-120342-9020.logis the 11.28.01 rollback run (8m30s, 0 sweeps), pluscrashes.log.victory-nvidia-play-20261129-111148-2268.log
victory-nvidia-play-20261129-115331-25480.log
victory-nvidia-play-20261129-120342-9020.log
crashes.log